From ba31a4aeb14faca294929d8627075bb7fd743cb5 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:07:50 -0700 Subject: [PATCH 1/5] Regenerate SDK from latest OpenAPI spec (moderation tenantId + broadcastId params) Adds the optional tenantId query param to the SSO-gated Moderation API endpoints and the optional broadcastId query param to the mutating moderation endpoints. Backward-compatible. Mirrors fastcomments-sdk-js v5.0.2. --- client/.openapi-generator/FILES | 354 ++ client/README.md | 177 + client/api/openapi.yaml | 2739 +++++------ client/api_default.go | 1440 ++---- client/api_moderation.go | 1166 ++--- client/api_public.go | 751 +-- client/docs/AddHashTagResponse.md | 244 + client/docs/AddHashTagsBulkResponse.md | 244 + .../docs/AggregateQuestionResultsResponse1.md | 244 + client/docs/BlockFromCommentPublicResponse.md | 244 + client/docs/BlockUserFromCommentResponse.md | 244 + .../BulkAggregateQuestionResultsResponse1.md | 244 + client/docs/ChangeTicketStateResponse1.md | 244 + .../docs/CheckedCommentsForBlockedResponse.md | 244 + ...bineCommentsWithQuestionResultsResponse.md | 244 + client/docs/CreateCommentPublicResponse.md | 327 ++ client/docs/CreateEmailTemplateResponse1.md | 244 + client/docs/CreateFeedPostPublicResponse.md | 244 + client/docs/CreateFeedPostResponse1.md | 244 + client/docs/CreateModeratorResponse1.md | 244 + client/docs/CreateQuestionConfigResponse1.md | 244 + client/docs/CreateQuestionResultResponse1.md | 244 + client/docs/CreateTenantPackageResponse1.md | 244 + client/docs/CreateTenantResponse1.md | 244 + client/docs/CreateTenantUserResponse1.md | 244 + client/docs/CreateTicketResponse1.md | 244 + client/docs/CreateUserBadgeResponse.md | 270 ++ client/docs/CreateV1PageReactResponse.md | 223 + client/docs/CreateV2PageReactResponse.md | 223 + client/docs/CreateVoteResponse.md | 327 ++ client/docs/DefaultAPI.md | 540 +-- client/docs/DeleteCommentPublicResponse.md | 270 ++ client/docs/DeleteCommentResponse.md | 244 + client/docs/DeleteCommentVoteResponse.md | 249 + .../DeleteEmailTemplateRenderErrorResponse.md | 223 + client/docs/DeleteEmailTemplateResponse.md | 223 + client/docs/DeleteFeedPostPublicResponse.md | 174 +- .../docs/DeleteFeedPostPublicResponseAnyOf.md | 51 + client/docs/DeleteHashTagResponse.md | 223 + client/docs/DeleteModerationVoteResponse.md | 249 + client/docs/DeleteModeratorResponse.md | 223 + .../docs/DeleteNotificationCountResponse.md | 223 + .../docs/DeletePendingWebhookEventResponse.md | 223 + client/docs/DeleteQuestionConfigResponse.md | 223 + client/docs/DeleteQuestionResultResponse.md | 223 + client/docs/DeleteTenantPackageResponse.md | 223 + client/docs/DeleteTenantResponse.md | 223 + client/docs/DeleteTenantUserResponse.md | 223 + client/docs/DeleteUserBadgeResponse.md | 223 + client/docs/DeleteV1PageReactResponse.md | 223 + client/docs/DeleteV2PageReactResponse.md | 223 + client/docs/DeleteVoteResponse.md | 249 + client/docs/FlagCommentPublicResponse.md | 223 + client/docs/FlagCommentResponse1.md | 275 ++ client/docs/GetApiCommentsResponse.md | 291 ++ client/docs/GetApiExportStatusResponse.md | 291 ++ client/docs/GetApiIdsResponse.md | 265 ++ client/docs/GetAuditLogsResponse1.md | 244 + client/docs/GetBanUsersFromCommentResponse.md | 244 + .../GetCachedNotificationCountResponse1.md | 244 + client/docs/GetCommentBanStatusResponse1.md | 285 ++ client/docs/GetCommentChildrenResponse.md | 244 + client/docs/GetCommentResponse.md | 244 + client/docs/GetCommentTextResponse1.md | 265 ++ .../docs/GetCommentVoteUserNamesResponse.md | 265 ++ client/docs/GetCommentsForUserResponse1.md | 249 + client/docs/GetCommentsPublicResponse.md | 826 ++++ client/docs/GetCommentsResponse.md | 244 + client/docs/GetCountResponse.md | 244 + client/docs/GetCountsResponse.md | 244 + .../GetEmailTemplateDefinitionsResponse1.md | 244 + .../GetEmailTemplateRenderErrorsResponse1.md | 244 + client/docs/GetEmailTemplateResponse1.md | 244 + client/docs/GetEmailTemplatesResponse1.md | 244 + client/docs/GetEventLogResponse1.md | 244 + client/docs/GetFeedPostsPublicResponse.md | 384 ++ client/docs/GetFeedPostsResponse1.md | 244 + client/docs/GetFeedPostsStatsResponse.md | 244 + client/docs/GetGifLargeResponse.md | 244 + client/docs/GetGifsSearchResponse.md | 153 +- client/docs/GetGlobalEventLogResponse.md | 244 + client/docs/GetHashTagsResponse1.md | 244 + client/docs/GetLogsResponse.md | 244 + client/docs/GetManualBadgesForUserResponse.md | 244 + client/docs/GetManualBadgesResponse.md | 244 + client/docs/GetModerationCommentResponse.md | 244 + .../docs/GetModerationCommentTextResponse.md | 259 ++ client/docs/GetModeratorResponse1.md | 244 + client/docs/GetModeratorsResponse1.md | 244 + client/docs/GetNotificationCountResponse1.md | 244 + client/docs/GetNotificationsResponse1.md | 244 + client/docs/GetOfflineUsersResponse.md | 306 ++ client/docs/GetOnlineUsersResponse.md | 348 ++ client/docs/GetPagesPublicResponse.md | 275 ++ .../GetPendingWebhookEventCountResponse1.md | 244 + .../docs/GetPendingWebhookEventsResponse1.md | 244 + client/docs/GetPreBanSummaryResponse.md | 265 ++ client/docs/GetQuestionConfigResponse1.md | 244 + client/docs/GetQuestionConfigsResponse1.md | 244 + client/docs/GetQuestionResultResponse1.md | 244 + client/docs/GetQuestionResultsResponse1.md | 244 + .../docs/GetSearchCommentsSummaryResponse.md | 244 + client/docs/GetSearchPagesResponse.md | 244 + client/docs/GetSearchSitesResponse.md | 244 + client/docs/GetSearchSuggestResponse.md | 275 ++ client/docs/GetSearchUsersResponse.md | 244 + client/docs/GetTenantDailyUsagesResponse1.md | 244 + client/docs/GetTenantPackageResponse1.md | 244 + client/docs/GetTenantPackagesResponse1.md | 244 + client/docs/GetTenantResponse1.md | 244 + client/docs/GetTenantUserResponse1.md | 244 + client/docs/GetTenantUsersResponse1.md | 244 + client/docs/GetTenantsResponse1.md | 244 + client/docs/GetTicketResponse1.md | 265 ++ client/docs/GetTicketsResponse1.md | 244 + client/docs/GetTranslationsResponse1.md | 244 + client/docs/GetTrustFactorResponse.md | 275 ++ .../docs/GetUserBadgeProgressByIdResponse.md | 244 + .../GetUserBadgeProgressByUserIdResponse.md | 244 + .../docs/GetUserBadgeProgressListResponse.md | 244 + client/docs/GetUserBadgeResponse.md | 244 + client/docs/GetUserBadgesResponse.md | 244 + client/docs/GetUserBanPreferenceResponse.md | 254 + .../docs/GetUserInternalProfileResponse1.md | 244 + .../docs/GetUserNotificationCountResponse1.md | 244 + client/docs/GetUserNotificationsResponse.md | 312 ++ .../docs/GetUserPresenceStatusesResponse1.md | 244 + client/docs/GetUserReactsPublicResponse.md | 244 + client/docs/GetUserResponse1.md | 244 + client/docs/GetUsersInfoResponse.md | 244 + client/docs/GetV1PageLikesResponse.md | 307 ++ client/docs/GetV2PageReactUsersResponse1.md | 244 + client/docs/GetV2PageReactsResponse.md | 275 ++ client/docs/GetVotesForUserResponse1.md | 286 ++ client/docs/GetVotesResponse1.md | 286 ++ client/docs/LockCommentResponse.md | 223 + client/docs/ModerationAPI.md | 448 +- client/docs/PatchHashTagResponse.md | 244 + client/docs/PinCommentResponse.md | 244 + client/docs/PostAdjustCommentVotesResponse.md | 244 + client/docs/PostApiExportResponse.md | 244 + client/docs/PostBanUserFromCommentResponse.md | 249 + client/docs/PostBanUserUndoResponse.md | 223 + client/docs/PostBulkPreBanSummaryResponse.md | 328 ++ client/docs/PostCommentsByIdsResponse.md | 244 + client/docs/PostFlagCommentResponse.md | 223 + client/docs/PostRemoveCommentResponse.md | 182 +- .../docs/PostRestoreDeletedCommentResponse.md | 223 + .../PostSetCommentApprovalStatusResponse.md | 249 + .../PostSetCommentReviewStatusResponse.md | 223 + .../docs/PostSetCommentSpamStatusResponse.md | 223 + client/docs/PostSetCommentTextResponse.md | 244 + client/docs/PostUnFlagCommentResponse.md | 223 + client/docs/PostVoteResponse.md | 327 ++ client/docs/PublicAPI.md | 264 +- client/docs/PutAwardBadgeResponse.md | 275 ++ client/docs/PutCloseThreadResponse.md | 223 + client/docs/PutRemoveBadgeResponse.md | 249 + client/docs/PutReopenThreadResponse.md | 223 + client/docs/ReactFeedPostPublicResponse.md | 265 ++ client/docs/RenderEmailTemplateResponse1.md | 244 + client/docs/ReplaceTenantPackageResponse.md | 223 + client/docs/ReplaceTenantUserResponse.md | 223 + .../ResetUserNotificationCountResponse.md | 223 + .../docs/ResetUserNotificationsResponse1.md | 223 + client/docs/SaveCommentResponse.md | 301 ++ client/docs/SearchUsersResponse1.md | 265 ++ client/docs/SendInviteResponse.md | 223 + client/docs/SendLoginLinkResponse.md | 223 + client/docs/SetCommentTextResponse1.md | 244 + client/docs/SetTrustFactorResponse.md | 249 + client/docs/UnBlockCommentPublicResponse.md | 244 + client/docs/UnBlockUserFromCommentResponse.md | 244 + client/docs/UnFlagCommentResponse.md | 275 ++ client/docs/UnLockCommentResponse.md | 223 + client/docs/UnPinCommentResponse.md | 244 + client/docs/UpdateCommentResponse.md | 223 + client/docs/UpdateEmailTemplateResponse.md | 223 + client/docs/UpdateFeedPostPublicResponse.md | 244 + client/docs/UpdateFeedPostResponse.md | 223 + client/docs/UpdateModeratorResponse.md | 223 + client/docs/UpdateNotificationResponse.md | 223 + client/docs/UpdateQuestionConfigResponse.md | 223 + client/docs/UpdateQuestionResultResponse.md | 223 + client/docs/UpdateTenantPackageResponse.md | 223 + client/docs/UpdateTenantResponse.md | 223 + client/docs/UpdateTenantUserResponse.md | 223 + client/docs/UpdateUserBadgeResponse.md | 223 + ...cationCommentSubscriptionStatusResponse.md | 174 +- ...ificationPageSubscriptionStatusResponse.md | 174 +- .../UpdateUserNotificationStatusResponse.md | 174 +- client/docs/VoteCommentResponse.md | 327 ++ client/model_add_hash_tag_response.go | 107 + client/model_add_hash_tags_bulk_response.go | 107 + ...l_aggregate_question_results_response_1.go | 107 + ...odel_block_from_comment_public_response.go | 107 + .../model_block_user_from_comment_response.go | 107 + ...k_aggregate_question_results_response_1.go | 107 + .../model_change_ticket_state_response_1.go | 107 + ...l_checked_comments_for_blocked_response.go | 107 + ...comments_with_question_results_response.go | 107 + .../model_create_comment_public_response.go | 107 + .../model_create_email_template_response_1.go | 107 + .../model_create_feed_post_public_response.go | 107 + client/model_create_feed_post_response_1.go | 107 + client/model_create_moderator_response_1.go | 107 + ...model_create_question_config_response_1.go | 107 + ...model_create_question_result_response_1.go | 107 + .../model_create_tenant_package_response_1.go | 107 + client/model_create_tenant_response_1.go | 107 + client/model_create_tenant_user_response_1.go | 107 + client/model_create_ticket_response_1.go | 107 + client/model_create_user_badge_response.go | 107 + client/model_create_v1_page_react_response.go | 107 + client/model_create_v2_page_react_response.go | 107 + client/model_create_vote_response.go | 107 + .../model_delete_comment_public_response.go | 107 + client/model_delete_comment_response.go | 107 + client/model_delete_comment_vote_response.go | 107 + ...te_email_template_render_error_response.go | 107 + .../model_delete_email_template_response.go | 107 + .../model_delete_feed_post_public_response.go | 127 +- ...delete_feed_post_public_response_any_of.go | 158 + client/model_delete_hash_tag_response.go | 107 + .../model_delete_moderation_vote_response.go | 107 + client/model_delete_moderator_response.go | 107 + ...odel_delete_notification_count_response.go | 107 + ...l_delete_pending_webhook_event_response.go | 107 + .../model_delete_question_config_response.go | 107 + .../model_delete_question_result_response.go | 107 + .../model_delete_tenant_package_response.go | 107 + client/model_delete_tenant_response.go | 107 + client/model_delete_tenant_user_response.go | 107 + client/model_delete_user_badge_response.go | 107 + client/model_delete_v1_page_react_response.go | 107 + client/model_delete_v2_page_react_response.go | 107 + client/model_delete_vote_response.go | 107 + client/model_flag_comment_public_response.go | 107 + client/model_flag_comment_response_1.go | 107 + client/model_get_api_comments_response.go | 107 + .../model_get_api_export_status_response.go | 107 + client/model_get_api_ids_response.go | 107 + client/model_get_audit_logs_response_1.go | 107 + ...del_get_ban_users_from_comment_response.go | 107 + ...et_cached_notification_count_response_1.go | 107 + ...model_get_comment_ban_status_response_1.go | 107 + client/model_get_comment_children_response.go | 107 + client/model_get_comment_response.go | 107 + client/model_get_comment_text_response_1.go | 107 + ...el_get_comment_vote_user_names_response.go | 107 + .../model_get_comments_for_user_response_1.go | 107 + client/model_get_comments_public_response.go | 107 + client/model_get_comments_response.go | 107 + client/model_get_count_response.go | 107 + client/model_get_counts_response.go | 107 + ...t_email_template_definitions_response_1.go | 107 + ...email_template_render_errors_response_1.go | 107 + client/model_get_email_template_response_1.go | 107 + .../model_get_email_templates_response_1.go | 107 + client/model_get_event_log_response_1.go | 107 + .../model_get_feed_posts_public_response.go | 107 + client/model_get_feed_posts_response_1.go | 107 + client/model_get_feed_posts_stats_response.go | 107 + client/model_get_gif_large_response.go | 107 + client/model_get_gifs_search_response.go | 18 + client/model_get_global_event_log_response.go | 107 + client/model_get_hash_tags_response_1.go | 107 + client/model_get_logs_response.go | 107 + ...del_get_manual_badges_for_user_response.go | 107 + client/model_get_manual_badges_response.go | 107 + .../model_get_moderation_comment_response.go | 107 + ...el_get_moderation_comment_text_response.go | 107 + client/model_get_moderator_response_1.go | 107 + client/model_get_moderators_response_1.go | 107 + ...model_get_notification_count_response_1.go | 107 + client/model_get_notifications_response_1.go | 107 + client/model_get_offline_users_response.go | 107 + client/model_get_online_users_response.go | 107 + client/model_get_pages_public_response.go | 107 + ..._pending_webhook_event_count_response_1.go | 107 + ...l_get_pending_webhook_events_response_1.go | 107 + client/model_get_pre_ban_summary_response.go | 107 + .../model_get_question_config_response_1.go | 107 + .../model_get_question_configs_response_1.go | 107 + .../model_get_question_result_response_1.go | 107 + .../model_get_question_results_response_1.go | 107 + ...el_get_search_comments_summary_response.go | 107 + client/model_get_search_pages_response.go | 107 + client/model_get_search_sites_response.go | 107 + client/model_get_search_suggest_response.go | 107 + client/model_get_search_users_response.go | 107 + ...odel_get_tenant_daily_usages_response_1.go | 107 + client/model_get_tenant_package_response_1.go | 107 + .../model_get_tenant_packages_response_1.go | 107 + client/model_get_tenant_response_1.go | 107 + client/model_get_tenant_user_response_1.go | 107 + client/model_get_tenant_users_response_1.go | 107 + client/model_get_tenants_response_1.go | 107 + client/model_get_ticket_response_1.go | 107 + client/model_get_tickets_response_1.go | 107 + client/model_get_translations_response_1.go | 107 + client/model_get_trust_factor_response.go | 107 + ..._get_user_badge_progress_by_id_response.go | 107 + ...user_badge_progress_by_user_id_response.go | 107 + ...l_get_user_badge_progress_list_response.go | 107 + client/model_get_user_badge_response.go | 107 + client/model_get_user_badges_response.go | 107 + .../model_get_user_ban_preference_response.go | 107 + ...el_get_user_internal_profile_response_1.go | 107 + ..._get_user_notification_count_response_1.go | 107 + .../model_get_user_notifications_response.go | 107 + ...l_get_user_presence_statuses_response_1.go | 107 + .../model_get_user_reacts_public_response.go | 107 + client/model_get_user_response_1.go | 107 + client/model_get_users_info_response.go | 107 + client/model_get_v1_page_likes_response.go | 107 + ...odel_get_v2_page_react_users_response_1.go | 107 + client/model_get_v2_page_reacts_response.go | 107 + client/model_get_votes_for_user_response_1.go | 107 + client/model_get_votes_response_1.go | 107 + client/model_lock_comment_response.go | 107 + client/model_patch_hash_tag_response.go | 107 + client/model_pin_comment_response.go | 107 + ...odel_post_adjust_comment_votes_response.go | 107 + client/model_post_api_export_response.go | 107 + ...del_post_ban_user_from_comment_response.go | 107 + client/model_post_ban_user_undo_response.go | 107 + ...odel_post_bulk_pre_ban_summary_response.go | 107 + client/model_post_comments_by_ids_response.go | 107 + client/model_post_flag_comment_response.go | 107 + client/model_post_remove_comment_response.go | 18 + ...l_post_restore_deleted_comment_response.go | 107 + ...st_set_comment_approval_status_response.go | 107 + ...post_set_comment_review_status_response.go | 107 + ...l_post_set_comment_spam_status_response.go | 107 + .../model_post_set_comment_text_response.go | 107 + client/model_post_un_flag_comment_response.go | 107 + client/model_post_vote_response.go | 107 + client/model_put_award_badge_response.go | 107 + client/model_put_close_thread_response.go | 107 + client/model_put_remove_badge_response.go | 107 + client/model_put_reopen_thread_response.go | 107 + .../model_react_feed_post_public_response.go | 107 + .../model_render_email_template_response_1.go | 107 + .../model_replace_tenant_package_response.go | 107 + client/model_replace_tenant_user_response.go | 107 + ..._reset_user_notification_count_response.go | 107 + ...del_reset_user_notifications_response_1.go | 107 + client/model_save_comment_response.go | 107 + client/model_search_users_response_1.go | 107 + client/model_send_invite_response.go | 107 + client/model_send_login_link_response.go | 107 + client/model_set_comment_text_response_1.go | 107 + client/model_set_trust_factor_response.go | 107 + .../model_un_block_comment_public_response.go | 107 + ...del_un_block_user_from_comment_response.go | 107 + client/model_un_flag_comment_response.go | 107 + client/model_un_lock_comment_response.go | 107 + client/model_un_pin_comment_response.go | 107 + client/model_update_comment_response.go | 107 + .../model_update_email_template_response.go | 107 + .../model_update_feed_post_public_response.go | 107 + client/model_update_feed_post_response.go | 107 + client/model_update_moderator_response.go | 107 + client/model_update_notification_response.go | 107 + .../model_update_question_config_response.go | 107 + .../model_update_question_result_response.go | 107 + .../model_update_tenant_package_response.go | 107 + client/model_update_tenant_response.go | 107 + client/model_update_tenant_user_response.go | 107 + client/model_update_user_badge_response.go | 107 + ...on_comment_subscription_status_response.go | 18 + ...ation_page_subscription_status_response.go | 18 + ...pdate_user_notification_status_response.go | 18 + client/model_vote_comment_response.go | 107 + openapi.json | 4082 +++++++++-------- 376 files changed, 70322 insertions(+), 6140 deletions(-) create mode 100644 client/docs/AddHashTagResponse.md create mode 100644 client/docs/AddHashTagsBulkResponse.md create mode 100644 client/docs/AggregateQuestionResultsResponse1.md create mode 100644 client/docs/BlockFromCommentPublicResponse.md create mode 100644 client/docs/BlockUserFromCommentResponse.md create mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md create mode 100644 client/docs/ChangeTicketStateResponse1.md create mode 100644 client/docs/CheckedCommentsForBlockedResponse.md create mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md create mode 100644 client/docs/CreateCommentPublicResponse.md create mode 100644 client/docs/CreateEmailTemplateResponse1.md create mode 100644 client/docs/CreateFeedPostPublicResponse.md create mode 100644 client/docs/CreateFeedPostResponse1.md create mode 100644 client/docs/CreateModeratorResponse1.md create mode 100644 client/docs/CreateQuestionConfigResponse1.md create mode 100644 client/docs/CreateQuestionResultResponse1.md create mode 100644 client/docs/CreateTenantPackageResponse1.md create mode 100644 client/docs/CreateTenantResponse1.md create mode 100644 client/docs/CreateTenantUserResponse1.md create mode 100644 client/docs/CreateTicketResponse1.md create mode 100644 client/docs/CreateUserBadgeResponse.md create mode 100644 client/docs/CreateV1PageReactResponse.md create mode 100644 client/docs/CreateV2PageReactResponse.md create mode 100644 client/docs/CreateVoteResponse.md create mode 100644 client/docs/DeleteCommentPublicResponse.md create mode 100644 client/docs/DeleteCommentResponse.md create mode 100644 client/docs/DeleteCommentVoteResponse.md create mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md create mode 100644 client/docs/DeleteEmailTemplateResponse.md create mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md create mode 100644 client/docs/DeleteHashTagResponse.md create mode 100644 client/docs/DeleteModerationVoteResponse.md create mode 100644 client/docs/DeleteModeratorResponse.md create mode 100644 client/docs/DeleteNotificationCountResponse.md create mode 100644 client/docs/DeletePendingWebhookEventResponse.md create mode 100644 client/docs/DeleteQuestionConfigResponse.md create mode 100644 client/docs/DeleteQuestionResultResponse.md create mode 100644 client/docs/DeleteTenantPackageResponse.md create mode 100644 client/docs/DeleteTenantResponse.md create mode 100644 client/docs/DeleteTenantUserResponse.md create mode 100644 client/docs/DeleteUserBadgeResponse.md create mode 100644 client/docs/DeleteV1PageReactResponse.md create mode 100644 client/docs/DeleteV2PageReactResponse.md create mode 100644 client/docs/DeleteVoteResponse.md create mode 100644 client/docs/FlagCommentPublicResponse.md create mode 100644 client/docs/FlagCommentResponse1.md create mode 100644 client/docs/GetApiCommentsResponse.md create mode 100644 client/docs/GetApiExportStatusResponse.md create mode 100644 client/docs/GetApiIdsResponse.md create mode 100644 client/docs/GetAuditLogsResponse1.md create mode 100644 client/docs/GetBanUsersFromCommentResponse.md create mode 100644 client/docs/GetCachedNotificationCountResponse1.md create mode 100644 client/docs/GetCommentBanStatusResponse1.md create mode 100644 client/docs/GetCommentChildrenResponse.md create mode 100644 client/docs/GetCommentResponse.md create mode 100644 client/docs/GetCommentTextResponse1.md create mode 100644 client/docs/GetCommentVoteUserNamesResponse.md create mode 100644 client/docs/GetCommentsForUserResponse1.md create mode 100644 client/docs/GetCommentsPublicResponse.md create mode 100644 client/docs/GetCommentsResponse.md create mode 100644 client/docs/GetCountResponse.md create mode 100644 client/docs/GetCountsResponse.md create mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md create mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md create mode 100644 client/docs/GetEmailTemplateResponse1.md create mode 100644 client/docs/GetEmailTemplatesResponse1.md create mode 100644 client/docs/GetEventLogResponse1.md create mode 100644 client/docs/GetFeedPostsPublicResponse.md create mode 100644 client/docs/GetFeedPostsResponse1.md create mode 100644 client/docs/GetFeedPostsStatsResponse.md create mode 100644 client/docs/GetGifLargeResponse.md create mode 100644 client/docs/GetGlobalEventLogResponse.md create mode 100644 client/docs/GetHashTagsResponse1.md create mode 100644 client/docs/GetLogsResponse.md create mode 100644 client/docs/GetManualBadgesForUserResponse.md create mode 100644 client/docs/GetManualBadgesResponse.md create mode 100644 client/docs/GetModerationCommentResponse.md create mode 100644 client/docs/GetModerationCommentTextResponse.md create mode 100644 client/docs/GetModeratorResponse1.md create mode 100644 client/docs/GetModeratorsResponse1.md create mode 100644 client/docs/GetNotificationCountResponse1.md create mode 100644 client/docs/GetNotificationsResponse1.md create mode 100644 client/docs/GetOfflineUsersResponse.md create mode 100644 client/docs/GetOnlineUsersResponse.md create mode 100644 client/docs/GetPagesPublicResponse.md create mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md create mode 100644 client/docs/GetPendingWebhookEventsResponse1.md create mode 100644 client/docs/GetPreBanSummaryResponse.md create mode 100644 client/docs/GetQuestionConfigResponse1.md create mode 100644 client/docs/GetQuestionConfigsResponse1.md create mode 100644 client/docs/GetQuestionResultResponse1.md create mode 100644 client/docs/GetQuestionResultsResponse1.md create mode 100644 client/docs/GetSearchCommentsSummaryResponse.md create mode 100644 client/docs/GetSearchPagesResponse.md create mode 100644 client/docs/GetSearchSitesResponse.md create mode 100644 client/docs/GetSearchSuggestResponse.md create mode 100644 client/docs/GetSearchUsersResponse.md create mode 100644 client/docs/GetTenantDailyUsagesResponse1.md create mode 100644 client/docs/GetTenantPackageResponse1.md create mode 100644 client/docs/GetTenantPackagesResponse1.md create mode 100644 client/docs/GetTenantResponse1.md create mode 100644 client/docs/GetTenantUserResponse1.md create mode 100644 client/docs/GetTenantUsersResponse1.md create mode 100644 client/docs/GetTenantsResponse1.md create mode 100644 client/docs/GetTicketResponse1.md create mode 100644 client/docs/GetTicketsResponse1.md create mode 100644 client/docs/GetTranslationsResponse1.md create mode 100644 client/docs/GetTrustFactorResponse.md create mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md create mode 100644 client/docs/GetUserBadgeProgressListResponse.md create mode 100644 client/docs/GetUserBadgeResponse.md create mode 100644 client/docs/GetUserBadgesResponse.md create mode 100644 client/docs/GetUserBanPreferenceResponse.md create mode 100644 client/docs/GetUserInternalProfileResponse1.md create mode 100644 client/docs/GetUserNotificationCountResponse1.md create mode 100644 client/docs/GetUserNotificationsResponse.md create mode 100644 client/docs/GetUserPresenceStatusesResponse1.md create mode 100644 client/docs/GetUserReactsPublicResponse.md create mode 100644 client/docs/GetUserResponse1.md create mode 100644 client/docs/GetUsersInfoResponse.md create mode 100644 client/docs/GetV1PageLikesResponse.md create mode 100644 client/docs/GetV2PageReactUsersResponse1.md create mode 100644 client/docs/GetV2PageReactsResponse.md create mode 100644 client/docs/GetVotesForUserResponse1.md create mode 100644 client/docs/GetVotesResponse1.md create mode 100644 client/docs/LockCommentResponse.md create mode 100644 client/docs/PatchHashTagResponse.md create mode 100644 client/docs/PinCommentResponse.md create mode 100644 client/docs/PostAdjustCommentVotesResponse.md create mode 100644 client/docs/PostApiExportResponse.md create mode 100644 client/docs/PostBanUserFromCommentResponse.md create mode 100644 client/docs/PostBanUserUndoResponse.md create mode 100644 client/docs/PostBulkPreBanSummaryResponse.md create mode 100644 client/docs/PostCommentsByIdsResponse.md create mode 100644 client/docs/PostFlagCommentResponse.md create mode 100644 client/docs/PostRestoreDeletedCommentResponse.md create mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md create mode 100644 client/docs/PostSetCommentReviewStatusResponse.md create mode 100644 client/docs/PostSetCommentSpamStatusResponse.md create mode 100644 client/docs/PostSetCommentTextResponse.md create mode 100644 client/docs/PostUnFlagCommentResponse.md create mode 100644 client/docs/PostVoteResponse.md create mode 100644 client/docs/PutAwardBadgeResponse.md create mode 100644 client/docs/PutCloseThreadResponse.md create mode 100644 client/docs/PutRemoveBadgeResponse.md create mode 100644 client/docs/PutReopenThreadResponse.md create mode 100644 client/docs/ReactFeedPostPublicResponse.md create mode 100644 client/docs/RenderEmailTemplateResponse1.md create mode 100644 client/docs/ReplaceTenantPackageResponse.md create mode 100644 client/docs/ReplaceTenantUserResponse.md create mode 100644 client/docs/ResetUserNotificationCountResponse.md create mode 100644 client/docs/ResetUserNotificationsResponse1.md create mode 100644 client/docs/SaveCommentResponse.md create mode 100644 client/docs/SearchUsersResponse1.md create mode 100644 client/docs/SendInviteResponse.md create mode 100644 client/docs/SendLoginLinkResponse.md create mode 100644 client/docs/SetCommentTextResponse1.md create mode 100644 client/docs/SetTrustFactorResponse.md create mode 100644 client/docs/UnBlockCommentPublicResponse.md create mode 100644 client/docs/UnBlockUserFromCommentResponse.md create mode 100644 client/docs/UnFlagCommentResponse.md create mode 100644 client/docs/UnLockCommentResponse.md create mode 100644 client/docs/UnPinCommentResponse.md create mode 100644 client/docs/UpdateCommentResponse.md create mode 100644 client/docs/UpdateEmailTemplateResponse.md create mode 100644 client/docs/UpdateFeedPostPublicResponse.md create mode 100644 client/docs/UpdateFeedPostResponse.md create mode 100644 client/docs/UpdateModeratorResponse.md create mode 100644 client/docs/UpdateNotificationResponse.md create mode 100644 client/docs/UpdateQuestionConfigResponse.md create mode 100644 client/docs/UpdateQuestionResultResponse.md create mode 100644 client/docs/UpdateTenantPackageResponse.md create mode 100644 client/docs/UpdateTenantResponse.md create mode 100644 client/docs/UpdateTenantUserResponse.md create mode 100644 client/docs/UpdateUserBadgeResponse.md create mode 100644 client/docs/VoteCommentResponse.md create mode 100644 client/model_add_hash_tag_response.go create mode 100644 client/model_add_hash_tags_bulk_response.go create mode 100644 client/model_aggregate_question_results_response_1.go create mode 100644 client/model_block_from_comment_public_response.go create mode 100644 client/model_block_user_from_comment_response.go create mode 100644 client/model_bulk_aggregate_question_results_response_1.go create mode 100644 client/model_change_ticket_state_response_1.go create mode 100644 client/model_checked_comments_for_blocked_response.go create mode 100644 client/model_combine_comments_with_question_results_response.go create mode 100644 client/model_create_comment_public_response.go create mode 100644 client/model_create_email_template_response_1.go create mode 100644 client/model_create_feed_post_public_response.go create mode 100644 client/model_create_feed_post_response_1.go create mode 100644 client/model_create_moderator_response_1.go create mode 100644 client/model_create_question_config_response_1.go create mode 100644 client/model_create_question_result_response_1.go create mode 100644 client/model_create_tenant_package_response_1.go create mode 100644 client/model_create_tenant_response_1.go create mode 100644 client/model_create_tenant_user_response_1.go create mode 100644 client/model_create_ticket_response_1.go create mode 100644 client/model_create_user_badge_response.go create mode 100644 client/model_create_v1_page_react_response.go create mode 100644 client/model_create_v2_page_react_response.go create mode 100644 client/model_create_vote_response.go create mode 100644 client/model_delete_comment_public_response.go create mode 100644 client/model_delete_comment_response.go create mode 100644 client/model_delete_comment_vote_response.go create mode 100644 client/model_delete_email_template_render_error_response.go create mode 100644 client/model_delete_email_template_response.go create mode 100644 client/model_delete_feed_post_public_response_any_of.go create mode 100644 client/model_delete_hash_tag_response.go create mode 100644 client/model_delete_moderation_vote_response.go create mode 100644 client/model_delete_moderator_response.go create mode 100644 client/model_delete_notification_count_response.go create mode 100644 client/model_delete_pending_webhook_event_response.go create mode 100644 client/model_delete_question_config_response.go create mode 100644 client/model_delete_question_result_response.go create mode 100644 client/model_delete_tenant_package_response.go create mode 100644 client/model_delete_tenant_response.go create mode 100644 client/model_delete_tenant_user_response.go create mode 100644 client/model_delete_user_badge_response.go create mode 100644 client/model_delete_v1_page_react_response.go create mode 100644 client/model_delete_v2_page_react_response.go create mode 100644 client/model_delete_vote_response.go create mode 100644 client/model_flag_comment_public_response.go create mode 100644 client/model_flag_comment_response_1.go create mode 100644 client/model_get_api_comments_response.go create mode 100644 client/model_get_api_export_status_response.go create mode 100644 client/model_get_api_ids_response.go create mode 100644 client/model_get_audit_logs_response_1.go create mode 100644 client/model_get_ban_users_from_comment_response.go create mode 100644 client/model_get_cached_notification_count_response_1.go create mode 100644 client/model_get_comment_ban_status_response_1.go create mode 100644 client/model_get_comment_children_response.go create mode 100644 client/model_get_comment_response.go create mode 100644 client/model_get_comment_text_response_1.go create mode 100644 client/model_get_comment_vote_user_names_response.go create mode 100644 client/model_get_comments_for_user_response_1.go create mode 100644 client/model_get_comments_public_response.go create mode 100644 client/model_get_comments_response.go create mode 100644 client/model_get_count_response.go create mode 100644 client/model_get_counts_response.go create mode 100644 client/model_get_email_template_definitions_response_1.go create mode 100644 client/model_get_email_template_render_errors_response_1.go create mode 100644 client/model_get_email_template_response_1.go create mode 100644 client/model_get_email_templates_response_1.go create mode 100644 client/model_get_event_log_response_1.go create mode 100644 client/model_get_feed_posts_public_response.go create mode 100644 client/model_get_feed_posts_response_1.go create mode 100644 client/model_get_feed_posts_stats_response.go create mode 100644 client/model_get_gif_large_response.go create mode 100644 client/model_get_global_event_log_response.go create mode 100644 client/model_get_hash_tags_response_1.go create mode 100644 client/model_get_logs_response.go create mode 100644 client/model_get_manual_badges_for_user_response.go create mode 100644 client/model_get_manual_badges_response.go create mode 100644 client/model_get_moderation_comment_response.go create mode 100644 client/model_get_moderation_comment_text_response.go create mode 100644 client/model_get_moderator_response_1.go create mode 100644 client/model_get_moderators_response_1.go create mode 100644 client/model_get_notification_count_response_1.go create mode 100644 client/model_get_notifications_response_1.go create mode 100644 client/model_get_offline_users_response.go create mode 100644 client/model_get_online_users_response.go create mode 100644 client/model_get_pages_public_response.go create mode 100644 client/model_get_pending_webhook_event_count_response_1.go create mode 100644 client/model_get_pending_webhook_events_response_1.go create mode 100644 client/model_get_pre_ban_summary_response.go create mode 100644 client/model_get_question_config_response_1.go create mode 100644 client/model_get_question_configs_response_1.go create mode 100644 client/model_get_question_result_response_1.go create mode 100644 client/model_get_question_results_response_1.go create mode 100644 client/model_get_search_comments_summary_response.go create mode 100644 client/model_get_search_pages_response.go create mode 100644 client/model_get_search_sites_response.go create mode 100644 client/model_get_search_suggest_response.go create mode 100644 client/model_get_search_users_response.go create mode 100644 client/model_get_tenant_daily_usages_response_1.go create mode 100644 client/model_get_tenant_package_response_1.go create mode 100644 client/model_get_tenant_packages_response_1.go create mode 100644 client/model_get_tenant_response_1.go create mode 100644 client/model_get_tenant_user_response_1.go create mode 100644 client/model_get_tenant_users_response_1.go create mode 100644 client/model_get_tenants_response_1.go create mode 100644 client/model_get_ticket_response_1.go create mode 100644 client/model_get_tickets_response_1.go create mode 100644 client/model_get_translations_response_1.go create mode 100644 client/model_get_trust_factor_response.go create mode 100644 client/model_get_user_badge_progress_by_id_response.go create mode 100644 client/model_get_user_badge_progress_by_user_id_response.go create mode 100644 client/model_get_user_badge_progress_list_response.go create mode 100644 client/model_get_user_badge_response.go create mode 100644 client/model_get_user_badges_response.go create mode 100644 client/model_get_user_ban_preference_response.go create mode 100644 client/model_get_user_internal_profile_response_1.go create mode 100644 client/model_get_user_notification_count_response_1.go create mode 100644 client/model_get_user_notifications_response.go create mode 100644 client/model_get_user_presence_statuses_response_1.go create mode 100644 client/model_get_user_reacts_public_response.go create mode 100644 client/model_get_user_response_1.go create mode 100644 client/model_get_users_info_response.go create mode 100644 client/model_get_v1_page_likes_response.go create mode 100644 client/model_get_v2_page_react_users_response_1.go create mode 100644 client/model_get_v2_page_reacts_response.go create mode 100644 client/model_get_votes_for_user_response_1.go create mode 100644 client/model_get_votes_response_1.go create mode 100644 client/model_lock_comment_response.go create mode 100644 client/model_patch_hash_tag_response.go create mode 100644 client/model_pin_comment_response.go create mode 100644 client/model_post_adjust_comment_votes_response.go create mode 100644 client/model_post_api_export_response.go create mode 100644 client/model_post_ban_user_from_comment_response.go create mode 100644 client/model_post_ban_user_undo_response.go create mode 100644 client/model_post_bulk_pre_ban_summary_response.go create mode 100644 client/model_post_comments_by_ids_response.go create mode 100644 client/model_post_flag_comment_response.go create mode 100644 client/model_post_restore_deleted_comment_response.go create mode 100644 client/model_post_set_comment_approval_status_response.go create mode 100644 client/model_post_set_comment_review_status_response.go create mode 100644 client/model_post_set_comment_spam_status_response.go create mode 100644 client/model_post_set_comment_text_response.go create mode 100644 client/model_post_un_flag_comment_response.go create mode 100644 client/model_post_vote_response.go create mode 100644 client/model_put_award_badge_response.go create mode 100644 client/model_put_close_thread_response.go create mode 100644 client/model_put_remove_badge_response.go create mode 100644 client/model_put_reopen_thread_response.go create mode 100644 client/model_react_feed_post_public_response.go create mode 100644 client/model_render_email_template_response_1.go create mode 100644 client/model_replace_tenant_package_response.go create mode 100644 client/model_replace_tenant_user_response.go create mode 100644 client/model_reset_user_notification_count_response.go create mode 100644 client/model_reset_user_notifications_response_1.go create mode 100644 client/model_save_comment_response.go create mode 100644 client/model_search_users_response_1.go create mode 100644 client/model_send_invite_response.go create mode 100644 client/model_send_login_link_response.go create mode 100644 client/model_set_comment_text_response_1.go create mode 100644 client/model_set_trust_factor_response.go create mode 100644 client/model_un_block_comment_public_response.go create mode 100644 client/model_un_block_user_from_comment_response.go create mode 100644 client/model_un_flag_comment_response.go create mode 100644 client/model_un_lock_comment_response.go create mode 100644 client/model_un_pin_comment_response.go create mode 100644 client/model_update_comment_response.go create mode 100644 client/model_update_email_template_response.go create mode 100644 client/model_update_feed_post_public_response.go create mode 100644 client/model_update_feed_post_response.go create mode 100644 client/model_update_moderator_response.go create mode 100644 client/model_update_notification_response.go create mode 100644 client/model_update_question_config_response.go create mode 100644 client/model_update_question_result_response.go create mode 100644 client/model_update_tenant_package_response.go create mode 100644 client/model_update_tenant_response.go create mode 100644 client/model_update_tenant_user_response.go create mode 100644 client/model_update_user_badge_response.go create mode 100644 client/model_vote_comment_response.go diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 38230dd..974a32c 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -43,11 +43,14 @@ docs/APIUserSubscription.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md +docs/AddHashTagResponse.md +docs/AddHashTagsBulkResponse.md docs/AddPageAPIResponse.md docs/AddSSOUserAPIResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md +docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationAPIError.md @@ -67,12 +70,15 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md +docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md +docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md +docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -82,7 +88,10 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md +docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md +docs/CheckedCommentsForBlockedResponse.md +docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHTMLRenderingMode.md @@ -102,41 +111,76 @@ docs/CreateAPIPageData.md docs/CreateAPISSOUserData.md docs/CreateAPIUserSubscriptionData.md docs/CreateCommentParams.md +docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md +docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md +docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md +docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md +docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md +docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md +docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionAPIResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md +docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md +docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md +docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md +docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md +docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md +docs/CreateV1PageReactResponse.md +docs/CreateV2PageReactResponse.md +docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultAPI.md docs/DeleteCommentAction.md +docs/DeleteCommentPublicResponse.md +docs/DeleteCommentResponse.md docs/DeleteCommentResult.md +docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md +docs/DeleteEmailTemplateRenderErrorResponse.md +docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md +docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md +docs/DeleteHashTagResponse.md +docs/DeleteModerationVoteResponse.md +docs/DeleteModeratorResponse.md +docs/DeleteNotificationCountResponse.md docs/DeletePageAPIResponse.md +docs/DeletePendingWebhookEventResponse.md +docs/DeleteQuestionConfigResponse.md +docs/DeleteQuestionResultResponse.md docs/DeleteSSOUserAPIResponse.md docs/DeleteSubscriptionAPIResponse.md +docs/DeleteTenantPackageResponse.md +docs/DeleteTenantResponse.md +docs/DeleteTenantUserResponse.md +docs/DeleteUserBadgeResponse.md +docs/DeleteV1PageReactResponse.md +docs/DeleteV2PageReactResponse.md +docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -152,72 +196,154 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md +docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md +docs/FlagCommentResponse1.md +docs/GetApiCommentsResponse.md +docs/GetApiExportStatusResponse.md +docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md +docs/GetAuditLogsResponse1.md +docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md +docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md +docs/GetCommentBanStatusResponse1.md +docs/GetCommentChildrenResponse.md +docs/GetCommentResponse.md docs/GetCommentTextResponse.md +docs/GetCommentTextResponse1.md +docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md +docs/GetCommentsForUserResponse1.md +docs/GetCommentsPublicResponse.md +docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md +docs/GetCountResponse.md +docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md +docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md +docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md +docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md +docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md +docs/GetEventLogResponse1.md +docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md +docs/GetFeedPostsResponse1.md +docs/GetFeedPostsStatsResponse.md +docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md +docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md +docs/GetHashTagsResponse1.md +docs/GetLogsResponse.md +docs/GetManualBadgesForUserResponse.md +docs/GetManualBadgesResponse.md +docs/GetModerationCommentResponse.md +docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md +docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md +docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md +docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md +docs/GetNotificationsResponse1.md +docs/GetOfflineUsersResponse.md +docs/GetOnlineUsersResponse.md docs/GetPageByURLIdAPIResponse.md docs/GetPagesAPIResponse.md +docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md +docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md +docs/GetPendingWebhookEventsResponse1.md +docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md +docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md +docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md +docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md +docs/GetQuestionResultsResponse1.md docs/GetSSOUserByEmailAPIResponse.md docs/GetSSOUserByIdAPIResponse.md docs/GetSSOUsersResponse.md +docs/GetSearchCommentsSummaryResponse.md +docs/GetSearchPagesResponse.md +docs/GetSearchSitesResponse.md +docs/GetSearchSuggestResponse.md +docs/GetSearchUsersResponse.md docs/GetSubscriptionsAPIResponse.md docs/GetTenantDailyUsagesResponse.md +docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md +docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md +docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md +docs/GetTenantResponse1.md docs/GetTenantUserResponse.md +docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md +docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md +docs/GetTenantsResponse1.md docs/GetTicketResponse.md +docs/GetTicketResponse1.md docs/GetTicketsResponse.md +docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md +docs/GetTranslationsResponse1.md +docs/GetTrustFactorResponse.md +docs/GetUserBadgeProgressByIdResponse.md +docs/GetUserBadgeProgressByUserIdResponse.md +docs/GetUserBadgeProgressListResponse.md +docs/GetUserBadgeResponse.md +docs/GetUserBadgesResponse.md +docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md +docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md +docs/GetUserNotificationCountResponse1.md +docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md +docs/GetUserPresenceStatusesResponse1.md +docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md +docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md +docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md +docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md +docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md +docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md +docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md +docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -232,6 +358,7 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md +docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -266,10 +393,26 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md +docs/PatchHashTagResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md +docs/PinCommentResponse.md +docs/PostAdjustCommentVotesResponse.md +docs/PostApiExportResponse.md +docs/PostBanUserFromCommentResponse.md +docs/PostBanUserUndoResponse.md +docs/PostBulkPreBanSummaryResponse.md +docs/PostCommentsByIdsResponse.md +docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md +docs/PostRestoreDeletedCommentResponse.md +docs/PostSetCommentApprovalStatusResponse.md +docs/PostSetCommentReviewStatusResponse.md +docs/PostSetCommentSpamStatusResponse.md +docs/PostSetCommentTextResponse.md +docs/PostUnFlagCommentResponse.md +docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -284,7 +427,11 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md +docs/PutAwardBadgeResponse.md +docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md +docs/PutRemoveBadgeResponse.md +docs/PutReopenThreadResponse.md docs/PutSSOUserAPIResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -297,30 +444,42 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md +docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md +docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md +docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md +docs/ReplaceTenantUserResponse.md +docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md +docs/ResetUserNotificationsResponse1.md docs/SORTDIR.md docs/SSOSecurityLevel.md +docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md +docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md +docs/SendInviteResponse.md +docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md +docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md +docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDirections.md @@ -329,26 +488,43 @@ docs/TOSConfig.md docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md +docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md +docs/UnBlockUserFromCommentResponse.md +docs/UnFlagCommentResponse.md +docs/UnLockCommentResponse.md +docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateAPIPageData.md docs/UpdateAPISSOUserData.md docs/UpdateAPIUserSubscriptionData.md +docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md +docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md +docs/UpdateFeedPostPublicResponse.md +docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md +docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md +docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md +docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md +docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionAPIResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md +docs/UpdateTenantPackageResponse.md +docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md +docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md +docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -367,6 +543,7 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md +docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseStatus.md @@ -378,11 +555,14 @@ go.sum model_add_domain_config_params.go model_add_domain_config_response.go model_add_domain_config_response_any_of.go +model_add_hash_tag_response.go +model_add_hash_tags_bulk_response.go model_add_page_api_response.go model_add_sso_user_api_response.go model_adjust_comment_votes_params.go model_adjust_votes_response.go model_aggregate_question_results_response.go +model_aggregate_question_results_response_1.go model_aggregate_response.go model_aggregate_time_bucket.go model_aggregation_api_error.go @@ -434,12 +614,15 @@ model_banned_user_match_matched_on_value.go model_banned_user_match_type.go model_billing_info.go model_block_from_comment_params.go +model_block_from_comment_public_response.go model_block_success.go +model_block_user_from_comment_response.go model_build_moderation_filter_params.go model_build_moderation_filter_response.go model_bulk_aggregate_question_item.go model_bulk_aggregate_question_results_request.go model_bulk_aggregate_question_results_response.go +model_bulk_aggregate_question_results_response_1.go model_bulk_create_hash_tags_body.go model_bulk_create_hash_tags_body_tags_inner.go model_bulk_create_hash_tags_response.go @@ -449,7 +632,10 @@ model_bulk_pre_ban_summary.go model_change_comment_pin_status_response.go model_change_ticket_state_body.go model_change_ticket_state_response.go +model_change_ticket_state_response_1.go model_check_blocked_comments_response.go +model_checked_comments_for_blocked_response.go +model_combine_comments_with_question_results_response.go model_combine_question_results_with_comments_response.go model_comment_data.go model_comment_html_rendering_mode.go @@ -469,40 +655,75 @@ model_create_api_page_data.go model_create_api_user_subscription_data.go model_create_apisso_user_data.go model_create_comment_params.go +model_create_comment_public_response.go model_create_email_template_body.go model_create_email_template_response.go +model_create_email_template_response_1.go model_create_feed_post_params.go +model_create_feed_post_public_response.go model_create_feed_post_response.go +model_create_feed_post_response_1.go model_create_feed_posts_response.go model_create_hash_tag_body.go model_create_hash_tag_response.go model_create_moderator_body.go model_create_moderator_response.go +model_create_moderator_response_1.go model_create_question_config_body.go model_create_question_config_response.go +model_create_question_config_response_1.go model_create_question_result_body.go model_create_question_result_response.go +model_create_question_result_response_1.go model_create_subscription_api_response.go model_create_tenant_body.go model_create_tenant_package_body.go model_create_tenant_package_response.go +model_create_tenant_package_response_1.go model_create_tenant_response.go +model_create_tenant_response_1.go model_create_tenant_user_body.go model_create_tenant_user_response.go +model_create_tenant_user_response_1.go model_create_ticket_body.go model_create_ticket_response.go +model_create_ticket_response_1.go model_create_user_badge_params.go +model_create_user_badge_response.go model_create_v1_page_react.go +model_create_v1_page_react_response.go +model_create_v2_page_react_response.go +model_create_vote_response.go model_custom_config_parameters.go model_custom_email_template.go model_delete_comment_action.go +model_delete_comment_public_response.go +model_delete_comment_response.go model_delete_comment_result.go +model_delete_comment_vote_response.go model_delete_domain_config_response.go +model_delete_email_template_render_error_response.go +model_delete_email_template_response.go model_delete_feed_post_public_response.go +model_delete_feed_post_public_response_any_of.go model_delete_hash_tag_request_body.go +model_delete_hash_tag_response.go +model_delete_moderation_vote_response.go +model_delete_moderator_response.go +model_delete_notification_count_response.go model_delete_page_api_response.go +model_delete_pending_webhook_event_response.go +model_delete_question_config_response.go +model_delete_question_result_response.go model_delete_sso_user_api_response.go model_delete_subscription_api_response.go +model_delete_tenant_package_response.go +model_delete_tenant_response.go +model_delete_tenant_user_response.go +model_delete_user_badge_response.go +model_delete_v1_page_react_response.go +model_delete_v2_page_react_response.go +model_delete_vote_response.go model_deleted_comment_result_comment.go model_digest_email_frequency.go model_email_template_definition.go @@ -518,72 +739,154 @@ model_feed_post_stats.go model_feed_posts_stats_response.go model_find_comments_by_range_item.go model_find_comments_by_range_response.go +model_flag_comment_public_response.go model_flag_comment_response.go +model_flag_comment_response_1.go +model_get_api_comments_response.go +model_get_api_export_status_response.go +model_get_api_ids_response.go model_get_audit_logs_response.go +model_get_audit_logs_response_1.go +model_get_ban_users_from_comment_response.go model_get_banned_users_count_response.go model_get_banned_users_from_comment_response.go model_get_cached_notification_count_response.go +model_get_cached_notification_count_response_1.go model_get_comment_ban_status_response.go +model_get_comment_ban_status_response_1.go +model_get_comment_children_response.go +model_get_comment_response.go model_get_comment_text_response.go +model_get_comment_text_response_1.go +model_get_comment_vote_user_names_response.go model_get_comment_vote_user_names_success_response.go model_get_comments_for_user_response.go +model_get_comments_for_user_response_1.go +model_get_comments_public_response.go +model_get_comments_response.go model_get_comments_response_public_comment_.go model_get_comments_response_with_presence_public_comment_.go +model_get_count_response.go +model_get_counts_response.go model_get_domain_config_response.go model_get_domain_configs_response.go model_get_domain_configs_response_any_of.go model_get_domain_configs_response_any_of_1.go model_get_email_template_definitions_response.go +model_get_email_template_definitions_response_1.go model_get_email_template_render_errors_response.go +model_get_email_template_render_errors_response_1.go model_get_email_template_response.go +model_get_email_template_response_1.go model_get_email_templates_response.go +model_get_email_templates_response_1.go model_get_event_log_response.go +model_get_event_log_response_1.go +model_get_feed_posts_public_response.go model_get_feed_posts_response.go +model_get_feed_posts_response_1.go +model_get_feed_posts_stats_response.go +model_get_gif_large_response.go model_get_gifs_search_response.go model_get_gifs_trending_response.go +model_get_global_event_log_response.go model_get_hash_tags_response.go +model_get_hash_tags_response_1.go +model_get_logs_response.go +model_get_manual_badges_for_user_response.go +model_get_manual_badges_response.go +model_get_moderation_comment_response.go +model_get_moderation_comment_text_response.go model_get_moderator_response.go +model_get_moderator_response_1.go model_get_moderators_response.go +model_get_moderators_response_1.go model_get_my_notifications_response.go model_get_notification_count_response.go +model_get_notification_count_response_1.go model_get_notifications_response.go +model_get_notifications_response_1.go +model_get_offline_users_response.go +model_get_online_users_response.go model_get_page_by_urlid_api_response.go model_get_pages_api_response.go +model_get_pages_public_response.go model_get_pending_webhook_event_count_response.go +model_get_pending_webhook_event_count_response_1.go model_get_pending_webhook_events_response.go +model_get_pending_webhook_events_response_1.go +model_get_pre_ban_summary_response.go model_get_public_feed_posts_response.go model_get_public_pages_response.go model_get_question_config_response.go +model_get_question_config_response_1.go model_get_question_configs_response.go +model_get_question_configs_response_1.go model_get_question_result_response.go +model_get_question_result_response_1.go model_get_question_results_response.go +model_get_question_results_response_1.go +model_get_search_comments_summary_response.go +model_get_search_pages_response.go +model_get_search_sites_response.go +model_get_search_suggest_response.go +model_get_search_users_response.go model_get_sso_user_by_email_api_response.go model_get_sso_user_by_id_api_response.go model_get_sso_users_response.go model_get_subscriptions_api_response.go model_get_tenant_daily_usages_response.go +model_get_tenant_daily_usages_response_1.go model_get_tenant_manual_badges_response.go model_get_tenant_package_response.go +model_get_tenant_package_response_1.go model_get_tenant_packages_response.go +model_get_tenant_packages_response_1.go model_get_tenant_response.go +model_get_tenant_response_1.go model_get_tenant_user_response.go +model_get_tenant_user_response_1.go model_get_tenant_users_response.go +model_get_tenant_users_response_1.go model_get_tenants_response.go +model_get_tenants_response_1.go model_get_ticket_response.go +model_get_ticket_response_1.go model_get_tickets_response.go +model_get_tickets_response_1.go model_get_translations_response.go +model_get_translations_response_1.go +model_get_trust_factor_response.go +model_get_user_badge_progress_by_id_response.go +model_get_user_badge_progress_by_user_id_response.go +model_get_user_badge_progress_list_response.go +model_get_user_badge_response.go +model_get_user_badges_response.go +model_get_user_ban_preference_response.go model_get_user_internal_profile_response.go +model_get_user_internal_profile_response_1.go model_get_user_internal_profile_response_profile.go model_get_user_manual_badges_response.go model_get_user_notification_count_response.go +model_get_user_notification_count_response_1.go +model_get_user_notifications_response.go model_get_user_presence_statuses_response.go +model_get_user_presence_statuses_response_1.go +model_get_user_reacts_public_response.go model_get_user_response.go +model_get_user_response_1.go model_get_user_trust_factor_response.go +model_get_users_info_response.go model_get_v1_page_likes.go +model_get_v1_page_likes_response.go model_get_v2_page_react_users_response.go +model_get_v2_page_react_users_response_1.go model_get_v2_page_reacts.go +model_get_v2_page_reacts_response.go model_get_votes_for_user_response.go +model_get_votes_for_user_response_1.go model_get_votes_response.go +model_get_votes_response_1.go model_gif_get_large_response.go model_gif_rating.go model_gif_search_internal_error.go @@ -598,6 +901,7 @@ model_imported_site_type.go model_live_event.go model_live_event_extra_info.go model_live_event_type.go +model_lock_comment_response.go model_media_asset.go model_mention_auto_complete_mode.go model_meta_item.go @@ -631,10 +935,26 @@ model_page_users_online_response.go model_pages_sort_by.go model_patch_domain_config_params.go model_patch_domain_config_response.go +model_patch_hash_tag_response.go model_patch_page_api_response.go model_patch_sso_user_api_response.go model_pending_comment_to_sync_outbound.go +model_pin_comment_response.go +model_post_adjust_comment_votes_response.go +model_post_api_export_response.go +model_post_ban_user_from_comment_response.go +model_post_ban_user_undo_response.go +model_post_bulk_pre_ban_summary_response.go +model_post_comments_by_ids_response.go +model_post_flag_comment_response.go model_post_remove_comment_response.go +model_post_restore_deleted_comment_response.go +model_post_set_comment_approval_status_response.go +model_post_set_comment_review_status_response.go +model_post_set_comment_spam_status_response.go +model_post_set_comment_text_response.go +model_post_un_flag_comment_response.go +model_post_vote_response.go model_pre_ban_summary.go model_pub_sub_comment.go model_pub_sub_comment_base.go @@ -648,7 +968,11 @@ model_public_comment_base.go model_public_feed_posts_response.go model_public_page.go model_public_vote.go +model_put_award_badge_response.go +model_put_close_thread_response.go model_put_domain_config_response.go +model_put_remove_badge_response.go +model_put_reopen_thread_response.go model_put_sso_user_api_response.go model_query_predicate.go model_query_predicate_value.go @@ -661,28 +985,40 @@ model_question_result_aggregation_overall.go model_question_sub_question_visibility.go model_question_when_save.go model_react_body_params.go +model_react_feed_post_public_response.go model_react_feed_post_response.go model_record_string__before_string_or_null__after_string_or_null___value.go model_remove_comment_action_response.go model_remove_user_badge_response.go model_render_email_template_body.go model_render_email_template_response.go +model_render_email_template_response_1.go model_renderable_user_notification.go model_repeat_comment_check_ignored_reason.go model_repeat_comment_handling_action.go model_replace_tenant_package_body.go +model_replace_tenant_package_response.go model_replace_tenant_user_body.go +model_replace_tenant_user_response.go +model_reset_user_notification_count_response.go model_reset_user_notifications_response.go +model_reset_user_notifications_response_1.go +model_save_comment_response.go model_save_comment_response_optimized.go model_save_comments_bulk_response.go model_save_comments_response_with_presence.go model_search_users_response.go +model_search_users_response_1.go model_search_users_result.go model_search_users_sectioned_response.go +model_send_invite_response.go +model_send_login_link_response.go model_set_comment_approved_response.go model_set_comment_text_params.go model_set_comment_text_response.go +model_set_comment_text_response_1.go model_set_comment_text_result.go +model_set_trust_factor_response.go model_set_user_trust_factor_response.go model_size_preset.go model_sort_dir.go @@ -693,26 +1029,43 @@ model_tenant_badge.go model_tenant_hash_tag.go model_tenant_package.go model_tos_config.go +model_un_block_comment_public_response.go model_un_block_from_comment_params.go +model_un_block_user_from_comment_response.go +model_un_flag_comment_response.go +model_un_lock_comment_response.go +model_un_pin_comment_response.go model_unblock_success.go model_updatable_comment_params.go model_update_api_page_data.go model_update_api_user_subscription_data.go model_update_apisso_user_data.go +model_update_comment_response.go model_update_domain_config_params.go model_update_email_template_body.go +model_update_email_template_response.go model_update_feed_post_params.go +model_update_feed_post_public_response.go +model_update_feed_post_response.go model_update_hash_tag_body.go model_update_hash_tag_response.go model_update_moderator_body.go +model_update_moderator_response.go model_update_notification_body.go +model_update_notification_response.go model_update_question_config_body.go +model_update_question_config_response.go model_update_question_result_body.go +model_update_question_result_response.go model_update_subscription_api_response.go model_update_tenant_body.go model_update_tenant_package_body.go +model_update_tenant_package_response.go +model_update_tenant_response.go model_update_tenant_user_body.go +model_update_tenant_user_response.go model_update_user_badge_params.go +model_update_user_badge_response.go model_update_user_notification_comment_subscription_status_response.go model_update_user_notification_page_subscription_status_response.go model_update_user_notification_status_response.go @@ -731,6 +1084,7 @@ model_user_search_section_result.go model_user_session_info.go model_users_list_location.go model_vote_body_params.go +model_vote_comment_response.go model_vote_delete_response.go model_vote_response.go model_vote_response_status.go diff --git a/client/README.md b/client/README.md index 354d2a9..9c8d711 100644 --- a/client/README.md +++ b/client/README.md @@ -326,11 +326,14 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) + - [AddHashTagResponse](docs/AddHashTagResponse.md) + - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](docs/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](docs/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) + - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationAPIError](docs/AggregationAPIError.md) @@ -350,12 +353,15 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) + - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) + - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) + - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -365,7 +371,10 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) + - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) + - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) + - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHTMLRenderingMode](docs/CommentHTMLRenderingMode.md) @@ -385,40 +394,75 @@ Class | Method | HTTP request | Description - [CreateAPISSOUserData](docs/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](docs/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](docs/CreateCommentParams.md) + - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) + - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) + - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) + - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) + - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) + - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) + - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionAPIResponse](docs/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) + - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) + - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) + - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) + - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) + - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) + - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) + - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) + - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) + - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) + - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) + - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) + - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) + - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) + - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) + - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) + - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) + - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) + - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](docs/DeletePageAPIResponse.md) + - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) + - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) + - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md) + - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) + - [DeleteTenantResponse](docs/DeleteTenantResponse.md) + - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) + - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) + - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) + - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) + - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -434,72 +478,154 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) + - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) + - [FlagCommentResponse1](docs/FlagCommentResponse1.md) + - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) + - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) + - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) + - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) + - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) + - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) + - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) + - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) + - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) + - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) + - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) + - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) + - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) + - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) + - [GetCountResponse](docs/GetCountResponse.md) + - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) + - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) + - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) + - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) + - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) + - [GetEventLogResponse1](docs/GetEventLogResponse1.md) + - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) + - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) + - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) + - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) + - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) + - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) + - [GetLogsResponse](docs/GetLogsResponse.md) + - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) + - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) + - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) + - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) + - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) + - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) + - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) + - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) + - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) + - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](docs/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](docs/GetPagesAPIResponse.md) + - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) + - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) + - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) + - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) + - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) + - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) + - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) + - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) - [GetSSOUserByEmailAPIResponse](docs/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](docs/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](docs/GetSSOUsersResponse.md) + - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) + - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) + - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) + - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) + - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](docs/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) + - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) + - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) + - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) + - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) + - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) + - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) + - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) + - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) + - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) + - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) + - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) + - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) + - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) + - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) + - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) + - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) + - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) + - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) + - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) + - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) + - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) + - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) + - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) + - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) + - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) + - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) + - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) + - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) + - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -514,6 +640,7 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) + - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -547,10 +674,26 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) + - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) + - [PinCommentResponse](docs/PinCommentResponse.md) + - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) + - [PostApiExportResponse](docs/PostApiExportResponse.md) + - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) + - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) + - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) + - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) + - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) + - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) + - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) + - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) + - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) + - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) + - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -564,7 +707,11 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) + - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) + - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) + - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) + - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](docs/PutSSOUserAPIResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -577,30 +724,42 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) + - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) + - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) + - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) + - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) + - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) + - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) - [SORTDIR](docs/SORTDIR.md) - [SSOSecurityLevel](docs/SSOSecurityLevel.md) + - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) + - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) + - [SendInviteResponse](docs/SendInviteResponse.md) + - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) + - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) + - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDirections](docs/SortDirections.md) @@ -609,26 +768,43 @@ Class | Method | HTTP request | Description - [TenantBadge](docs/TenantBadge.md) - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) + - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) + - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) + - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) + - [UnLockCommentResponse](docs/UnLockCommentResponse.md) + - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateAPIPageData](docs/UpdateAPIPageData.md) - [UpdateAPISSOUserData](docs/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](docs/UpdateAPIUserSubscriptionData.md) + - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) + - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) + - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) + - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) + - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) + - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) + - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) + - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](docs/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) + - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) + - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) + - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) + - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -647,6 +823,7 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) + - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseStatus](docs/VoteResponseStatus.md) diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml index 485fc30..ef5690c 100644 --- a/client/api/openapi.yaml +++ b/client/api/openapi.yaml @@ -63,14 +63,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SearchUsersResult" + $ref: "#/components/schemas/SearchUsersResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -104,7 +98,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserPresenceStatusesResponse" + $ref: "#/components/schemas/GetUserPresenceStatusesResponse_1" description: Ok "422": content: @@ -112,12 +106,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -217,14 +205,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetMyNotificationsResponse" + $ref: "#/components/schemas/GetUserNotificationsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -287,14 +269,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ResetUserNotificationsResponse" + $ref: "#/components/schemas/ResetUserNotificationsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -321,14 +297,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserNotificationCountResponse" + $ref: "#/components/schemas/GetUserNotificationCountResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -355,14 +325,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ResetUserNotificationsResponse" + $ref: "#/components/schemas/ResetUserNotificationCountResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -408,12 +372,6 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -467,12 +425,6 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationCommentSubscriptionStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -535,12 +487,6 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationPageSubscriptionStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -626,7 +572,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTranslationsResponse" + $ref: "#/components/schemas/GetTranslationsResponse_1" description: Ok "422": content: @@ -640,12 +586,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Internal - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -712,14 +652,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPublicPagesResponse" + $ref: "#/components/schemas/GetPagesPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -767,7 +701,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PageUsersOnlineResponse" + $ref: "#/components/schemas/GetOnlineUsersResponse" description: Ok "403": content: @@ -781,12 +715,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -836,7 +764,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PageUsersOfflineResponse" + $ref: "#/components/schemas/GetOfflineUsersResponse" description: Ok "403": content: @@ -850,12 +778,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -887,7 +809,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PageUsersInfoResponse" + $ref: "#/components/schemas/GetUsersInfoResponse" description: Ok "422": content: @@ -895,12 +817,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -927,14 +843,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteV1PageReact" + $ref: "#/components/schemas/DeleteV1PageReactResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -960,14 +870,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV1PageLikes" + $ref: "#/components/schemas/GetV1PageLikesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1000,14 +904,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateV1PageReact" + $ref: "#/components/schemas/CreateV1PageReactResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1041,14 +939,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV2PageReactUsersResponse" + $ref: "#/components/schemas/GetV2PageReactUsersResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1082,14 +974,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteV2PageReact" + $ref: "#/components/schemas/DeleteV2PageReactResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1115,14 +1001,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV2PageReacts" + $ref: "#/components/schemas/GetV2PageReactsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1162,14 +1042,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateV2PageReact" + $ref: "#/components/schemas/CreateV2PageReactResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -1212,6 +1086,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1224,14 +1105,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPICountCommentsResponse" + $ref: "#/components/schemas/GetCountResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1281,6 +1156,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1293,14 +1175,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPIGetCommentIdsResponse" + $ref: "#/components/schemas/GetApiIdsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1366,6 +1242,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1378,14 +1261,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPIGetCommentsResponse" + $ref: "#/components/schemas/GetApiCommentsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1428,6 +1305,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1440,14 +1324,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationExportResponse" + $ref: "#/components/schemas/PostApiExportResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1462,6 +1340,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1474,14 +1359,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationExportStatusResponse" + $ref: "#/components/schemas/GetApiExportStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1496,6 +1375,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1508,14 +1394,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationUserSearchResponse" + $ref: "#/components/schemas/GetSearchUsersResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1530,6 +1410,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1542,14 +1429,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationPageSearchResponse" + $ref: "#/components/schemas/GetSearchPagesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1564,6 +1445,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1576,14 +1464,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationSiteSearchResponse" + $ref: "#/components/schemas/GetSearchSitesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1612,6 +1494,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1624,14 +1513,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationCommentSearchResponse" + $ref: "#/components/schemas/GetSearchCommentsSummaryResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1646,6 +1529,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1658,14 +1548,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationSuggestResponse" + $ref: "#/components/schemas/GetSearchSuggestResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1701,6 +1585,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1713,14 +1604,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PreBanSummary" + $ref: "#/components/schemas/GetPreBanSummaryResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1749,6 +1634,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1767,14 +1659,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BulkPreBanSummary" + $ref: "#/components/schemas/PostBulkPreBanSummaryResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1845,6 +1731,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1857,14 +1750,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BanUserFromCommentResult" + $ref: "#/components/schemas/PostBanUserFromCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1879,6 +1766,13 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1891,14 +1785,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetBannedUsersFromCommentResponse" + $ref: "#/components/schemas/GetBanUsersFromCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1906,6 +1794,13 @@ paths: post: operationId: PostBanUserUndo parameters: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1924,14 +1819,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostBanUserUndoResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -1948,24 +1837,32 @@ paths: style: simple - explode: true in: query - name: sso + name: broadcastId required: false schema: type: string style: form - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/PostRemoveCommentResponse" - description: Ok - default: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: sso + required: false + schema: + type: string + style: form + responses: + "200": content: application/json: schema: - $ref: "#/components/schemas/APIError" - description: Error + $ref: "#/components/schemas/PostRemoveCommentResponse" + description: Ok security: [] tags: - Moderation @@ -1980,6 +1877,20 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -1992,14 +1903,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostRestoreDeletedCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2014,6 +1919,20 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2026,14 +1945,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostFlagCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2048,6 +1961,20 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2060,14 +1987,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostUnFlagCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2089,6 +2010,20 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2101,14 +2036,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostSetCommentReviewStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2137,6 +2066,20 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2149,14 +2092,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PostSetCommentSpamStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2178,6 +2115,20 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2190,14 +2141,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetCommentApprovedResponse" + $ref: "#/components/schemas/PostSetCommentApprovalStatusResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2212,6 +2157,13 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2224,14 +2176,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPIGetLogsResponse" + $ref: "#/components/schemas/GetLogsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2260,6 +2206,13 @@ paths: schema: type: boolean style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2272,14 +2225,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPICommentResponse" + $ref: "#/components/schemas/GetModerationCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2287,6 +2234,13 @@ paths: post: operationId: PostCommentsByIds parameters: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2305,14 +2259,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" + $ref: "#/components/schemas/PostCommentsByIdsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2327,6 +2275,13 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2339,14 +2294,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" + $ref: "#/components/schemas/GetCommentChildrenResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2361,6 +2310,13 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2373,14 +2329,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentTextResponse" + $ref: "#/components/schemas/GetModerationCommentTextResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2395,6 +2345,20 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2413,14 +2377,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetCommentTextResponse" + $ref: "#/components/schemas/PostSetCommentTextResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2435,6 +2393,20 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2453,14 +2425,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AdjustVotesResponse" + $ref: "#/components/schemas/PostAdjustCommentVotesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2482,6 +2448,20 @@ paths: schema: type: string style: form + - explode: true + in: query + name: broadcastId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2494,14 +2474,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteResponse" + $ref: "#/components/schemas/PostVoteResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2525,24 +2499,32 @@ paths: style: simple - explode: true in: query - name: sso + name: broadcastId required: false schema: type: string style: form - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/VoteDeleteResponse" - description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: sso + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteModerationVoteResponse" + description: Ok security: [] tags: - Moderation @@ -2557,6 +2539,13 @@ paths: schema: type: string style: simple + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2569,14 +2558,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentBanStatusResponse" + $ref: "#/components/schemas/GetCommentBanStatusResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2584,6 +2567,13 @@ paths: get: operationId: GetUserBanPreference parameters: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2596,14 +2586,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + $ref: "#/components/schemas/GetUserBanPreferenceResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2611,6 +2595,13 @@ paths: get: operationId: GetManualBadges parameters: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2623,14 +2614,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantManualBadgesResponse" + $ref: "#/components/schemas/GetManualBadgesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2652,6 +2637,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2664,14 +2656,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserManualBadgesResponse" + $ref: "#/components/schemas/GetManualBadgesForUserResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2707,6 +2693,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2719,14 +2712,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AwardUserBadgeResponse" + $ref: "#/components/schemas/PutAwardBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2762,6 +2749,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2774,14 +2768,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RemoveUserBadgeResponse" + $ref: "#/components/schemas/PutRemoveBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2796,6 +2784,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2808,14 +2803,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserTrustFactorResponse" + $ref: "#/components/schemas/GetTrustFactorResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2837,6 +2826,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2849,14 +2845,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetUserTrustFactorResponse" + $ref: "#/components/schemas/SetTrustFactorResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2871,6 +2861,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2883,14 +2880,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserInternalProfileResponse" + $ref: "#/components/schemas/GetUserInternalProfileResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2905,6 +2896,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2917,14 +2915,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PutReopenThreadResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2939,6 +2931,13 @@ paths: schema: type: string style: form + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2951,14 +2950,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/PutCloseThreadResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -2966,6 +2959,13 @@ paths: get: operationId: GetCounts parameters: + - explode: true + in: query + name: tenantId + required: false + schema: + type: string + style: form - explode: true in: query name: sso @@ -2978,14 +2978,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetBannedUsersCountResponse" + $ref: "#/components/schemas/GetCountsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Moderation @@ -3085,12 +3079,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3117,7 +3105,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GifGetLargeResponse" + $ref: "#/components/schemas/GetGifLargeResponse" description: Ok "422": content: @@ -3125,12 +3113,6 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3171,14 +3153,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/FlagCommentPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3248,14 +3224,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PublicFeedPostsResponse" + $ref: "#/components/schemas/GetFeedPostsPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3294,14 +3264,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateFeedPostResponse" + $ref: "#/components/schemas/CreateFeedPostPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3355,14 +3319,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ReactFeedPostResponse" + $ref: "#/components/schemas/ReactFeedPostPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3398,14 +3356,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UserReactsResponse" + $ref: "#/components/schemas/GetUserReactsPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3448,12 +3400,6 @@ paths: schema: $ref: "#/components/schemas/DeleteFeedPostPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3499,14 +3445,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateFeedPostResponse" + $ref: "#/components/schemas/UpdateFeedPostPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3542,14 +3482,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FeedPostsStatsResponse" + $ref: "#/components/schemas/GetFeedPostsStatsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3605,14 +3539,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEventLogResponse" + $ref: "#/components/schemas/GetEventLogResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3668,14 +3596,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEventLogResponse" + $ref: "#/components/schemas/GetGlobalEventLogResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3716,14 +3638,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PublicAPIGetCommentTextResponse" + $ref: "#/components/schemas/GetCommentTextResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3777,14 +3693,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PublicAPISetCommentTextResponse" + $ref: "#/components/schemas/SetCommentTextResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -3847,14 +3757,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentsForUserResponse" + $ref: "#/components/schemas/GetCommentsForUserResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4076,14 +3980,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + $ref: "#/components/schemas/GetCommentsPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4136,14 +4034,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SaveCommentsResponseWithPresence" + $ref: "#/components/schemas/CreateCommentPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4191,14 +4083,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PublicAPIDeleteCommentResponse" + $ref: "#/components/schemas/DeleteCommentPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4233,14 +4119,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CheckBlockedCommentsResponse" + $ref: "#/components/schemas/CheckedCommentsForBlockedResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4301,14 +4181,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteResponse" + $ref: "#/components/schemas/VoteCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4370,14 +4244,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteDeleteResponse" + $ref: "#/components/schemas/DeleteCommentVoteResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4419,14 +4287,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + $ref: "#/components/schemas/GetCommentVoteUserNamesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4467,14 +4329,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" + $ref: "#/components/schemas/PinCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4515,14 +4371,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" + $ref: "#/components/schemas/UnPinCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4563,14 +4413,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/LockCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4611,14 +4455,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UnLockCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4658,14 +4496,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnblockSuccess" + $ref: "#/components/schemas/UnBlockCommentPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -4704,14 +4536,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BlockSuccess" + $ref: "#/components/schemas/BlockFromCommentPublicResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: [] tags: - Public @@ -5234,14 +5060,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetVotesResponse" + $ref: "#/components/schemas/GetVotesResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -5290,14 +5110,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteResponse" + $ref: "#/components/schemas/CreateVoteResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/votes/for-user: @@ -5337,14 +5151,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetVotesForUserResponse" + $ref: "#/components/schemas/GetVotesForUserResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/votes/{id}: @@ -5377,14 +5185,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteDeleteResponse" + $ref: "#/components/schemas/DeleteVoteResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/users/{id}: @@ -5410,14 +5212,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserResponse" + $ref: "#/components/schemas/GetUserResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/user-badges/{id}: @@ -5443,14 +5239,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptySuccessResponse" + $ref: "#/components/schemas/DeleteUserBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -5475,14 +5265,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetUserBadgeResponse" + $ref: "#/components/schemas/GetUserBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] put: @@ -5513,14 +5297,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptySuccessResponse" + $ref: "#/components/schemas/UpdateUserBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/user-badges: @@ -5584,14 +5362,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetUserBadgesResponse" + $ref: "#/components/schemas/GetUserBadgesResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -5615,14 +5387,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APICreateUserBadgeResponse" + $ref: "#/components/schemas/CreateUserBadgeResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/user-badge-progress/{id}: @@ -5648,14 +5414,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" + $ref: "#/components/schemas/GetUserBadgeProgressByIdResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/user-badge-progress: @@ -5697,14 +5457,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse" + $ref: "#/components/schemas/GetUserBadgeProgressListResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/user-badge-progress/user/{userId}: @@ -5730,14 +5484,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" + $ref: "#/components/schemas/GetUserBadgeProgressByUserIdResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tickets: @@ -5787,14 +5535,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTicketsResponse" + $ref: "#/components/schemas/GetTicketsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -5825,14 +5567,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTicketResponse" + $ref: "#/components/schemas/CreateTicketResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tickets/{id}: @@ -5865,14 +5601,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTicketResponse" + $ref: "#/components/schemas/GetTicketResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tickets/{id}/state: @@ -5911,14 +5641,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ChangeTicketStateResponse" + $ref: "#/components/schemas/ChangeTicketStateResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenants/{id}: @@ -5951,14 +5675,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteTenantResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -5983,14 +5701,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantResponse" + $ref: "#/components/schemas/GetTenantResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -6021,14 +5733,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateTenantResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenants: @@ -6062,14 +5768,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantsResponse" + $ref: "#/components/schemas/GetTenantsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -6093,14 +5793,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantResponse" + $ref: "#/components/schemas/CreateTenantResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-users/{id}: @@ -6140,14 +5834,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteTenantUserResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -6172,14 +5860,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantUserResponse" + $ref: "#/components/schemas/GetTenantUserResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -6217,14 +5899,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateTenantUserResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] put: @@ -6262,14 +5938,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/ReplaceTenantUserResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-users: @@ -6296,14 +5966,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantUsersResponse" + $ref: "#/components/schemas/GetTenantUsersResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -6327,14 +5991,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantUserResponse" + $ref: "#/components/schemas/CreateTenantUserResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-users/{id}/send-login-link: @@ -6367,14 +6025,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/SendLoginLinkResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-packages/{id}: @@ -6400,14 +6052,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteTenantPackageResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -6432,14 +6078,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantPackageResponse" + $ref: "#/components/schemas/GetTenantPackageResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -6470,14 +6110,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateTenantPackageResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] put: @@ -6508,14 +6142,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/ReplaceTenantPackageResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-packages: @@ -6542,14 +6170,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantPackagesResponse" + $ref: "#/components/schemas/GetTenantPackagesResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -6573,14 +6195,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantPackageResponse" + $ref: "#/components/schemas/CreateTenantPackageResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/tenant-daily-usage: @@ -6631,14 +6247,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantDailyUsagesResponse" + $ref: "#/components/schemas/GetTenantDailyUsagesResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-results/{id}: @@ -6664,14 +6274,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteQuestionResultResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -6696,14 +6300,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionResultResponse" + $ref: "#/components/schemas/GetQuestionResultResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -6734,14 +6332,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateQuestionResultResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-results: @@ -6803,14 +6395,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionResultsResponse" + $ref: "#/components/schemas/GetQuestionResultsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -6834,14 +6420,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateQuestionResultResponse" + $ref: "#/components/schemas/CreateQuestionResultResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-results-aggregation: @@ -6905,14 +6485,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AggregateQuestionResultsResponse" + $ref: "#/components/schemas/AggregateQuestionResultsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-results-aggregation/bulk: @@ -6944,14 +6518,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse" + $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-results-aggregation/combine/comments: @@ -7032,14 +6600,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + $ref: "#/components/schemas/CombineCommentsWithQuestionResultsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-configs/{id}: @@ -7065,14 +6627,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteQuestionConfigResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -7097,14 +6653,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionConfigResponse" + $ref: "#/components/schemas/GetQuestionConfigResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -7135,14 +6685,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateQuestionConfigResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/question-configs: @@ -7169,14 +6713,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionConfigsResponse" + $ref: "#/components/schemas/GetQuestionConfigsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -7200,14 +6738,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateQuestionConfigResponse" + $ref: "#/components/schemas/CreateQuestionConfigResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/pending-webhook-events: @@ -7277,14 +6809,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPendingWebhookEventsResponse" + $ref: "#/components/schemas/GetPendingWebhookEventsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/pending-webhook-events/count: @@ -7346,14 +6872,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPendingWebhookEventCountResponse" + $ref: "#/components/schemas/GetPendingWebhookEventCountResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/pending-webhook-events/{id}: @@ -7379,14 +6899,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeletePendingWebhookEventResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/notifications: @@ -7448,14 +6962,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetNotificationsResponse" + $ref: "#/components/schemas/GetNotificationsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/notifications/count: @@ -7509,14 +7017,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetNotificationCountResponse" + $ref: "#/components/schemas/GetNotificationCountResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/notifications/{id}: @@ -7555,14 +7057,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateNotificationResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/notification-count/{id}: @@ -7588,14 +7084,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteNotificationCountResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -7620,14 +7110,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCachedNotificationCountResponse" + $ref: "#/components/schemas/GetCachedNotificationCountResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/moderators/{id}: @@ -7660,14 +7144,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteModeratorResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -7692,14 +7170,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModeratorResponse" + $ref: "#/components/schemas/GetModeratorResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -7730,14 +7202,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateModeratorResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/moderators: @@ -7764,14 +7230,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModeratorsResponse" + $ref: "#/components/schemas/GetModeratorsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -7795,14 +7255,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateModeratorResponse" + $ref: "#/components/schemas/CreateModeratorResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/moderators/{id}/send-invite: @@ -7835,14 +7289,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/SendInviteResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/hash-tags: @@ -7869,14 +7317,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetHashTagsResponse" + $ref: "#/components/schemas/GetHashTagsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -7900,14 +7342,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateHashTagResponse" + $ref: "#/components/schemas/AddHashTagResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/hash-tags/bulk: @@ -7932,14 +7368,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BulkCreateHashTagsResponse" + $ref: "#/components/schemas/AddHashTagsBulkResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/hash-tags/{tag}: @@ -7971,14 +7401,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteHashTagResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -8009,14 +7433,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateHashTagResponse" + $ref: "#/components/schemas/PatchHashTagResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/feed-posts: @@ -8064,14 +7482,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetFeedPostsResponse" + $ref: "#/components/schemas/GetFeedPostsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -8123,14 +7535,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateFeedPostsResponse" + $ref: "#/components/schemas/CreateFeedPostResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/feed-posts/{id}: @@ -8162,14 +7568,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateFeedPostResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates/definitions: @@ -8188,14 +7588,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse" + $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates/{id}/render-errors: @@ -8229,14 +7623,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates/{id}/render-errors/{errorId}: @@ -8269,14 +7657,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteEmailTemplateRenderErrorResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates/{id}: @@ -8302,14 +7684,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/DeleteEmailTemplateResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -8334,14 +7710,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateResponse" + $ref: "#/components/schemas/GetEmailTemplateResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -8372,14 +7742,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateEmailTemplateResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates: @@ -8406,14 +7770,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplatesResponse" + $ref: "#/components/schemas/GetEmailTemplatesResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -8437,14 +7795,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateEmailTemplateResponse" + $ref: "#/components/schemas/CreateEmailTemplateResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/email-templates/render: @@ -8476,14 +7828,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RenderEmailTemplateResponse" + $ref: "#/components/schemas/RenderEmailTemplateResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/domain-configs: @@ -8686,14 +8032,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteCommentResult" + $ref: "#/components/schemas/DeleteCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] get: @@ -8718,14 +8058,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetCommentResponse" + $ref: "#/components/schemas/GetCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] patch: @@ -8777,14 +8111,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIEmptyResponse" + $ref: "#/components/schemas/UpdateCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/comments: @@ -8923,14 +8251,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APIGetCommentsResponse" + $ref: "#/components/schemas/GetCommentsResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] post: @@ -8982,14 +8304,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/APISaveCommentResponse" + $ref: "#/components/schemas/SaveCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/comments/bulk: @@ -9087,14 +8403,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FlagCommentResponse" + $ref: "#/components/schemas/FlagCommentResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/comments/{id}/un-flag: @@ -9134,14 +8444,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FlagCommentResponse" + $ref: "#/components/schemas/UnFlagCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/comments/{id}/block: @@ -9187,14 +8491,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BlockSuccess" + $ref: "#/components/schemas/BlockUserFromCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/comments/{id}/un-block: @@ -9240,14 +8538,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnblockSuccess" + $ref: "#/components/schemas/UnBlockUserFromCommentResponse" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/audit-logs: @@ -9305,14 +8597,8 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetAuditLogsResponse" + $ref: "#/components/schemas/GetAuditLogsResponse_1" description: Ok - default: - content: - application/json: - schema: - $ref: "#/components/schemas/APIError" - description: Error security: - api_key: [] /api/v1/aggregate: @@ -25045,20 +24331,53 @@ components: - operations - resourceName type: object + SearchUsersResponse_1: + anyOf: + - $ref: "#/components/schemas/SearchUsersResult" + - $ref: "#/components/schemas/APIError" + title: SearchUsersResponse + GetUserPresenceStatusesResponse_1: + anyOf: + - $ref: "#/components/schemas/GetUserPresenceStatusesResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserPresenceStatusesResponse + GetUserNotificationsResponse: + anyOf: + - $ref: "#/components/schemas/GetMyNotificationsResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserNotificationsResponse + ResetUserNotificationsResponse_1: + anyOf: + - $ref: "#/components/schemas/ResetUserNotificationsResponse" + - $ref: "#/components/schemas/APIError" + title: ResetUserNotificationsResponse + GetUserNotificationCountResponse_1: + anyOf: + - $ref: "#/components/schemas/GetUserNotificationCountResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserNotificationCountResponse + ResetUserNotificationCountResponse: + anyOf: + - $ref: "#/components/schemas/ResetUserNotificationsResponse" + - $ref: "#/components/schemas/APIError" + title: ResetUserNotificationCountResponse UpdateUserNotificationStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" + - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationStatusResponse UpdateUserNotificationCommentSubscriptionStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" + - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationCommentSubscriptionStatusResponse UpdateUserNotificationPageSubscriptionStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" + - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationPageSubscriptionStatusResponse UploadImage_request: properties: @@ -25068,11 +24387,282 @@ components: required: - file type: object + GetTranslationsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTranslationsResponse" + - $ref: "#/components/schemas/APIError" + title: GetTranslationsResponse + GetPagesPublicResponse: + anyOf: + - $ref: "#/components/schemas/GetPublicPagesResponse" + - $ref: "#/components/schemas/APIError" + title: GetPagesPublicResponse + GetOnlineUsersResponse: + anyOf: + - $ref: "#/components/schemas/PageUsersOnlineResponse" + - $ref: "#/components/schemas/APIError" + title: GetOnlineUsersResponse + GetOfflineUsersResponse: + anyOf: + - $ref: "#/components/schemas/PageUsersOfflineResponse" + - $ref: "#/components/schemas/APIError" + title: GetOfflineUsersResponse + GetUsersInfoResponse: + anyOf: + - $ref: "#/components/schemas/PageUsersInfoResponse" + - $ref: "#/components/schemas/APIError" + title: GetUsersInfoResponse + GetV1PageLikesResponse: + anyOf: + - $ref: "#/components/schemas/GetV1PageLikes" + - $ref: "#/components/schemas/APIError" + title: GetV1PageLikesResponse + CreateV1PageReactResponse: + anyOf: + - $ref: "#/components/schemas/CreateV1PageReact" + - $ref: "#/components/schemas/APIError" + title: CreateV1PageReactResponse + DeleteV1PageReactResponse: + anyOf: + - $ref: "#/components/schemas/DeleteV1PageReact" + - $ref: "#/components/schemas/APIError" + title: DeleteV1PageReactResponse + GetV2PageReactUsersResponse_1: + anyOf: + - $ref: "#/components/schemas/GetV2PageReactUsersResponse" + - $ref: "#/components/schemas/APIError" + title: GetV2PageReactUsersResponse + GetV2PageReactsResponse: + anyOf: + - $ref: "#/components/schemas/GetV2PageReacts" + - $ref: "#/components/schemas/APIError" + title: GetV2PageReactsResponse + CreateV2PageReactResponse: + anyOf: + - $ref: "#/components/schemas/CreateV2PageReact" + - $ref: "#/components/schemas/APIError" + title: CreateV2PageReactResponse + DeleteV2PageReactResponse: + anyOf: + - $ref: "#/components/schemas/DeleteV2PageReact" + - $ref: "#/components/schemas/APIError" + title: DeleteV2PageReactResponse + GetCountResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPICountCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: GetCountResponse + GetApiIdsResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPIGetCommentIdsResponse" + - $ref: "#/components/schemas/APIError" + title: GetApiIdsResponse + GetApiCommentsResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPIGetCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: GetApiCommentsResponse + PostApiExportResponse: + anyOf: + - $ref: "#/components/schemas/ModerationExportResponse" + - $ref: "#/components/schemas/APIError" + title: PostApiExportResponse + GetApiExportStatusResponse: + anyOf: + - $ref: "#/components/schemas/ModerationExportStatusResponse" + - $ref: "#/components/schemas/APIError" + title: GetApiExportStatusResponse + GetSearchUsersResponse: + anyOf: + - $ref: "#/components/schemas/ModerationUserSearchResponse" + - $ref: "#/components/schemas/APIError" + title: GetSearchUsersResponse + GetSearchPagesResponse: + anyOf: + - $ref: "#/components/schemas/ModerationPageSearchResponse" + - $ref: "#/components/schemas/APIError" + title: GetSearchPagesResponse + GetSearchSitesResponse: + anyOf: + - $ref: "#/components/schemas/ModerationSiteSearchResponse" + - $ref: "#/components/schemas/APIError" + title: GetSearchSitesResponse + GetSearchCommentsSummaryResponse: + anyOf: + - $ref: "#/components/schemas/ModerationCommentSearchResponse" + - $ref: "#/components/schemas/APIError" + title: GetSearchCommentsSummaryResponse + GetSearchSuggestResponse: + anyOf: + - $ref: "#/components/schemas/ModerationSuggestResponse" + - $ref: "#/components/schemas/APIError" + title: GetSearchSuggestResponse + GetPreBanSummaryResponse: + anyOf: + - $ref: "#/components/schemas/PreBanSummary" + - $ref: "#/components/schemas/APIError" + title: GetPreBanSummaryResponse + PostBulkPreBanSummaryResponse: + anyOf: + - $ref: "#/components/schemas/BulkPreBanSummary" + - $ref: "#/components/schemas/APIError" + title: PostBulkPreBanSummaryResponse + PostBanUserFromCommentResponse: + anyOf: + - $ref: "#/components/schemas/BanUserFromCommentResult" + - $ref: "#/components/schemas/APIError" + title: PostBanUserFromCommentResponse + GetBanUsersFromCommentResponse: + anyOf: + - $ref: "#/components/schemas/GetBannedUsersFromCommentResponse" + - $ref: "#/components/schemas/APIError" + title: GetBanUsersFromCommentResponse + PostBanUserUndoResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostBanUserUndoResponse PostRemoveCommentResponse: anyOf: - $ref: "#/components/schemas/DeleteCommentResult" - $ref: "#/components/schemas/RemoveCommentActionResponse" + - $ref: "#/components/schemas/APIError" title: PostRemoveCommentResponse + PostRestoreDeletedCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostRestoreDeletedCommentResponse + PostFlagCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostFlagCommentResponse + PostUnFlagCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostUnFlagCommentResponse + PostSetCommentReviewStatusResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostSetCommentReviewStatusResponse + PostSetCommentSpamStatusResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PostSetCommentSpamStatusResponse + PostSetCommentApprovalStatusResponse: + anyOf: + - $ref: "#/components/schemas/SetCommentApprovedResponse" + - $ref: "#/components/schemas/APIError" + title: PostSetCommentApprovalStatusResponse + GetLogsResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPIGetLogsResponse" + - $ref: "#/components/schemas/APIError" + title: GetLogsResponse + GetModerationCommentResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPICommentResponse" + - $ref: "#/components/schemas/APIError" + title: GetModerationCommentResponse + PostCommentsByIdsResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: PostCommentsByIdsResponse + GetCommentChildrenResponse: + anyOf: + - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentChildrenResponse + GetModerationCommentTextResponse: + anyOf: + - $ref: "#/components/schemas/GetCommentTextResponse" + - $ref: "#/components/schemas/APIError" + title: GetModerationCommentTextResponse + PostSetCommentTextResponse: + anyOf: + - $ref: "#/components/schemas/SetCommentTextResponse" + - $ref: "#/components/schemas/APIError" + title: PostSetCommentTextResponse + PostAdjustCommentVotesResponse: + anyOf: + - $ref: "#/components/schemas/AdjustVotesResponse" + - $ref: "#/components/schemas/APIError" + title: PostAdjustCommentVotesResponse + PostVoteResponse: + anyOf: + - $ref: "#/components/schemas/VoteResponse" + - $ref: "#/components/schemas/APIError" + title: PostVoteResponse + DeleteModerationVoteResponse: + anyOf: + - $ref: "#/components/schemas/VoteDeleteResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteModerationVoteResponse + GetCommentBanStatusResponse_1: + anyOf: + - $ref: "#/components/schemas/GetCommentBanStatusResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentBanStatusResponse + GetUserBanPreferenceResponse: + anyOf: + - $ref: "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBanPreferenceResponse + GetManualBadgesResponse: + anyOf: + - $ref: "#/components/schemas/GetTenantManualBadgesResponse" + - $ref: "#/components/schemas/APIError" + title: GetManualBadgesResponse + GetManualBadgesForUserResponse: + anyOf: + - $ref: "#/components/schemas/GetUserManualBadgesResponse" + - $ref: "#/components/schemas/APIError" + title: GetManualBadgesForUserResponse + PutAwardBadgeResponse: + anyOf: + - $ref: "#/components/schemas/AwardUserBadgeResponse" + - $ref: "#/components/schemas/APIError" + title: PutAwardBadgeResponse + PutRemoveBadgeResponse: + anyOf: + - $ref: "#/components/schemas/RemoveUserBadgeResponse" + - $ref: "#/components/schemas/APIError" + title: PutRemoveBadgeResponse + GetTrustFactorResponse: + anyOf: + - $ref: "#/components/schemas/GetUserTrustFactorResponse" + - $ref: "#/components/schemas/APIError" + title: GetTrustFactorResponse + SetTrustFactorResponse: + anyOf: + - $ref: "#/components/schemas/SetUserTrustFactorResponse" + - $ref: "#/components/schemas/APIError" + title: SetTrustFactorResponse + GetUserInternalProfileResponse_1: + anyOf: + - $ref: "#/components/schemas/GetUserInternalProfileResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserInternalProfileResponse + PutReopenThreadResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PutReopenThreadResponse + PutCloseThreadResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: PutCloseThreadResponse + GetCountsResponse: + anyOf: + - $ref: "#/components/schemas/GetBannedUsersCountResponse" + - $ref: "#/components/schemas/APIError" + title: GetCountsResponse GetGifsTrendingResponse: anyOf: - $ref: "#/components/schemas/GifSearchResponse" @@ -25082,8 +24672,44 @@ components: anyOf: - $ref: "#/components/schemas/GifSearchResponse" - $ref: "#/components/schemas/GifSearchInternalError" + - $ref: "#/components/schemas/APIError" title: GetGifsSearchResponse - DeleteFeedPostPublicResponse: + GetGifLargeResponse: + anyOf: + - $ref: "#/components/schemas/GifGetLargeResponse" + - $ref: "#/components/schemas/APIError" + title: GetGifLargeResponse + FlagCommentPublicResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: FlagCommentPublicResponse + GetFeedPostsPublicResponse: + anyOf: + - $ref: "#/components/schemas/PublicFeedPostsResponse" + - $ref: "#/components/schemas/APIError" + title: GetFeedPostsPublicResponse + CreateFeedPostPublicResponse: + anyOf: + - $ref: "#/components/schemas/CreateFeedPostResponse" + - $ref: "#/components/schemas/APIError" + title: CreateFeedPostPublicResponse + ReactFeedPostPublicResponse: + anyOf: + - $ref: "#/components/schemas/ReactFeedPostResponse" + - $ref: "#/components/schemas/APIError" + title: ReactFeedPostPublicResponse + GetUserReactsPublicResponse: + anyOf: + - $ref: "#/components/schemas/UserReactsResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserReactsPublicResponse + UpdateFeedPostPublicResponse: + anyOf: + - $ref: "#/components/schemas/CreateFeedPostResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateFeedPostPublicResponse + DeleteFeedPostPublicResponse_anyOf: example: status: success properties: @@ -25091,8 +24717,107 @@ components: $ref: "#/components/schemas/APIStatus" required: - status - title: DeleteFeedPostPublicResponse type: object + DeleteFeedPostPublicResponse: + anyOf: + - $ref: "#/components/schemas/DeleteFeedPostPublicResponse_anyOf" + - $ref: "#/components/schemas/APIError" + title: DeleteFeedPostPublicResponse + GetFeedPostsStatsResponse: + anyOf: + - $ref: "#/components/schemas/FeedPostsStatsResponse" + - $ref: "#/components/schemas/APIError" + title: GetFeedPostsStatsResponse + GetEventLogResponse_1: + anyOf: + - $ref: "#/components/schemas/GetEventLogResponse" + - $ref: "#/components/schemas/APIError" + title: GetEventLogResponse + GetGlobalEventLogResponse: + anyOf: + - $ref: "#/components/schemas/GetEventLogResponse" + - $ref: "#/components/schemas/APIError" + title: GetGlobalEventLogResponse + GetCommentTextResponse_1: + anyOf: + - $ref: "#/components/schemas/PublicAPIGetCommentTextResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentTextResponse + SetCommentTextResponse_1: + anyOf: + - $ref: "#/components/schemas/PublicAPISetCommentTextResponse" + - $ref: "#/components/schemas/APIError" + title: SetCommentTextResponse + GetCommentsForUserResponse_1: + anyOf: + - $ref: "#/components/schemas/GetCommentsForUserResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentsForUserResponse + GetCommentsPublicResponse: + anyOf: + - $ref: "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + - $ref: "#/components/schemas/APIError" + title: GetCommentsPublicResponse + CreateCommentPublicResponse: + anyOf: + - $ref: "#/components/schemas/SaveCommentsResponseWithPresence" + - $ref: "#/components/schemas/APIError" + title: CreateCommentPublicResponse + DeleteCommentPublicResponse: + anyOf: + - $ref: "#/components/schemas/PublicAPIDeleteCommentResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteCommentPublicResponse + CheckedCommentsForBlockedResponse: + anyOf: + - $ref: "#/components/schemas/CheckBlockedCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: CheckedCommentsForBlockedResponse + VoteCommentResponse: + anyOf: + - $ref: "#/components/schemas/VoteResponse" + - $ref: "#/components/schemas/APIError" + title: VoteCommentResponse + DeleteCommentVoteResponse: + anyOf: + - $ref: "#/components/schemas/VoteDeleteResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteCommentVoteResponse + GetCommentVoteUserNamesResponse: + anyOf: + - $ref: "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentVoteUserNamesResponse + PinCommentResponse: + anyOf: + - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" + - $ref: "#/components/schemas/APIError" + title: PinCommentResponse + UnPinCommentResponse: + anyOf: + - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" + - $ref: "#/components/schemas/APIError" + title: UnPinCommentResponse + LockCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIError" + - $ref: "#/components/schemas/APIEmptyResponse" + title: LockCommentResponse + UnLockCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIError" + - $ref: "#/components/schemas/APIEmptyResponse" + title: UnLockCommentResponse + BlockFromCommentPublicResponse: + anyOf: + - $ref: "#/components/schemas/BlockSuccess" + - $ref: "#/components/schemas/APIError" + title: BlockFromCommentPublicResponse + UnBlockCommentPublicResponse: + anyOf: + - $ref: "#/components/schemas/UnblockSuccess" + - $ref: "#/components/schemas/APIError" + title: UnBlockCommentPublicResponse GetSSOUsersResponse: example: users: @@ -25153,6 +24878,336 @@ components: - users title: GetSSOUsersResponse type: object + GetVotesResponse_1: + anyOf: + - $ref: "#/components/schemas/GetVotesResponse" + - $ref: "#/components/schemas/APIError" + title: GetVotesResponse + CreateVoteResponse: + anyOf: + - $ref: "#/components/schemas/VoteResponse" + - $ref: "#/components/schemas/APIError" + title: CreateVoteResponse + GetVotesForUserResponse_1: + anyOf: + - $ref: "#/components/schemas/GetVotesForUserResponse" + - $ref: "#/components/schemas/APIError" + title: GetVotesForUserResponse + DeleteVoteResponse: + anyOf: + - $ref: "#/components/schemas/VoteDeleteResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteVoteResponse + GetUserResponse_1: + anyOf: + - $ref: "#/components/schemas/GetUserResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserResponse + GetUserBadgeResponse: + anyOf: + - $ref: "#/components/schemas/APIGetUserBadgeResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBadgeResponse + UpdateUserBadgeResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptySuccessResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateUserBadgeResponse + DeleteUserBadgeResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptySuccessResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteUserBadgeResponse + GetUserBadgesResponse: + anyOf: + - $ref: "#/components/schemas/APIGetUserBadgesResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBadgesResponse + CreateUserBadgeResponse: + anyOf: + - $ref: "#/components/schemas/APICreateUserBadgeResponse" + - $ref: "#/components/schemas/APIError" + title: CreateUserBadgeResponse + GetUserBadgeProgressByIdResponse: + anyOf: + - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBadgeProgressByIdResponse + GetUserBadgeProgressListResponse: + anyOf: + - $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBadgeProgressListResponse + GetUserBadgeProgressByUserIdResponse: + anyOf: + - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" + - $ref: "#/components/schemas/APIError" + title: GetUserBadgeProgressByUserIdResponse + GetTicketsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTicketsResponse" + - $ref: "#/components/schemas/APIError" + title: GetTicketsResponse + CreateTicketResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateTicketResponse" + - $ref: "#/components/schemas/APIError" + title: CreateTicketResponse + GetTicketResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTicketResponse" + - $ref: "#/components/schemas/APIError" + title: GetTicketResponse + ChangeTicketStateResponse_1: + anyOf: + - $ref: "#/components/schemas/ChangeTicketStateResponse" + - $ref: "#/components/schemas/APIError" + title: ChangeTicketStateResponse + GetTenantResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantResponse + DeleteTenantResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteTenantResponse + UpdateTenantResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateTenantResponse + GetTenantsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantsResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantsResponse + CreateTenantResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateTenantResponse" + - $ref: "#/components/schemas/APIError" + title: CreateTenantResponse + GetTenantUserResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantUserResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantUserResponse + ReplaceTenantUserResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: ReplaceTenantUserResponse + DeleteTenantUserResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteTenantUserResponse + UpdateTenantUserResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateTenantUserResponse + GetTenantUsersResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantUsersResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantUsersResponse + CreateTenantUserResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateTenantUserResponse" + - $ref: "#/components/schemas/APIError" + title: CreateTenantUserResponse + SendLoginLinkResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: SendLoginLinkResponse + GetTenantPackageResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantPackageResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantPackageResponse + ReplaceTenantPackageResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: ReplaceTenantPackageResponse + DeleteTenantPackageResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteTenantPackageResponse + UpdateTenantPackageResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateTenantPackageResponse + GetTenantPackagesResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantPackagesResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantPackagesResponse + CreateTenantPackageResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateTenantPackageResponse" + - $ref: "#/components/schemas/APIError" + title: CreateTenantPackageResponse + GetTenantDailyUsagesResponse_1: + anyOf: + - $ref: "#/components/schemas/GetTenantDailyUsagesResponse" + - $ref: "#/components/schemas/APIError" + title: GetTenantDailyUsagesResponse + GetQuestionResultResponse_1: + anyOf: + - $ref: "#/components/schemas/GetQuestionResultResponse" + - $ref: "#/components/schemas/APIError" + title: GetQuestionResultResponse + DeleteQuestionResultResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteQuestionResultResponse + UpdateQuestionResultResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateQuestionResultResponse + GetQuestionResultsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetQuestionResultsResponse" + - $ref: "#/components/schemas/APIError" + title: GetQuestionResultsResponse + CreateQuestionResultResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateQuestionResultResponse" + - $ref: "#/components/schemas/APIError" + title: CreateQuestionResultResponse + AggregateQuestionResultsResponse_1: + anyOf: + - $ref: "#/components/schemas/AggregateQuestionResultsResponse" + - $ref: "#/components/schemas/APIError" + title: AggregateQuestionResultsResponse + BulkAggregateQuestionResultsResponse_1: + anyOf: + - $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse" + - $ref: "#/components/schemas/APIError" + title: BulkAggregateQuestionResultsResponse + CombineCommentsWithQuestionResultsResponse: + anyOf: + - $ref: "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: CombineCommentsWithQuestionResultsResponse + GetQuestionConfigResponse_1: + anyOf: + - $ref: "#/components/schemas/GetQuestionConfigResponse" + - $ref: "#/components/schemas/APIError" + title: GetQuestionConfigResponse + DeleteQuestionConfigResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteQuestionConfigResponse + UpdateQuestionConfigResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateQuestionConfigResponse + GetQuestionConfigsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetQuestionConfigsResponse" + - $ref: "#/components/schemas/APIError" + title: GetQuestionConfigsResponse + CreateQuestionConfigResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateQuestionConfigResponse" + - $ref: "#/components/schemas/APIError" + title: CreateQuestionConfigResponse + GetPendingWebhookEventsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetPendingWebhookEventsResponse" + - $ref: "#/components/schemas/APIError" + title: GetPendingWebhookEventsResponse + GetPendingWebhookEventCountResponse_1: + anyOf: + - $ref: "#/components/schemas/GetPendingWebhookEventCountResponse" + - $ref: "#/components/schemas/APIError" + title: GetPendingWebhookEventCountResponse + DeletePendingWebhookEventResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeletePendingWebhookEventResponse + GetNotificationsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetNotificationsResponse" + - $ref: "#/components/schemas/APIError" + title: GetNotificationsResponse + GetNotificationCountResponse_1: + anyOf: + - $ref: "#/components/schemas/GetNotificationCountResponse" + - $ref: "#/components/schemas/APIError" + title: GetNotificationCountResponse + UpdateNotificationResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateNotificationResponse + GetCachedNotificationCountResponse_1: + anyOf: + - $ref: "#/components/schemas/GetCachedNotificationCountResponse" + - $ref: "#/components/schemas/APIError" + title: GetCachedNotificationCountResponse + DeleteNotificationCountResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteNotificationCountResponse + GetModeratorResponse_1: + anyOf: + - $ref: "#/components/schemas/GetModeratorResponse" + - $ref: "#/components/schemas/APIError" + title: GetModeratorResponse + DeleteModeratorResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteModeratorResponse + UpdateModeratorResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateModeratorResponse + GetModeratorsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetModeratorsResponse" + - $ref: "#/components/schemas/APIError" + title: GetModeratorsResponse + CreateModeratorResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateModeratorResponse" + - $ref: "#/components/schemas/APIError" + title: CreateModeratorResponse + SendInviteResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: SendInviteResponse + GetHashTagsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetHashTagsResponse" + - $ref: "#/components/schemas/APIError" + title: GetHashTagsResponse + AddHashTagResponse: + anyOf: + - $ref: "#/components/schemas/CreateHashTagResponse" + - $ref: "#/components/schemas/APIError" + title: AddHashTagResponse + AddHashTagsBulkResponse: + anyOf: + - $ref: "#/components/schemas/BulkCreateHashTagsResponse" + - $ref: "#/components/schemas/APIError" + title: AddHashTagsBulkResponse DeleteHashTagRequestBody: example: tenantId: tenantId @@ -25161,6 +25216,76 @@ components: type: string title: DeleteHashTagRequestBody type: object + DeleteHashTagResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteHashTagResponse + PatchHashTagResponse: + anyOf: + - $ref: "#/components/schemas/UpdateHashTagResponse" + - $ref: "#/components/schemas/APIError" + title: PatchHashTagResponse + GetFeedPostsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetFeedPostsResponse" + - $ref: "#/components/schemas/APIError" + title: GetFeedPostsResponse + CreateFeedPostResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateFeedPostsResponse" + - $ref: "#/components/schemas/APIError" + title: CreateFeedPostResponse + UpdateFeedPostResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateFeedPostResponse + GetEmailTemplateDefinitionsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse" + - $ref: "#/components/schemas/APIError" + title: GetEmailTemplateDefinitionsResponse + GetEmailTemplateRenderErrorsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + - $ref: "#/components/schemas/APIError" + title: GetEmailTemplateRenderErrorsResponse + DeleteEmailTemplateRenderErrorResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteEmailTemplateRenderErrorResponse + GetEmailTemplateResponse_1: + anyOf: + - $ref: "#/components/schemas/GetEmailTemplateResponse" + - $ref: "#/components/schemas/APIError" + title: GetEmailTemplateResponse + DeleteEmailTemplateResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: DeleteEmailTemplateResponse + UpdateEmailTemplateResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateEmailTemplateResponse + GetEmailTemplatesResponse_1: + anyOf: + - $ref: "#/components/schemas/GetEmailTemplatesResponse" + - $ref: "#/components/schemas/APIError" + title: GetEmailTemplatesResponse + CreateEmailTemplateResponse_1: + anyOf: + - $ref: "#/components/schemas/CreateEmailTemplateResponse" + - $ref: "#/components/schemas/APIError" + title: CreateEmailTemplateResponse + RenderEmailTemplateResponse_1: + anyOf: + - $ref: "#/components/schemas/RenderEmailTemplateResponse" + - $ref: "#/components/schemas/APIError" + title: RenderEmailTemplateResponse GetDomainConfigsResponse_anyOf: example: configurations: "" @@ -25233,11 +25358,61 @@ components: - $ref: "#/components/schemas/AddDomainConfigResponse_anyOf" - $ref: "#/components/schemas/GetDomainConfigsResponse_anyOf_1" title: PatchDomainConfigResponse + GetCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIGetCommentResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentResponse + DeleteCommentResponse: + anyOf: + - $ref: "#/components/schemas/DeleteCommentResult" + - $ref: "#/components/schemas/APIError" + title: DeleteCommentResponse + UpdateCommentResponse: + anyOf: + - $ref: "#/components/schemas/APIEmptyResponse" + - $ref: "#/components/schemas/APIError" + title: UpdateCommentResponse + GetCommentsResponse: + anyOf: + - $ref: "#/components/schemas/APIGetCommentsResponse" + - $ref: "#/components/schemas/APIError" + title: GetCommentsResponse + SaveCommentResponse: + anyOf: + - $ref: "#/components/schemas/APISaveCommentResponse" + - $ref: "#/components/schemas/APIError" + title: SaveCommentResponse SaveCommentsBulkResponse: anyOf: - $ref: "#/components/schemas/APISaveCommentResponse" - $ref: "#/components/schemas/APIError" title: SaveCommentsBulkResponse + FlagCommentResponse_1: + anyOf: + - $ref: "#/components/schemas/FlagCommentResponse" + - $ref: "#/components/schemas/APIError" + title: FlagCommentResponse + UnFlagCommentResponse: + anyOf: + - $ref: "#/components/schemas/FlagCommentResponse" + - $ref: "#/components/schemas/APIError" + title: UnFlagCommentResponse + BlockUserFromCommentResponse: + anyOf: + - $ref: "#/components/schemas/BlockSuccess" + - $ref: "#/components/schemas/APIError" + title: BlockUserFromCommentResponse + UnBlockUserFromCommentResponse: + anyOf: + - $ref: "#/components/schemas/UnblockSuccess" + - $ref: "#/components/schemas/APIError" + title: UnBlockUserFromCommentResponse + GetAuditLogsResponse_1: + anyOf: + - $ref: "#/components/schemas/GetAuditLogsResponse" + - $ref: "#/components/schemas/APIError" + title: GetAuditLogsResponse AggregateResponse: anyOf: - $ref: "#/components/schemas/AggregationResponse" diff --git a/client/api_default.go b/client/api_default.go index 9f91816..c0d263c 100644 --- a/client/api_default.go +++ b/client/api_default.go @@ -174,7 +174,7 @@ func (r ApiAddHashTagRequest) CreateHashTagBody(createHashTagBody CreateHashTagB return r } -func (r ApiAddHashTagRequest) Execute() (*CreateHashTagResponse, *http.Response, error) { +func (r ApiAddHashTagRequest) Execute() (*AddHashTagResponse, *http.Response, error) { return r.ApiService.AddHashTagExecute(r) } @@ -192,13 +192,13 @@ func (a *DefaultAPIService) AddHashTag(ctx context.Context) ApiAddHashTagRequest } // Execute executes the request -// @return CreateHashTagResponse -func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*CreateHashTagResponse, *http.Response, error) { +// @return AddHashTagResponse +func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*AddHashTagResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateHashTagResponse + localVarReturnValue *AddHashTagResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AddHashTag") @@ -270,14 +270,6 @@ func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*CreateHa body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -310,7 +302,7 @@ func (r ApiAddHashTagsBulkRequest) BulkCreateHashTagsBody(bulkCreateHashTagsBody return r } -func (r ApiAddHashTagsBulkRequest) Execute() (*BulkCreateHashTagsResponse, *http.Response, error) { +func (r ApiAddHashTagsBulkRequest) Execute() (*AddHashTagsBulkResponse, *http.Response, error) { return r.ApiService.AddHashTagsBulkExecute(r) } @@ -328,13 +320,13 @@ func (a *DefaultAPIService) AddHashTagsBulk(ctx context.Context) ApiAddHashTagsB } // Execute executes the request -// @return BulkCreateHashTagsResponse -func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) (*BulkCreateHashTagsResponse, *http.Response, error) { +// @return AddHashTagsBulkResponse +func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) (*AddHashTagsBulkResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BulkCreateHashTagsResponse + localVarReturnValue *AddHashTagsBulkResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AddHashTagsBulk") @@ -406,14 +398,6 @@ func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -893,7 +877,7 @@ func (r ApiAggregateQuestionResultsRequest) ForceRecalculate(forceRecalculate bo return r } -func (r ApiAggregateQuestionResultsRequest) Execute() (*AggregateQuestionResultsResponse, *http.Response, error) { +func (r ApiAggregateQuestionResultsRequest) Execute() (*AggregateQuestionResultsResponse1, *http.Response, error) { return r.ApiService.AggregateQuestionResultsExecute(r) } @@ -911,13 +895,13 @@ func (a *DefaultAPIService) AggregateQuestionResults(ctx context.Context) ApiAgg } // Execute executes the request -// @return AggregateQuestionResultsResponse -func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuestionResultsRequest) (*AggregateQuestionResultsResponse, *http.Response, error) { +// @return AggregateQuestionResultsResponse1 +func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuestionResultsRequest) (*AggregateQuestionResultsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AggregateQuestionResultsResponse + localVarReturnValue *AggregateQuestionResultsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AggregateQuestionResults") @@ -1014,14 +998,6 @@ func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuesti body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1067,7 +1043,7 @@ func (r ApiBlockUserFromCommentRequest) AnonUserId(anonUserId string) ApiBlockUs return r } -func (r ApiBlockUserFromCommentRequest) Execute() (*BlockSuccess, *http.Response, error) { +func (r ApiBlockUserFromCommentRequest) Execute() (*BlockUserFromCommentResponse, *http.Response, error) { return r.ApiService.BlockUserFromCommentExecute(r) } @@ -1087,13 +1063,13 @@ func (a *DefaultAPIService) BlockUserFromComment(ctx context.Context, id string) } // Execute executes the request -// @return BlockSuccess -func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommentRequest) (*BlockSuccess, *http.Response, error) { +// @return BlockUserFromCommentResponse +func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommentRequest) (*BlockUserFromCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BlockSuccess + localVarReturnValue *BlockUserFromCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.BlockUserFromComment") @@ -1176,14 +1152,6 @@ func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommen body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1222,7 +1190,7 @@ func (r ApiBulkAggregateQuestionResultsRequest) ForceRecalculate(forceRecalculat return r } -func (r ApiBulkAggregateQuestionResultsRequest) Execute() (*BulkAggregateQuestionResultsResponse, *http.Response, error) { +func (r ApiBulkAggregateQuestionResultsRequest) Execute() (*BulkAggregateQuestionResultsResponse1, *http.Response, error) { return r.ApiService.BulkAggregateQuestionResultsExecute(r) } @@ -1240,13 +1208,13 @@ func (a *DefaultAPIService) BulkAggregateQuestionResults(ctx context.Context) Ap } // Execute executes the request -// @return BulkAggregateQuestionResultsResponse -func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggregateQuestionResultsRequest) (*BulkAggregateQuestionResultsResponse, *http.Response, error) { +// @return BulkAggregateQuestionResultsResponse1 +func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggregateQuestionResultsRequest) (*BulkAggregateQuestionResultsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BulkAggregateQuestionResultsResponse + localVarReturnValue *BulkAggregateQuestionResultsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.BulkAggregateQuestionResults") @@ -1325,14 +1293,6 @@ func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggrega body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1372,7 +1332,7 @@ func (r ApiChangeTicketStateRequest) ChangeTicketStateBody(changeTicketStateBody return r } -func (r ApiChangeTicketStateRequest) Execute() (*ChangeTicketStateResponse, *http.Response, error) { +func (r ApiChangeTicketStateRequest) Execute() (*ChangeTicketStateResponse1, *http.Response, error) { return r.ApiService.ChangeTicketStateExecute(r) } @@ -1392,13 +1352,13 @@ func (a *DefaultAPIService) ChangeTicketState(ctx context.Context, id string) Ap } // Execute executes the request -// @return ChangeTicketStateResponse -func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateRequest) (*ChangeTicketStateResponse, *http.Response, error) { +// @return ChangeTicketStateResponse1 +func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateRequest) (*ChangeTicketStateResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ChangeTicketStateResponse + localVarReturnValue *ChangeTicketStateResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ChangeTicketState") @@ -1479,14 +1439,6 @@ func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1561,7 +1513,7 @@ func (r ApiCombineCommentsWithQuestionResultsRequest) Limit(limit float64) ApiCo return r } -func (r ApiCombineCommentsWithQuestionResultsRequest) Execute() (*CombineQuestionResultsWithCommentsResponse, *http.Response, error) { +func (r ApiCombineCommentsWithQuestionResultsRequest) Execute() (*CombineCommentsWithQuestionResultsResponse, *http.Response, error) { return r.ApiService.CombineCommentsWithQuestionResultsExecute(r) } @@ -1579,13 +1531,13 @@ func (a *DefaultAPIService) CombineCommentsWithQuestionResults(ctx context.Conte } // Execute executes the request -// @return CombineQuestionResultsWithCommentsResponse -func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombineCommentsWithQuestionResultsRequest) (*CombineQuestionResultsWithCommentsResponse, *http.Response, error) { +// @return CombineCommentsWithQuestionResultsResponse +func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombineCommentsWithQuestionResultsRequest) (*CombineCommentsWithQuestionResultsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CombineQuestionResultsWithCommentsResponse + localVarReturnValue *CombineCommentsWithQuestionResultsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CombineCommentsWithQuestionResults") @@ -1688,14 +1640,6 @@ func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombi body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1728,7 +1672,7 @@ func (r ApiCreateEmailTemplateRequest) CreateEmailTemplateBody(createEmailTempla return r } -func (r ApiCreateEmailTemplateRequest) Execute() (*CreateEmailTemplateResponse, *http.Response, error) { +func (r ApiCreateEmailTemplateRequest) Execute() (*CreateEmailTemplateResponse1, *http.Response, error) { return r.ApiService.CreateEmailTemplateExecute(r) } @@ -1746,13 +1690,13 @@ func (a *DefaultAPIService) CreateEmailTemplate(ctx context.Context) ApiCreateEm } // Execute executes the request -// @return CreateEmailTemplateResponse -func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateRequest) (*CreateEmailTemplateResponse, *http.Response, error) { +// @return CreateEmailTemplateResponse1 +func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateRequest) (*CreateEmailTemplateResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateEmailTemplateResponse + localVarReturnValue *CreateEmailTemplateResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateEmailTemplate") @@ -1828,14 +1772,6 @@ func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1892,7 +1828,7 @@ func (r ApiCreateFeedPostRequest) SkipDupCheck(skipDupCheck bool) ApiCreateFeedP return r } -func (r ApiCreateFeedPostRequest) Execute() (*CreateFeedPostsResponse, *http.Response, error) { +func (r ApiCreateFeedPostRequest) Execute() (*CreateFeedPostResponse1, *http.Response, error) { return r.ApiService.CreateFeedPostExecute(r) } @@ -1910,13 +1846,13 @@ func (a *DefaultAPIService) CreateFeedPost(ctx context.Context) ApiCreateFeedPos } // Execute executes the request -// @return CreateFeedPostsResponse -func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (*CreateFeedPostsResponse, *http.Response, error) { +// @return CreateFeedPostResponse1 +func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (*CreateFeedPostResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateFeedPostsResponse + localVarReturnValue *CreateFeedPostResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateFeedPost") @@ -2004,14 +1940,6 @@ func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2044,7 +1972,7 @@ func (r ApiCreateModeratorRequest) CreateModeratorBody(createModeratorBody Creat return r } -func (r ApiCreateModeratorRequest) Execute() (*CreateModeratorResponse, *http.Response, error) { +func (r ApiCreateModeratorRequest) Execute() (*CreateModeratorResponse1, *http.Response, error) { return r.ApiService.CreateModeratorExecute(r) } @@ -2062,13 +1990,13 @@ func (a *DefaultAPIService) CreateModerator(ctx context.Context) ApiCreateModera } // Execute executes the request -// @return CreateModeratorResponse -func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) (*CreateModeratorResponse, *http.Response, error) { +// @return CreateModeratorResponse1 +func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) (*CreateModeratorResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateModeratorResponse + localVarReturnValue *CreateModeratorResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateModerator") @@ -2144,14 +2072,6 @@ func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2184,7 +2104,7 @@ func (r ApiCreateQuestionConfigRequest) CreateQuestionConfigBody(createQuestionC return r } -func (r ApiCreateQuestionConfigRequest) Execute() (*CreateQuestionConfigResponse, *http.Response, error) { +func (r ApiCreateQuestionConfigRequest) Execute() (*CreateQuestionConfigResponse1, *http.Response, error) { return r.ApiService.CreateQuestionConfigExecute(r) } @@ -2202,13 +2122,13 @@ func (a *DefaultAPIService) CreateQuestionConfig(ctx context.Context) ApiCreateQ } // Execute executes the request -// @return CreateQuestionConfigResponse -func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfigRequest) (*CreateQuestionConfigResponse, *http.Response, error) { +// @return CreateQuestionConfigResponse1 +func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfigRequest) (*CreateQuestionConfigResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateQuestionConfigResponse + localVarReturnValue *CreateQuestionConfigResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateQuestionConfig") @@ -2284,14 +2204,6 @@ func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2324,7 +2236,7 @@ func (r ApiCreateQuestionResultRequest) CreateQuestionResultBody(createQuestionR return r } -func (r ApiCreateQuestionResultRequest) Execute() (*CreateQuestionResultResponse, *http.Response, error) { +func (r ApiCreateQuestionResultRequest) Execute() (*CreateQuestionResultResponse1, *http.Response, error) { return r.ApiService.CreateQuestionResultExecute(r) } @@ -2342,13 +2254,13 @@ func (a *DefaultAPIService) CreateQuestionResult(ctx context.Context) ApiCreateQ } // Execute executes the request -// @return CreateQuestionResultResponse -func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResultRequest) (*CreateQuestionResultResponse, *http.Response, error) { +// @return CreateQuestionResultResponse1 +func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResultRequest) (*CreateQuestionResultResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateQuestionResultResponse + localVarReturnValue *CreateQuestionResultResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateQuestionResult") @@ -2424,14 +2336,6 @@ func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2596,7 +2500,7 @@ func (r ApiCreateTenantRequest) CreateTenantBody(createTenantBody CreateTenantBo return r } -func (r ApiCreateTenantRequest) Execute() (*CreateTenantResponse, *http.Response, error) { +func (r ApiCreateTenantRequest) Execute() (*CreateTenantResponse1, *http.Response, error) { return r.ApiService.CreateTenantExecute(r) } @@ -2614,13 +2518,13 @@ func (a *DefaultAPIService) CreateTenant(ctx context.Context) ApiCreateTenantReq } // Execute executes the request -// @return CreateTenantResponse -func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*CreateTenantResponse, *http.Response, error) { +// @return CreateTenantResponse1 +func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*CreateTenantResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantResponse + localVarReturnValue *CreateTenantResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenant") @@ -2696,14 +2600,6 @@ func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*Crea body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2736,7 +2632,7 @@ func (r ApiCreateTenantPackageRequest) CreateTenantPackageBody(createTenantPacka return r } -func (r ApiCreateTenantPackageRequest) Execute() (*CreateTenantPackageResponse, *http.Response, error) { +func (r ApiCreateTenantPackageRequest) Execute() (*CreateTenantPackageResponse1, *http.Response, error) { return r.ApiService.CreateTenantPackageExecute(r) } @@ -2754,13 +2650,13 @@ func (a *DefaultAPIService) CreateTenantPackage(ctx context.Context) ApiCreateTe } // Execute executes the request -// @return CreateTenantPackageResponse -func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageRequest) (*CreateTenantPackageResponse, *http.Response, error) { +// @return CreateTenantPackageResponse1 +func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageRequest) (*CreateTenantPackageResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantPackageResponse + localVarReturnValue *CreateTenantPackageResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenantPackage") @@ -2836,14 +2732,6 @@ func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2876,7 +2764,7 @@ func (r ApiCreateTenantUserRequest) CreateTenantUserBody(createTenantUserBody Cr return r } -func (r ApiCreateTenantUserRequest) Execute() (*CreateTenantUserResponse, *http.Response, error) { +func (r ApiCreateTenantUserRequest) Execute() (*CreateTenantUserResponse1, *http.Response, error) { return r.ApiService.CreateTenantUserExecute(r) } @@ -2894,13 +2782,13 @@ func (a *DefaultAPIService) CreateTenantUser(ctx context.Context) ApiCreateTenan } // Execute executes the request -// @return CreateTenantUserResponse -func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest) (*CreateTenantUserResponse, *http.Response, error) { +// @return CreateTenantUserResponse1 +func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest) (*CreateTenantUserResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantUserResponse + localVarReturnValue *CreateTenantUserResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenantUser") @@ -2976,14 +2864,6 @@ func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3022,7 +2902,7 @@ func (r ApiCreateTicketRequest) CreateTicketBody(createTicketBody CreateTicketBo return r } -func (r ApiCreateTicketRequest) Execute() (*CreateTicketResponse, *http.Response, error) { +func (r ApiCreateTicketRequest) Execute() (*CreateTicketResponse1, *http.Response, error) { return r.ApiService.CreateTicketExecute(r) } @@ -3040,13 +2920,13 @@ func (a *DefaultAPIService) CreateTicket(ctx context.Context) ApiCreateTicketReq } // Execute executes the request -// @return CreateTicketResponse -func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*CreateTicketResponse, *http.Response, error) { +// @return CreateTicketResponse1 +func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*CreateTicketResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTicketResponse + localVarReturnValue *CreateTicketResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTicket") @@ -3126,14 +3006,6 @@ func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*Crea body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3166,7 +3038,7 @@ func (r ApiCreateUserBadgeRequest) CreateUserBadgeParams(createUserBadgeParams C return r } -func (r ApiCreateUserBadgeRequest) Execute() (*APICreateUserBadgeResponse, *http.Response, error) { +func (r ApiCreateUserBadgeRequest) Execute() (*CreateUserBadgeResponse, *http.Response, error) { return r.ApiService.CreateUserBadgeExecute(r) } @@ -3184,13 +3056,13 @@ func (a *DefaultAPIService) CreateUserBadge(ctx context.Context) ApiCreateUserBa } // Execute executes the request -// @return APICreateUserBadgeResponse -func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) (*APICreateUserBadgeResponse, *http.Response, error) { +// @return CreateUserBadgeResponse +func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) (*CreateUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APICreateUserBadgeResponse + localVarReturnValue *CreateUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateUserBadge") @@ -3266,14 +3138,6 @@ func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3324,7 +3188,7 @@ func (r ApiCreateVoteRequest) AnonUserId(anonUserId string) ApiCreateVoteRequest return r } -func (r ApiCreateVoteRequest) Execute() (*VoteResponse, *http.Response, error) { +func (r ApiCreateVoteRequest) Execute() (*CreateVoteResponse, *http.Response, error) { return r.ApiService.CreateVoteExecute(r) } @@ -3342,13 +3206,13 @@ func (a *DefaultAPIService) CreateVote(ctx context.Context) ApiCreateVoteRequest } // Execute executes the request -// @return VoteResponse -func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*VoteResponse, *http.Response, error) { +// @return CreateVoteResponse +func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*CreateVoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteResponse + localVarReturnValue *CreateVoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateVote") @@ -3433,14 +3297,6 @@ func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*VoteResp body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3480,7 +3336,7 @@ func (r ApiDeleteCommentRequest) IsLive(isLive bool) ApiDeleteCommentRequest { return r } -func (r ApiDeleteCommentRequest) Execute() (*DeleteCommentResult, *http.Response, error) { +func (r ApiDeleteCommentRequest) Execute() (*DeleteCommentResponse, *http.Response, error) { return r.ApiService.DeleteCommentExecute(r) } @@ -3500,13 +3356,13 @@ func (a *DefaultAPIService) DeleteComment(ctx context.Context, id string) ApiDel } // Execute executes the request -// @return DeleteCommentResult -func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*DeleteCommentResult, *http.Response, error) { +// @return DeleteCommentResponse +func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*DeleteCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteCommentResult + localVarReturnValue *DeleteCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteComment") @@ -3584,14 +3440,6 @@ func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*De body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3744,7 +3592,7 @@ func (r ApiDeleteEmailTemplateRequest) TenantId(tenantId string) ApiDeleteEmailT return r } -func (r ApiDeleteEmailTemplateRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteEmailTemplateRequest) Execute() (*DeleteEmailTemplateResponse, *http.Response, error) { return r.ApiService.DeleteEmailTemplateExecute(r) } @@ -3764,13 +3612,13 @@ func (a *DefaultAPIService) DeleteEmailTemplate(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteEmailTemplateResponse +func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateRequest) (*DeleteEmailTemplateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteEmailTemplateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteEmailTemplate") @@ -3842,14 +3690,6 @@ func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3878,7 +3718,7 @@ func (r ApiDeleteEmailTemplateRenderErrorRequest) TenantId(tenantId string) ApiD return r } -func (r ApiDeleteEmailTemplateRenderErrorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteEmailTemplateRenderErrorRequest) Execute() (*DeleteEmailTemplateRenderErrorResponse, *http.Response, error) { return r.ApiService.DeleteEmailTemplateRenderErrorExecute(r) } @@ -3900,13 +3740,13 @@ func (a *DefaultAPIService) DeleteEmailTemplateRenderError(ctx context.Context, } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEmailTemplateRenderErrorRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteEmailTemplateRenderErrorResponse +func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEmailTemplateRenderErrorRequest) (*DeleteEmailTemplateRenderErrorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteEmailTemplateRenderErrorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteEmailTemplateRenderError") @@ -3979,14 +3819,6 @@ func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEma body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4020,7 +3852,7 @@ func (r ApiDeleteHashTagRequest) DeleteHashTagRequestBody(deleteHashTagRequestBo return r } -func (r ApiDeleteHashTagRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteHashTagRequest) Execute() (*DeleteHashTagResponse, *http.Response, error) { return r.ApiService.DeleteHashTagExecute(r) } @@ -4040,13 +3872,13 @@ func (a *DefaultAPIService) DeleteHashTag(ctx context.Context, tag string) ApiDe } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteHashTagResponse +func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*DeleteHashTagResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteHashTagResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteHashTag") @@ -4119,14 +3951,6 @@ func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*AP body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4160,7 +3984,7 @@ func (r ApiDeleteModeratorRequest) SendEmail(sendEmail string) ApiDeleteModerato return r } -func (r ApiDeleteModeratorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteModeratorRequest) Execute() (*DeleteModeratorResponse, *http.Response, error) { return r.ApiService.DeleteModeratorExecute(r) } @@ -4180,13 +4004,13 @@ func (a *DefaultAPIService) DeleteModerator(ctx context.Context, id string) ApiD } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteModeratorResponse +func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) (*DeleteModeratorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteModeratorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteModerator") @@ -4261,14 +4085,6 @@ func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4296,7 +4112,7 @@ func (r ApiDeleteNotificationCountRequest) TenantId(tenantId string) ApiDeleteNo return r } -func (r ApiDeleteNotificationCountRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteNotificationCountRequest) Execute() (*DeleteNotificationCountResponse, *http.Response, error) { return r.ApiService.DeleteNotificationCountExecute(r) } @@ -4316,13 +4132,13 @@ func (a *DefaultAPIService) DeleteNotificationCount(ctx context.Context, id stri } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificationCountRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteNotificationCountResponse +func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificationCountRequest) (*DeleteNotificationCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteNotificationCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteNotificationCount") @@ -4394,14 +4210,6 @@ func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificati body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4554,7 +4362,7 @@ func (r ApiDeletePendingWebhookEventRequest) TenantId(tenantId string) ApiDelete return r } -func (r ApiDeletePendingWebhookEventRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeletePendingWebhookEventRequest) Execute() (*DeletePendingWebhookEventResponse, *http.Response, error) { return r.ApiService.DeletePendingWebhookEventExecute(r) } @@ -4574,13 +4382,13 @@ func (a *DefaultAPIService) DeletePendingWebhookEvent(ctx context.Context, id st } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingWebhookEventRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeletePendingWebhookEventResponse +func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingWebhookEventRequest) (*DeletePendingWebhookEventResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeletePendingWebhookEventResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeletePendingWebhookEvent") @@ -4652,14 +4460,6 @@ func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingW body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4687,7 +4487,7 @@ func (r ApiDeleteQuestionConfigRequest) TenantId(tenantId string) ApiDeleteQuest return r } -func (r ApiDeleteQuestionConfigRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteQuestionConfigRequest) Execute() (*DeleteQuestionConfigResponse, *http.Response, error) { return r.ApiService.DeleteQuestionConfigExecute(r) } @@ -4707,13 +4507,13 @@ func (a *DefaultAPIService) DeleteQuestionConfig(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfigRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteQuestionConfigResponse +func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfigRequest) (*DeleteQuestionConfigResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteQuestionConfigResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteQuestionConfig") @@ -4785,14 +4585,6 @@ func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4820,7 +4612,7 @@ func (r ApiDeleteQuestionResultRequest) TenantId(tenantId string) ApiDeleteQuest return r } -func (r ApiDeleteQuestionResultRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteQuestionResultRequest) Execute() (*DeleteQuestionResultResponse, *http.Response, error) { return r.ApiService.DeleteQuestionResultExecute(r) } @@ -4840,13 +4632,13 @@ func (a *DefaultAPIService) DeleteQuestionResult(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResultRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteQuestionResultResponse +func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResultRequest) (*DeleteQuestionResultResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteQuestionResultResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteQuestionResult") @@ -4918,14 +4710,6 @@ func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5236,7 +5020,7 @@ func (r ApiDeleteTenantRequest) Sure(sure string) ApiDeleteTenantRequest { return r } -func (r ApiDeleteTenantRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteTenantRequest) Execute() (*DeleteTenantResponse, *http.Response, error) { return r.ApiService.DeleteTenantExecute(r) } @@ -5256,13 +5040,13 @@ func (a *DefaultAPIService) DeleteTenant(ctx context.Context, id string) ApiDele } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteTenantResponse +func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*DeleteTenantResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteTenantResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenant") @@ -5337,14 +5121,6 @@ func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*APIE body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5372,7 +5148,7 @@ func (r ApiDeleteTenantPackageRequest) TenantId(tenantId string) ApiDeleteTenant return r } -func (r ApiDeleteTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteTenantPackageRequest) Execute() (*DeleteTenantPackageResponse, *http.Response, error) { return r.ApiService.DeleteTenantPackageExecute(r) } @@ -5392,13 +5168,13 @@ func (a *DefaultAPIService) DeleteTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteTenantPackageResponse +func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageRequest) (*DeleteTenantPackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteTenantPackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenantPackage") @@ -5470,14 +5246,6 @@ func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5517,7 +5285,7 @@ func (r ApiDeleteTenantUserRequest) CommentDeleteMode(commentDeleteMode string) return r } -func (r ApiDeleteTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiDeleteTenantUserRequest) Execute() (*DeleteTenantUserResponse, *http.Response, error) { return r.ApiService.DeleteTenantUserExecute(r) } @@ -5537,13 +5305,13 @@ func (a *DefaultAPIService) DeleteTenantUser(ctx context.Context, id string) Api } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { +// @return DeleteTenantUserResponse +func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*DeleteTenantUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *DeleteTenantUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenantUser") @@ -5621,14 +5389,6 @@ func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5656,7 +5416,7 @@ func (r ApiDeleteUserBadgeRequest) TenantId(tenantId string) ApiDeleteUserBadgeR return r } -func (r ApiDeleteUserBadgeRequest) Execute() (*APIEmptySuccessResponse, *http.Response, error) { +func (r ApiDeleteUserBadgeRequest) Execute() (*DeleteUserBadgeResponse, *http.Response, error) { return r.ApiService.DeleteUserBadgeExecute(r) } @@ -5676,13 +5436,13 @@ func (a *DefaultAPIService) DeleteUserBadge(ctx context.Context, id string) ApiD } // Execute executes the request -// @return APIEmptySuccessResponse -func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) (*APIEmptySuccessResponse, *http.Response, error) { +// @return DeleteUserBadgeResponse +func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) (*DeleteUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptySuccessResponse + localVarReturnValue *DeleteUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteUserBadge") @@ -5754,14 +5514,6 @@ func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5795,7 +5547,7 @@ func (r ApiDeleteVoteRequest) EditKey(editKey string) ApiDeleteVoteRequest { return r } -func (r ApiDeleteVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { +func (r ApiDeleteVoteRequest) Execute() (*DeleteVoteResponse, *http.Response, error) { return r.ApiService.DeleteVoteExecute(r) } @@ -5815,13 +5567,13 @@ func (a *DefaultAPIService) DeleteVote(ctx context.Context, id string) ApiDelete } // Execute executes the request -// @return VoteDeleteResponse -func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*VoteDeleteResponse, *http.Response, error) { +// @return DeleteVoteResponse +func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*DeleteVoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteDeleteResponse + localVarReturnValue *DeleteVoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteVote") @@ -5896,14 +5648,6 @@ func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*VoteDele body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5943,7 +5687,7 @@ func (r ApiFlagCommentRequest) AnonUserId(anonUserId string) ApiFlagCommentReque return r } -func (r ApiFlagCommentRequest) Execute() (*FlagCommentResponse, *http.Response, error) { +func (r ApiFlagCommentRequest) Execute() (*FlagCommentResponse1, *http.Response, error) { return r.ApiService.FlagCommentExecute(r) } @@ -5963,13 +5707,13 @@ func (a *DefaultAPIService) FlagComment(ctx context.Context, id string) ApiFlagC } // Execute executes the request -// @return FlagCommentResponse -func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCommentResponse, *http.Response, error) { +// @return FlagCommentResponse1 +func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCommentResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *FlagCommentResponse + localVarReturnValue *FlagCommentResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.FlagComment") @@ -6047,14 +5791,6 @@ func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6111,7 +5847,7 @@ func (r ApiGetAuditLogsRequest) Before(before float64) ApiGetAuditLogsRequest { return r } -func (r ApiGetAuditLogsRequest) Execute() (*GetAuditLogsResponse, *http.Response, error) { +func (r ApiGetAuditLogsRequest) Execute() (*GetAuditLogsResponse1, *http.Response, error) { return r.ApiService.GetAuditLogsExecute(r) } @@ -6129,13 +5865,13 @@ func (a *DefaultAPIService) GetAuditLogs(ctx context.Context) ApiGetAuditLogsReq } // Execute executes the request -// @return GetAuditLogsResponse -func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetAuditLogsResponse, *http.Response, error) { +// @return GetAuditLogsResponse1 +func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetAuditLogsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetAuditLogsResponse + localVarReturnValue *GetAuditLogsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetAuditLogs") @@ -6221,14 +5957,6 @@ func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetA body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6256,7 +5984,7 @@ func (r ApiGetCachedNotificationCountRequest) TenantId(tenantId string) ApiGetCa return r } -func (r ApiGetCachedNotificationCountRequest) Execute() (*GetCachedNotificationCountResponse, *http.Response, error) { +func (r ApiGetCachedNotificationCountRequest) Execute() (*GetCachedNotificationCountResponse1, *http.Response, error) { return r.ApiService.GetCachedNotificationCountExecute(r) } @@ -6276,13 +6004,13 @@ func (a *DefaultAPIService) GetCachedNotificationCount(ctx context.Context, id s } // Execute executes the request -// @return GetCachedNotificationCountResponse -func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNotificationCountRequest) (*GetCachedNotificationCountResponse, *http.Response, error) { +// @return GetCachedNotificationCountResponse1 +func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNotificationCountRequest) (*GetCachedNotificationCountResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCachedNotificationCountResponse + localVarReturnValue *GetCachedNotificationCountResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetCachedNotificationCount") @@ -6354,14 +6082,6 @@ func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNoti body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6389,7 +6109,7 @@ func (r ApiGetCommentRequest) TenantId(tenantId string) ApiGetCommentRequest { return r } -func (r ApiGetCommentRequest) Execute() (*APIGetCommentResponse, *http.Response, error) { +func (r ApiGetCommentRequest) Execute() (*GetCommentResponse, *http.Response, error) { return r.ApiService.GetCommentExecute(r) } @@ -6409,13 +6129,13 @@ func (a *DefaultAPIService) GetComment(ctx context.Context, id string) ApiGetCom } // Execute executes the request -// @return APIGetCommentResponse -func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*APIGetCommentResponse, *http.Response, error) { +// @return GetCommentResponse +func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*GetCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetCommentResponse + localVarReturnValue *GetCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetComment") @@ -6487,14 +6207,6 @@ func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*APIGetCo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6617,7 +6329,7 @@ func (r ApiGetCommentsRequest) ToDate(toDate int64) ApiGetCommentsRequest { return r } -func (r ApiGetCommentsRequest) Execute() (*APIGetCommentsResponse, *http.Response, error) { +func (r ApiGetCommentsRequest) Execute() (*GetCommentsResponse, *http.Response, error) { return r.ApiService.GetCommentsExecute(r) } @@ -6635,13 +6347,13 @@ func (a *DefaultAPIService) GetComments(ctx context.Context) ApiGetCommentsReque } // Execute executes the request -// @return APIGetCommentsResponse -func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*APIGetCommentsResponse, *http.Response, error) { +// @return GetCommentsResponse +func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*GetCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetCommentsResponse + localVarReturnValue *GetCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetComments") @@ -6760,14 +6472,6 @@ func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*APIGet body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7041,7 +6745,7 @@ func (r ApiGetEmailTemplateRequest) TenantId(tenantId string) ApiGetEmailTemplat return r } -func (r ApiGetEmailTemplateRequest) Execute() (*GetEmailTemplateResponse, *http.Response, error) { +func (r ApiGetEmailTemplateRequest) Execute() (*GetEmailTemplateResponse1, *http.Response, error) { return r.ApiService.GetEmailTemplateExecute(r) } @@ -7061,13 +6765,13 @@ func (a *DefaultAPIService) GetEmailTemplate(ctx context.Context, id string) Api } // Execute executes the request -// @return GetEmailTemplateResponse -func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest) (*GetEmailTemplateResponse, *http.Response, error) { +// @return GetEmailTemplateResponse1 +func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest) (*GetEmailTemplateResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateResponse + localVarReturnValue *GetEmailTemplateResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplate") @@ -7139,14 +6843,6 @@ func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7173,7 +6869,7 @@ func (r ApiGetEmailTemplateDefinitionsRequest) TenantId(tenantId string) ApiGetE return r } -func (r ApiGetEmailTemplateDefinitionsRequest) Execute() (*GetEmailTemplateDefinitionsResponse, *http.Response, error) { +func (r ApiGetEmailTemplateDefinitionsRequest) Execute() (*GetEmailTemplateDefinitionsResponse1, *http.Response, error) { return r.ApiService.GetEmailTemplateDefinitionsExecute(r) } @@ -7191,13 +6887,13 @@ func (a *DefaultAPIService) GetEmailTemplateDefinitions(ctx context.Context) Api } // Execute executes the request -// @return GetEmailTemplateDefinitionsResponse -func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemplateDefinitionsRequest) (*GetEmailTemplateDefinitionsResponse, *http.Response, error) { +// @return GetEmailTemplateDefinitionsResponse1 +func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemplateDefinitionsRequest) (*GetEmailTemplateDefinitionsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateDefinitionsResponse + localVarReturnValue *GetEmailTemplateDefinitionsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplateDefinitions") @@ -7268,14 +6964,6 @@ func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemp body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7309,7 +6997,7 @@ func (r ApiGetEmailTemplateRenderErrorsRequest) Skip(skip float64) ApiGetEmailTe return r } -func (r ApiGetEmailTemplateRenderErrorsRequest) Execute() (*GetEmailTemplateRenderErrorsResponse, *http.Response, error) { +func (r ApiGetEmailTemplateRenderErrorsRequest) Execute() (*GetEmailTemplateRenderErrorsResponse1, *http.Response, error) { return r.ApiService.GetEmailTemplateRenderErrorsExecute(r) } @@ -7329,13 +7017,13 @@ func (a *DefaultAPIService) GetEmailTemplateRenderErrors(ctx context.Context, id } // Execute executes the request -// @return GetEmailTemplateRenderErrorsResponse -func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTemplateRenderErrorsRequest) (*GetEmailTemplateRenderErrorsResponse, *http.Response, error) { +// @return GetEmailTemplateRenderErrorsResponse1 +func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTemplateRenderErrorsRequest) (*GetEmailTemplateRenderErrorsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateRenderErrorsResponse + localVarReturnValue *GetEmailTemplateRenderErrorsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplateRenderErrors") @@ -7410,14 +7098,6 @@ func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTem body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7450,7 +7130,7 @@ func (r ApiGetEmailTemplatesRequest) Skip(skip float64) ApiGetEmailTemplatesRequ return r } -func (r ApiGetEmailTemplatesRequest) Execute() (*GetEmailTemplatesResponse, *http.Response, error) { +func (r ApiGetEmailTemplatesRequest) Execute() (*GetEmailTemplatesResponse1, *http.Response, error) { return r.ApiService.GetEmailTemplatesExecute(r) } @@ -7468,13 +7148,13 @@ func (a *DefaultAPIService) GetEmailTemplates(ctx context.Context) ApiGetEmailTe } // Execute executes the request -// @return GetEmailTemplatesResponse -func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesRequest) (*GetEmailTemplatesResponse, *http.Response, error) { +// @return GetEmailTemplatesResponse1 +func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesRequest) (*GetEmailTemplatesResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplatesResponse + localVarReturnValue *GetEmailTemplatesResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplates") @@ -7548,14 +7228,6 @@ func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7600,7 +7272,7 @@ func (r ApiGetFeedPostsRequest) Tags(tags []string) ApiGetFeedPostsRequest { return r } -func (r ApiGetFeedPostsRequest) Execute() (*GetFeedPostsResponse, *http.Response, error) { +func (r ApiGetFeedPostsRequest) Execute() (*GetFeedPostsResponse1, *http.Response, error) { return r.ApiService.GetFeedPostsExecute(r) } @@ -7623,13 +7295,13 @@ func (a *DefaultAPIService) GetFeedPosts(ctx context.Context) ApiGetFeedPostsReq } // Execute executes the request -// @return GetFeedPostsResponse -func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetFeedPostsResponse, *http.Response, error) { +// @return GetFeedPostsResponse1 +func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetFeedPostsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetFeedPostsResponse + localVarReturnValue *GetFeedPostsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetFeedPosts") @@ -7717,14 +7389,6 @@ func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetF body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7757,7 +7421,7 @@ func (r ApiGetHashTagsRequest) Page(page float64) ApiGetHashTagsRequest { return r } -func (r ApiGetHashTagsRequest) Execute() (*GetHashTagsResponse, *http.Response, error) { +func (r ApiGetHashTagsRequest) Execute() (*GetHashTagsResponse1, *http.Response, error) { return r.ApiService.GetHashTagsExecute(r) } @@ -7775,13 +7439,13 @@ func (a *DefaultAPIService) GetHashTags(ctx context.Context) ApiGetHashTagsReque } // Execute executes the request -// @return GetHashTagsResponse -func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHashTagsResponse, *http.Response, error) { +// @return GetHashTagsResponse1 +func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHashTagsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetHashTagsResponse + localVarReturnValue *GetHashTagsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetHashTags") @@ -7855,14 +7519,6 @@ func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHas body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7890,7 +7546,7 @@ func (r ApiGetModeratorRequest) TenantId(tenantId string) ApiGetModeratorRequest return r } -func (r ApiGetModeratorRequest) Execute() (*GetModeratorResponse, *http.Response, error) { +func (r ApiGetModeratorRequest) Execute() (*GetModeratorResponse1, *http.Response, error) { return r.ApiService.GetModeratorExecute(r) } @@ -7910,13 +7566,13 @@ func (a *DefaultAPIService) GetModerator(ctx context.Context, id string) ApiGetM } // Execute executes the request -// @return GetModeratorResponse -func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetModeratorResponse, *http.Response, error) { +// @return GetModeratorResponse1 +func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetModeratorResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModeratorResponse + localVarReturnValue *GetModeratorResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetModerator") @@ -7988,14 +7644,6 @@ func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetM body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8028,7 +7676,7 @@ func (r ApiGetModeratorsRequest) Skip(skip float64) ApiGetModeratorsRequest { return r } -func (r ApiGetModeratorsRequest) Execute() (*GetModeratorsResponse, *http.Response, error) { +func (r ApiGetModeratorsRequest) Execute() (*GetModeratorsResponse1, *http.Response, error) { return r.ApiService.GetModeratorsExecute(r) } @@ -8046,13 +7694,13 @@ func (a *DefaultAPIService) GetModerators(ctx context.Context) ApiGetModeratorsR } // Execute executes the request -// @return GetModeratorsResponse -func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*GetModeratorsResponse, *http.Response, error) { +// @return GetModeratorsResponse1 +func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*GetModeratorsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModeratorsResponse + localVarReturnValue *GetModeratorsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetModerators") @@ -8126,14 +7774,6 @@ func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*Ge body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8190,7 +7830,7 @@ func (r ApiGetNotificationCountRequest) Type_(type_ string) ApiGetNotificationCo return r } -func (r ApiGetNotificationCountRequest) Execute() (*GetNotificationCountResponse, *http.Response, error) { +func (r ApiGetNotificationCountRequest) Execute() (*GetNotificationCountResponse1, *http.Response, error) { return r.ApiService.GetNotificationCountExecute(r) } @@ -8208,13 +7848,13 @@ func (a *DefaultAPIService) GetNotificationCount(ctx context.Context) ApiGetNoti } // Execute executes the request -// @return GetNotificationCountResponse -func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCountRequest) (*GetNotificationCountResponse, *http.Response, error) { +// @return GetNotificationCountResponse1 +func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCountRequest) (*GetNotificationCountResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetNotificationCountResponse + localVarReturnValue *GetNotificationCountResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetNotificationCount") @@ -8300,14 +7940,6 @@ func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCoun body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8370,7 +8002,7 @@ func (r ApiGetNotificationsRequest) Skip(skip float64) ApiGetNotificationsReques return r } -func (r ApiGetNotificationsRequest) Execute() (*GetNotificationsResponse, *http.Response, error) { +func (r ApiGetNotificationsRequest) Execute() (*GetNotificationsResponse1, *http.Response, error) { return r.ApiService.GetNotificationsExecute(r) } @@ -8388,13 +8020,13 @@ func (a *DefaultAPIService) GetNotifications(ctx context.Context) ApiGetNotifica } // Execute executes the request -// @return GetNotificationsResponse -func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest) (*GetNotificationsResponse, *http.Response, error) { +// @return GetNotificationsResponse1 +func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest) (*GetNotificationsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetNotificationsResponse + localVarReturnValue *GetNotificationsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetNotifications") @@ -8483,14 +8115,6 @@ func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8805,7 +8429,7 @@ func (r ApiGetPendingWebhookEventCountRequest) AttemptCountGT(attemptCountGT flo return r } -func (r ApiGetPendingWebhookEventCountRequest) Execute() (*GetPendingWebhookEventCountResponse, *http.Response, error) { +func (r ApiGetPendingWebhookEventCountRequest) Execute() (*GetPendingWebhookEventCountResponse1, *http.Response, error) { return r.ApiService.GetPendingWebhookEventCountExecute(r) } @@ -8823,13 +8447,13 @@ func (a *DefaultAPIService) GetPendingWebhookEventCount(ctx context.Context) Api } // Execute executes the request -// @return GetPendingWebhookEventCountResponse -func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWebhookEventCountRequest) (*GetPendingWebhookEventCountResponse, *http.Response, error) { +// @return GetPendingWebhookEventCountResponse1 +func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWebhookEventCountRequest) (*GetPendingWebhookEventCountResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPendingWebhookEventCountResponse + localVarReturnValue *GetPendingWebhookEventCountResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetPendingWebhookEventCount") @@ -8918,14 +8542,6 @@ func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8994,7 +8610,7 @@ func (r ApiGetPendingWebhookEventsRequest) Skip(skip float64) ApiGetPendingWebho return r } -func (r ApiGetPendingWebhookEventsRequest) Execute() (*GetPendingWebhookEventsResponse, *http.Response, error) { +func (r ApiGetPendingWebhookEventsRequest) Execute() (*GetPendingWebhookEventsResponse1, *http.Response, error) { return r.ApiService.GetPendingWebhookEventsExecute(r) } @@ -9012,13 +8628,13 @@ func (a *DefaultAPIService) GetPendingWebhookEvents(ctx context.Context) ApiGetP } // Execute executes the request -// @return GetPendingWebhookEventsResponse -func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhookEventsRequest) (*GetPendingWebhookEventsResponse, *http.Response, error) { +// @return GetPendingWebhookEventsResponse1 +func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhookEventsRequest) (*GetPendingWebhookEventsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPendingWebhookEventsResponse + localVarReturnValue *GetPendingWebhookEventsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetPendingWebhookEvents") @@ -9110,14 +8726,6 @@ func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhoo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9145,7 +8753,7 @@ func (r ApiGetQuestionConfigRequest) TenantId(tenantId string) ApiGetQuestionCon return r } -func (r ApiGetQuestionConfigRequest) Execute() (*GetQuestionConfigResponse, *http.Response, error) { +func (r ApiGetQuestionConfigRequest) Execute() (*GetQuestionConfigResponse1, *http.Response, error) { return r.ApiService.GetQuestionConfigExecute(r) } @@ -9165,13 +8773,13 @@ func (a *DefaultAPIService) GetQuestionConfig(ctx context.Context, id string) Ap } // Execute executes the request -// @return GetQuestionConfigResponse -func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigRequest) (*GetQuestionConfigResponse, *http.Response, error) { +// @return GetQuestionConfigResponse1 +func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigRequest) (*GetQuestionConfigResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionConfigResponse + localVarReturnValue *GetQuestionConfigResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionConfig") @@ -9243,14 +8851,6 @@ func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9283,7 +8883,7 @@ func (r ApiGetQuestionConfigsRequest) Skip(skip float64) ApiGetQuestionConfigsRe return r } -func (r ApiGetQuestionConfigsRequest) Execute() (*GetQuestionConfigsResponse, *http.Response, error) { +func (r ApiGetQuestionConfigsRequest) Execute() (*GetQuestionConfigsResponse1, *http.Response, error) { return r.ApiService.GetQuestionConfigsExecute(r) } @@ -9301,13 +8901,13 @@ func (a *DefaultAPIService) GetQuestionConfigs(ctx context.Context) ApiGetQuesti } // Execute executes the request -// @return GetQuestionConfigsResponse -func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsRequest) (*GetQuestionConfigsResponse, *http.Response, error) { +// @return GetQuestionConfigsResponse1 +func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsRequest) (*GetQuestionConfigsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionConfigsResponse + localVarReturnValue *GetQuestionConfigsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionConfigs") @@ -9381,14 +8981,6 @@ func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsReq body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9416,7 +9008,7 @@ func (r ApiGetQuestionResultRequest) TenantId(tenantId string) ApiGetQuestionRes return r } -func (r ApiGetQuestionResultRequest) Execute() (*GetQuestionResultResponse, *http.Response, error) { +func (r ApiGetQuestionResultRequest) Execute() (*GetQuestionResultResponse1, *http.Response, error) { return r.ApiService.GetQuestionResultExecute(r) } @@ -9436,13 +9028,13 @@ func (a *DefaultAPIService) GetQuestionResult(ctx context.Context, id string) Ap } // Execute executes the request -// @return GetQuestionResultResponse -func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultRequest) (*GetQuestionResultResponse, *http.Response, error) { +// @return GetQuestionResultResponse1 +func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultRequest) (*GetQuestionResultResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionResultResponse + localVarReturnValue *GetQuestionResultResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionResult") @@ -9514,14 +9106,6 @@ func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9584,7 +9168,7 @@ func (r ApiGetQuestionResultsRequest) Skip(skip float64) ApiGetQuestionResultsRe return r } -func (r ApiGetQuestionResultsRequest) Execute() (*GetQuestionResultsResponse, *http.Response, error) { +func (r ApiGetQuestionResultsRequest) Execute() (*GetQuestionResultsResponse1, *http.Response, error) { return r.ApiService.GetQuestionResultsExecute(r) } @@ -9602,13 +9186,13 @@ func (a *DefaultAPIService) GetQuestionResults(ctx context.Context) ApiGetQuesti } // Execute executes the request -// @return GetQuestionResultsResponse -func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsRequest) (*GetQuestionResultsResponse, *http.Response, error) { +// @return GetQuestionResultsResponse1 +func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsRequest) (*GetQuestionResultsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionResultsResponse + localVarReturnValue *GetQuestionResultsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionResults") @@ -9697,14 +9281,6 @@ func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsReq body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10242,7 +9818,7 @@ func (r ApiGetTenantRequest) TenantId(tenantId string) ApiGetTenantRequest { return r } -func (r ApiGetTenantRequest) Execute() (*GetTenantResponse, *http.Response, error) { +func (r ApiGetTenantRequest) Execute() (*GetTenantResponse1, *http.Response, error) { return r.ApiService.GetTenantExecute(r) } @@ -10262,13 +9838,13 @@ func (a *DefaultAPIService) GetTenant(ctx context.Context, id string) ApiGetTena } // Execute executes the request -// @return GetTenantResponse -func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantResponse, *http.Response, error) { +// @return GetTenantResponse1 +func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantResponse + localVarReturnValue *GetTenantResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenant") @@ -10340,14 +9916,6 @@ func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10398,7 +9966,7 @@ func (r ApiGetTenantDailyUsagesRequest) Skip(skip float64) ApiGetTenantDailyUsag return r } -func (r ApiGetTenantDailyUsagesRequest) Execute() (*GetTenantDailyUsagesResponse, *http.Response, error) { +func (r ApiGetTenantDailyUsagesRequest) Execute() (*GetTenantDailyUsagesResponse1, *http.Response, error) { return r.ApiService.GetTenantDailyUsagesExecute(r) } @@ -10416,13 +9984,13 @@ func (a *DefaultAPIService) GetTenantDailyUsages(ctx context.Context) ApiGetTena } // Execute executes the request -// @return GetTenantDailyUsagesResponse -func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsagesRequest) (*GetTenantDailyUsagesResponse, *http.Response, error) { +// @return GetTenantDailyUsagesResponse1 +func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsagesRequest) (*GetTenantDailyUsagesResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantDailyUsagesResponse + localVarReturnValue *GetTenantDailyUsagesResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantDailyUsages") @@ -10505,14 +10073,6 @@ func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsage body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10540,7 +10100,7 @@ func (r ApiGetTenantPackageRequest) TenantId(tenantId string) ApiGetTenantPackag return r } -func (r ApiGetTenantPackageRequest) Execute() (*GetTenantPackageResponse, *http.Response, error) { +func (r ApiGetTenantPackageRequest) Execute() (*GetTenantPackageResponse1, *http.Response, error) { return r.ApiService.GetTenantPackageExecute(r) } @@ -10560,13 +10120,13 @@ func (a *DefaultAPIService) GetTenantPackage(ctx context.Context, id string) Api } // Execute executes the request -// @return GetTenantPackageResponse -func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest) (*GetTenantPackageResponse, *http.Response, error) { +// @return GetTenantPackageResponse1 +func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest) (*GetTenantPackageResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantPackageResponse + localVarReturnValue *GetTenantPackageResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantPackage") @@ -10638,14 +10198,6 @@ func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10678,7 +10230,7 @@ func (r ApiGetTenantPackagesRequest) Skip(skip float64) ApiGetTenantPackagesRequ return r } -func (r ApiGetTenantPackagesRequest) Execute() (*GetTenantPackagesResponse, *http.Response, error) { +func (r ApiGetTenantPackagesRequest) Execute() (*GetTenantPackagesResponse1, *http.Response, error) { return r.ApiService.GetTenantPackagesExecute(r) } @@ -10696,13 +10248,13 @@ func (a *DefaultAPIService) GetTenantPackages(ctx context.Context) ApiGetTenantP } // Execute executes the request -// @return GetTenantPackagesResponse -func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesRequest) (*GetTenantPackagesResponse, *http.Response, error) { +// @return GetTenantPackagesResponse1 +func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesRequest) (*GetTenantPackagesResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantPackagesResponse + localVarReturnValue *GetTenantPackagesResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantPackages") @@ -10776,14 +10328,6 @@ func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10811,7 +10355,7 @@ func (r ApiGetTenantUserRequest) TenantId(tenantId string) ApiGetTenantUserReque return r } -func (r ApiGetTenantUserRequest) Execute() (*GetTenantUserResponse, *http.Response, error) { +func (r ApiGetTenantUserRequest) Execute() (*GetTenantUserResponse1, *http.Response, error) { return r.ApiService.GetTenantUserExecute(r) } @@ -10831,13 +10375,13 @@ func (a *DefaultAPIService) GetTenantUser(ctx context.Context, id string) ApiGet } // Execute executes the request -// @return GetTenantUserResponse -func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*GetTenantUserResponse, *http.Response, error) { +// @return GetTenantUserResponse1 +func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*GetTenantUserResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantUserResponse + localVarReturnValue *GetTenantUserResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantUser") @@ -10909,14 +10453,6 @@ func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*Ge body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10949,7 +10485,7 @@ func (r ApiGetTenantUsersRequest) Skip(skip float64) ApiGetTenantUsersRequest { return r } -func (r ApiGetTenantUsersRequest) Execute() (*GetTenantUsersResponse, *http.Response, error) { +func (r ApiGetTenantUsersRequest) Execute() (*GetTenantUsersResponse1, *http.Response, error) { return r.ApiService.GetTenantUsersExecute(r) } @@ -10967,13 +10503,13 @@ func (a *DefaultAPIService) GetTenantUsers(ctx context.Context) ApiGetTenantUser } // Execute executes the request -// @return GetTenantUsersResponse -func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (*GetTenantUsersResponse, *http.Response, error) { +// @return GetTenantUsersResponse1 +func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (*GetTenantUsersResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantUsersResponse + localVarReturnValue *GetTenantUsersResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantUsers") @@ -11047,14 +10583,6 @@ func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11093,7 +10621,7 @@ func (r ApiGetTenantsRequest) Skip(skip float64) ApiGetTenantsRequest { return r } -func (r ApiGetTenantsRequest) Execute() (*GetTenantsResponse, *http.Response, error) { +func (r ApiGetTenantsRequest) Execute() (*GetTenantsResponse1, *http.Response, error) { return r.ApiService.GetTenantsExecute(r) } @@ -11111,13 +10639,13 @@ func (a *DefaultAPIService) GetTenants(ctx context.Context) ApiGetTenantsRequest } // Execute executes the request -// @return GetTenantsResponse -func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenantsResponse, *http.Response, error) { +// @return GetTenantsResponse1 +func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenantsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantsResponse + localVarReturnValue *GetTenantsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenants") @@ -11194,14 +10722,6 @@ func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenan body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11235,7 +10755,7 @@ func (r ApiGetTicketRequest) UserId(userId string) ApiGetTicketRequest { return r } -func (r ApiGetTicketRequest) Execute() (*GetTicketResponse, *http.Response, error) { +func (r ApiGetTicketRequest) Execute() (*GetTicketResponse1, *http.Response, error) { return r.ApiService.GetTicketExecute(r) } @@ -11255,13 +10775,13 @@ func (a *DefaultAPIService) GetTicket(ctx context.Context, id string) ApiGetTick } // Execute executes the request -// @return GetTicketResponse -func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketResponse, *http.Response, error) { +// @return GetTicketResponse1 +func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTicketResponse + localVarReturnValue *GetTicketResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTicket") @@ -11336,14 +10856,6 @@ func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11394,7 +10906,7 @@ func (r ApiGetTicketsRequest) Limit(limit float64) ApiGetTicketsRequest { return r } -func (r ApiGetTicketsRequest) Execute() (*GetTicketsResponse, *http.Response, error) { +func (r ApiGetTicketsRequest) Execute() (*GetTicketsResponse1, *http.Response, error) { return r.ApiService.GetTicketsExecute(r) } @@ -11412,13 +10924,13 @@ func (a *DefaultAPIService) GetTickets(ctx context.Context) ApiGetTicketsRequest } // Execute executes the request -// @return GetTicketsResponse -func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicketsResponse, *http.Response, error) { +// @return GetTicketsResponse1 +func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicketsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTicketsResponse + localVarReturnValue *GetTicketsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTickets") @@ -11501,14 +11013,6 @@ func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicke body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11536,7 +11040,7 @@ func (r ApiGetUserRequest) TenantId(tenantId string) ApiGetUserRequest { return r } -func (r ApiGetUserRequest) Execute() (*GetUserResponse, *http.Response, error) { +func (r ApiGetUserRequest) Execute() (*GetUserResponse1, *http.Response, error) { return r.ApiService.GetUserExecute(r) } @@ -11556,13 +11060,13 @@ func (a *DefaultAPIService) GetUser(ctx context.Context, id string) ApiGetUserRe } // Execute executes the request -// @return GetUserResponse -func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, *http.Response, error) { +// @return GetUserResponse1 +func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserResponse + localVarReturnValue *GetUserResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUser") @@ -11634,14 +11138,6 @@ func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserRespons body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11669,7 +11165,7 @@ func (r ApiGetUserBadgeRequest) TenantId(tenantId string) ApiGetUserBadgeRequest return r } -func (r ApiGetUserBadgeRequest) Execute() (*APIGetUserBadgeResponse, *http.Response, error) { +func (r ApiGetUserBadgeRequest) Execute() (*GetUserBadgeResponse, *http.Response, error) { return r.ApiService.GetUserBadgeExecute(r) } @@ -11689,13 +11185,13 @@ func (a *DefaultAPIService) GetUserBadge(ctx context.Context, id string) ApiGetU } // Execute executes the request -// @return APIGetUserBadgeResponse -func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*APIGetUserBadgeResponse, *http.Response, error) { +// @return GetUserBadgeResponse +func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*GetUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetUserBadgeResponse + localVarReturnValue *GetUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadge") @@ -11767,14 +11263,6 @@ func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*APIG body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11802,7 +11290,7 @@ func (r ApiGetUserBadgeProgressByIdRequest) TenantId(tenantId string) ApiGetUser return r } -func (r ApiGetUserBadgeProgressByIdRequest) Execute() (*APIGetUserBadgeProgressResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressByIdRequest) Execute() (*GetUserBadgeProgressByIdResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressByIdExecute(r) } @@ -11822,13 +11310,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressById(ctx context.Context, id str } // Execute executes the request -// @return APIGetUserBadgeProgressResponse -func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgeProgressByIdRequest) (*APIGetUserBadgeProgressResponse, *http.Response, error) { +// @return GetUserBadgeProgressByIdResponse +func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgeProgressByIdRequest) (*GetUserBadgeProgressByIdResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetUserBadgeProgressResponse + localVarReturnValue *GetUserBadgeProgressByIdResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressById") @@ -11900,14 +11388,6 @@ func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgePro body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11935,7 +11415,7 @@ func (r ApiGetUserBadgeProgressByUserIdRequest) TenantId(tenantId string) ApiGet return r } -func (r ApiGetUserBadgeProgressByUserIdRequest) Execute() (*APIGetUserBadgeProgressResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressByUserIdRequest) Execute() (*GetUserBadgeProgressByUserIdResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressByUserIdExecute(r) } @@ -11955,13 +11435,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressByUserId(ctx context.Context, us } // Execute executes the request -// @return APIGetUserBadgeProgressResponse -func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadgeProgressByUserIdRequest) (*APIGetUserBadgeProgressResponse, *http.Response, error) { +// @return GetUserBadgeProgressByUserIdResponse +func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadgeProgressByUserIdRequest) (*GetUserBadgeProgressByUserIdResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetUserBadgeProgressResponse + localVarReturnValue *GetUserBadgeProgressByUserIdResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressByUserId") @@ -12033,14 +11513,6 @@ func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadg body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12085,7 +11557,7 @@ func (r ApiGetUserBadgeProgressListRequest) Skip(skip float64) ApiGetUserBadgePr return r } -func (r ApiGetUserBadgeProgressListRequest) Execute() (*APIGetUserBadgeProgressListResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressListRequest) Execute() (*GetUserBadgeProgressListResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressListExecute(r) } @@ -12103,13 +11575,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressList(ctx context.Context) ApiGet } // Execute executes the request -// @return APIGetUserBadgeProgressListResponse -func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgeProgressListRequest) (*APIGetUserBadgeProgressListResponse, *http.Response, error) { +// @return GetUserBadgeProgressListResponse +func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgeProgressListRequest) (*GetUserBadgeProgressListResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetUserBadgeProgressListResponse + localVarReturnValue *GetUserBadgeProgressListResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressList") @@ -12189,14 +11661,6 @@ func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgePro body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12259,7 +11723,7 @@ func (r ApiGetUserBadgesRequest) Skip(skip float64) ApiGetUserBadgesRequest { return r } -func (r ApiGetUserBadgesRequest) Execute() (*APIGetUserBadgesResponse, *http.Response, error) { +func (r ApiGetUserBadgesRequest) Execute() (*GetUserBadgesResponse, *http.Response, error) { return r.ApiService.GetUserBadgesExecute(r) } @@ -12277,13 +11741,13 @@ func (a *DefaultAPIService) GetUserBadges(ctx context.Context) ApiGetUserBadgesR } // Execute executes the request -// @return APIGetUserBadgesResponse -func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*APIGetUserBadgesResponse, *http.Response, error) { +// @return GetUserBadgesResponse +func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*GetUserBadgesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIGetUserBadgesResponse + localVarReturnValue *GetUserBadgesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadges") @@ -12372,14 +11836,6 @@ func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*AP body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12412,7 +11868,7 @@ func (r ApiGetVotesRequest) UrlId(urlId string) ApiGetVotesRequest { return r } -func (r ApiGetVotesRequest) Execute() (*GetVotesResponse, *http.Response, error) { +func (r ApiGetVotesRequest) Execute() (*GetVotesResponse1, *http.Response, error) { return r.ApiService.GetVotesExecute(r) } @@ -12430,13 +11886,13 @@ func (a *DefaultAPIService) GetVotes(ctx context.Context) ApiGetVotesRequest { } // Execute executes the request -// @return GetVotesResponse -func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResponse, *http.Response, error) { +// @return GetVotesResponse1 +func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetVotesResponse + localVarReturnValue *GetVotesResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetVotes") @@ -12511,14 +11967,6 @@ func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResp body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12563,7 +12011,7 @@ func (r ApiGetVotesForUserRequest) AnonUserId(anonUserId string) ApiGetVotesForU return r } -func (r ApiGetVotesForUserRequest) Execute() (*GetVotesForUserResponse, *http.Response, error) { +func (r ApiGetVotesForUserRequest) Execute() (*GetVotesForUserResponse1, *http.Response, error) { return r.ApiService.GetVotesForUserExecute(r) } @@ -12581,13 +12029,13 @@ func (a *DefaultAPIService) GetVotesForUser(ctx context.Context) ApiGetVotesForU } // Execute executes the request -// @return GetVotesForUserResponse -func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) (*GetVotesForUserResponse, *http.Response, error) { +// @return GetVotesForUserResponse1 +func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) (*GetVotesForUserResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetVotesForUserResponse + localVarReturnValue *GetVotesForUserResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetVotesForUser") @@ -12668,14 +12116,6 @@ func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12845,7 +12285,7 @@ func (r ApiPatchHashTagRequest) UpdateHashTagBody(updateHashTagBody UpdateHashTa return r } -func (r ApiPatchHashTagRequest) Execute() (*UpdateHashTagResponse, *http.Response, error) { +func (r ApiPatchHashTagRequest) Execute() (*PatchHashTagResponse, *http.Response, error) { return r.ApiService.PatchHashTagExecute(r) } @@ -12865,13 +12305,13 @@ func (a *DefaultAPIService) PatchHashTag(ctx context.Context, tag string) ApiPat } // Execute executes the request -// @return UpdateHashTagResponse -func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*UpdateHashTagResponse, *http.Response, error) { +// @return PatchHashTagResponse +func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*PatchHashTagResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateHashTagResponse + localVarReturnValue *PatchHashTagResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.PatchHashTag") @@ -12944,14 +12384,6 @@ func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*Upda body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13552,7 +12984,7 @@ func (r ApiRenderEmailTemplateRequest) Locale(locale string) ApiRenderEmailTempl return r } -func (r ApiRenderEmailTemplateRequest) Execute() (*RenderEmailTemplateResponse, *http.Response, error) { +func (r ApiRenderEmailTemplateRequest) Execute() (*RenderEmailTemplateResponse1, *http.Response, error) { return r.ApiService.RenderEmailTemplateExecute(r) } @@ -13570,13 +13002,13 @@ func (a *DefaultAPIService) RenderEmailTemplate(ctx context.Context) ApiRenderEm } // Execute executes the request -// @return RenderEmailTemplateResponse -func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateRequest) (*RenderEmailTemplateResponse, *http.Response, error) { +// @return RenderEmailTemplateResponse1 +func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateRequest) (*RenderEmailTemplateResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RenderEmailTemplateResponse + localVarReturnValue *RenderEmailTemplateResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.RenderEmailTemplate") @@ -13655,14 +13087,6 @@ func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13696,7 +13120,7 @@ func (r ApiReplaceTenantPackageRequest) ReplaceTenantPackageBody(replaceTenantPa return r } -func (r ApiReplaceTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiReplaceTenantPackageRequest) Execute() (*ReplaceTenantPackageResponse, *http.Response, error) { return r.ApiService.ReplaceTenantPackageExecute(r) } @@ -13716,13 +13140,13 @@ func (a *DefaultAPIService) ReplaceTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { +// @return ReplaceTenantPackageResponse +func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackageRequest) (*ReplaceTenantPackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *ReplaceTenantPackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ReplaceTenantPackage") @@ -13799,14 +13223,6 @@ func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackag body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13846,7 +13262,7 @@ func (r ApiReplaceTenantUserRequest) UpdateComments(updateComments string) ApiRe return r } -func (r ApiReplaceTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiReplaceTenantUserRequest) Execute() (*ReplaceTenantUserResponse, *http.Response, error) { return r.ApiService.ReplaceTenantUserExecute(r) } @@ -13866,13 +13282,13 @@ func (a *DefaultAPIService) ReplaceTenantUser(ctx context.Context, id string) Ap } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { +// @return ReplaceTenantUserResponse +func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserRequest) (*ReplaceTenantUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *ReplaceTenantUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ReplaceTenantUser") @@ -13952,14 +13368,6 @@ func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserReque body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14016,7 +13424,7 @@ func (r ApiSaveCommentRequest) PopulateNotifications(populateNotifications bool) return r } -func (r ApiSaveCommentRequest) Execute() (*APISaveCommentResponse, *http.Response, error) { +func (r ApiSaveCommentRequest) Execute() (*SaveCommentResponse, *http.Response, error) { return r.ApiService.SaveCommentExecute(r) } @@ -14034,13 +13442,13 @@ func (a *DefaultAPIService) SaveComment(ctx context.Context) ApiSaveCommentReque } // Execute executes the request -// @return APISaveCommentResponse -func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*APISaveCommentResponse, *http.Response, error) { +// @return SaveCommentResponse +func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*SaveCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APISaveCommentResponse + localVarReturnValue *SaveCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SaveComment") @@ -14128,14 +13536,6 @@ func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*APISav body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14337,7 +13737,7 @@ func (r ApiSendInviteRequest) FromName(fromName string) ApiSendInviteRequest { return r } -func (r ApiSendInviteRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiSendInviteRequest) Execute() (*SendInviteResponse, *http.Response, error) { return r.ApiService.SendInviteExecute(r) } @@ -14357,13 +13757,13 @@ func (a *DefaultAPIService) SendInvite(ctx context.Context, id string) ApiSendIn } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*APIEmptyResponse, *http.Response, error) { +// @return SendInviteResponse +func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*SendInviteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *SendInviteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SendInvite") @@ -14439,14 +13839,6 @@ func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*APIEmpty body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14480,7 +13872,7 @@ func (r ApiSendLoginLinkRequest) RedirectURL(redirectURL string) ApiSendLoginLin return r } -func (r ApiSendLoginLinkRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiSendLoginLinkRequest) Execute() (*SendLoginLinkResponse, *http.Response, error) { return r.ApiService.SendLoginLinkExecute(r) } @@ -14500,13 +13892,13 @@ func (a *DefaultAPIService) SendLoginLink(ctx context.Context, id string) ApiSen } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*APIEmptyResponse, *http.Response, error) { +// @return SendLoginLinkResponse +func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*SendLoginLinkResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *SendLoginLinkResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SendLoginLink") @@ -14581,14 +13973,6 @@ func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*AP body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14634,7 +14018,7 @@ func (r ApiUnBlockUserFromCommentRequest) AnonUserId(anonUserId string) ApiUnBlo return r } -func (r ApiUnBlockUserFromCommentRequest) Execute() (*UnblockSuccess, *http.Response, error) { +func (r ApiUnBlockUserFromCommentRequest) Execute() (*UnBlockUserFromCommentResponse, *http.Response, error) { return r.ApiService.UnBlockUserFromCommentExecute(r) } @@ -14654,13 +14038,13 @@ func (a *DefaultAPIService) UnBlockUserFromComment(ctx context.Context, id strin } // Execute executes the request -// @return UnblockSuccess -func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCommentRequest) (*UnblockSuccess, *http.Response, error) { +// @return UnBlockUserFromCommentResponse +func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCommentRequest) (*UnBlockUserFromCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnblockSuccess + localVarReturnValue *UnBlockUserFromCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UnBlockUserFromComment") @@ -14743,14 +14127,6 @@ func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14790,7 +14166,7 @@ func (r ApiUnFlagCommentRequest) AnonUserId(anonUserId string) ApiUnFlagCommentR return r } -func (r ApiUnFlagCommentRequest) Execute() (*FlagCommentResponse, *http.Response, error) { +func (r ApiUnFlagCommentRequest) Execute() (*UnFlagCommentResponse, *http.Response, error) { return r.ApiService.UnFlagCommentExecute(r) } @@ -14810,13 +14186,13 @@ func (a *DefaultAPIService) UnFlagComment(ctx context.Context, id string) ApiUnF } // Execute executes the request -// @return FlagCommentResponse -func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*FlagCommentResponse, *http.Response, error) { +// @return UnFlagCommentResponse +func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*UnFlagCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *FlagCommentResponse + localVarReturnValue *UnFlagCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UnFlagComment") @@ -14894,14 +14270,6 @@ func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*Fl body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14953,7 +14321,7 @@ func (r ApiUpdateCommentRequest) IsLive(isLive bool) ApiUpdateCommentRequest { return r } -func (r ApiUpdateCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateCommentRequest) Execute() (*UpdateCommentResponse, *http.Response, error) { return r.ApiService.UpdateCommentExecute(r) } @@ -14973,13 +14341,13 @@ func (a *DefaultAPIService) UpdateComment(ctx context.Context, id string) ApiUpd } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateCommentResponse +func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*UpdateCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateComment") @@ -15065,14 +14433,6 @@ func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*AP body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15106,7 +14466,7 @@ func (r ApiUpdateEmailTemplateRequest) UpdateEmailTemplateBody(updateEmailTempla return r } -func (r ApiUpdateEmailTemplateRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateEmailTemplateRequest) Execute() (*UpdateEmailTemplateResponse, *http.Response, error) { return r.ApiService.UpdateEmailTemplateExecute(r) } @@ -15126,13 +14486,13 @@ func (a *DefaultAPIService) UpdateEmailTemplate(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateEmailTemplateResponse +func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateRequest) (*UpdateEmailTemplateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateEmailTemplateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateEmailTemplate") @@ -15209,14 +14569,6 @@ func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15250,7 +14602,7 @@ func (r ApiUpdateFeedPostRequest) FeedPost(feedPost FeedPost) ApiUpdateFeedPostR return r } -func (r ApiUpdateFeedPostRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateFeedPostRequest) Execute() (*UpdateFeedPostResponse, *http.Response, error) { return r.ApiService.UpdateFeedPostExecute(r) } @@ -15270,13 +14622,13 @@ func (a *DefaultAPIService) UpdateFeedPost(ctx context.Context, id string) ApiUp } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateFeedPostResponse +func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (*UpdateFeedPostResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateFeedPostResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateFeedPost") @@ -15353,14 +14705,6 @@ func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15394,7 +14738,7 @@ func (r ApiUpdateModeratorRequest) UpdateModeratorBody(updateModeratorBody Updat return r } -func (r ApiUpdateModeratorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateModeratorRequest) Execute() (*UpdateModeratorResponse, *http.Response, error) { return r.ApiService.UpdateModeratorExecute(r) } @@ -15414,13 +14758,13 @@ func (a *DefaultAPIService) UpdateModerator(ctx context.Context, id string) ApiU } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateModeratorResponse +func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) (*UpdateModeratorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateModeratorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateModerator") @@ -15497,14 +14841,6 @@ func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15544,7 +14880,7 @@ func (r ApiUpdateNotificationRequest) UserId(userId string) ApiUpdateNotificatio return r } -func (r ApiUpdateNotificationRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateNotificationRequest) Execute() (*UpdateNotificationResponse, *http.Response, error) { return r.ApiService.UpdateNotificationExecute(r) } @@ -15564,13 +14900,13 @@ func (a *DefaultAPIService) UpdateNotification(ctx context.Context, id string) A } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateNotificationResponse +func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*UpdateNotificationResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateNotificationResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateNotification") @@ -15650,14 +14986,6 @@ func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationReq body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15691,7 +15019,7 @@ func (r ApiUpdateQuestionConfigRequest) UpdateQuestionConfigBody(updateQuestionC return r } -func (r ApiUpdateQuestionConfigRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateQuestionConfigRequest) Execute() (*UpdateQuestionConfigResponse, *http.Response, error) { return r.ApiService.UpdateQuestionConfigExecute(r) } @@ -15711,13 +15039,13 @@ func (a *DefaultAPIService) UpdateQuestionConfig(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfigRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateQuestionConfigResponse +func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfigRequest) (*UpdateQuestionConfigResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateQuestionConfigResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateQuestionConfig") @@ -15794,14 +15122,6 @@ func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15835,7 +15155,7 @@ func (r ApiUpdateQuestionResultRequest) UpdateQuestionResultBody(updateQuestionR return r } -func (r ApiUpdateQuestionResultRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateQuestionResultRequest) Execute() (*UpdateQuestionResultResponse, *http.Response, error) { return r.ApiService.UpdateQuestionResultExecute(r) } @@ -15855,13 +15175,13 @@ func (a *DefaultAPIService) UpdateQuestionResult(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResultRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateQuestionResultResponse +func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResultRequest) (*UpdateQuestionResultResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateQuestionResultResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateQuestionResult") @@ -15938,14 +15258,6 @@ func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -16124,7 +15436,7 @@ func (r ApiUpdateTenantRequest) UpdateTenantBody(updateTenantBody UpdateTenantBo return r } -func (r ApiUpdateTenantRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateTenantRequest) Execute() (*UpdateTenantResponse, *http.Response, error) { return r.ApiService.UpdateTenantExecute(r) } @@ -16144,13 +15456,13 @@ func (a *DefaultAPIService) UpdateTenant(ctx context.Context, id string) ApiUpda } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateTenantResponse +func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*UpdateTenantResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateTenantResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenant") @@ -16227,14 +15539,6 @@ func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*APIE body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -16268,7 +15572,7 @@ func (r ApiUpdateTenantPackageRequest) UpdateTenantPackageBody(updateTenantPacka return r } -func (r ApiUpdateTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateTenantPackageRequest) Execute() (*UpdateTenantPackageResponse, *http.Response, error) { return r.ApiService.UpdateTenantPackageExecute(r) } @@ -16288,13 +15592,13 @@ func (a *DefaultAPIService) UpdateTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateTenantPackageResponse +func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageRequest) (*UpdateTenantPackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateTenantPackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenantPackage") @@ -16371,14 +15675,6 @@ func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -16418,7 +15714,7 @@ func (r ApiUpdateTenantUserRequest) UpdateComments(updateComments string) ApiUpd return r } -func (r ApiUpdateTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUpdateTenantUserRequest) Execute() (*UpdateTenantUserResponse, *http.Response, error) { return r.ApiService.UpdateTenantUserExecute(r) } @@ -16438,13 +15734,13 @@ func (a *DefaultAPIService) UpdateTenantUser(ctx context.Context, id string) Api } // Execute executes the request -// @return APIEmptyResponse -func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UpdateTenantUserResponse +func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest) (*UpdateTenantUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UpdateTenantUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenantUser") @@ -16524,14 +15820,6 @@ func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -16565,7 +15853,7 @@ func (r ApiUpdateUserBadgeRequest) UpdateUserBadgeParams(updateUserBadgeParams U return r } -func (r ApiUpdateUserBadgeRequest) Execute() (*APIEmptySuccessResponse, *http.Response, error) { +func (r ApiUpdateUserBadgeRequest) Execute() (*UpdateUserBadgeResponse, *http.Response, error) { return r.ApiService.UpdateUserBadgeExecute(r) } @@ -16585,13 +15873,13 @@ func (a *DefaultAPIService) UpdateUserBadge(ctx context.Context, id string) ApiU } // Execute executes the request -// @return APIEmptySuccessResponse -func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) (*APIEmptySuccessResponse, *http.Response, error) { +// @return UpdateUserBadgeResponse +func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) (*UpdateUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptySuccessResponse + localVarReturnValue *UpdateUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateUserBadge") @@ -16668,14 +15956,6 @@ func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/api_moderation.go b/client/api_moderation.go index fa791cd..ac97cb1 100644 --- a/client/api_moderation.go +++ b/client/api_moderation.go @@ -28,15 +28,27 @@ type ApiDeleteModerationVoteRequest struct { ApiService *ModerationAPIService commentId string voteId string + broadcastId *string + tenantId *string sso *string } +func (r ApiDeleteModerationVoteRequest) BroadcastId(broadcastId string) ApiDeleteModerationVoteRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiDeleteModerationVoteRequest) TenantId(tenantId string) ApiDeleteModerationVoteRequest { + r.tenantId = &tenantId + return r +} + func (r ApiDeleteModerationVoteRequest) Sso(sso string) ApiDeleteModerationVoteRequest { r.sso = &sso return r } -func (r ApiDeleteModerationVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { +func (r ApiDeleteModerationVoteRequest) Execute() (*DeleteModerationVoteResponse, *http.Response, error) { return r.ApiService.DeleteModerationVoteExecute(r) } @@ -58,13 +70,13 @@ func (a *ModerationAPIService) DeleteModerationVote(ctx context.Context, comment } // Execute executes the request -// @return VoteDeleteResponse -func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModerationVoteRequest) (*VoteDeleteResponse, *http.Response, error) { +// @return DeleteModerationVoteResponse +func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModerationVoteRequest) (*DeleteModerationVoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteDeleteResponse + localVarReturnValue *DeleteModerationVoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.DeleteModerationVote") @@ -80,6 +92,12 @@ func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModeration localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -122,14 +140,6 @@ func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModeration body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -156,6 +166,7 @@ type ApiGetApiCommentsRequest struct { searchFilters *string sorts *string demo *bool + tenantId *string sso *string } @@ -199,12 +210,17 @@ func (r ApiGetApiCommentsRequest) Demo(demo bool) ApiGetApiCommentsRequest { return r } +func (r ApiGetApiCommentsRequest) TenantId(tenantId string) ApiGetApiCommentsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetApiCommentsRequest) Sso(sso string) ApiGetApiCommentsRequest { r.sso = &sso return r } -func (r ApiGetApiCommentsRequest) Execute() (*ModerationAPIGetCommentsResponse, *http.Response, error) { +func (r ApiGetApiCommentsRequest) Execute() (*GetApiCommentsResponse, *http.Response, error) { return r.ApiService.GetApiCommentsExecute(r) } @@ -222,13 +238,13 @@ func (a *ModerationAPIService) GetApiComments(ctx context.Context) ApiGetApiComm } // Execute executes the request -// @return ModerationAPIGetCommentsResponse -func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) (*ModerationAPIGetCommentsResponse, *http.Response, error) { +// @return GetApiCommentsResponse +func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) (*GetApiCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPIGetCommentsResponse + localVarReturnValue *GetApiCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiComments") @@ -266,6 +282,9 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -308,14 +327,6 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -335,6 +346,7 @@ type ApiGetApiExportStatusRequest struct { ctx context.Context ApiService *ModerationAPIService batchJobId *string + tenantId *string sso *string } @@ -343,12 +355,17 @@ func (r ApiGetApiExportStatusRequest) BatchJobId(batchJobId string) ApiGetApiExp return r } +func (r ApiGetApiExportStatusRequest) TenantId(tenantId string) ApiGetApiExportStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetApiExportStatusRequest) Sso(sso string) ApiGetApiExportStatusRequest { r.sso = &sso return r } -func (r ApiGetApiExportStatusRequest) Execute() (*ModerationExportStatusResponse, *http.Response, error) { +func (r ApiGetApiExportStatusRequest) Execute() (*GetApiExportStatusResponse, *http.Response, error) { return r.ApiService.GetApiExportStatusExecute(r) } @@ -366,13 +383,13 @@ func (a *ModerationAPIService) GetApiExportStatus(ctx context.Context) ApiGetApi } // Execute executes the request -// @return ModerationExportStatusResponse -func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatusRequest) (*ModerationExportStatusResponse, *http.Response, error) { +// @return GetApiExportStatusResponse +func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatusRequest) (*GetApiExportStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationExportStatusResponse + localVarReturnValue *GetApiExportStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiExportStatus") @@ -389,6 +406,9 @@ func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatus if r.batchJobId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "batchJobId", r.batchJobId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -431,14 +451,6 @@ func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatus body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -463,6 +475,7 @@ type ApiGetApiIdsRequest struct { searchFilters *string afterId *string demo *bool + tenantId *string sso *string } @@ -496,12 +509,17 @@ func (r ApiGetApiIdsRequest) Demo(demo bool) ApiGetApiIdsRequest { return r } +func (r ApiGetApiIdsRequest) TenantId(tenantId string) ApiGetApiIdsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetApiIdsRequest) Sso(sso string) ApiGetApiIdsRequest { r.sso = &sso return r } -func (r ApiGetApiIdsRequest) Execute() (*ModerationAPIGetCommentIdsResponse, *http.Response, error) { +func (r ApiGetApiIdsRequest) Execute() (*GetApiIdsResponse, *http.Response, error) { return r.ApiService.GetApiIdsExecute(r) } @@ -519,13 +537,13 @@ func (a *ModerationAPIService) GetApiIds(ctx context.Context) ApiGetApiIdsReques } // Execute executes the request -// @return ModerationAPIGetCommentIdsResponse -func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*ModerationAPIGetCommentIdsResponse, *http.Response, error) { +// @return GetApiIdsResponse +func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*GetApiIdsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPIGetCommentIdsResponse + localVarReturnValue *GetApiIdsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiIds") @@ -557,6 +575,9 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*Moderat if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -599,14 +620,6 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*Moderat body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -626,15 +639,21 @@ type ApiGetBanUsersFromCommentRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + tenantId *string sso *string } +func (r ApiGetBanUsersFromCommentRequest) TenantId(tenantId string) ApiGetBanUsersFromCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetBanUsersFromCommentRequest) Sso(sso string) ApiGetBanUsersFromCommentRequest { r.sso = &sso return r } -func (r ApiGetBanUsersFromCommentRequest) Execute() (*GetBannedUsersFromCommentResponse, *http.Response, error) { +func (r ApiGetBanUsersFromCommentRequest) Execute() (*GetBanUsersFromCommentResponse, *http.Response, error) { return r.ApiService.GetBanUsersFromCommentExecute(r) } @@ -654,13 +673,13 @@ func (a *ModerationAPIService) GetBanUsersFromComment(ctx context.Context, comme } // Execute executes the request -// @return GetBannedUsersFromCommentResponse -func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFromCommentRequest) (*GetBannedUsersFromCommentResponse, *http.Response, error) { +// @return GetBanUsersFromCommentResponse +func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFromCommentRequest) (*GetBanUsersFromCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetBannedUsersFromCommentResponse + localVarReturnValue *GetBanUsersFromCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetBanUsersFromComment") @@ -675,6 +694,9 @@ func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFro localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -717,14 +739,6 @@ func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFro body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -744,15 +758,21 @@ type ApiGetCommentBanStatusRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + tenantId *string sso *string } +func (r ApiGetCommentBanStatusRequest) TenantId(tenantId string) ApiGetCommentBanStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetCommentBanStatusRequest) Sso(sso string) ApiGetCommentBanStatusRequest { r.sso = &sso return r } -func (r ApiGetCommentBanStatusRequest) Execute() (*GetCommentBanStatusResponse, *http.Response, error) { +func (r ApiGetCommentBanStatusRequest) Execute() (*GetCommentBanStatusResponse1, *http.Response, error) { return r.ApiService.GetCommentBanStatusExecute(r) } @@ -772,13 +792,13 @@ func (a *ModerationAPIService) GetCommentBanStatus(ctx context.Context, commentI } // Execute executes the request -// @return GetCommentBanStatusResponse -func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStatusRequest) (*GetCommentBanStatusResponse, *http.Response, error) { +// @return GetCommentBanStatusResponse1 +func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStatusRequest) (*GetCommentBanStatusResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentBanStatusResponse + localVarReturnValue *GetCommentBanStatusResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCommentBanStatus") @@ -793,6 +813,9 @@ func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStat localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -835,14 +858,6 @@ func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStat body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -862,15 +877,21 @@ type ApiGetCommentChildrenRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + tenantId *string sso *string } +func (r ApiGetCommentChildrenRequest) TenantId(tenantId string) ApiGetCommentChildrenRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetCommentChildrenRequest) Sso(sso string) ApiGetCommentChildrenRequest { r.sso = &sso return r } -func (r ApiGetCommentChildrenRequest) Execute() (*ModerationAPIChildCommentsResponse, *http.Response, error) { +func (r ApiGetCommentChildrenRequest) Execute() (*GetCommentChildrenResponse, *http.Response, error) { return r.ApiService.GetCommentChildrenExecute(r) } @@ -890,13 +911,13 @@ func (a *ModerationAPIService) GetCommentChildren(ctx context.Context, commentId } // Execute executes the request -// @return ModerationAPIChildCommentsResponse -func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildrenRequest) (*ModerationAPIChildCommentsResponse, *http.Response, error) { +// @return GetCommentChildrenResponse +func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildrenRequest) (*GetCommentChildrenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPIChildCommentsResponse + localVarReturnValue *GetCommentChildrenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCommentChildren") @@ -911,6 +932,9 @@ func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildren localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -953,14 +977,6 @@ func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildren body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -984,6 +1000,7 @@ type ApiGetCountRequest struct { filter *string searchFilters *string demo *bool + tenantId *string sso *string } @@ -1012,12 +1029,17 @@ func (r ApiGetCountRequest) Demo(demo bool) ApiGetCountRequest { return r } +func (r ApiGetCountRequest) TenantId(tenantId string) ApiGetCountRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetCountRequest) Sso(sso string) ApiGetCountRequest { r.sso = &sso return r } -func (r ApiGetCountRequest) Execute() (*ModerationAPICountCommentsResponse, *http.Response, error) { +func (r ApiGetCountRequest) Execute() (*GetCountResponse, *http.Response, error) { return r.ApiService.GetCountExecute(r) } @@ -1035,13 +1057,13 @@ func (a *ModerationAPIService) GetCount(ctx context.Context) ApiGetCountRequest } // Execute executes the request -// @return ModerationAPICountCommentsResponse -func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*ModerationAPICountCommentsResponse, *http.Response, error) { +// @return GetCountResponse +func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*GetCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPICountCommentsResponse + localVarReturnValue *GetCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCount") @@ -1070,6 +1092,9 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*Moderatio if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1112,14 +1137,6 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*Moderatio body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1138,15 +1155,21 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*Moderatio type ApiGetCountsRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string sso *string } +func (r ApiGetCountsRequest) TenantId(tenantId string) ApiGetCountsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetCountsRequest) Sso(sso string) ApiGetCountsRequest { r.sso = &sso return r } -func (r ApiGetCountsRequest) Execute() (*GetBannedUsersCountResponse, *http.Response, error) { +func (r ApiGetCountsRequest) Execute() (*GetCountsResponse, *http.Response, error) { return r.ApiService.GetCountsExecute(r) } @@ -1164,13 +1187,13 @@ func (a *ModerationAPIService) GetCounts(ctx context.Context) ApiGetCountsReques } // Execute executes the request -// @return GetBannedUsersCountResponse -func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBannedUsersCountResponse, *http.Response, error) { +// @return GetCountsResponse +func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetCountsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetBannedUsersCountResponse + localVarReturnValue *GetCountsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCounts") @@ -1184,6 +1207,9 @@ func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBann localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1226,14 +1252,6 @@ func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBann body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1253,15 +1271,21 @@ type ApiGetLogsRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + tenantId *string sso *string } +func (r ApiGetLogsRequest) TenantId(tenantId string) ApiGetLogsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetLogsRequest) Sso(sso string) ApiGetLogsRequest { r.sso = &sso return r } -func (r ApiGetLogsRequest) Execute() (*ModerationAPIGetLogsResponse, *http.Response, error) { +func (r ApiGetLogsRequest) Execute() (*GetLogsResponse, *http.Response, error) { return r.ApiService.GetLogsExecute(r) } @@ -1281,13 +1305,13 @@ func (a *ModerationAPIService) GetLogs(ctx context.Context, commentId string) Ap } // Execute executes the request -// @return ModerationAPIGetLogsResponse -func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationAPIGetLogsResponse, *http.Response, error) { +// @return GetLogsResponse +func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPIGetLogsResponse + localVarReturnValue *GetLogsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetLogs") @@ -1302,6 +1326,9 @@ func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationA localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1344,14 +1371,6 @@ func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationA body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1370,15 +1389,21 @@ func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationA type ApiGetManualBadgesRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string sso *string } +func (r ApiGetManualBadgesRequest) TenantId(tenantId string) ApiGetManualBadgesRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetManualBadgesRequest) Sso(sso string) ApiGetManualBadgesRequest { r.sso = &sso return r } -func (r ApiGetManualBadgesRequest) Execute() (*GetTenantManualBadgesResponse, *http.Response, error) { +func (r ApiGetManualBadgesRequest) Execute() (*GetManualBadgesResponse, *http.Response, error) { return r.ApiService.GetManualBadgesExecute(r) } @@ -1396,13 +1421,13 @@ func (a *ModerationAPIService) GetManualBadges(ctx context.Context) ApiGetManual } // Execute executes the request -// @return GetTenantManualBadgesResponse -func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesRequest) (*GetTenantManualBadgesResponse, *http.Response, error) { +// @return GetManualBadgesResponse +func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesRequest) (*GetManualBadgesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantManualBadgesResponse + localVarReturnValue *GetManualBadgesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetManualBadges") @@ -1416,6 +1441,9 @@ func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1458,14 +1486,6 @@ func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1486,6 +1506,7 @@ type ApiGetManualBadgesForUserRequest struct { ApiService *ModerationAPIService badgesUserId *string commentId *string + tenantId *string sso *string } @@ -1499,12 +1520,17 @@ func (r ApiGetManualBadgesForUserRequest) CommentId(commentId string) ApiGetManu return r } +func (r ApiGetManualBadgesForUserRequest) TenantId(tenantId string) ApiGetManualBadgesForUserRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetManualBadgesForUserRequest) Sso(sso string) ApiGetManualBadgesForUserRequest { r.sso = &sso return r } -func (r ApiGetManualBadgesForUserRequest) Execute() (*GetUserManualBadgesResponse, *http.Response, error) { +func (r ApiGetManualBadgesForUserRequest) Execute() (*GetManualBadgesForUserResponse, *http.Response, error) { return r.ApiService.GetManualBadgesForUserExecute(r) } @@ -1522,13 +1548,13 @@ func (a *ModerationAPIService) GetManualBadgesForUser(ctx context.Context) ApiGe } // Execute executes the request -// @return GetUserManualBadgesResponse -func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadgesForUserRequest) (*GetUserManualBadgesResponse, *http.Response, error) { +// @return GetManualBadgesForUserResponse +func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadgesForUserRequest) (*GetManualBadgesForUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserManualBadgesResponse + localVarReturnValue *GetManualBadgesForUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetManualBadgesForUser") @@ -1548,6 +1574,9 @@ func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadge if r.commentId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "commentId", r.commentId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1590,14 +1619,6 @@ func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadge body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1619,6 +1640,7 @@ type ApiGetModerationCommentRequest struct { commentId string includeEmail *bool includeIP *bool + tenantId *string sso *string } @@ -1632,12 +1654,17 @@ func (r ApiGetModerationCommentRequest) IncludeIP(includeIP bool) ApiGetModerati return r } +func (r ApiGetModerationCommentRequest) TenantId(tenantId string) ApiGetModerationCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetModerationCommentRequest) Sso(sso string) ApiGetModerationCommentRequest { r.sso = &sso return r } -func (r ApiGetModerationCommentRequest) Execute() (*ModerationAPICommentResponse, *http.Response, error) { +func (r ApiGetModerationCommentRequest) Execute() (*GetModerationCommentResponse, *http.Response, error) { return r.ApiService.GetModerationCommentExecute(r) } @@ -1657,13 +1684,13 @@ func (a *ModerationAPIService) GetModerationComment(ctx context.Context, comment } // Execute executes the request -// @return ModerationAPICommentResponse -func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCommentRequest) (*ModerationAPICommentResponse, *http.Response, error) { +// @return GetModerationCommentResponse +func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCommentRequest) (*GetModerationCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPICommentResponse + localVarReturnValue *GetModerationCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetModerationComment") @@ -1684,6 +1711,9 @@ func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCom if r.includeIP != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeIP", r.includeIP, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1726,14 +1756,6 @@ func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCom body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1753,15 +1775,21 @@ type ApiGetModerationCommentTextRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + tenantId *string sso *string } +func (r ApiGetModerationCommentTextRequest) TenantId(tenantId string) ApiGetModerationCommentTextRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetModerationCommentTextRequest) Sso(sso string) ApiGetModerationCommentTextRequest { r.sso = &sso return r } -func (r ApiGetModerationCommentTextRequest) Execute() (*GetCommentTextResponse, *http.Response, error) { +func (r ApiGetModerationCommentTextRequest) Execute() (*GetModerationCommentTextResponse, *http.Response, error) { return r.ApiService.GetModerationCommentTextExecute(r) } @@ -1781,13 +1809,13 @@ func (a *ModerationAPIService) GetModerationCommentText(ctx context.Context, com } // Execute executes the request -// @return GetCommentTextResponse -func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModerationCommentTextRequest) (*GetCommentTextResponse, *http.Response, error) { +// @return GetModerationCommentTextResponse +func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModerationCommentTextRequest) (*GetModerationCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentTextResponse + localVarReturnValue *GetModerationCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetModerationCommentText") @@ -1802,6 +1830,9 @@ func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModeratio localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1844,14 +1875,6 @@ func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModeratio body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1874,6 +1897,7 @@ type ApiGetPreBanSummaryRequest struct { includeByUserIdAndEmail *bool includeByIP *bool includeByEmailDomain *bool + tenantId *string sso *string } @@ -1892,12 +1916,17 @@ func (r ApiGetPreBanSummaryRequest) IncludeByEmailDomain(includeByEmailDomain bo return r } +func (r ApiGetPreBanSummaryRequest) TenantId(tenantId string) ApiGetPreBanSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetPreBanSummaryRequest) Sso(sso string) ApiGetPreBanSummaryRequest { r.sso = &sso return r } -func (r ApiGetPreBanSummaryRequest) Execute() (*PreBanSummary, *http.Response, error) { +func (r ApiGetPreBanSummaryRequest) Execute() (*GetPreBanSummaryResponse, *http.Response, error) { return r.ApiService.GetPreBanSummaryExecute(r) } @@ -1917,13 +1946,13 @@ func (a *ModerationAPIService) GetPreBanSummary(ctx context.Context, commentId s } // Execute executes the request -// @return PreBanSummary -func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequest) (*PreBanSummary, *http.Response, error) { +// @return GetPreBanSummaryResponse +func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequest) (*GetPreBanSummaryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PreBanSummary + localVarReturnValue *GetPreBanSummaryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetPreBanSummary") @@ -1947,6 +1976,9 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ if r.includeByEmailDomain != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByEmailDomain", r.includeByEmailDomain, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1989,14 +2021,6 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2018,6 +2042,7 @@ type ApiGetSearchCommentsSummaryRequest struct { value *string filters *string searchFilters *string + tenantId *string sso *string } @@ -2036,12 +2061,17 @@ func (r ApiGetSearchCommentsSummaryRequest) SearchFilters(searchFilters string) return r } +func (r ApiGetSearchCommentsSummaryRequest) TenantId(tenantId string) ApiGetSearchCommentsSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchCommentsSummaryRequest) Sso(sso string) ApiGetSearchCommentsSummaryRequest { r.sso = &sso return r } -func (r ApiGetSearchCommentsSummaryRequest) Execute() (*ModerationCommentSearchResponse, *http.Response, error) { +func (r ApiGetSearchCommentsSummaryRequest) Execute() (*GetSearchCommentsSummaryResponse, *http.Response, error) { return r.ApiService.GetSearchCommentsSummaryExecute(r) } @@ -2059,13 +2089,13 @@ func (a *ModerationAPIService) GetSearchCommentsSummary(ctx context.Context) Api } // Execute executes the request -// @return ModerationCommentSearchResponse -func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCommentsSummaryRequest) (*ModerationCommentSearchResponse, *http.Response, error) { +// @return GetSearchCommentsSummaryResponse +func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCommentsSummaryRequest) (*GetSearchCommentsSummaryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationCommentSearchResponse + localVarReturnValue *GetSearchCommentsSummaryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchCommentsSummary") @@ -2088,6 +2118,9 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom if r.searchFilters != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "searchFilters", r.searchFilters, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2130,14 +2163,6 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2157,6 +2182,7 @@ type ApiGetSearchPagesRequest struct { ctx context.Context ApiService *ModerationAPIService value *string + tenantId *string sso *string } @@ -2165,12 +2191,17 @@ func (r ApiGetSearchPagesRequest) Value(value string) ApiGetSearchPagesRequest { return r } +func (r ApiGetSearchPagesRequest) TenantId(tenantId string) ApiGetSearchPagesRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchPagesRequest) Sso(sso string) ApiGetSearchPagesRequest { r.sso = &sso return r } -func (r ApiGetSearchPagesRequest) Execute() (*ModerationPageSearchResponse, *http.Response, error) { +func (r ApiGetSearchPagesRequest) Execute() (*GetSearchPagesResponse, *http.Response, error) { return r.ApiService.GetSearchPagesExecute(r) } @@ -2188,13 +2219,13 @@ func (a *ModerationAPIService) GetSearchPages(ctx context.Context) ApiGetSearchP } // Execute executes the request -// @return ModerationPageSearchResponse -func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) (*ModerationPageSearchResponse, *http.Response, error) { +// @return GetSearchPagesResponse +func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) (*GetSearchPagesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationPageSearchResponse + localVarReturnValue *GetSearchPagesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchPages") @@ -2211,6 +2242,9 @@ func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2253,14 +2287,6 @@ func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2280,6 +2306,7 @@ type ApiGetSearchSitesRequest struct { ctx context.Context ApiService *ModerationAPIService value *string + tenantId *string sso *string } @@ -2288,12 +2315,17 @@ func (r ApiGetSearchSitesRequest) Value(value string) ApiGetSearchSitesRequest { return r } +func (r ApiGetSearchSitesRequest) TenantId(tenantId string) ApiGetSearchSitesRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchSitesRequest) Sso(sso string) ApiGetSearchSitesRequest { r.sso = &sso return r } -func (r ApiGetSearchSitesRequest) Execute() (*ModerationSiteSearchResponse, *http.Response, error) { +func (r ApiGetSearchSitesRequest) Execute() (*GetSearchSitesResponse, *http.Response, error) { return r.ApiService.GetSearchSitesExecute(r) } @@ -2311,13 +2343,13 @@ func (a *ModerationAPIService) GetSearchSites(ctx context.Context) ApiGetSearchS } // Execute executes the request -// @return ModerationSiteSearchResponse -func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) (*ModerationSiteSearchResponse, *http.Response, error) { +// @return GetSearchSitesResponse +func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) (*GetSearchSitesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationSiteSearchResponse + localVarReturnValue *GetSearchSitesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchSites") @@ -2334,6 +2366,9 @@ func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2376,14 +2411,6 @@ func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2403,6 +2430,7 @@ type ApiGetSearchSuggestRequest struct { ctx context.Context ApiService *ModerationAPIService textSearch *string + tenantId *string sso *string } @@ -2411,12 +2439,17 @@ func (r ApiGetSearchSuggestRequest) TextSearch(textSearch string) ApiGetSearchSu return r } +func (r ApiGetSearchSuggestRequest) TenantId(tenantId string) ApiGetSearchSuggestRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchSuggestRequest) Sso(sso string) ApiGetSearchSuggestRequest { r.sso = &sso return r } -func (r ApiGetSearchSuggestRequest) Execute() (*ModerationSuggestResponse, *http.Response, error) { +func (r ApiGetSearchSuggestRequest) Execute() (*GetSearchSuggestResponse, *http.Response, error) { return r.ApiService.GetSearchSuggestExecute(r) } @@ -2434,13 +2467,13 @@ func (a *ModerationAPIService) GetSearchSuggest(ctx context.Context) ApiGetSearc } // Execute executes the request -// @return ModerationSuggestResponse -func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequest) (*ModerationSuggestResponse, *http.Response, error) { +// @return GetSearchSuggestResponse +func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequest) (*GetSearchSuggestResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationSuggestResponse + localVarReturnValue *GetSearchSuggestResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchSuggest") @@ -2457,6 +2490,9 @@ func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequ if r.textSearch != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "text-search", r.textSearch, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2499,14 +2535,6 @@ func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequ body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2526,6 +2554,7 @@ type ApiGetSearchUsersRequest struct { ctx context.Context ApiService *ModerationAPIService value *string + tenantId *string sso *string } @@ -2534,12 +2563,17 @@ func (r ApiGetSearchUsersRequest) Value(value string) ApiGetSearchUsersRequest { return r } +func (r ApiGetSearchUsersRequest) TenantId(tenantId string) ApiGetSearchUsersRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchUsersRequest) Sso(sso string) ApiGetSearchUsersRequest { r.sso = &sso return r } -func (r ApiGetSearchUsersRequest) Execute() (*ModerationUserSearchResponse, *http.Response, error) { +func (r ApiGetSearchUsersRequest) Execute() (*GetSearchUsersResponse, *http.Response, error) { return r.ApiService.GetSearchUsersExecute(r) } @@ -2557,13 +2591,13 @@ func (a *ModerationAPIService) GetSearchUsers(ctx context.Context) ApiGetSearchU } // Execute executes the request -// @return ModerationUserSearchResponse -func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*ModerationUserSearchResponse, *http.Response, error) { +// @return GetSearchUsersResponse +func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*GetSearchUsersResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationUserSearchResponse + localVarReturnValue *GetSearchUsersResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchUsers") @@ -2580,6 +2614,9 @@ func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2622,14 +2659,6 @@ func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2649,6 +2678,7 @@ type ApiGetTrustFactorRequest struct { ctx context.Context ApiService *ModerationAPIService userId *string + tenantId *string sso *string } @@ -2657,12 +2687,17 @@ func (r ApiGetTrustFactorRequest) UserId(userId string) ApiGetTrustFactorRequest return r } +func (r ApiGetTrustFactorRequest) TenantId(tenantId string) ApiGetTrustFactorRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetTrustFactorRequest) Sso(sso string) ApiGetTrustFactorRequest { r.sso = &sso return r } -func (r ApiGetTrustFactorRequest) Execute() (*GetUserTrustFactorResponse, *http.Response, error) { +func (r ApiGetTrustFactorRequest) Execute() (*GetTrustFactorResponse, *http.Response, error) { return r.ApiService.GetTrustFactorExecute(r) } @@ -2680,13 +2715,13 @@ func (a *ModerationAPIService) GetTrustFactor(ctx context.Context) ApiGetTrustFa } // Execute executes the request -// @return GetUserTrustFactorResponse -func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) (*GetUserTrustFactorResponse, *http.Response, error) { +// @return GetTrustFactorResponse +func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) (*GetTrustFactorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserTrustFactorResponse + localVarReturnValue *GetTrustFactorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetTrustFactor") @@ -2703,6 +2738,9 @@ func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) if r.userId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "userId", r.userId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2745,14 +2783,6 @@ func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2771,15 +2801,21 @@ func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) type ApiGetUserBanPreferenceRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string sso *string } +func (r ApiGetUserBanPreferenceRequest) TenantId(tenantId string) ApiGetUserBanPreferenceRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetUserBanPreferenceRequest) Sso(sso string) ApiGetUserBanPreferenceRequest { r.sso = &sso return r } -func (r ApiGetUserBanPreferenceRequest) Execute() (*APIModerateGetUserBanPreferencesResponse, *http.Response, error) { +func (r ApiGetUserBanPreferenceRequest) Execute() (*GetUserBanPreferenceResponse, *http.Response, error) { return r.ApiService.GetUserBanPreferenceExecute(r) } @@ -2797,13 +2833,13 @@ func (a *ModerationAPIService) GetUserBanPreference(ctx context.Context) ApiGetU } // Execute executes the request -// @return APIModerateGetUserBanPreferencesResponse -func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPreferenceRequest) (*APIModerateGetUserBanPreferencesResponse, *http.Response, error) { +// @return GetUserBanPreferenceResponse +func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPreferenceRequest) (*GetUserBanPreferenceResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIModerateGetUserBanPreferencesResponse + localVarReturnValue *GetUserBanPreferenceResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetUserBanPreference") @@ -2817,6 +2853,9 @@ func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPrefer localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2859,14 +2898,6 @@ func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPrefer body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2886,6 +2917,7 @@ type ApiGetUserInternalProfileRequest struct { ctx context.Context ApiService *ModerationAPIService commentId *string + tenantId *string sso *string } @@ -2894,12 +2926,17 @@ func (r ApiGetUserInternalProfileRequest) CommentId(commentId string) ApiGetUser return r } +func (r ApiGetUserInternalProfileRequest) TenantId(tenantId string) ApiGetUserInternalProfileRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetUserInternalProfileRequest) Sso(sso string) ApiGetUserInternalProfileRequest { r.sso = &sso return r } -func (r ApiGetUserInternalProfileRequest) Execute() (*GetUserInternalProfileResponse, *http.Response, error) { +func (r ApiGetUserInternalProfileRequest) Execute() (*GetUserInternalProfileResponse1, *http.Response, error) { return r.ApiService.GetUserInternalProfileExecute(r) } @@ -2917,13 +2954,13 @@ func (a *ModerationAPIService) GetUserInternalProfile(ctx context.Context) ApiGe } // Execute executes the request -// @return GetUserInternalProfileResponse -func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInternalProfileRequest) (*GetUserInternalProfileResponse, *http.Response, error) { +// @return GetUserInternalProfileResponse1 +func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInternalProfileRequest) (*GetUserInternalProfileResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserInternalProfileResponse + localVarReturnValue *GetUserInternalProfileResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetUserInternalProfile") @@ -2940,6 +2977,9 @@ func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInterna if r.commentId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "commentId", r.commentId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2982,14 +3022,6 @@ func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInterna body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3010,6 +3042,8 @@ type ApiPostAdjustCommentVotesRequest struct { ApiService *ModerationAPIService commentId string adjustCommentVotesParams *AdjustCommentVotesParams + broadcastId *string + tenantId *string sso *string } @@ -3018,12 +3052,22 @@ func (r ApiPostAdjustCommentVotesRequest) AdjustCommentVotesParams(adjustComment return r } +func (r ApiPostAdjustCommentVotesRequest) BroadcastId(broadcastId string) ApiPostAdjustCommentVotesRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostAdjustCommentVotesRequest) TenantId(tenantId string) ApiPostAdjustCommentVotesRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostAdjustCommentVotesRequest) Sso(sso string) ApiPostAdjustCommentVotesRequest { r.sso = &sso return r } -func (r ApiPostAdjustCommentVotesRequest) Execute() (*AdjustVotesResponse, *http.Response, error) { +func (r ApiPostAdjustCommentVotesRequest) Execute() (*PostAdjustCommentVotesResponse, *http.Response, error) { return r.ApiService.PostAdjustCommentVotesExecute(r) } @@ -3043,13 +3087,13 @@ func (a *ModerationAPIService) PostAdjustCommentVotes(ctx context.Context, comme } // Execute executes the request -// @return AdjustVotesResponse -func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustCommentVotesRequest) (*AdjustVotesResponse, *http.Response, error) { +// @return PostAdjustCommentVotesResponse +func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustCommentVotesRequest) (*PostAdjustCommentVotesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AdjustVotesResponse + localVarReturnValue *PostAdjustCommentVotesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostAdjustCommentVotes") @@ -3067,6 +3111,12 @@ func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustComm return localVarReturnValue, nil, reportError("adjustCommentVotesParams is required and must be specified") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3111,14 +3161,6 @@ func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustComm body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3142,6 +3184,7 @@ type ApiPostApiExportRequest struct { filters *string searchFilters *string sorts *string + tenantId *string sso *string } @@ -3170,12 +3213,17 @@ func (r ApiPostApiExportRequest) Sorts(sorts string) ApiPostApiExportRequest { return r } +func (r ApiPostApiExportRequest) TenantId(tenantId string) ApiPostApiExportRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostApiExportRequest) Sso(sso string) ApiPostApiExportRequest { r.sso = &sso return r } -func (r ApiPostApiExportRequest) Execute() (*ModerationExportResponse, *http.Response, error) { +func (r ApiPostApiExportRequest) Execute() (*PostApiExportResponse, *http.Response, error) { return r.ApiService.PostApiExportExecute(r) } @@ -3193,13 +3241,13 @@ func (a *ModerationAPIService) PostApiExport(ctx context.Context) ApiPostApiExpo } // Execute executes the request -// @return ModerationExportResponse -func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) (*ModerationExportResponse, *http.Response, error) { +// @return PostApiExportResponse +func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) (*PostApiExportResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationExportResponse + localVarReturnValue *PostApiExportResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostApiExport") @@ -3228,6 +3276,9 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( if r.sorts != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sorts", r.sorts, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3270,14 +3321,6 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3305,6 +3348,7 @@ type ApiPostBanUserFromCommentRequest struct { isShadowBan *bool updateId *string banReason *string + tenantId *string sso *string } @@ -3348,12 +3392,17 @@ func (r ApiPostBanUserFromCommentRequest) BanReason(banReason string) ApiPostBan return r } +func (r ApiPostBanUserFromCommentRequest) TenantId(tenantId string) ApiPostBanUserFromCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostBanUserFromCommentRequest) Sso(sso string) ApiPostBanUserFromCommentRequest { r.sso = &sso return r } -func (r ApiPostBanUserFromCommentRequest) Execute() (*BanUserFromCommentResult, *http.Response, error) { +func (r ApiPostBanUserFromCommentRequest) Execute() (*PostBanUserFromCommentResponse, *http.Response, error) { return r.ApiService.PostBanUserFromCommentExecute(r) } @@ -3373,13 +3422,13 @@ func (a *ModerationAPIService) PostBanUserFromComment(ctx context.Context, comme } // Execute executes the request -// @return BanUserFromCommentResult -func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFromCommentRequest) (*BanUserFromCommentResult, *http.Response, error) { +// @return PostBanUserFromCommentResponse +func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFromCommentRequest) (*PostBanUserFromCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BanUserFromCommentResult + localVarReturnValue *PostBanUserFromCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBanUserFromComment") @@ -3418,6 +3467,9 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro if r.banReason != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "banReason", r.banReason, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3460,14 +3512,6 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3487,6 +3531,7 @@ type ApiPostBanUserUndoRequest struct { ctx context.Context ApiService *ModerationAPIService banUserUndoParams *BanUserUndoParams + tenantId *string sso *string } @@ -3495,12 +3540,17 @@ func (r ApiPostBanUserUndoRequest) BanUserUndoParams(banUserUndoParams BanUserUn return r } +func (r ApiPostBanUserUndoRequest) TenantId(tenantId string) ApiPostBanUserUndoRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostBanUserUndoRequest) Sso(sso string) ApiPostBanUserUndoRequest { r.sso = &sso return r } -func (r ApiPostBanUserUndoRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostBanUserUndoRequest) Execute() (*PostBanUserUndoResponse, *http.Response, error) { return r.ApiService.PostBanUserUndoExecute(r) } @@ -3518,13 +3568,13 @@ func (a *ModerationAPIService) PostBanUserUndo(ctx context.Context) ApiPostBanUs } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostBanUserUndoResponse +func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoRequest) (*PostBanUserUndoResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostBanUserUndoResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBanUserUndo") @@ -3541,6 +3591,9 @@ func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoReques return localVarReturnValue, nil, reportError("banUserUndoParams is required and must be specified") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3585,14 +3638,6 @@ func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3615,6 +3660,7 @@ type ApiPostBulkPreBanSummaryRequest struct { includeByUserIdAndEmail *bool includeByIP *bool includeByEmailDomain *bool + tenantId *string sso *string } @@ -3638,12 +3684,17 @@ func (r ApiPostBulkPreBanSummaryRequest) IncludeByEmailDomain(includeByEmailDoma return r } +func (r ApiPostBulkPreBanSummaryRequest) TenantId(tenantId string) ApiPostBulkPreBanSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostBulkPreBanSummaryRequest) Sso(sso string) ApiPostBulkPreBanSummaryRequest { r.sso = &sso return r } -func (r ApiPostBulkPreBanSummaryRequest) Execute() (*BulkPreBanSummary, *http.Response, error) { +func (r ApiPostBulkPreBanSummaryRequest) Execute() (*PostBulkPreBanSummaryResponse, *http.Response, error) { return r.ApiService.PostBulkPreBanSummaryExecute(r) } @@ -3661,13 +3712,13 @@ func (a *ModerationAPIService) PostBulkPreBanSummary(ctx context.Context) ApiPos } // Execute executes the request -// @return BulkPreBanSummary -func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanSummaryRequest) (*BulkPreBanSummary, *http.Response, error) { +// @return PostBulkPreBanSummaryResponse +func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanSummaryRequest) (*PostBulkPreBanSummaryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BulkPreBanSummary + localVarReturnValue *PostBulkPreBanSummaryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBulkPreBanSummary") @@ -3693,6 +3744,9 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS if r.includeByEmailDomain != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByEmailDomain", r.includeByEmailDomain, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3737,14 +3791,6 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3764,6 +3810,7 @@ type ApiPostCommentsByIdsRequest struct { ctx context.Context ApiService *ModerationAPIService commentsByIdsParams *CommentsByIdsParams + tenantId *string sso *string } @@ -3772,12 +3819,17 @@ func (r ApiPostCommentsByIdsRequest) CommentsByIdsParams(commentsByIdsParams Com return r } +func (r ApiPostCommentsByIdsRequest) TenantId(tenantId string) ApiPostCommentsByIdsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostCommentsByIdsRequest) Sso(sso string) ApiPostCommentsByIdsRequest { r.sso = &sso return r } -func (r ApiPostCommentsByIdsRequest) Execute() (*ModerationAPIChildCommentsResponse, *http.Response, error) { +func (r ApiPostCommentsByIdsRequest) Execute() (*PostCommentsByIdsResponse, *http.Response, error) { return r.ApiService.PostCommentsByIdsExecute(r) } @@ -3795,13 +3847,13 @@ func (a *ModerationAPIService) PostCommentsByIds(ctx context.Context) ApiPostCom } // Execute executes the request -// @return ModerationAPIChildCommentsResponse -func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRequest) (*ModerationAPIChildCommentsResponse, *http.Response, error) { +// @return PostCommentsByIdsResponse +func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRequest) (*PostCommentsByIdsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ModerationAPIChildCommentsResponse + localVarReturnValue *PostCommentsByIdsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostCommentsByIds") @@ -3818,6 +3870,9 @@ func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRe return localVarReturnValue, nil, reportError("commentsByIdsParams is required and must be specified") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3862,14 +3917,6 @@ func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3889,15 +3936,27 @@ type ApiPostFlagCommentRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + broadcastId *string + tenantId *string sso *string } +func (r ApiPostFlagCommentRequest) BroadcastId(broadcastId string) ApiPostFlagCommentRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostFlagCommentRequest) TenantId(tenantId string) ApiPostFlagCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostFlagCommentRequest) Sso(sso string) ApiPostFlagCommentRequest { r.sso = &sso return r } -func (r ApiPostFlagCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostFlagCommentRequest) Execute() (*PostFlagCommentResponse, *http.Response, error) { return r.ApiService.PostFlagCommentExecute(r) } @@ -3917,13 +3976,13 @@ func (a *ModerationAPIService) PostFlagComment(ctx context.Context, commentId st } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostFlagCommentResponse +func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentRequest) (*PostFlagCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostFlagCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostFlagComment") @@ -3938,6 +3997,12 @@ func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3980,14 +4045,6 @@ func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4007,9 +4064,21 @@ type ApiPostRemoveCommentRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + broadcastId *string + tenantId *string sso *string } +func (r ApiPostRemoveCommentRequest) BroadcastId(broadcastId string) ApiPostRemoveCommentRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostRemoveCommentRequest) TenantId(tenantId string) ApiPostRemoveCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostRemoveCommentRequest) Sso(sso string) ApiPostRemoveCommentRequest { r.sso = &sso return r @@ -4056,6 +4125,12 @@ func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRe localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4098,14 +4173,6 @@ func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4125,15 +4192,27 @@ type ApiPostRestoreDeletedCommentRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + broadcastId *string + tenantId *string sso *string } +func (r ApiPostRestoreDeletedCommentRequest) BroadcastId(broadcastId string) ApiPostRestoreDeletedCommentRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostRestoreDeletedCommentRequest) TenantId(tenantId string) ApiPostRestoreDeletedCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostRestoreDeletedCommentRequest) Sso(sso string) ApiPostRestoreDeletedCommentRequest { r.sso = &sso return r } -func (r ApiPostRestoreDeletedCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostRestoreDeletedCommentRequest) Execute() (*PostRestoreDeletedCommentResponse, *http.Response, error) { return r.ApiService.PostRestoreDeletedCommentExecute(r) } @@ -4153,13 +4232,13 @@ func (a *ModerationAPIService) PostRestoreDeletedComment(ctx context.Context, co } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestoreDeletedCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostRestoreDeletedCommentResponse +func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestoreDeletedCommentRequest) (*PostRestoreDeletedCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostRestoreDeletedCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostRestoreDeletedComment") @@ -4174,6 +4253,12 @@ func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestore localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4216,14 +4301,6 @@ func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestore body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4244,6 +4321,8 @@ type ApiPostSetCommentApprovalStatusRequest struct { ApiService *ModerationAPIService commentId string approved *bool + broadcastId *string + tenantId *string sso *string } @@ -4252,12 +4331,22 @@ func (r ApiPostSetCommentApprovalStatusRequest) Approved(approved bool) ApiPostS return r } +func (r ApiPostSetCommentApprovalStatusRequest) BroadcastId(broadcastId string) ApiPostSetCommentApprovalStatusRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostSetCommentApprovalStatusRequest) TenantId(tenantId string) ApiPostSetCommentApprovalStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentApprovalStatusRequest) Sso(sso string) ApiPostSetCommentApprovalStatusRequest { r.sso = &sso return r } -func (r ApiPostSetCommentApprovalStatusRequest) Execute() (*SetCommentApprovedResponse, *http.Response, error) { +func (r ApiPostSetCommentApprovalStatusRequest) Execute() (*PostSetCommentApprovalStatusResponse, *http.Response, error) { return r.ApiService.PostSetCommentApprovalStatusExecute(r) } @@ -4277,13 +4366,13 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatus(ctx context.Context, } // Execute executes the request -// @return SetCommentApprovedResponse -func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetCommentApprovalStatusRequest) (*SetCommentApprovedResponse, *http.Response, error) { +// @return PostSetCommentApprovalStatusResponse +func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetCommentApprovalStatusRequest) (*PostSetCommentApprovalStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SetCommentApprovedResponse + localVarReturnValue *PostSetCommentApprovalStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentApprovalStatus") @@ -4301,6 +4390,12 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetC if r.approved != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "approved", r.approved, "form", "") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4343,14 +4438,6 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetC body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4371,6 +4458,8 @@ type ApiPostSetCommentReviewStatusRequest struct { ApiService *ModerationAPIService commentId string reviewed *bool + broadcastId *string + tenantId *string sso *string } @@ -4379,12 +4468,22 @@ func (r ApiPostSetCommentReviewStatusRequest) Reviewed(reviewed bool) ApiPostSet return r } +func (r ApiPostSetCommentReviewStatusRequest) BroadcastId(broadcastId string) ApiPostSetCommentReviewStatusRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostSetCommentReviewStatusRequest) TenantId(tenantId string) ApiPostSetCommentReviewStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentReviewStatusRequest) Sso(sso string) ApiPostSetCommentReviewStatusRequest { r.sso = &sso return r } -func (r ApiPostSetCommentReviewStatusRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostSetCommentReviewStatusRequest) Execute() (*PostSetCommentReviewStatusResponse, *http.Response, error) { return r.ApiService.PostSetCommentReviewStatusExecute(r) } @@ -4404,13 +4503,13 @@ func (a *ModerationAPIService) PostSetCommentReviewStatus(ctx context.Context, c } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCommentReviewStatusRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostSetCommentReviewStatusResponse +func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCommentReviewStatusRequest) (*PostSetCommentReviewStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostSetCommentReviewStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentReviewStatus") @@ -4428,6 +4527,12 @@ func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCom if r.reviewed != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "reviewed", r.reviewed, "form", "") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4470,14 +4575,6 @@ func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCom body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4499,6 +4596,8 @@ type ApiPostSetCommentSpamStatusRequest struct { commentId string spam *bool permNotSpam *bool + broadcastId *string + tenantId *string sso *string } @@ -4512,12 +4611,22 @@ func (r ApiPostSetCommentSpamStatusRequest) PermNotSpam(permNotSpam bool) ApiPos return r } +func (r ApiPostSetCommentSpamStatusRequest) BroadcastId(broadcastId string) ApiPostSetCommentSpamStatusRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostSetCommentSpamStatusRequest) TenantId(tenantId string) ApiPostSetCommentSpamStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentSpamStatusRequest) Sso(sso string) ApiPostSetCommentSpamStatusRequest { r.sso = &sso return r } -func (r ApiPostSetCommentSpamStatusRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostSetCommentSpamStatusRequest) Execute() (*PostSetCommentSpamStatusResponse, *http.Response, error) { return r.ApiService.PostSetCommentSpamStatusExecute(r) } @@ -4537,13 +4646,13 @@ func (a *ModerationAPIService) PostSetCommentSpamStatus(ctx context.Context, com } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetCommentSpamStatusRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostSetCommentSpamStatusResponse +func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetCommentSpamStatusRequest) (*PostSetCommentSpamStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostSetCommentSpamStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentSpamStatus") @@ -4564,6 +4673,12 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme if r.permNotSpam != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "permNotSpam", r.permNotSpam, "form", "") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4606,14 +4721,6 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4634,6 +4741,8 @@ type ApiPostSetCommentTextRequest struct { ApiService *ModerationAPIService commentId string setCommentTextParams *SetCommentTextParams + broadcastId *string + tenantId *string sso *string } @@ -4642,12 +4751,22 @@ func (r ApiPostSetCommentTextRequest) SetCommentTextParams(setCommentTextParams return r } +func (r ApiPostSetCommentTextRequest) BroadcastId(broadcastId string) ApiPostSetCommentTextRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostSetCommentTextRequest) TenantId(tenantId string) ApiPostSetCommentTextRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentTextRequest) Sso(sso string) ApiPostSetCommentTextRequest { r.sso = &sso return r } -func (r ApiPostSetCommentTextRequest) Execute() (*SetCommentTextResponse, *http.Response, error) { +func (r ApiPostSetCommentTextRequest) Execute() (*PostSetCommentTextResponse, *http.Response, error) { return r.ApiService.PostSetCommentTextExecute(r) } @@ -4667,13 +4786,13 @@ func (a *ModerationAPIService) PostSetCommentText(ctx context.Context, commentId } // Execute executes the request -// @return SetCommentTextResponse -func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentTextRequest) (*SetCommentTextResponse, *http.Response, error) { +// @return PostSetCommentTextResponse +func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentTextRequest) (*PostSetCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SetCommentTextResponse + localVarReturnValue *PostSetCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentText") @@ -4691,6 +4810,12 @@ func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentText return localVarReturnValue, nil, reportError("setCommentTextParams is required and must be specified") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4735,14 +4860,6 @@ func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentText body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4762,15 +4879,27 @@ type ApiPostUnFlagCommentRequest struct { ctx context.Context ApiService *ModerationAPIService commentId string + broadcastId *string + tenantId *string sso *string } +func (r ApiPostUnFlagCommentRequest) BroadcastId(broadcastId string) ApiPostUnFlagCommentRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostUnFlagCommentRequest) TenantId(tenantId string) ApiPostUnFlagCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostUnFlagCommentRequest) Sso(sso string) ApiPostUnFlagCommentRequest { r.sso = &sso return r } -func (r ApiPostUnFlagCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPostUnFlagCommentRequest) Execute() (*PostUnFlagCommentResponse, *http.Response, error) { return r.ApiService.PostUnFlagCommentExecute(r) } @@ -4790,13 +4919,13 @@ func (a *ModerationAPIService) PostUnFlagComment(ctx context.Context, commentId } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PostUnFlagCommentResponse +func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRequest) (*PostUnFlagCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PostUnFlagCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostUnFlagComment") @@ -4811,6 +4940,12 @@ func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRe localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4853,14 +4988,6 @@ func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4881,6 +5008,8 @@ type ApiPostVoteRequest struct { ApiService *ModerationAPIService commentId string direction *string + broadcastId *string + tenantId *string sso *string } @@ -4889,12 +5018,22 @@ func (r ApiPostVoteRequest) Direction(direction string) ApiPostVoteRequest { return r } +func (r ApiPostVoteRequest) BroadcastId(broadcastId string) ApiPostVoteRequest { + r.broadcastId = &broadcastId + return r +} + +func (r ApiPostVoteRequest) TenantId(tenantId string) ApiPostVoteRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostVoteRequest) Sso(sso string) ApiPostVoteRequest { r.sso = &sso return r } -func (r ApiPostVoteRequest) Execute() (*VoteResponse, *http.Response, error) { +func (r ApiPostVoteRequest) Execute() (*PostVoteResponse, *http.Response, error) { return r.ApiService.PostVoteExecute(r) } @@ -4914,13 +5053,13 @@ func (a *ModerationAPIService) PostVote(ctx context.Context, commentId string) A } // Execute executes the request -// @return VoteResponse -func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteResponse, *http.Response, error) { +// @return PostVoteResponse +func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*PostVoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteResponse + localVarReturnValue *PostVoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostVote") @@ -4938,6 +5077,12 @@ func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteRespo if r.direction != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "direction", r.direction, "form", "") } + if r.broadcastId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") + } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4980,14 +5125,6 @@ func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteRespo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5010,6 +5147,7 @@ type ApiPutAwardBadgeRequest struct { userId *string commentId *string broadcastId *string + tenantId *string sso *string } @@ -5033,12 +5171,17 @@ func (r ApiPutAwardBadgeRequest) BroadcastId(broadcastId string) ApiPutAwardBadg return r } +func (r ApiPutAwardBadgeRequest) TenantId(tenantId string) ApiPutAwardBadgeRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutAwardBadgeRequest) Sso(sso string) ApiPutAwardBadgeRequest { r.sso = &sso return r } -func (r ApiPutAwardBadgeRequest) Execute() (*AwardUserBadgeResponse, *http.Response, error) { +func (r ApiPutAwardBadgeRequest) Execute() (*PutAwardBadgeResponse, *http.Response, error) { return r.ApiService.PutAwardBadgeExecute(r) } @@ -5056,13 +5199,13 @@ func (a *ModerationAPIService) PutAwardBadge(ctx context.Context) ApiPutAwardBad } // Execute executes the request -// @return AwardUserBadgeResponse -func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) (*AwardUserBadgeResponse, *http.Response, error) { +// @return PutAwardBadgeResponse +func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) (*PutAwardBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AwardUserBadgeResponse + localVarReturnValue *PutAwardBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutAwardBadge") @@ -5089,6 +5232,9 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5131,14 +5277,6 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5158,6 +5296,7 @@ type ApiPutCloseThreadRequest struct { ctx context.Context ApiService *ModerationAPIService urlId *string + tenantId *string sso *string } @@ -5166,12 +5305,17 @@ func (r ApiPutCloseThreadRequest) UrlId(urlId string) ApiPutCloseThreadRequest { return r } +func (r ApiPutCloseThreadRequest) TenantId(tenantId string) ApiPutCloseThreadRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutCloseThreadRequest) Sso(sso string) ApiPutCloseThreadRequest { r.sso = &sso return r } -func (r ApiPutCloseThreadRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPutCloseThreadRequest) Execute() (*PutCloseThreadResponse, *http.Response, error) { return r.ApiService.PutCloseThreadExecute(r) } @@ -5189,13 +5333,13 @@ func (a *ModerationAPIService) PutCloseThread(ctx context.Context) ApiPutCloseTh } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PutCloseThreadResponse +func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) (*PutCloseThreadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PutCloseThreadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutCloseThread") @@ -5213,6 +5357,9 @@ func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) } parameterAddToHeaderOrQuery(localVarQueryParams, "urlId", r.urlId, "form", "") + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5255,14 +5402,6 @@ func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5285,6 +5424,7 @@ type ApiPutRemoveBadgeRequest struct { userId *string commentId *string broadcastId *string + tenantId *string sso *string } @@ -5308,12 +5448,17 @@ func (r ApiPutRemoveBadgeRequest) BroadcastId(broadcastId string) ApiPutRemoveBa return r } +func (r ApiPutRemoveBadgeRequest) TenantId(tenantId string) ApiPutRemoveBadgeRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutRemoveBadgeRequest) Sso(sso string) ApiPutRemoveBadgeRequest { r.sso = &sso return r } -func (r ApiPutRemoveBadgeRequest) Execute() (*RemoveUserBadgeResponse, *http.Response, error) { +func (r ApiPutRemoveBadgeRequest) Execute() (*PutRemoveBadgeResponse, *http.Response, error) { return r.ApiService.PutRemoveBadgeExecute(r) } @@ -5331,13 +5476,13 @@ func (a *ModerationAPIService) PutRemoveBadge(ctx context.Context) ApiPutRemoveB } // Execute executes the request -// @return RemoveUserBadgeResponse -func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) (*RemoveUserBadgeResponse, *http.Response, error) { +// @return PutRemoveBadgeResponse +func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) (*PutRemoveBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RemoveUserBadgeResponse + localVarReturnValue *PutRemoveBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutRemoveBadge") @@ -5364,6 +5509,9 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5406,14 +5554,6 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5433,6 +5573,7 @@ type ApiPutReopenThreadRequest struct { ctx context.Context ApiService *ModerationAPIService urlId *string + tenantId *string sso *string } @@ -5441,12 +5582,17 @@ func (r ApiPutReopenThreadRequest) UrlId(urlId string) ApiPutReopenThreadRequest return r } +func (r ApiPutReopenThreadRequest) TenantId(tenantId string) ApiPutReopenThreadRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutReopenThreadRequest) Sso(sso string) ApiPutReopenThreadRequest { r.sso = &sso return r } -func (r ApiPutReopenThreadRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiPutReopenThreadRequest) Execute() (*PutReopenThreadResponse, *http.Response, error) { return r.ApiService.PutReopenThreadExecute(r) } @@ -5464,13 +5610,13 @@ func (a *ModerationAPIService) PutReopenThread(ctx context.Context) ApiPutReopen } // Execute executes the request -// @return APIEmptyResponse -func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadRequest) (*APIEmptyResponse, *http.Response, error) { +// @return PutReopenThreadResponse +func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadRequest) (*PutReopenThreadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *PutReopenThreadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutReopenThread") @@ -5488,6 +5634,9 @@ func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadReques } parameterAddToHeaderOrQuery(localVarQueryParams, "urlId", r.urlId, "form", "") + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5530,14 +5679,6 @@ func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5558,6 +5699,7 @@ type ApiSetTrustFactorRequest struct { ApiService *ModerationAPIService userId *string trustFactor *string + tenantId *string sso *string } @@ -5571,12 +5713,17 @@ func (r ApiSetTrustFactorRequest) TrustFactor(trustFactor string) ApiSetTrustFac return r } +func (r ApiSetTrustFactorRequest) TenantId(tenantId string) ApiSetTrustFactorRequest { + r.tenantId = &tenantId + return r +} + func (r ApiSetTrustFactorRequest) Sso(sso string) ApiSetTrustFactorRequest { r.sso = &sso return r } -func (r ApiSetTrustFactorRequest) Execute() (*SetUserTrustFactorResponse, *http.Response, error) { +func (r ApiSetTrustFactorRequest) Execute() (*SetTrustFactorResponse, *http.Response, error) { return r.ApiService.SetTrustFactorExecute(r) } @@ -5594,13 +5741,13 @@ func (a *ModerationAPIService) SetTrustFactor(ctx context.Context) ApiSetTrustFa } // Execute executes the request -// @return SetUserTrustFactorResponse -func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) (*SetUserTrustFactorResponse, *http.Response, error) { +// @return SetTrustFactorResponse +func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) (*SetTrustFactorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SetUserTrustFactorResponse + localVarReturnValue *SetTrustFactorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.SetTrustFactor") @@ -5620,6 +5767,9 @@ func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) if r.trustFactor != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "trustFactor", r.trustFactor, "form", "") } + if r.tenantId != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5662,14 +5812,6 @@ func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/api_public.go b/client/api_public.go index ee45a18..64fcbd1 100644 --- a/client/api_public.go +++ b/client/api_public.go @@ -49,7 +49,7 @@ func (r ApiBlockFromCommentPublicRequest) Sso(sso string) ApiBlockFromCommentPub return r } -func (r ApiBlockFromCommentPublicRequest) Execute() (*BlockSuccess, *http.Response, error) { +func (r ApiBlockFromCommentPublicRequest) Execute() (*BlockFromCommentPublicResponse, *http.Response, error) { return r.ApiService.BlockFromCommentPublicExecute(r) } @@ -69,13 +69,13 @@ func (a *PublicAPIService) BlockFromCommentPublic(ctx context.Context, commentId } // Execute executes the request -// @return BlockSuccess -func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPublicRequest) (*BlockSuccess, *http.Response, error) { +// @return BlockFromCommentPublicResponse +func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPublicRequest) (*BlockFromCommentPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BlockSuccess + localVarReturnValue *BlockFromCommentPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.BlockFromCommentPublic") @@ -141,14 +141,6 @@ func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPu body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -188,7 +180,7 @@ func (r ApiCheckedCommentsForBlockedRequest) Sso(sso string) ApiCheckedCommentsF return r } -func (r ApiCheckedCommentsForBlockedRequest) Execute() (*CheckBlockedCommentsResponse, *http.Response, error) { +func (r ApiCheckedCommentsForBlockedRequest) Execute() (*CheckedCommentsForBlockedResponse, *http.Response, error) { return r.ApiService.CheckedCommentsForBlockedExecute(r) } @@ -206,13 +198,13 @@ func (a *PublicAPIService) CheckedCommentsForBlocked(ctx context.Context) ApiChe } // Execute executes the request -// @return CheckBlockedCommentsResponse -func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedCommentsForBlockedRequest) (*CheckBlockedCommentsResponse, *http.Response, error) { +// @return CheckedCommentsForBlockedResponse +func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedCommentsForBlockedRequest) (*CheckedCommentsForBlockedResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CheckBlockedCommentsResponse + localVarReturnValue *CheckedCommentsForBlockedResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CheckedCommentsForBlocked") @@ -276,14 +268,6 @@ func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedComments body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -335,7 +319,7 @@ func (r ApiCreateCommentPublicRequest) Sso(sso string) ApiCreateCommentPublicReq return r } -func (r ApiCreateCommentPublicRequest) Execute() (*SaveCommentsResponseWithPresence, *http.Response, error) { +func (r ApiCreateCommentPublicRequest) Execute() (*CreateCommentPublicResponse, *http.Response, error) { return r.ApiService.CreateCommentPublicExecute(r) } @@ -355,13 +339,13 @@ func (a *PublicAPIService) CreateCommentPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return SaveCommentsResponseWithPresence -func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRequest) (*SaveCommentsResponseWithPresence, *http.Response, error) { +// @return CreateCommentPublicResponse +func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRequest) (*CreateCommentPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SaveCommentsResponseWithPresence + localVarReturnValue *CreateCommentPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateCommentPublic") @@ -434,14 +418,6 @@ func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -481,7 +457,7 @@ func (r ApiCreateFeedPostPublicRequest) Sso(sso string) ApiCreateFeedPostPublicR return r } -func (r ApiCreateFeedPostPublicRequest) Execute() (*CreateFeedPostResponse, *http.Response, error) { +func (r ApiCreateFeedPostPublicRequest) Execute() (*CreateFeedPostPublicResponse, *http.Response, error) { return r.ApiService.CreateFeedPostPublicExecute(r) } @@ -501,13 +477,13 @@ func (a *PublicAPIService) CreateFeedPostPublic(ctx context.Context, tenantId st } // Execute executes the request -// @return CreateFeedPostResponse -func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublicRequest) (*CreateFeedPostResponse, *http.Response, error) { +// @return CreateFeedPostPublicResponse +func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublicRequest) (*CreateFeedPostPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateFeedPostResponse + localVarReturnValue *CreateFeedPostPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateFeedPostPublic") @@ -572,14 +548,6 @@ func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -613,7 +581,7 @@ func (r ApiCreateV1PageReactRequest) Title(title string) ApiCreateV1PageReactReq return r } -func (r ApiCreateV1PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { +func (r ApiCreateV1PageReactRequest) Execute() (*CreateV1PageReactResponse, *http.Response, error) { return r.ApiService.CreateV1PageReactExecute(r) } @@ -633,13 +601,13 @@ func (a *PublicAPIService) CreateV1PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV1PageReact -func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactRequest) (*CreateV1PageReact, *http.Response, error) { +// @return CreateV1PageReactResponse +func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactRequest) (*CreateV1PageReactResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV1PageReact + localVarReturnValue *CreateV1PageReactResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateV1PageReact") @@ -700,14 +668,6 @@ func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -747,7 +707,7 @@ func (r ApiCreateV2PageReactRequest) Title(title string) ApiCreateV2PageReactReq return r } -func (r ApiCreateV2PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { +func (r ApiCreateV2PageReactRequest) Execute() (*CreateV2PageReactResponse, *http.Response, error) { return r.ApiService.CreateV2PageReactExecute(r) } @@ -767,13 +727,13 @@ func (a *PublicAPIService) CreateV2PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV1PageReact -func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactRequest) (*CreateV1PageReact, *http.Response, error) { +// @return CreateV2PageReactResponse +func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactRequest) (*CreateV2PageReactResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV1PageReact + localVarReturnValue *CreateV2PageReactResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateV2PageReact") @@ -838,14 +798,6 @@ func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -886,7 +838,7 @@ func (r ApiDeleteCommentPublicRequest) Sso(sso string) ApiDeleteCommentPublicReq return r } -func (r ApiDeleteCommentPublicRequest) Execute() (*PublicAPIDeleteCommentResponse, *http.Response, error) { +func (r ApiDeleteCommentPublicRequest) Execute() (*DeleteCommentPublicResponse, *http.Response, error) { return r.ApiService.DeleteCommentPublicExecute(r) } @@ -908,13 +860,13 @@ func (a *PublicAPIService) DeleteCommentPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return PublicAPIDeleteCommentResponse -func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRequest) (*PublicAPIDeleteCommentResponse, *http.Response, error) { +// @return DeleteCommentPublicResponse +func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRequest) (*DeleteCommentPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicAPIDeleteCommentResponse + localVarReturnValue *DeleteCommentPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteCommentPublic") @@ -979,14 +931,6 @@ func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1034,7 +978,7 @@ func (r ApiDeleteCommentVoteRequest) Sso(sso string) ApiDeleteCommentVoteRequest return r } -func (r ApiDeleteCommentVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { +func (r ApiDeleteCommentVoteRequest) Execute() (*DeleteCommentVoteResponse, *http.Response, error) { return r.ApiService.DeleteCommentVoteExecute(r) } @@ -1058,13 +1002,13 @@ func (a *PublicAPIService) DeleteCommentVote(ctx context.Context, tenantId strin } // Execute executes the request -// @return VoteDeleteResponse -func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteRequest) (*VoteDeleteResponse, *http.Response, error) { +// @return DeleteCommentVoteResponse +func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteRequest) (*DeleteCommentVoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteDeleteResponse + localVarReturnValue *DeleteCommentVoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteCommentVote") @@ -1134,14 +1078,6 @@ func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1265,14 +1201,6 @@ func (a *PublicAPIService) DeleteFeedPostPublicExecute(r ApiDeleteFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1300,7 +1228,7 @@ func (r ApiDeleteV1PageReactRequest) UrlId(urlId string) ApiDeleteV1PageReactReq return r } -func (r ApiDeleteV1PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { +func (r ApiDeleteV1PageReactRequest) Execute() (*DeleteV1PageReactResponse, *http.Response, error) { return r.ApiService.DeleteV1PageReactExecute(r) } @@ -1320,13 +1248,13 @@ func (a *PublicAPIService) DeleteV1PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV1PageReact -func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactRequest) (*CreateV1PageReact, *http.Response, error) { +// @return DeleteV1PageReactResponse +func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactRequest) (*DeleteV1PageReactResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV1PageReact + localVarReturnValue *DeleteV1PageReactResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteV1PageReact") @@ -1384,14 +1312,6 @@ func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1425,7 +1345,7 @@ func (r ApiDeleteV2PageReactRequest) Id(id string) ApiDeleteV2PageReactRequest { return r } -func (r ApiDeleteV2PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { +func (r ApiDeleteV2PageReactRequest) Execute() (*DeleteV2PageReactResponse, *http.Response, error) { return r.ApiService.DeleteV2PageReactExecute(r) } @@ -1445,13 +1365,13 @@ func (a *PublicAPIService) DeleteV2PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV1PageReact -func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactRequest) (*CreateV1PageReact, *http.Response, error) { +// @return DeleteV2PageReactResponse +func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactRequest) (*DeleteV2PageReactResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV1PageReact + localVarReturnValue *DeleteV2PageReactResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteV2PageReact") @@ -1513,14 +1433,6 @@ func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1560,7 +1472,7 @@ func (r ApiFlagCommentPublicRequest) Sso(sso string) ApiFlagCommentPublicRequest return r } -func (r ApiFlagCommentPublicRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiFlagCommentPublicRequest) Execute() (*FlagCommentPublicResponse, *http.Response, error) { return r.ApiService.FlagCommentPublicExecute(r) } @@ -1580,13 +1492,13 @@ func (a *PublicAPIService) FlagCommentPublic(ctx context.Context, commentId stri } // Execute executes the request -// @return APIEmptyResponse -func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicRequest) (*APIEmptyResponse, *http.Response, error) { +// @return FlagCommentPublicResponse +func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicRequest) (*FlagCommentPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *FlagCommentPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.FlagCommentPublic") @@ -1651,14 +1563,6 @@ func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1693,7 +1597,7 @@ func (r ApiGetCommentTextRequest) Sso(sso string) ApiGetCommentTextRequest { return r } -func (r ApiGetCommentTextRequest) Execute() (*PublicAPIGetCommentTextResponse, *http.Response, error) { +func (r ApiGetCommentTextRequest) Execute() (*GetCommentTextResponse1, *http.Response, error) { return r.ApiService.GetCommentTextExecute(r) } @@ -1715,13 +1619,13 @@ func (a *PublicAPIService) GetCommentText(ctx context.Context, tenantId string, } // Execute executes the request -// @return PublicAPIGetCommentTextResponse -func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*PublicAPIGetCommentTextResponse, *http.Response, error) { +// @return GetCommentTextResponse1 +func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*GetCommentTextResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicAPIGetCommentTextResponse + localVarReturnValue *GetCommentTextResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentText") @@ -1782,14 +1686,6 @@ func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*P body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1824,7 +1720,7 @@ func (r ApiGetCommentVoteUserNamesRequest) Sso(sso string) ApiGetCommentVoteUser return r } -func (r ApiGetCommentVoteUserNamesRequest) Execute() (*GetCommentVoteUserNamesSuccessResponse, *http.Response, error) { +func (r ApiGetCommentVoteUserNamesRequest) Execute() (*GetCommentVoteUserNamesResponse, *http.Response, error) { return r.ApiService.GetCommentVoteUserNamesExecute(r) } @@ -1846,13 +1742,13 @@ func (a *PublicAPIService) GetCommentVoteUserNames(ctx context.Context, tenantId } // Execute executes the request -// @return GetCommentVoteUserNamesSuccessResponse -func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUserNamesRequest) (*GetCommentVoteUserNamesSuccessResponse, *http.Response, error) { +// @return GetCommentVoteUserNamesResponse +func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUserNamesRequest) (*GetCommentVoteUserNamesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentVoteUserNamesSuccessResponse + localVarReturnValue *GetCommentVoteUserNamesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentVoteUserNames") @@ -1914,14 +1810,6 @@ func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUse body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1984,7 +1872,7 @@ func (r ApiGetCommentsForUserRequest) IsCrawler(isCrawler bool) ApiGetCommentsFo return r } -func (r ApiGetCommentsForUserRequest) Execute() (*GetCommentsForUserResponse, *http.Response, error) { +func (r ApiGetCommentsForUserRequest) Execute() (*GetCommentsForUserResponse1, *http.Response, error) { return r.ApiService.GetCommentsForUserExecute(r) } @@ -2002,13 +1890,13 @@ func (a *PublicAPIService) GetCommentsForUser(ctx context.Context) ApiGetComment } // Execute executes the request -// @return GetCommentsForUserResponse -func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequest) (*GetCommentsForUserResponse, *http.Response, error) { +// @return GetCommentsForUserResponse1 +func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequest) (*GetCommentsForUserResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentsForUserResponse + localVarReturnValue *GetCommentsForUserResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentsForUser") @@ -2082,14 +1970,6 @@ func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequ body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2273,7 +2153,7 @@ func (r ApiGetCommentsPublicRequest) BeforeCommentId(beforeCommentId string) Api return r } -func (r ApiGetCommentsPublicRequest) Execute() (*GetCommentsResponseWithPresencePublicComment, *http.Response, error) { +func (r ApiGetCommentsPublicRequest) Execute() (*GetCommentsPublicResponse, *http.Response, error) { return r.ApiService.GetCommentsPublicExecute(r) } @@ -2298,13 +2178,13 @@ func (a *PublicAPIService) GetCommentsPublic(ctx context.Context, tenantId strin } // Execute executes the request -// @return GetCommentsResponseWithPresencePublicComment -func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicRequest) (*GetCommentsResponseWithPresencePublicComment, *http.Response, error) { +// @return GetCommentsPublicResponse +func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicRequest) (*GetCommentsPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentsResponseWithPresencePublicComment + localVarReturnValue *GetCommentsPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentsPublic") @@ -2448,14 +2328,6 @@ func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2501,7 +2373,7 @@ func (r ApiGetEventLogRequest) EndTime(endTime int64) ApiGetEventLogRequest { return r } -func (r ApiGetEventLogRequest) Execute() (*GetEventLogResponse, *http.Response, error) { +func (r ApiGetEventLogRequest) Execute() (*GetEventLogResponse1, *http.Response, error) { return r.ApiService.GetEventLogExecute(r) } @@ -2527,13 +2399,13 @@ func (a *PublicAPIService) GetEventLog(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return GetEventLogResponse -func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEventLogResponse, *http.Response, error) { +// @return GetEventLogResponse1 +func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEventLogResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEventLogResponse + localVarReturnValue *GetEventLogResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetEventLog") @@ -2602,14 +2474,6 @@ func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEven body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2667,7 +2531,7 @@ func (r ApiGetFeedPostsPublicRequest) IncludeUserInfo(includeUserInfo bool) ApiG return r } -func (r ApiGetFeedPostsPublicRequest) Execute() (*PublicFeedPostsResponse, *http.Response, error) { +func (r ApiGetFeedPostsPublicRequest) Execute() (*GetFeedPostsPublicResponse, *http.Response, error) { return r.ApiService.GetFeedPostsPublicExecute(r) } @@ -2692,13 +2556,13 @@ func (a *PublicAPIService) GetFeedPostsPublic(ctx context.Context, tenantId stri } // Execute executes the request -// @return PublicFeedPostsResponse -func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequest) (*PublicFeedPostsResponse, *http.Response, error) { +// @return GetFeedPostsPublicResponse +func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequest) (*GetFeedPostsPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicFeedPostsResponse + localVarReturnValue *GetFeedPostsPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetFeedPostsPublic") @@ -2778,14 +2642,6 @@ func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequ body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2819,7 +2675,7 @@ func (r ApiGetFeedPostsStatsRequest) Sso(sso string) ApiGetFeedPostsStatsRequest return r } -func (r ApiGetFeedPostsStatsRequest) Execute() (*FeedPostsStatsResponse, *http.Response, error) { +func (r ApiGetFeedPostsStatsRequest) Execute() (*GetFeedPostsStatsResponse, *http.Response, error) { return r.ApiService.GetFeedPostsStatsExecute(r) } @@ -2839,13 +2695,13 @@ func (a *PublicAPIService) GetFeedPostsStats(ctx context.Context, tenantId strin } // Execute executes the request -// @return FeedPostsStatsResponse -func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsRequest) (*FeedPostsStatsResponse, *http.Response, error) { +// @return GetFeedPostsStatsResponse +func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsRequest) (*GetFeedPostsStatsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *FeedPostsStatsResponse + localVarReturnValue *GetFeedPostsStatsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetFeedPostsStats") @@ -2916,14 +2772,6 @@ func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2951,7 +2799,7 @@ func (r ApiGetGifLargeRequest) LargeInternalURLSanitized(largeInternalURLSanitiz return r } -func (r ApiGetGifLargeRequest) Execute() (*GifGetLargeResponse, *http.Response, error) { +func (r ApiGetGifLargeRequest) Execute() (*GetGifLargeResponse, *http.Response, error) { return r.ApiService.GetGifLargeExecute(r) } @@ -2971,13 +2819,13 @@ func (a *PublicAPIService) GetGifLarge(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return GifGetLargeResponse -func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GifGetLargeResponse, *http.Response, error) { +// @return GetGifLargeResponse +func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GetGifLargeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GifGetLargeResponse + localVarReturnValue *GetGifLargeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetGifLarge") @@ -3044,16 +2892,7 @@ func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GifGetL } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3201,16 +3040,7 @@ func (a *PublicAPIService) GetGifsSearchExecute(r ApiGetGifsSearchRequest) (*Get } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3384,7 +3214,7 @@ func (r ApiGetGlobalEventLogRequest) EndTime(endTime int64) ApiGetGlobalEventLog return r } -func (r ApiGetGlobalEventLogRequest) Execute() (*GetEventLogResponse, *http.Response, error) { +func (r ApiGetGlobalEventLogRequest) Execute() (*GetGlobalEventLogResponse, *http.Response, error) { return r.ApiService.GetGlobalEventLogExecute(r) } @@ -3410,13 +3240,13 @@ func (a *PublicAPIService) GetGlobalEventLog(ctx context.Context, tenantId strin } // Execute executes the request -// @return GetEventLogResponse -func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogRequest) (*GetEventLogResponse, *http.Response, error) { +// @return GetGlobalEventLogResponse +func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogRequest) (*GetGlobalEventLogResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEventLogResponse + localVarReturnValue *GetGlobalEventLogResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetGlobalEventLog") @@ -3485,14 +3315,6 @@ func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogReques body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3535,7 +3357,7 @@ func (r ApiGetOfflineUsersRequest) AfterUserId(afterUserId string) ApiGetOffline return r } -func (r ApiGetOfflineUsersRequest) Execute() (*PageUsersOfflineResponse, *http.Response, error) { +func (r ApiGetOfflineUsersRequest) Execute() (*GetOfflineUsersResponse, *http.Response, error) { return r.ApiService.GetOfflineUsersExecute(r) } @@ -3560,13 +3382,13 @@ func (a *PublicAPIService) GetOfflineUsers(ctx context.Context, tenantId string) } // Execute executes the request -// @return PageUsersOfflineResponse -func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) (*PageUsersOfflineResponse, *http.Response, error) { +// @return GetOfflineUsersResponse +func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) (*GetOfflineUsersResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PageUsersOfflineResponse + localVarReturnValue *GetOfflineUsersResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetOfflineUsers") @@ -3650,16 +3472,7 @@ func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) ( } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3702,7 +3515,7 @@ func (r ApiGetOnlineUsersRequest) AfterUserId(afterUserId string) ApiGetOnlineUs return r } -func (r ApiGetOnlineUsersRequest) Execute() (*PageUsersOnlineResponse, *http.Response, error) { +func (r ApiGetOnlineUsersRequest) Execute() (*GetOnlineUsersResponse, *http.Response, error) { return r.ApiService.GetOnlineUsersExecute(r) } @@ -3725,13 +3538,13 @@ func (a *PublicAPIService) GetOnlineUsers(ctx context.Context, tenantId string) } // Execute executes the request -// @return PageUsersOnlineResponse -func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*PageUsersOnlineResponse, *http.Response, error) { +// @return GetOnlineUsersResponse +func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*GetOnlineUsersResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PageUsersOnlineResponse + localVarReturnValue *GetOnlineUsersResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetOnlineUsers") @@ -3815,16 +3628,7 @@ func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*P } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3881,7 +3685,7 @@ func (r ApiGetPagesPublicRequest) HasComments(hasComments bool) ApiGetPagesPubli return r } -func (r ApiGetPagesPublicRequest) Execute() (*GetPublicPagesResponse, *http.Response, error) { +func (r ApiGetPagesPublicRequest) Execute() (*GetPagesPublicResponse, *http.Response, error) { return r.ApiService.GetPagesPublicExecute(r) } @@ -3905,13 +3709,13 @@ func (a *PublicAPIService) GetPagesPublic(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetPublicPagesResponse -func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*GetPublicPagesResponse, *http.Response, error) { +// @return GetPagesPublicResponse +func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*GetPagesPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPublicPagesResponse + localVarReturnValue *GetPagesPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetPagesPublic") @@ -3980,14 +3784,6 @@ func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*G body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4022,7 +3818,7 @@ func (r ApiGetTranslationsRequest) UseFullTranslationIds(useFullTranslationIds b return r } -func (r ApiGetTranslationsRequest) Execute() (*GetTranslationsResponse, *http.Response, error) { +func (r ApiGetTranslationsRequest) Execute() (*GetTranslationsResponse1, *http.Response, error) { return r.ApiService.GetTranslationsExecute(r) } @@ -4044,13 +3840,13 @@ func (a *PublicAPIService) GetTranslations(ctx context.Context, namespace string } // Execute executes the request -// @return GetTranslationsResponse -func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) (*GetTranslationsResponse, *http.Response, error) { +// @return GetTranslationsResponse1 +func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) (*GetTranslationsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTranslationsResponse + localVarReturnValue *GetTranslationsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetTranslations") @@ -4131,16 +3927,7 @@ func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) ( } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4173,7 +3960,7 @@ func (r ApiGetUserNotificationCountRequest) Sso(sso string) ApiGetUserNotificati return r } -func (r ApiGetUserNotificationCountRequest) Execute() (*GetUserNotificationCountResponse, *http.Response, error) { +func (r ApiGetUserNotificationCountRequest) Execute() (*GetUserNotificationCountResponse1, *http.Response, error) { return r.ApiService.GetUserNotificationCountExecute(r) } @@ -4191,13 +3978,13 @@ func (a *PublicAPIService) GetUserNotificationCount(ctx context.Context) ApiGetU } // Execute executes the request -// @return GetUserNotificationCountResponse -func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificationCountRequest) (*GetUserNotificationCountResponse, *http.Response, error) { +// @return GetUserNotificationCountResponse1 +func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificationCountRequest) (*GetUserNotificationCountResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserNotificationCountResponse + localVarReturnValue *GetUserNotificationCountResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserNotificationCount") @@ -4257,14 +4044,6 @@ func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificat body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4358,7 +4137,7 @@ func (r ApiGetUserNotificationsRequest) Sso(sso string) ApiGetUserNotificationsR return r } -func (r ApiGetUserNotificationsRequest) Execute() (*GetMyNotificationsResponse, *http.Response, error) { +func (r ApiGetUserNotificationsRequest) Execute() (*GetUserNotificationsResponse, *http.Response, error) { return r.ApiService.GetUserNotificationsExecute(r) } @@ -4376,13 +4155,13 @@ func (a *PublicAPIService) GetUserNotifications(ctx context.Context) ApiGetUserN } // Execute executes the request -// @return GetMyNotificationsResponse -func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotificationsRequest) (*GetMyNotificationsResponse, *http.Response, error) { +// @return GetUserNotificationsResponse +func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotificationsRequest) (*GetUserNotificationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetMyNotificationsResponse + localVarReturnValue *GetUserNotificationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserNotifications") @@ -4472,14 +4251,6 @@ func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotifications body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4518,7 +4289,7 @@ func (r ApiGetUserPresenceStatusesRequest) UserIds(userIds string) ApiGetUserPre return r } -func (r ApiGetUserPresenceStatusesRequest) Execute() (*GetUserPresenceStatusesResponse, *http.Response, error) { +func (r ApiGetUserPresenceStatusesRequest) Execute() (*GetUserPresenceStatusesResponse1, *http.Response, error) { return r.ApiService.GetUserPresenceStatusesExecute(r) } @@ -4536,13 +4307,13 @@ func (a *PublicAPIService) GetUserPresenceStatuses(ctx context.Context) ApiGetUs } // Execute executes the request -// @return GetUserPresenceStatusesResponse -func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceStatusesRequest) (*GetUserPresenceStatusesResponse, *http.Response, error) { +// @return GetUserPresenceStatusesResponse1 +func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceStatusesRequest) (*GetUserPresenceStatusesResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserPresenceStatusesResponse + localVarReturnValue *GetUserPresenceStatusesResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserPresenceStatuses") @@ -4616,16 +4387,7 @@ func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceSt } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4659,7 +4421,7 @@ func (r ApiGetUserReactsPublicRequest) Sso(sso string) ApiGetUserReactsPublicReq return r } -func (r ApiGetUserReactsPublicRequest) Execute() (*UserReactsResponse, *http.Response, error) { +func (r ApiGetUserReactsPublicRequest) Execute() (*GetUserReactsPublicResponse, *http.Response, error) { return r.ApiService.GetUserReactsPublicExecute(r) } @@ -4679,13 +4441,13 @@ func (a *PublicAPIService) GetUserReactsPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return UserReactsResponse -func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRequest) (*UserReactsResponse, *http.Response, error) { +// @return GetUserReactsPublicResponse +func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRequest) (*GetUserReactsPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UserReactsResponse + localVarReturnValue *GetUserReactsPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserReactsPublic") @@ -4753,14 +4515,6 @@ func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4789,7 +4543,7 @@ func (r ApiGetUsersInfoRequest) Ids(ids string) ApiGetUsersInfoRequest { return r } -func (r ApiGetUsersInfoRequest) Execute() (*PageUsersInfoResponse, *http.Response, error) { +func (r ApiGetUsersInfoRequest) Execute() (*GetUsersInfoResponse, *http.Response, error) { return r.ApiService.GetUsersInfoExecute(r) } @@ -4813,13 +4567,13 @@ func (a *PublicAPIService) GetUsersInfo(ctx context.Context, tenantId string) Ap } // Execute executes the request -// @return PageUsersInfoResponse -func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*PageUsersInfoResponse, *http.Response, error) { +// @return GetUsersInfoResponse +func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*GetUsersInfoResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PageUsersInfoResponse + localVarReturnValue *GetUsersInfoResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUsersInfo") @@ -4886,16 +4640,7 @@ func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*PageU } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4923,7 +4668,7 @@ func (r ApiGetV1PageLikesRequest) UrlId(urlId string) ApiGetV1PageLikesRequest { return r } -func (r ApiGetV1PageLikesRequest) Execute() (*GetV1PageLikes, *http.Response, error) { +func (r ApiGetV1PageLikesRequest) Execute() (*GetV1PageLikesResponse, *http.Response, error) { return r.ApiService.GetV1PageLikesExecute(r) } @@ -4943,13 +4688,13 @@ func (a *PublicAPIService) GetV1PageLikes(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetV1PageLikes -func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*GetV1PageLikes, *http.Response, error) { +// @return GetV1PageLikesResponse +func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*GetV1PageLikesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV1PageLikes + localVarReturnValue *GetV1PageLikesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV1PageLikes") @@ -5007,14 +4752,6 @@ func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*G body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5048,7 +4785,7 @@ func (r ApiGetV2PageReactUsersRequest) Id(id string) ApiGetV2PageReactUsersReque return r } -func (r ApiGetV2PageReactUsersRequest) Execute() (*GetV2PageReactUsersResponse, *http.Response, error) { +func (r ApiGetV2PageReactUsersRequest) Execute() (*GetV2PageReactUsersResponse1, *http.Response, error) { return r.ApiService.GetV2PageReactUsersExecute(r) } @@ -5068,13 +4805,13 @@ func (a *PublicAPIService) GetV2PageReactUsers(ctx context.Context, tenantId str } // Execute executes the request -// @return GetV2PageReactUsersResponse -func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRequest) (*GetV2PageReactUsersResponse, *http.Response, error) { +// @return GetV2PageReactUsersResponse1 +func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRequest) (*GetV2PageReactUsersResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV2PageReactUsersResponse + localVarReturnValue *GetV2PageReactUsersResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV2PageReactUsers") @@ -5136,14 +4873,6 @@ func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5171,7 +4900,7 @@ func (r ApiGetV2PageReactsRequest) UrlId(urlId string) ApiGetV2PageReactsRequest return r } -func (r ApiGetV2PageReactsRequest) Execute() (*GetV2PageReacts, *http.Response, error) { +func (r ApiGetV2PageReactsRequest) Execute() (*GetV2PageReactsResponse, *http.Response, error) { return r.ApiService.GetV2PageReactsExecute(r) } @@ -5191,13 +4920,13 @@ func (a *PublicAPIService) GetV2PageReacts(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetV2PageReacts -func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) (*GetV2PageReacts, *http.Response, error) { +// @return GetV2PageReactsResponse +func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) (*GetV2PageReactsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV2PageReacts + localVarReturnValue *GetV2PageReactsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV2PageReacts") @@ -5255,14 +4984,6 @@ func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5297,7 +5018,7 @@ func (r ApiLockCommentRequest) Sso(sso string) ApiLockCommentRequest { return r } -func (r ApiLockCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiLockCommentRequest) Execute() (*LockCommentResponse, *http.Response, error) { return r.ApiService.LockCommentExecute(r) } @@ -5319,13 +5040,13 @@ func (a *PublicAPIService) LockComment(ctx context.Context, tenantId string, com } // Execute executes the request -// @return APIEmptyResponse -func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return LockCommentResponse +func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*LockCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *LockCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.LockComment") @@ -5387,14 +5108,6 @@ func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*APIEmpt body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5526,7 +5239,7 @@ func (r ApiPinCommentRequest) Sso(sso string) ApiPinCommentRequest { return r } -func (r ApiPinCommentRequest) Execute() (*ChangeCommentPinStatusResponse, *http.Response, error) { +func (r ApiPinCommentRequest) Execute() (*PinCommentResponse, *http.Response, error) { return r.ApiService.PinCommentExecute(r) } @@ -5548,13 +5261,13 @@ func (a *PublicAPIService) PinComment(ctx context.Context, tenantId string, comm } // Execute executes the request -// @return ChangeCommentPinStatusResponse -func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*ChangeCommentPinStatusResponse, *http.Response, error) { +// @return PinCommentResponse +func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*PinCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ChangeCommentPinStatusResponse + localVarReturnValue *PinCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.PinComment") @@ -5616,14 +5329,6 @@ func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*ChangeCom body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5670,7 +5375,7 @@ func (r ApiReactFeedPostPublicRequest) Sso(sso string) ApiReactFeedPostPublicReq return r } -func (r ApiReactFeedPostPublicRequest) Execute() (*ReactFeedPostResponse, *http.Response, error) { +func (r ApiReactFeedPostPublicRequest) Execute() (*ReactFeedPostPublicResponse, *http.Response, error) { return r.ApiService.ReactFeedPostPublicExecute(r) } @@ -5692,13 +5397,13 @@ func (a *PublicAPIService) ReactFeedPostPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return ReactFeedPostResponse -func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRequest) (*ReactFeedPostResponse, *http.Response, error) { +// @return ReactFeedPostPublicResponse +func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRequest) (*ReactFeedPostPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ReactFeedPostResponse + localVarReturnValue *ReactFeedPostPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ReactFeedPostPublic") @@ -5767,14 +5472,6 @@ func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5807,7 +5504,7 @@ func (r ApiResetUserNotificationCountRequest) Sso(sso string) ApiResetUserNotifi return r } -func (r ApiResetUserNotificationCountRequest) Execute() (*ResetUserNotificationsResponse, *http.Response, error) { +func (r ApiResetUserNotificationCountRequest) Execute() (*ResetUserNotificationCountResponse, *http.Response, error) { return r.ApiService.ResetUserNotificationCountExecute(r) } @@ -5825,13 +5522,13 @@ func (a *PublicAPIService) ResetUserNotificationCount(ctx context.Context) ApiRe } // Execute executes the request -// @return ResetUserNotificationsResponse -func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotificationCountRequest) (*ResetUserNotificationsResponse, *http.Response, error) { +// @return ResetUserNotificationCountResponse +func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotificationCountRequest) (*ResetUserNotificationCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ResetUserNotificationsResponse + localVarReturnValue *ResetUserNotificationCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ResetUserNotificationCount") @@ -5891,14 +5588,6 @@ func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotif body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5961,7 +5650,7 @@ func (r ApiResetUserNotificationsRequest) Sso(sso string) ApiResetUserNotificati return r } -func (r ApiResetUserNotificationsRequest) Execute() (*ResetUserNotificationsResponse, *http.Response, error) { +func (r ApiResetUserNotificationsRequest) Execute() (*ResetUserNotificationsResponse1, *http.Response, error) { return r.ApiService.ResetUserNotificationsExecute(r) } @@ -5979,13 +5668,13 @@ func (a *PublicAPIService) ResetUserNotifications(ctx context.Context) ApiResetU } // Execute executes the request -// @return ResetUserNotificationsResponse -func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificationsRequest) (*ResetUserNotificationsResponse, *http.Response, error) { +// @return ResetUserNotificationsResponse1 +func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificationsRequest) (*ResetUserNotificationsResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ResetUserNotificationsResponse + localVarReturnValue *ResetUserNotificationsResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ResetUserNotifications") @@ -6060,14 +5749,6 @@ func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificat body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6119,7 +5800,7 @@ func (r ApiSearchUsersRequest) SearchSection(searchSection string) ApiSearchUser return r } -func (r ApiSearchUsersRequest) Execute() (*SearchUsersResult, *http.Response, error) { +func (r ApiSearchUsersRequest) Execute() (*SearchUsersResponse1, *http.Response, error) { return r.ApiService.SearchUsersExecute(r) } @@ -6139,13 +5820,13 @@ func (a *PublicAPIService) SearchUsers(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return SearchUsersResult -func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchUsersResult, *http.Response, error) { +// @return SearchUsersResponse1 +func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchUsersResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SearchUsersResult + localVarReturnValue *SearchUsersResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.SearchUsers") @@ -6223,14 +5904,6 @@ func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchU body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6277,7 +5950,7 @@ func (r ApiSetCommentTextRequest) Sso(sso string) ApiSetCommentTextRequest { return r } -func (r ApiSetCommentTextRequest) Execute() (*PublicAPISetCommentTextResponse, *http.Response, error) { +func (r ApiSetCommentTextRequest) Execute() (*SetCommentTextResponse1, *http.Response, error) { return r.ApiService.SetCommentTextExecute(r) } @@ -6299,13 +5972,13 @@ func (a *PublicAPIService) SetCommentText(ctx context.Context, tenantId string, } // Execute executes the request -// @return PublicAPISetCommentTextResponse -func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*PublicAPISetCommentTextResponse, *http.Response, error) { +// @return SetCommentTextResponse1 +func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*SetCommentTextResponse1, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PublicAPISetCommentTextResponse + localVarReturnValue *SetCommentTextResponse1 ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.SetCommentText") @@ -6375,14 +6048,6 @@ func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*P body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6422,7 +6087,7 @@ func (r ApiUnBlockCommentPublicRequest) Sso(sso string) ApiUnBlockCommentPublicR return r } -func (r ApiUnBlockCommentPublicRequest) Execute() (*UnblockSuccess, *http.Response, error) { +func (r ApiUnBlockCommentPublicRequest) Execute() (*UnBlockCommentPublicResponse, *http.Response, error) { return r.ApiService.UnBlockCommentPublicExecute(r) } @@ -6442,13 +6107,13 @@ func (a *PublicAPIService) UnBlockCommentPublic(ctx context.Context, commentId s } // Execute executes the request -// @return UnblockSuccess -func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublicRequest) (*UnblockSuccess, *http.Response, error) { +// @return UnBlockCommentPublicResponse +func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublicRequest) (*UnBlockCommentPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnblockSuccess + localVarReturnValue *UnBlockCommentPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnBlockCommentPublic") @@ -6514,14 +6179,6 @@ func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublic body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6556,7 +6213,7 @@ func (r ApiUnLockCommentRequest) Sso(sso string) ApiUnLockCommentRequest { return r } -func (r ApiUnLockCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { +func (r ApiUnLockCommentRequest) Execute() (*UnLockCommentResponse, *http.Response, error) { return r.ApiService.UnLockCommentExecute(r) } @@ -6578,13 +6235,13 @@ func (a *PublicAPIService) UnLockComment(ctx context.Context, tenantId string, c } // Execute executes the request -// @return APIEmptyResponse -func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*APIEmptyResponse, *http.Response, error) { +// @return UnLockCommentResponse +func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*UnLockCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *APIEmptyResponse + localVarReturnValue *UnLockCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnLockComment") @@ -6646,14 +6303,6 @@ func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*API body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6688,7 +6337,7 @@ func (r ApiUnPinCommentRequest) Sso(sso string) ApiUnPinCommentRequest { return r } -func (r ApiUnPinCommentRequest) Execute() (*ChangeCommentPinStatusResponse, *http.Response, error) { +func (r ApiUnPinCommentRequest) Execute() (*UnPinCommentResponse, *http.Response, error) { return r.ApiService.UnPinCommentExecute(r) } @@ -6710,13 +6359,13 @@ func (a *PublicAPIService) UnPinComment(ctx context.Context, tenantId string, co } // Execute executes the request -// @return ChangeCommentPinStatusResponse -func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*ChangeCommentPinStatusResponse, *http.Response, error) { +// @return UnPinCommentResponse +func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*UnPinCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ChangeCommentPinStatusResponse + localVarReturnValue *UnPinCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnPinComment") @@ -6778,14 +6427,6 @@ func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*Chang body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6826,7 +6467,7 @@ func (r ApiUpdateFeedPostPublicRequest) Sso(sso string) ApiUpdateFeedPostPublicR return r } -func (r ApiUpdateFeedPostPublicRequest) Execute() (*CreateFeedPostResponse, *http.Response, error) { +func (r ApiUpdateFeedPostPublicRequest) Execute() (*UpdateFeedPostPublicResponse, *http.Response, error) { return r.ApiService.UpdateFeedPostPublicExecute(r) } @@ -6848,13 +6489,13 @@ func (a *PublicAPIService) UpdateFeedPostPublic(ctx context.Context, tenantId st } // Execute executes the request -// @return CreateFeedPostResponse -func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublicRequest) (*CreateFeedPostResponse, *http.Response, error) { +// @return UpdateFeedPostPublicResponse +func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublicRequest) (*UpdateFeedPostPublicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateFeedPostResponse + localVarReturnValue *UpdateFeedPostPublicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UpdateFeedPostPublic") @@ -6920,14 +6561,6 @@ func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7064,14 +6697,6 @@ func (a *PublicAPIService) UpdateUserNotificationCommentSubscriptionStatusExecut body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7225,14 +6850,6 @@ func (a *PublicAPIService) UpdateUserNotificationPageSubscriptionStatusExecute(r body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7357,14 +6974,6 @@ func (a *PublicAPIService) UpdateUserNotificationStatusExecute(r ApiUpdateUserNo body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7564,7 +7173,7 @@ func (r ApiVoteCommentRequest) Sso(sso string) ApiVoteCommentRequest { return r } -func (r ApiVoteCommentRequest) Execute() (*VoteResponse, *http.Response, error) { +func (r ApiVoteCommentRequest) Execute() (*VoteCommentResponse, *http.Response, error) { return r.ApiService.VoteCommentExecute(r) } @@ -7586,13 +7195,13 @@ func (a *PublicAPIService) VoteComment(ctx context.Context, tenantId string, com } // Execute executes the request -// @return VoteResponse -func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteResponse, *http.Response, error) { +// @return VoteCommentResponse +func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteResponse + localVarReturnValue *VoteCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.VoteComment") @@ -7666,14 +7275,6 @@ func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteRes body: localVarBody, error: localVarHTTPResponse.Status, } - var v APIError - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) - newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md new file mode 100644 index 0000000..1e817fb --- /dev/null +++ b/client/docs/AddHashTagResponse.md @@ -0,0 +1,244 @@ +# AddHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**HashTag** | [**TenantHashTag**](TenantHashTag.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewAddHashTagResponse + +`func NewAddHashTagResponse(status APIStatus, hashTag TenantHashTag, reason string, code string, ) *AddHashTagResponse` + +NewAddHashTagResponse instantiates a new AddHashTagResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAddHashTagResponseWithDefaults + +`func NewAddHashTagResponseWithDefaults() *AddHashTagResponse` + +NewAddHashTagResponseWithDefaults instantiates a new AddHashTagResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *AddHashTagResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AddHashTagResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AddHashTagResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetHashTag + +`func (o *AddHashTagResponse) GetHashTag() TenantHashTag` + +GetHashTag returns the HashTag field if non-nil, zero value otherwise. + +### GetHashTagOk + +`func (o *AddHashTagResponse) GetHashTagOk() (*TenantHashTag, bool)` + +GetHashTagOk returns a tuple with the HashTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHashTag + +`func (o *AddHashTagResponse) SetHashTag(v TenantHashTag)` + +SetHashTag sets HashTag field to given value. + + +### GetReason + +`func (o *AddHashTagResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *AddHashTagResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *AddHashTagResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *AddHashTagResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *AddHashTagResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *AddHashTagResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *AddHashTagResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *AddHashTagResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *AddHashTagResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *AddHashTagResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *AddHashTagResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *AddHashTagResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *AddHashTagResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *AddHashTagResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *AddHashTagResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *AddHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *AddHashTagResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *AddHashTagResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *AddHashTagResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *AddHashTagResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *AddHashTagResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *AddHashTagResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *AddHashTagResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *AddHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *AddHashTagResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *AddHashTagResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md new file mode 100644 index 0000000..83feba1 --- /dev/null +++ b/client/docs/AddHashTagsBulkResponse.md @@ -0,0 +1,244 @@ +# AddHashTagsBulkResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Results** | [**[]BulkCreateHashTagsResponseResultsInner**](BulkCreateHashTagsResponseResultsInner.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewAddHashTagsBulkResponse + +`func NewAddHashTagsBulkResponse(status APIStatus, results []BulkCreateHashTagsResponseResultsInner, reason string, code string, ) *AddHashTagsBulkResponse` + +NewAddHashTagsBulkResponse instantiates a new AddHashTagsBulkResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAddHashTagsBulkResponseWithDefaults + +`func NewAddHashTagsBulkResponseWithDefaults() *AddHashTagsBulkResponse` + +NewAddHashTagsBulkResponseWithDefaults instantiates a new AddHashTagsBulkResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *AddHashTagsBulkResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AddHashTagsBulkResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AddHashTagsBulkResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetResults + +`func (o *AddHashTagsBulkResponse) GetResults() []BulkCreateHashTagsResponseResultsInner` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *AddHashTagsBulkResponse) GetResultsOk() (*[]BulkCreateHashTagsResponseResultsInner, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *AddHashTagsBulkResponse) SetResults(v []BulkCreateHashTagsResponseResultsInner)` + +SetResults sets Results field to given value. + + +### GetReason + +`func (o *AddHashTagsBulkResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *AddHashTagsBulkResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *AddHashTagsBulkResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *AddHashTagsBulkResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *AddHashTagsBulkResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *AddHashTagsBulkResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *AddHashTagsBulkResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *AddHashTagsBulkResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *AddHashTagsBulkResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *AddHashTagsBulkResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *AddHashTagsBulkResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *AddHashTagsBulkResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *AddHashTagsBulkResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *AddHashTagsBulkResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *AddHashTagsBulkResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *AddHashTagsBulkResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *AddHashTagsBulkResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *AddHashTagsBulkResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *AddHashTagsBulkResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *AddHashTagsBulkResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *AddHashTagsBulkResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *AddHashTagsBulkResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *AddHashTagsBulkResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *AddHashTagsBulkResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *AddHashTagsBulkResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *AddHashTagsBulkResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..f539505 --- /dev/null +++ b/client/docs/AggregateQuestionResultsResponse1.md @@ -0,0 +1,244 @@ +# AggregateQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewAggregateQuestionResultsResponse1 + +`func NewAggregateQuestionResultsResponse1(status APIStatus, data QuestionResultAggregationOverall, reason string, code string, ) *AggregateQuestionResultsResponse1` + +NewAggregateQuestionResultsResponse1 instantiates a new AggregateQuestionResultsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAggregateQuestionResultsResponse1WithDefaults + +`func NewAggregateQuestionResultsResponse1WithDefaults() *AggregateQuestionResultsResponse1` + +NewAggregateQuestionResultsResponse1WithDefaults instantiates a new AggregateQuestionResultsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *AggregateQuestionResultsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AggregateQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AggregateQuestionResultsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetData + +`func (o *AggregateQuestionResultsResponse1) GetData() QuestionResultAggregationOverall` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *AggregateQuestionResultsResponse1) GetDataOk() (*QuestionResultAggregationOverall, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *AggregateQuestionResultsResponse1) SetData(v QuestionResultAggregationOverall)` + +SetData sets Data field to given value. + + +### GetReason + +`func (o *AggregateQuestionResultsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *AggregateQuestionResultsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *AggregateQuestionResultsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *AggregateQuestionResultsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *AggregateQuestionResultsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *AggregateQuestionResultsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *AggregateQuestionResultsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *AggregateQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *AggregateQuestionResultsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *AggregateQuestionResultsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *AggregateQuestionResultsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *AggregateQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *AggregateQuestionResultsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *AggregateQuestionResultsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *AggregateQuestionResultsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *AggregateQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *AggregateQuestionResultsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *AggregateQuestionResultsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *AggregateQuestionResultsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *AggregateQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *AggregateQuestionResultsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *AggregateQuestionResultsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *AggregateQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *AggregateQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *AggregateQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *AggregateQuestionResultsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md new file mode 100644 index 0000000..8cd9011 --- /dev/null +++ b/client/docs/BlockFromCommentPublicResponse.md @@ -0,0 +1,244 @@ +# BlockFromCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewBlockFromCommentPublicResponse + +`func NewBlockFromCommentPublicResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *BlockFromCommentPublicResponse` + +NewBlockFromCommentPublicResponse instantiates a new BlockFromCommentPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBlockFromCommentPublicResponseWithDefaults + +`func NewBlockFromCommentPublicResponseWithDefaults() *BlockFromCommentPublicResponse` + +NewBlockFromCommentPublicResponseWithDefaults instantiates a new BlockFromCommentPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *BlockFromCommentPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *BlockFromCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *BlockFromCommentPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCommentStatuses + +`func (o *BlockFromCommentPublicResponse) GetCommentStatuses() map[string]bool` + +GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. + +### GetCommentStatusesOk + +`func (o *BlockFromCommentPublicResponse) GetCommentStatusesOk() (*map[string]bool, bool)` + +GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentStatuses + +`func (o *BlockFromCommentPublicResponse) SetCommentStatuses(v map[string]bool)` + +SetCommentStatuses sets CommentStatuses field to given value. + + +### GetReason + +`func (o *BlockFromCommentPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *BlockFromCommentPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *BlockFromCommentPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *BlockFromCommentPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *BlockFromCommentPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *BlockFromCommentPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *BlockFromCommentPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *BlockFromCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *BlockFromCommentPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *BlockFromCommentPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *BlockFromCommentPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *BlockFromCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *BlockFromCommentPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *BlockFromCommentPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *BlockFromCommentPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *BlockFromCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *BlockFromCommentPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *BlockFromCommentPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *BlockFromCommentPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *BlockFromCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *BlockFromCommentPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *BlockFromCommentPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *BlockFromCommentPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *BlockFromCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *BlockFromCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *BlockFromCommentPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md new file mode 100644 index 0000000..c4da8f7 --- /dev/null +++ b/client/docs/BlockUserFromCommentResponse.md @@ -0,0 +1,244 @@ +# BlockUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewBlockUserFromCommentResponse + +`func NewBlockUserFromCommentResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *BlockUserFromCommentResponse` + +NewBlockUserFromCommentResponse instantiates a new BlockUserFromCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBlockUserFromCommentResponseWithDefaults + +`func NewBlockUserFromCommentResponseWithDefaults() *BlockUserFromCommentResponse` + +NewBlockUserFromCommentResponseWithDefaults instantiates a new BlockUserFromCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *BlockUserFromCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *BlockUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *BlockUserFromCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCommentStatuses + +`func (o *BlockUserFromCommentResponse) GetCommentStatuses() map[string]bool` + +GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. + +### GetCommentStatusesOk + +`func (o *BlockUserFromCommentResponse) GetCommentStatusesOk() (*map[string]bool, bool)` + +GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentStatuses + +`func (o *BlockUserFromCommentResponse) SetCommentStatuses(v map[string]bool)` + +SetCommentStatuses sets CommentStatuses field to given value. + + +### GetReason + +`func (o *BlockUserFromCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *BlockUserFromCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *BlockUserFromCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *BlockUserFromCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *BlockUserFromCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *BlockUserFromCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *BlockUserFromCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *BlockUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *BlockUserFromCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *BlockUserFromCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *BlockUserFromCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *BlockUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *BlockUserFromCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *BlockUserFromCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *BlockUserFromCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *BlockUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *BlockUserFromCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *BlockUserFromCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *BlockUserFromCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *BlockUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *BlockUserFromCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *BlockUserFromCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *BlockUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *BlockUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *BlockUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *BlockUserFromCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md new file mode 100644 index 0000000..77521f6 --- /dev/null +++ b/client/docs/BulkAggregateQuestionResultsResponse1.md @@ -0,0 +1,244 @@ +# BulkAggregateQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Data** | [**map[string]QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewBulkAggregateQuestionResultsResponse1 + +`func NewBulkAggregateQuestionResultsResponse1(status APIStatus, data map[string]QuestionResultAggregationOverall, reason string, code string, ) *BulkAggregateQuestionResultsResponse1` + +NewBulkAggregateQuestionResultsResponse1 instantiates a new BulkAggregateQuestionResultsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBulkAggregateQuestionResultsResponse1WithDefaults + +`func NewBulkAggregateQuestionResultsResponse1WithDefaults() *BulkAggregateQuestionResultsResponse1` + +NewBulkAggregateQuestionResultsResponse1WithDefaults instantiates a new BulkAggregateQuestionResultsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *BulkAggregateQuestionResultsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *BulkAggregateQuestionResultsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetData + +`func (o *BulkAggregateQuestionResultsResponse1) GetData() map[string]QuestionResultAggregationOverall` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetDataOk() (*map[string]QuestionResultAggregationOverall, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *BulkAggregateQuestionResultsResponse1) SetData(v map[string]QuestionResultAggregationOverall)` + +SetData sets Data field to given value. + + +### GetReason + +`func (o *BulkAggregateQuestionResultsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *BulkAggregateQuestionResultsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *BulkAggregateQuestionResultsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *BulkAggregateQuestionResultsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *BulkAggregateQuestionResultsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *BulkAggregateQuestionResultsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *BulkAggregateQuestionResultsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *BulkAggregateQuestionResultsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *BulkAggregateQuestionResultsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *BulkAggregateQuestionResultsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *BulkAggregateQuestionResultsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *BulkAggregateQuestionResultsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *BulkAggregateQuestionResultsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *BulkAggregateQuestionResultsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *BulkAggregateQuestionResultsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *BulkAggregateQuestionResultsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *BulkAggregateQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *BulkAggregateQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *BulkAggregateQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *BulkAggregateQuestionResultsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md new file mode 100644 index 0000000..a64b0e7 --- /dev/null +++ b/client/docs/ChangeTicketStateResponse1.md @@ -0,0 +1,244 @@ +# ChangeTicketStateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Ticket** | [**APITicket**](APITicket.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewChangeTicketStateResponse1 + +`func NewChangeTicketStateResponse1(status APIStatus, ticket APITicket, reason string, code string, ) *ChangeTicketStateResponse1` + +NewChangeTicketStateResponse1 instantiates a new ChangeTicketStateResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewChangeTicketStateResponse1WithDefaults + +`func NewChangeTicketStateResponse1WithDefaults() *ChangeTicketStateResponse1` + +NewChangeTicketStateResponse1WithDefaults instantiates a new ChangeTicketStateResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ChangeTicketStateResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ChangeTicketStateResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ChangeTicketStateResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTicket + +`func (o *ChangeTicketStateResponse1) GetTicket() APITicket` + +GetTicket returns the Ticket field if non-nil, zero value otherwise. + +### GetTicketOk + +`func (o *ChangeTicketStateResponse1) GetTicketOk() (*APITicket, bool)` + +GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTicket + +`func (o *ChangeTicketStateResponse1) SetTicket(v APITicket)` + +SetTicket sets Ticket field to given value. + + +### GetReason + +`func (o *ChangeTicketStateResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ChangeTicketStateResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ChangeTicketStateResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *ChangeTicketStateResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ChangeTicketStateResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ChangeTicketStateResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *ChangeTicketStateResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ChangeTicketStateResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ChangeTicketStateResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ChangeTicketStateResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ChangeTicketStateResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ChangeTicketStateResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ChangeTicketStateResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ChangeTicketStateResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ChangeTicketStateResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ChangeTicketStateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ChangeTicketStateResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ChangeTicketStateResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ChangeTicketStateResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ChangeTicketStateResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ChangeTicketStateResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ChangeTicketStateResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ChangeTicketStateResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ChangeTicketStateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ChangeTicketStateResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ChangeTicketStateResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md new file mode 100644 index 0000000..b8d748a --- /dev/null +++ b/client/docs/CheckedCommentsForBlockedResponse.md @@ -0,0 +1,244 @@ +# CheckedCommentsForBlockedResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCheckedCommentsForBlockedResponse + +`func NewCheckedCommentsForBlockedResponse(commentStatuses map[string]bool, status APIStatus, reason string, code string, ) *CheckedCommentsForBlockedResponse` + +NewCheckedCommentsForBlockedResponse instantiates a new CheckedCommentsForBlockedResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCheckedCommentsForBlockedResponseWithDefaults + +`func NewCheckedCommentsForBlockedResponseWithDefaults() *CheckedCommentsForBlockedResponse` + +NewCheckedCommentsForBlockedResponseWithDefaults instantiates a new CheckedCommentsForBlockedResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCommentStatuses + +`func (o *CheckedCommentsForBlockedResponse) GetCommentStatuses() map[string]bool` + +GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. + +### GetCommentStatusesOk + +`func (o *CheckedCommentsForBlockedResponse) GetCommentStatusesOk() (*map[string]bool, bool)` + +GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentStatuses + +`func (o *CheckedCommentsForBlockedResponse) SetCommentStatuses(v map[string]bool)` + +SetCommentStatuses sets CommentStatuses field to given value. + + +### GetStatus + +`func (o *CheckedCommentsForBlockedResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CheckedCommentsForBlockedResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CheckedCommentsForBlockedResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *CheckedCommentsForBlockedResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CheckedCommentsForBlockedResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CheckedCommentsForBlockedResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CheckedCommentsForBlockedResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CheckedCommentsForBlockedResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CheckedCommentsForBlockedResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CheckedCommentsForBlockedResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CheckedCommentsForBlockedResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CheckedCommentsForBlockedResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CheckedCommentsForBlockedResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CheckedCommentsForBlockedResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CheckedCommentsForBlockedResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CheckedCommentsForBlockedResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CheckedCommentsForBlockedResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CheckedCommentsForBlockedResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CheckedCommentsForBlockedResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CheckedCommentsForBlockedResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CheckedCommentsForBlockedResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CheckedCommentsForBlockedResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CheckedCommentsForBlockedResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CheckedCommentsForBlockedResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CheckedCommentsForBlockedResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CheckedCommentsForBlockedResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CheckedCommentsForBlockedResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CheckedCommentsForBlockedResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CheckedCommentsForBlockedResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md new file mode 100644 index 0000000..3d2b983 --- /dev/null +++ b/client/docs/CombineCommentsWithQuestionResultsResponse.md @@ -0,0 +1,244 @@ +# CombineCommentsWithQuestionResultsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCombineCommentsWithQuestionResultsResponse + +`func NewCombineCommentsWithQuestionResultsResponse(status APIStatus, data FindCommentsByRangeResponse, reason string, code string, ) *CombineCommentsWithQuestionResultsResponse` + +NewCombineCommentsWithQuestionResultsResponse instantiates a new CombineCommentsWithQuestionResultsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCombineCommentsWithQuestionResultsResponseWithDefaults + +`func NewCombineCommentsWithQuestionResultsResponseWithDefaults() *CombineCommentsWithQuestionResultsResponse` + +NewCombineCommentsWithQuestionResultsResponseWithDefaults instantiates a new CombineCommentsWithQuestionResultsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CombineCommentsWithQuestionResultsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CombineCommentsWithQuestionResultsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetData + +`func (o *CombineCommentsWithQuestionResultsResponse) GetData() FindCommentsByRangeResponse` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetDataOk() (*FindCommentsByRangeResponse, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *CombineCommentsWithQuestionResultsResponse) SetData(v FindCommentsByRangeResponse)` + +SetData sets Data field to given value. + + +### GetReason + +`func (o *CombineCommentsWithQuestionResultsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CombineCommentsWithQuestionResultsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CombineCommentsWithQuestionResultsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CombineCommentsWithQuestionResultsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CombineCommentsWithQuestionResultsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CombineCommentsWithQuestionResultsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CombineCommentsWithQuestionResultsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CombineCommentsWithQuestionResultsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CombineCommentsWithQuestionResultsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CombineCommentsWithQuestionResultsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CombineCommentsWithQuestionResultsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CombineCommentsWithQuestionResultsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CombineCommentsWithQuestionResultsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CombineCommentsWithQuestionResultsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CombineCommentsWithQuestionResultsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CombineCommentsWithQuestionResultsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CombineCommentsWithQuestionResultsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CombineCommentsWithQuestionResultsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CombineCommentsWithQuestionResultsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CombineCommentsWithQuestionResultsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md new file mode 100644 index 0000000..bd71bc7 --- /dev/null +++ b/client/docs/CreateCommentPublicResponse.md @@ -0,0 +1,327 @@ +# CreateCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Comment** | [**PublicComment**](PublicComment.md) | | +**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | +**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] +**UserIdWS** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateCommentPublicResponse + +`func NewCreateCommentPublicResponse(status APIStatus, comment PublicComment, user NullableUserSessionInfo, reason string, code string, ) *CreateCommentPublicResponse` + +NewCreateCommentPublicResponse instantiates a new CreateCommentPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateCommentPublicResponseWithDefaults + +`func NewCreateCommentPublicResponseWithDefaults() *CreateCommentPublicResponse` + +NewCreateCommentPublicResponseWithDefaults instantiates a new CreateCommentPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateCommentPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateCommentPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetComment + +`func (o *CreateCommentPublicResponse) GetComment() PublicComment` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *CreateCommentPublicResponse) GetCommentOk() (*PublicComment, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *CreateCommentPublicResponse) SetComment(v PublicComment)` + +SetComment sets Comment field to given value. + + +### GetUser + +`func (o *CreateCommentPublicResponse) GetUser() UserSessionInfo` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *CreateCommentPublicResponse) GetUserOk() (*UserSessionInfo, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *CreateCommentPublicResponse) SetUser(v UserSessionInfo)` + +SetUser sets User field to given value. + + +### SetUserNil + +`func (o *CreateCommentPublicResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *CreateCommentPublicResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetModuleData + +`func (o *CreateCommentPublicResponse) GetModuleData() map[string]map[string]interface{}` + +GetModuleData returns the ModuleData field if non-nil, zero value otherwise. + +### GetModuleDataOk + +`func (o *CreateCommentPublicResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` + +GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleData + +`func (o *CreateCommentPublicResponse) SetModuleData(v map[string]map[string]interface{})` + +SetModuleData sets ModuleData field to given value. + +### HasModuleData + +`func (o *CreateCommentPublicResponse) HasModuleData() bool` + +HasModuleData returns a boolean if a field has been set. + +### GetUserIdWS + +`func (o *CreateCommentPublicResponse) GetUserIdWS() string` + +GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. + +### GetUserIdWSOk + +`func (o *CreateCommentPublicResponse) GetUserIdWSOk() (*string, bool)` + +GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserIdWS + +`func (o *CreateCommentPublicResponse) SetUserIdWS(v string)` + +SetUserIdWS sets UserIdWS field to given value. + +### HasUserIdWS + +`func (o *CreateCommentPublicResponse) HasUserIdWS() bool` + +HasUserIdWS returns a boolean if a field has been set. + +### GetReason + +`func (o *CreateCommentPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateCommentPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateCommentPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateCommentPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateCommentPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateCommentPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateCommentPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateCommentPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateCommentPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateCommentPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateCommentPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateCommentPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateCommentPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateCommentPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateCommentPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateCommentPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateCommentPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateCommentPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateCommentPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateCommentPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md new file mode 100644 index 0000000..2c0bb22 --- /dev/null +++ b/client/docs/CreateEmailTemplateResponse1.md @@ -0,0 +1,244 @@ +# CreateEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**EmailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateEmailTemplateResponse1 + +`func NewCreateEmailTemplateResponse1(status APIStatus, emailTemplate CustomEmailTemplate, reason string, code string, ) *CreateEmailTemplateResponse1` + +NewCreateEmailTemplateResponse1 instantiates a new CreateEmailTemplateResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateEmailTemplateResponse1WithDefaults + +`func NewCreateEmailTemplateResponse1WithDefaults() *CreateEmailTemplateResponse1` + +NewCreateEmailTemplateResponse1WithDefaults instantiates a new CreateEmailTemplateResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateEmailTemplateResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateEmailTemplateResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetEmailTemplate + +`func (o *CreateEmailTemplateResponse1) GetEmailTemplate() CustomEmailTemplate` + +GetEmailTemplate returns the EmailTemplate field if non-nil, zero value otherwise. + +### GetEmailTemplateOk + +`func (o *CreateEmailTemplateResponse1) GetEmailTemplateOk() (*CustomEmailTemplate, bool)` + +GetEmailTemplateOk returns a tuple with the EmailTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmailTemplate + +`func (o *CreateEmailTemplateResponse1) SetEmailTemplate(v CustomEmailTemplate)` + +SetEmailTemplate sets EmailTemplate field to given value. + + +### GetReason + +`func (o *CreateEmailTemplateResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateEmailTemplateResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateEmailTemplateResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateEmailTemplateResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateEmailTemplateResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateEmailTemplateResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateEmailTemplateResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateEmailTemplateResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateEmailTemplateResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateEmailTemplateResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateEmailTemplateResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateEmailTemplateResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateEmailTemplateResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateEmailTemplateResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateEmailTemplateResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateEmailTemplateResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateEmailTemplateResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateEmailTemplateResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateEmailTemplateResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md new file mode 100644 index 0000000..b9cce44 --- /dev/null +++ b/client/docs/CreateFeedPostPublicResponse.md @@ -0,0 +1,244 @@ +# CreateFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**FeedPost** | [**FeedPost**](FeedPost.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateFeedPostPublicResponse + +`func NewCreateFeedPostPublicResponse(status APIStatus, feedPost FeedPost, reason string, code string, ) *CreateFeedPostPublicResponse` + +NewCreateFeedPostPublicResponse instantiates a new CreateFeedPostPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateFeedPostPublicResponseWithDefaults + +`func NewCreateFeedPostPublicResponseWithDefaults() *CreateFeedPostPublicResponse` + +NewCreateFeedPostPublicResponseWithDefaults instantiates a new CreateFeedPostPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateFeedPostPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateFeedPostPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetFeedPost + +`func (o *CreateFeedPostPublicResponse) GetFeedPost() FeedPost` + +GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. + +### GetFeedPostOk + +`func (o *CreateFeedPostPublicResponse) GetFeedPostOk() (*FeedPost, bool)` + +GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeedPost + +`func (o *CreateFeedPostPublicResponse) SetFeedPost(v FeedPost)` + +SetFeedPost sets FeedPost field to given value. + + +### GetReason + +`func (o *CreateFeedPostPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateFeedPostPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateFeedPostPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateFeedPostPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateFeedPostPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateFeedPostPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateFeedPostPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateFeedPostPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateFeedPostPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateFeedPostPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateFeedPostPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateFeedPostPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateFeedPostPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateFeedPostPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateFeedPostPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateFeedPostPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateFeedPostPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateFeedPostPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateFeedPostPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md new file mode 100644 index 0000000..ad9561f --- /dev/null +++ b/client/docs/CreateFeedPostResponse1.md @@ -0,0 +1,244 @@ +# CreateFeedPostResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**FeedPost** | [**FeedPost**](FeedPost.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateFeedPostResponse1 + +`func NewCreateFeedPostResponse1(status APIStatus, feedPost FeedPost, reason string, code string, ) *CreateFeedPostResponse1` + +NewCreateFeedPostResponse1 instantiates a new CreateFeedPostResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateFeedPostResponse1WithDefaults + +`func NewCreateFeedPostResponse1WithDefaults() *CreateFeedPostResponse1` + +NewCreateFeedPostResponse1WithDefaults instantiates a new CreateFeedPostResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateFeedPostResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateFeedPostResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateFeedPostResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetFeedPost + +`func (o *CreateFeedPostResponse1) GetFeedPost() FeedPost` + +GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. + +### GetFeedPostOk + +`func (o *CreateFeedPostResponse1) GetFeedPostOk() (*FeedPost, bool)` + +GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeedPost + +`func (o *CreateFeedPostResponse1) SetFeedPost(v FeedPost)` + +SetFeedPost sets FeedPost field to given value. + + +### GetReason + +`func (o *CreateFeedPostResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateFeedPostResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateFeedPostResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateFeedPostResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateFeedPostResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateFeedPostResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateFeedPostResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateFeedPostResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateFeedPostResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateFeedPostResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateFeedPostResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateFeedPostResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateFeedPostResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateFeedPostResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateFeedPostResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateFeedPostResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateFeedPostResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateFeedPostResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateFeedPostResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateFeedPostResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateFeedPostResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateFeedPostResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateFeedPostResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateFeedPostResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateFeedPostResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateFeedPostResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md new file mode 100644 index 0000000..4137b95 --- /dev/null +++ b/client/docs/CreateModeratorResponse1.md @@ -0,0 +1,244 @@ +# CreateModeratorResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Moderator** | [**Moderator**](Moderator.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateModeratorResponse1 + +`func NewCreateModeratorResponse1(status APIStatus, moderator Moderator, reason string, code string, ) *CreateModeratorResponse1` + +NewCreateModeratorResponse1 instantiates a new CreateModeratorResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateModeratorResponse1WithDefaults + +`func NewCreateModeratorResponse1WithDefaults() *CreateModeratorResponse1` + +NewCreateModeratorResponse1WithDefaults instantiates a new CreateModeratorResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateModeratorResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateModeratorResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateModeratorResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetModerator + +`func (o *CreateModeratorResponse1) GetModerator() Moderator` + +GetModerator returns the Moderator field if non-nil, zero value otherwise. + +### GetModeratorOk + +`func (o *CreateModeratorResponse1) GetModeratorOk() (*Moderator, bool)` + +GetModeratorOk returns a tuple with the Moderator field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModerator + +`func (o *CreateModeratorResponse1) SetModerator(v Moderator)` + +SetModerator sets Moderator field to given value. + + +### GetReason + +`func (o *CreateModeratorResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateModeratorResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateModeratorResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateModeratorResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateModeratorResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateModeratorResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateModeratorResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateModeratorResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateModeratorResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateModeratorResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateModeratorResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateModeratorResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateModeratorResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateModeratorResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateModeratorResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateModeratorResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateModeratorResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateModeratorResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateModeratorResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateModeratorResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateModeratorResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateModeratorResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateModeratorResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateModeratorResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateModeratorResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateModeratorResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md new file mode 100644 index 0000000..3ab9870 --- /dev/null +++ b/client/docs/CreateQuestionConfigResponse1.md @@ -0,0 +1,244 @@ +# CreateQuestionConfigResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionConfig** | [**QuestionConfig**](QuestionConfig.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateQuestionConfigResponse1 + +`func NewCreateQuestionConfigResponse1(status APIStatus, questionConfig QuestionConfig, reason string, code string, ) *CreateQuestionConfigResponse1` + +NewCreateQuestionConfigResponse1 instantiates a new CreateQuestionConfigResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateQuestionConfigResponse1WithDefaults + +`func NewCreateQuestionConfigResponse1WithDefaults() *CreateQuestionConfigResponse1` + +NewCreateQuestionConfigResponse1WithDefaults instantiates a new CreateQuestionConfigResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateQuestionConfigResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateQuestionConfigResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateQuestionConfigResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionConfig + +`func (o *CreateQuestionConfigResponse1) GetQuestionConfig() QuestionConfig` + +GetQuestionConfig returns the QuestionConfig field if non-nil, zero value otherwise. + +### GetQuestionConfigOk + +`func (o *CreateQuestionConfigResponse1) GetQuestionConfigOk() (*QuestionConfig, bool)` + +GetQuestionConfigOk returns a tuple with the QuestionConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionConfig + +`func (o *CreateQuestionConfigResponse1) SetQuestionConfig(v QuestionConfig)` + +SetQuestionConfig sets QuestionConfig field to given value. + + +### GetReason + +`func (o *CreateQuestionConfigResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateQuestionConfigResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateQuestionConfigResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateQuestionConfigResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateQuestionConfigResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateQuestionConfigResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateQuestionConfigResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateQuestionConfigResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateQuestionConfigResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateQuestionConfigResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateQuestionConfigResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateQuestionConfigResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateQuestionConfigResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateQuestionConfigResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateQuestionConfigResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateQuestionConfigResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateQuestionConfigResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateQuestionConfigResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateQuestionConfigResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateQuestionConfigResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateQuestionConfigResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateQuestionConfigResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateQuestionConfigResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateQuestionConfigResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateQuestionConfigResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateQuestionConfigResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md new file mode 100644 index 0000000..a602658 --- /dev/null +++ b/client/docs/CreateQuestionResultResponse1.md @@ -0,0 +1,244 @@ +# CreateQuestionResultResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionResult** | [**QuestionResult**](QuestionResult.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateQuestionResultResponse1 + +`func NewCreateQuestionResultResponse1(status APIStatus, questionResult QuestionResult, reason string, code string, ) *CreateQuestionResultResponse1` + +NewCreateQuestionResultResponse1 instantiates a new CreateQuestionResultResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateQuestionResultResponse1WithDefaults + +`func NewCreateQuestionResultResponse1WithDefaults() *CreateQuestionResultResponse1` + +NewCreateQuestionResultResponse1WithDefaults instantiates a new CreateQuestionResultResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateQuestionResultResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateQuestionResultResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateQuestionResultResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionResult + +`func (o *CreateQuestionResultResponse1) GetQuestionResult() QuestionResult` + +GetQuestionResult returns the QuestionResult field if non-nil, zero value otherwise. + +### GetQuestionResultOk + +`func (o *CreateQuestionResultResponse1) GetQuestionResultOk() (*QuestionResult, bool)` + +GetQuestionResultOk returns a tuple with the QuestionResult field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionResult + +`func (o *CreateQuestionResultResponse1) SetQuestionResult(v QuestionResult)` + +SetQuestionResult sets QuestionResult field to given value. + + +### GetReason + +`func (o *CreateQuestionResultResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateQuestionResultResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateQuestionResultResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateQuestionResultResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateQuestionResultResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateQuestionResultResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateQuestionResultResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateQuestionResultResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateQuestionResultResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateQuestionResultResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateQuestionResultResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateQuestionResultResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateQuestionResultResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateQuestionResultResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateQuestionResultResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateQuestionResultResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateQuestionResultResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateQuestionResultResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateQuestionResultResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateQuestionResultResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateQuestionResultResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateQuestionResultResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateQuestionResultResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateQuestionResultResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateQuestionResultResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateQuestionResultResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md new file mode 100644 index 0000000..17e1434 --- /dev/null +++ b/client/docs/CreateTenantPackageResponse1.md @@ -0,0 +1,244 @@ +# CreateTenantPackageResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantPackage** | [**TenantPackage**](TenantPackage.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateTenantPackageResponse1 + +`func NewCreateTenantPackageResponse1(status APIStatus, tenantPackage TenantPackage, reason string, code string, ) *CreateTenantPackageResponse1` + +NewCreateTenantPackageResponse1 instantiates a new CreateTenantPackageResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateTenantPackageResponse1WithDefaults + +`func NewCreateTenantPackageResponse1WithDefaults() *CreateTenantPackageResponse1` + +NewCreateTenantPackageResponse1WithDefaults instantiates a new CreateTenantPackageResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateTenantPackageResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateTenantPackageResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateTenantPackageResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantPackage + +`func (o *CreateTenantPackageResponse1) GetTenantPackage() TenantPackage` + +GetTenantPackage returns the TenantPackage field if non-nil, zero value otherwise. + +### GetTenantPackageOk + +`func (o *CreateTenantPackageResponse1) GetTenantPackageOk() (*TenantPackage, bool)` + +GetTenantPackageOk returns a tuple with the TenantPackage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantPackage + +`func (o *CreateTenantPackageResponse1) SetTenantPackage(v TenantPackage)` + +SetTenantPackage sets TenantPackage field to given value. + + +### GetReason + +`func (o *CreateTenantPackageResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateTenantPackageResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateTenantPackageResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateTenantPackageResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateTenantPackageResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateTenantPackageResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateTenantPackageResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateTenantPackageResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateTenantPackageResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateTenantPackageResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateTenantPackageResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateTenantPackageResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateTenantPackageResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateTenantPackageResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateTenantPackageResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateTenantPackageResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateTenantPackageResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateTenantPackageResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateTenantPackageResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateTenantPackageResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateTenantPackageResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateTenantPackageResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateTenantPackageResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateTenantPackageResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateTenantPackageResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateTenantPackageResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md new file mode 100644 index 0000000..b37ddd8 --- /dev/null +++ b/client/docs/CreateTenantResponse1.md @@ -0,0 +1,244 @@ +# CreateTenantResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Tenant** | [**APITenant**](APITenant.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateTenantResponse1 + +`func NewCreateTenantResponse1(status APIStatus, tenant APITenant, reason string, code string, ) *CreateTenantResponse1` + +NewCreateTenantResponse1 instantiates a new CreateTenantResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateTenantResponse1WithDefaults + +`func NewCreateTenantResponse1WithDefaults() *CreateTenantResponse1` + +NewCreateTenantResponse1WithDefaults instantiates a new CreateTenantResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateTenantResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateTenantResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateTenantResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenant + +`func (o *CreateTenantResponse1) GetTenant() APITenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *CreateTenantResponse1) GetTenantOk() (*APITenant, bool)` + +GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenant + +`func (o *CreateTenantResponse1) SetTenant(v APITenant)` + +SetTenant sets Tenant field to given value. + + +### GetReason + +`func (o *CreateTenantResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateTenantResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateTenantResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateTenantResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateTenantResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateTenantResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateTenantResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateTenantResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateTenantResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateTenantResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateTenantResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateTenantResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateTenantResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateTenantResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateTenantResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateTenantResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateTenantResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateTenantResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateTenantResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateTenantResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateTenantResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateTenantResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateTenantResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateTenantResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateTenantResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateTenantResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md new file mode 100644 index 0000000..a9e4821 --- /dev/null +++ b/client/docs/CreateTenantUserResponse1.md @@ -0,0 +1,244 @@ +# CreateTenantUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantUser** | [**User**](User.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateTenantUserResponse1 + +`func NewCreateTenantUserResponse1(status APIStatus, tenantUser User, reason string, code string, ) *CreateTenantUserResponse1` + +NewCreateTenantUserResponse1 instantiates a new CreateTenantUserResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateTenantUserResponse1WithDefaults + +`func NewCreateTenantUserResponse1WithDefaults() *CreateTenantUserResponse1` + +NewCreateTenantUserResponse1WithDefaults instantiates a new CreateTenantUserResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateTenantUserResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateTenantUserResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateTenantUserResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantUser + +`func (o *CreateTenantUserResponse1) GetTenantUser() User` + +GetTenantUser returns the TenantUser field if non-nil, zero value otherwise. + +### GetTenantUserOk + +`func (o *CreateTenantUserResponse1) GetTenantUserOk() (*User, bool)` + +GetTenantUserOk returns a tuple with the TenantUser field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantUser + +`func (o *CreateTenantUserResponse1) SetTenantUser(v User)` + +SetTenantUser sets TenantUser field to given value. + + +### GetReason + +`func (o *CreateTenantUserResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateTenantUserResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateTenantUserResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateTenantUserResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateTenantUserResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateTenantUserResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateTenantUserResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateTenantUserResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateTenantUserResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateTenantUserResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateTenantUserResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateTenantUserResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateTenantUserResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateTenantUserResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateTenantUserResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateTenantUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateTenantUserResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateTenantUserResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateTenantUserResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateTenantUserResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateTenantUserResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateTenantUserResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateTenantUserResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateTenantUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateTenantUserResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateTenantUserResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md new file mode 100644 index 0000000..391129e --- /dev/null +++ b/client/docs/CreateTicketResponse1.md @@ -0,0 +1,244 @@ +# CreateTicketResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Ticket** | [**APITicket**](APITicket.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateTicketResponse1 + +`func NewCreateTicketResponse1(status APIStatus, ticket APITicket, reason string, code string, ) *CreateTicketResponse1` + +NewCreateTicketResponse1 instantiates a new CreateTicketResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateTicketResponse1WithDefaults + +`func NewCreateTicketResponse1WithDefaults() *CreateTicketResponse1` + +NewCreateTicketResponse1WithDefaults instantiates a new CreateTicketResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateTicketResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateTicketResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateTicketResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTicket + +`func (o *CreateTicketResponse1) GetTicket() APITicket` + +GetTicket returns the Ticket field if non-nil, zero value otherwise. + +### GetTicketOk + +`func (o *CreateTicketResponse1) GetTicketOk() (*APITicket, bool)` + +GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTicket + +`func (o *CreateTicketResponse1) SetTicket(v APITicket)` + +SetTicket sets Ticket field to given value. + + +### GetReason + +`func (o *CreateTicketResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateTicketResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateTicketResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateTicketResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateTicketResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateTicketResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateTicketResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateTicketResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateTicketResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateTicketResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateTicketResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateTicketResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateTicketResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateTicketResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateTicketResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateTicketResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateTicketResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateTicketResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateTicketResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateTicketResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateTicketResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateTicketResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateTicketResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateTicketResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateTicketResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateTicketResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md new file mode 100644 index 0000000..d92583e --- /dev/null +++ b/client/docs/CreateUserBadgeResponse.md @@ -0,0 +1,270 @@ +# CreateUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadge** | [**UserBadge**](UserBadge.md) | | +**Notes** | Pointer to **[]string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateUserBadgeResponse + +`func NewCreateUserBadgeResponse(status APIStatus, userBadge UserBadge, reason string, code string, ) *CreateUserBadgeResponse` + +NewCreateUserBadgeResponse instantiates a new CreateUserBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateUserBadgeResponseWithDefaults + +`func NewCreateUserBadgeResponseWithDefaults() *CreateUserBadgeResponse` + +NewCreateUserBadgeResponseWithDefaults instantiates a new CreateUserBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateUserBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateUserBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadge + +`func (o *CreateUserBadgeResponse) GetUserBadge() UserBadge` + +GetUserBadge returns the UserBadge field if non-nil, zero value otherwise. + +### GetUserBadgeOk + +`func (o *CreateUserBadgeResponse) GetUserBadgeOk() (*UserBadge, bool)` + +GetUserBadgeOk returns a tuple with the UserBadge field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadge + +`func (o *CreateUserBadgeResponse) SetUserBadge(v UserBadge)` + +SetUserBadge sets UserBadge field to given value. + + +### GetNotes + +`func (o *CreateUserBadgeResponse) GetNotes() []string` + +GetNotes returns the Notes field if non-nil, zero value otherwise. + +### GetNotesOk + +`func (o *CreateUserBadgeResponse) GetNotesOk() (*[]string, bool)` + +GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotes + +`func (o *CreateUserBadgeResponse) SetNotes(v []string)` + +SetNotes sets Notes field to given value. + +### HasNotes + +`func (o *CreateUserBadgeResponse) HasNotes() bool` + +HasNotes returns a boolean if a field has been set. + +### GetReason + +`func (o *CreateUserBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateUserBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateUserBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateUserBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateUserBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateUserBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateUserBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateUserBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateUserBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateUserBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateUserBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateUserBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateUserBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateUserBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateUserBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateUserBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateUserBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateUserBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateUserBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateUserBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md new file mode 100644 index 0000000..14c89f8 --- /dev/null +++ b/client/docs/CreateV1PageReactResponse.md @@ -0,0 +1,223 @@ +# CreateV1PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateV1PageReactResponse + +`func NewCreateV1PageReactResponse(code string, status APIStatus, reason string, ) *CreateV1PageReactResponse` + +NewCreateV1PageReactResponse instantiates a new CreateV1PageReactResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateV1PageReactResponseWithDefaults + +`func NewCreateV1PageReactResponseWithDefaults() *CreateV1PageReactResponse` + +NewCreateV1PageReactResponseWithDefaults instantiates a new CreateV1PageReactResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *CreateV1PageReactResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateV1PageReactResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateV1PageReactResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetStatus + +`func (o *CreateV1PageReactResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateV1PageReactResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateV1PageReactResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *CreateV1PageReactResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateV1PageReactResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateV1PageReactResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *CreateV1PageReactResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateV1PageReactResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateV1PageReactResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateV1PageReactResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateV1PageReactResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateV1PageReactResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateV1PageReactResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateV1PageReactResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateV1PageReactResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateV1PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateV1PageReactResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateV1PageReactResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateV1PageReactResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateV1PageReactResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateV1PageReactResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateV1PageReactResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateV1PageReactResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateV1PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateV1PageReactResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateV1PageReactResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md new file mode 100644 index 0000000..d621943 --- /dev/null +++ b/client/docs/CreateV2PageReactResponse.md @@ -0,0 +1,223 @@ +# CreateV2PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateV2PageReactResponse + +`func NewCreateV2PageReactResponse(code string, status APIStatus, reason string, ) *CreateV2PageReactResponse` + +NewCreateV2PageReactResponse instantiates a new CreateV2PageReactResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateV2PageReactResponseWithDefaults + +`func NewCreateV2PageReactResponseWithDefaults() *CreateV2PageReactResponse` + +NewCreateV2PageReactResponseWithDefaults instantiates a new CreateV2PageReactResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *CreateV2PageReactResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateV2PageReactResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateV2PageReactResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetStatus + +`func (o *CreateV2PageReactResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateV2PageReactResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateV2PageReactResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *CreateV2PageReactResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateV2PageReactResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateV2PageReactResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *CreateV2PageReactResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateV2PageReactResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateV2PageReactResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateV2PageReactResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateV2PageReactResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateV2PageReactResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateV2PageReactResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateV2PageReactResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateV2PageReactResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateV2PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateV2PageReactResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateV2PageReactResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateV2PageReactResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateV2PageReactResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateV2PageReactResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateV2PageReactResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateV2PageReactResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateV2PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateV2PageReactResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateV2PageReactResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md new file mode 100644 index 0000000..b0a43be --- /dev/null +++ b/client/docs/CreateVoteResponse.md @@ -0,0 +1,327 @@ +# CreateVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**VoteId** | Pointer to **string** | | [optional] +**IsVerified** | Pointer to **bool** | | [optional] +**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**EditKey** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewCreateVoteResponse + +`func NewCreateVoteResponse(status APIStatus, reason string, code string, ) *CreateVoteResponse` + +NewCreateVoteResponse instantiates a new CreateVoteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCreateVoteResponseWithDefaults + +`func NewCreateVoteResponseWithDefaults() *CreateVoteResponse` + +NewCreateVoteResponseWithDefaults instantiates a new CreateVoteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *CreateVoteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CreateVoteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CreateVoteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetVoteId + +`func (o *CreateVoteResponse) GetVoteId() string` + +GetVoteId returns the VoteId field if non-nil, zero value otherwise. + +### GetVoteIdOk + +`func (o *CreateVoteResponse) GetVoteIdOk() (*string, bool)` + +GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVoteId + +`func (o *CreateVoteResponse) SetVoteId(v string)` + +SetVoteId sets VoteId field to given value. + +### HasVoteId + +`func (o *CreateVoteResponse) HasVoteId() bool` + +HasVoteId returns a boolean if a field has been set. + +### GetIsVerified + +`func (o *CreateVoteResponse) GetIsVerified() bool` + +GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. + +### GetIsVerifiedOk + +`func (o *CreateVoteResponse) GetIsVerifiedOk() (*bool, bool)` + +GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsVerified + +`func (o *CreateVoteResponse) SetIsVerified(v bool)` + +SetIsVerified sets IsVerified field to given value. + +### HasIsVerified + +`func (o *CreateVoteResponse) HasIsVerified() bool` + +HasIsVerified returns a boolean if a field has been set. + +### GetUser + +`func (o *CreateVoteResponse) GetUser() VoteResponseUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *CreateVoteResponse) GetUserOk() (*VoteResponseUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *CreateVoteResponse) SetUser(v VoteResponseUser)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *CreateVoteResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetEditKey + +`func (o *CreateVoteResponse) GetEditKey() string` + +GetEditKey returns the EditKey field if non-nil, zero value otherwise. + +### GetEditKeyOk + +`func (o *CreateVoteResponse) GetEditKeyOk() (*string, bool)` + +GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEditKey + +`func (o *CreateVoteResponse) SetEditKey(v string)` + +SetEditKey sets EditKey field to given value. + +### HasEditKey + +`func (o *CreateVoteResponse) HasEditKey() bool` + +HasEditKey returns a boolean if a field has been set. + +### GetReason + +`func (o *CreateVoteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *CreateVoteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *CreateVoteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *CreateVoteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *CreateVoteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *CreateVoteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *CreateVoteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *CreateVoteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *CreateVoteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *CreateVoteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *CreateVoteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *CreateVoteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *CreateVoteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *CreateVoteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *CreateVoteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *CreateVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *CreateVoteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *CreateVoteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *CreateVoteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *CreateVoteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *CreateVoteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *CreateVoteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *CreateVoteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *CreateVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *CreateVoteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *CreateVoteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index fdbe0e8..04a05b6 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -189,7 +189,7 @@ Name | Type | Description | Notes ## AddHashTag -> CreateHashTagResponse AddHashTag(ctx).TenantId(tenantId).CreateHashTagBody(createHashTagBody).Execute() +> AddHashTagResponse AddHashTag(ctx).TenantId(tenantId).CreateHashTagBody(createHashTagBody).Execute() @@ -216,7 +216,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AddHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AddHashTag`: CreateHashTagResponse + // response from `AddHashTag`: AddHashTagResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AddHashTag`: %v\n", resp) } ``` @@ -237,7 +237,7 @@ Name | Type | Description | Notes ### Return type -[**CreateHashTagResponse**](CreateHashTagResponse.md) +[**AddHashTagResponse**](AddHashTagResponse.md) ### Authorization @@ -255,7 +255,7 @@ Name | Type | Description | Notes ## AddHashTagsBulk -> BulkCreateHashTagsResponse AddHashTagsBulk(ctx).TenantId(tenantId).BulkCreateHashTagsBody(bulkCreateHashTagsBody).Execute() +> AddHashTagsBulkResponse AddHashTagsBulk(ctx).TenantId(tenantId).BulkCreateHashTagsBody(bulkCreateHashTagsBody).Execute() @@ -282,7 +282,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AddHashTagsBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AddHashTagsBulk`: BulkCreateHashTagsResponse + // response from `AddHashTagsBulk`: AddHashTagsBulkResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AddHashTagsBulk`: %v\n", resp) } ``` @@ -303,7 +303,7 @@ Name | Type | Description | Notes ### Return type -[**BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) +[**AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) ### Authorization @@ -525,7 +525,7 @@ Name | Type | Description | Notes ## AggregateQuestionResults -> AggregateQuestionResultsResponse AggregateQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).TimeBucket(timeBucket).StartDate(startDate).ForceRecalculate(forceRecalculate).Execute() +> AggregateQuestionResultsResponse1 AggregateQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).TimeBucket(timeBucket).StartDate(startDate).ForceRecalculate(forceRecalculate).Execute() @@ -558,7 +558,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AggregateQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AggregateQuestionResults`: AggregateQuestionResultsResponse + // response from `AggregateQuestionResults`: AggregateQuestionResultsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AggregateQuestionResults`: %v\n", resp) } ``` @@ -584,7 +584,7 @@ Name | Type | Description | Notes ### Return type -[**AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) +[**AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse1.md) ### Authorization @@ -602,7 +602,7 @@ Name | Type | Description | Notes ## BlockUserFromComment -> BlockSuccess BlockUserFromComment(ctx, id).TenantId(tenantId).BlockFromCommentParams(blockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() +> BlockUserFromCommentResponse BlockUserFromComment(ctx, id).TenantId(tenantId).BlockFromCommentParams(blockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() @@ -632,7 +632,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.BlockUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BlockUserFromComment`: BlockSuccess + // response from `BlockUserFromComment`: BlockUserFromCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.BlockUserFromComment`: %v\n", resp) } ``` @@ -660,7 +660,7 @@ Name | Type | Description | Notes ### Return type -[**BlockSuccess**](BlockSuccess.md) +[**BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) ### Authorization @@ -678,7 +678,7 @@ Name | Type | Description | Notes ## BulkAggregateQuestionResults -> BulkAggregateQuestionResultsResponse BulkAggregateQuestionResults(ctx).TenantId(tenantId).BulkAggregateQuestionResultsRequest(bulkAggregateQuestionResultsRequest).ForceRecalculate(forceRecalculate).Execute() +> BulkAggregateQuestionResultsResponse1 BulkAggregateQuestionResults(ctx).TenantId(tenantId).BulkAggregateQuestionResultsRequest(bulkAggregateQuestionResultsRequest).ForceRecalculate(forceRecalculate).Execute() @@ -706,7 +706,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.BulkAggregateQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BulkAggregateQuestionResults`: BulkAggregateQuestionResultsResponse + // response from `BulkAggregateQuestionResults`: BulkAggregateQuestionResultsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.BulkAggregateQuestionResults`: %v\n", resp) } ``` @@ -728,7 +728,7 @@ Name | Type | Description | Notes ### Return type -[**BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) +[**BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse1.md) ### Authorization @@ -746,7 +746,7 @@ Name | Type | Description | Notes ## ChangeTicketState -> ChangeTicketStateResponse ChangeTicketState(ctx, id).TenantId(tenantId).UserId(userId).ChangeTicketStateBody(changeTicketStateBody).Execute() +> ChangeTicketStateResponse1 ChangeTicketState(ctx, id).TenantId(tenantId).UserId(userId).ChangeTicketStateBody(changeTicketStateBody).Execute() @@ -775,7 +775,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ChangeTicketState``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ChangeTicketState`: ChangeTicketStateResponse + // response from `ChangeTicketState`: ChangeTicketStateResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ChangeTicketState`: %v\n", resp) } ``` @@ -802,7 +802,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeTicketStateResponse**](ChangeTicketStateResponse.md) +[**ChangeTicketStateResponse1**](ChangeTicketStateResponse1.md) ### Authorization @@ -820,7 +820,7 @@ Name | Type | Description | Notes ## CombineCommentsWithQuestionResults -> CombineQuestionResultsWithCommentsResponse CombineCommentsWithQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).StartDate(startDate).ForceRecalculate(forceRecalculate).MinValue(minValue).MaxValue(maxValue).Limit(limit).Execute() +> CombineCommentsWithQuestionResultsResponse CombineCommentsWithQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).StartDate(startDate).ForceRecalculate(forceRecalculate).MinValue(minValue).MaxValue(maxValue).Limit(limit).Execute() @@ -855,7 +855,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CombineCommentsWithQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CombineCommentsWithQuestionResults`: CombineQuestionResultsWithCommentsResponse + // response from `CombineCommentsWithQuestionResults`: CombineCommentsWithQuestionResultsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CombineCommentsWithQuestionResults`: %v\n", resp) } ``` @@ -883,7 +883,7 @@ Name | Type | Description | Notes ### Return type -[**CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) +[**CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) ### Authorization @@ -901,7 +901,7 @@ Name | Type | Description | Notes ## CreateEmailTemplate -> CreateEmailTemplateResponse CreateEmailTemplate(ctx).TenantId(tenantId).CreateEmailTemplateBody(createEmailTemplateBody).Execute() +> CreateEmailTemplateResponse1 CreateEmailTemplate(ctx).TenantId(tenantId).CreateEmailTemplateBody(createEmailTemplateBody).Execute() @@ -928,7 +928,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateEmailTemplate`: CreateEmailTemplateResponse + // response from `CreateEmailTemplate`: CreateEmailTemplateResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateEmailTemplate`: %v\n", resp) } ``` @@ -949,7 +949,7 @@ Name | Type | Description | Notes ### Return type -[**CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) +[**CreateEmailTemplateResponse1**](CreateEmailTemplateResponse1.md) ### Authorization @@ -967,7 +967,7 @@ Name | Type | Description | Notes ## CreateFeedPost -> CreateFeedPostsResponse CreateFeedPost(ctx).TenantId(tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).IsLive(isLive).DoSpamCheck(doSpamCheck).SkipDupCheck(skipDupCheck).Execute() +> CreateFeedPostResponse1 CreateFeedPost(ctx).TenantId(tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).IsLive(isLive).DoSpamCheck(doSpamCheck).SkipDupCheck(skipDupCheck).Execute() @@ -998,7 +998,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateFeedPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateFeedPost`: CreateFeedPostsResponse + // response from `CreateFeedPost`: CreateFeedPostResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateFeedPost`: %v\n", resp) } ``` @@ -1023,7 +1023,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostsResponse**](CreateFeedPostsResponse.md) +[**CreateFeedPostResponse1**](CreateFeedPostResponse1.md) ### Authorization @@ -1041,7 +1041,7 @@ Name | Type | Description | Notes ## CreateModerator -> CreateModeratorResponse CreateModerator(ctx).TenantId(tenantId).CreateModeratorBody(createModeratorBody).Execute() +> CreateModeratorResponse1 CreateModerator(ctx).TenantId(tenantId).CreateModeratorBody(createModeratorBody).Execute() @@ -1068,7 +1068,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateModerator`: CreateModeratorResponse + // response from `CreateModerator`: CreateModeratorResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateModerator`: %v\n", resp) } ``` @@ -1089,7 +1089,7 @@ Name | Type | Description | Notes ### Return type -[**CreateModeratorResponse**](CreateModeratorResponse.md) +[**CreateModeratorResponse1**](CreateModeratorResponse1.md) ### Authorization @@ -1107,7 +1107,7 @@ Name | Type | Description | Notes ## CreateQuestionConfig -> CreateQuestionConfigResponse CreateQuestionConfig(ctx).TenantId(tenantId).CreateQuestionConfigBody(createQuestionConfigBody).Execute() +> CreateQuestionConfigResponse1 CreateQuestionConfig(ctx).TenantId(tenantId).CreateQuestionConfigBody(createQuestionConfigBody).Execute() @@ -1134,7 +1134,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateQuestionConfig`: CreateQuestionConfigResponse + // response from `CreateQuestionConfig`: CreateQuestionConfigResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateQuestionConfig`: %v\n", resp) } ``` @@ -1155,7 +1155,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) +[**CreateQuestionConfigResponse1**](CreateQuestionConfigResponse1.md) ### Authorization @@ -1173,7 +1173,7 @@ Name | Type | Description | Notes ## CreateQuestionResult -> CreateQuestionResultResponse CreateQuestionResult(ctx).TenantId(tenantId).CreateQuestionResultBody(createQuestionResultBody).Execute() +> CreateQuestionResultResponse1 CreateQuestionResult(ctx).TenantId(tenantId).CreateQuestionResultBody(createQuestionResultBody).Execute() @@ -1200,7 +1200,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateQuestionResult`: CreateQuestionResultResponse + // response from `CreateQuestionResult`: CreateQuestionResultResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateQuestionResult`: %v\n", resp) } ``` @@ -1221,7 +1221,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionResultResponse**](CreateQuestionResultResponse.md) +[**CreateQuestionResultResponse1**](CreateQuestionResultResponse1.md) ### Authorization @@ -1305,7 +1305,7 @@ Name | Type | Description | Notes ## CreateTenant -> CreateTenantResponse CreateTenant(ctx).TenantId(tenantId).CreateTenantBody(createTenantBody).Execute() +> CreateTenantResponse1 CreateTenant(ctx).TenantId(tenantId).CreateTenantBody(createTenantBody).Execute() @@ -1333,7 +1333,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenant`: CreateTenantResponse + // response from `CreateTenant`: CreateTenantResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenant`: %v\n", resp) } ``` @@ -1354,7 +1354,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantResponse**](CreateTenantResponse.md) +[**CreateTenantResponse1**](CreateTenantResponse1.md) ### Authorization @@ -1372,7 +1372,7 @@ Name | Type | Description | Notes ## CreateTenantPackage -> CreateTenantPackageResponse CreateTenantPackage(ctx).TenantId(tenantId).CreateTenantPackageBody(createTenantPackageBody).Execute() +> CreateTenantPackageResponse1 CreateTenantPackage(ctx).TenantId(tenantId).CreateTenantPackageBody(createTenantPackageBody).Execute() @@ -1399,7 +1399,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenantPackage`: CreateTenantPackageResponse + // response from `CreateTenantPackage`: CreateTenantPackageResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenantPackage`: %v\n", resp) } ``` @@ -1420,7 +1420,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantPackageResponse**](CreateTenantPackageResponse.md) +[**CreateTenantPackageResponse1**](CreateTenantPackageResponse1.md) ### Authorization @@ -1438,7 +1438,7 @@ Name | Type | Description | Notes ## CreateTenantUser -> CreateTenantUserResponse CreateTenantUser(ctx).TenantId(tenantId).CreateTenantUserBody(createTenantUserBody).Execute() +> CreateTenantUserResponse1 CreateTenantUser(ctx).TenantId(tenantId).CreateTenantUserBody(createTenantUserBody).Execute() @@ -1465,7 +1465,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenantUser`: CreateTenantUserResponse + // response from `CreateTenantUser`: CreateTenantUserResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenantUser`: %v\n", resp) } ``` @@ -1486,7 +1486,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantUserResponse**](CreateTenantUserResponse.md) +[**CreateTenantUserResponse1**](CreateTenantUserResponse1.md) ### Authorization @@ -1504,7 +1504,7 @@ Name | Type | Description | Notes ## CreateTicket -> CreateTicketResponse CreateTicket(ctx).TenantId(tenantId).UserId(userId).CreateTicketBody(createTicketBody).Execute() +> CreateTicketResponse1 CreateTicket(ctx).TenantId(tenantId).UserId(userId).CreateTicketBody(createTicketBody).Execute() @@ -1532,7 +1532,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTicket``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTicket`: CreateTicketResponse + // response from `CreateTicket`: CreateTicketResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTicket`: %v\n", resp) } ``` @@ -1554,7 +1554,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTicketResponse**](CreateTicketResponse.md) +[**CreateTicketResponse1**](CreateTicketResponse1.md) ### Authorization @@ -1572,7 +1572,7 @@ Name | Type | Description | Notes ## CreateUserBadge -> APICreateUserBadgeResponse CreateUserBadge(ctx).TenantId(tenantId).CreateUserBadgeParams(createUserBadgeParams).Execute() +> CreateUserBadgeResponse CreateUserBadge(ctx).TenantId(tenantId).CreateUserBadgeParams(createUserBadgeParams).Execute() @@ -1599,7 +1599,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateUserBadge`: APICreateUserBadgeResponse + // response from `CreateUserBadge`: CreateUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateUserBadge`: %v\n", resp) } ``` @@ -1620,7 +1620,7 @@ Name | Type | Description | Notes ### Return type -[**APICreateUserBadgeResponse**](APICreateUserBadgeResponse.md) +[**CreateUserBadgeResponse**](CreateUserBadgeResponse.md) ### Authorization @@ -1638,7 +1638,7 @@ Name | Type | Description | Notes ## CreateVote -> VoteResponse CreateVote(ctx).TenantId(tenantId).CommentId(commentId).Direction(direction).UserId(userId).AnonUserId(anonUserId).Execute() +> CreateVoteResponse CreateVote(ctx).TenantId(tenantId).CommentId(commentId).Direction(direction).UserId(userId).AnonUserId(anonUserId).Execute() @@ -1668,7 +1668,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateVote`: VoteResponse + // response from `CreateVote`: CreateVoteResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateVote`: %v\n", resp) } ``` @@ -1692,7 +1692,7 @@ Name | Type | Description | Notes ### Return type -[**VoteResponse**](VoteResponse.md) +[**CreateVoteResponse**](CreateVoteResponse.md) ### Authorization @@ -1710,7 +1710,7 @@ Name | Type | Description | Notes ## DeleteComment -> DeleteCommentResult DeleteComment(ctx, id).TenantId(tenantId).ContextUserId(contextUserId).IsLive(isLive).Execute() +> DeleteCommentResponse DeleteComment(ctx, id).TenantId(tenantId).ContextUserId(contextUserId).IsLive(isLive).Execute() @@ -1739,7 +1739,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteComment`: DeleteCommentResult + // response from `DeleteComment`: DeleteCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteComment`: %v\n", resp) } ``` @@ -1766,7 +1766,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentResult**](DeleteCommentResult.md) +[**DeleteCommentResponse**](DeleteCommentResponse.md) ### Authorization @@ -1854,7 +1854,7 @@ Name | Type | Description | Notes ## DeleteEmailTemplate -> APIEmptyResponse DeleteEmailTemplate(ctx, id).TenantId(tenantId).Execute() +> DeleteEmailTemplateResponse DeleteEmailTemplate(ctx, id).TenantId(tenantId).Execute() @@ -1881,7 +1881,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteEmailTemplate`: APIEmptyResponse + // response from `DeleteEmailTemplate`: DeleteEmailTemplateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteEmailTemplate`: %v\n", resp) } ``` @@ -1906,7 +1906,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) ### Authorization @@ -1924,7 +1924,7 @@ Name | Type | Description | Notes ## DeleteEmailTemplateRenderError -> APIEmptyResponse DeleteEmailTemplateRenderError(ctx, id, errorId).TenantId(tenantId).Execute() +> DeleteEmailTemplateRenderErrorResponse DeleteEmailTemplateRenderError(ctx, id, errorId).TenantId(tenantId).Execute() @@ -1952,7 +1952,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteEmailTemplateRenderError``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteEmailTemplateRenderError`: APIEmptyResponse + // response from `DeleteEmailTemplateRenderError`: DeleteEmailTemplateRenderErrorResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteEmailTemplateRenderError`: %v\n", resp) } ``` @@ -1979,7 +1979,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) ### Authorization @@ -1997,7 +1997,7 @@ Name | Type | Description | Notes ## DeleteHashTag -> APIEmptyResponse DeleteHashTag(ctx, tag).TenantId(tenantId).DeleteHashTagRequestBody(deleteHashTagRequestBody).Execute() +> DeleteHashTagResponse DeleteHashTag(ctx, tag).TenantId(tenantId).DeleteHashTagRequestBody(deleteHashTagRequestBody).Execute() @@ -2025,7 +2025,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteHashTag`: APIEmptyResponse + // response from `DeleteHashTag`: DeleteHashTagResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteHashTag`: %v\n", resp) } ``` @@ -2051,7 +2051,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteHashTagResponse**](DeleteHashTagResponse.md) ### Authorization @@ -2069,7 +2069,7 @@ Name | Type | Description | Notes ## DeleteModerator -> APIEmptyResponse DeleteModerator(ctx, id).TenantId(tenantId).SendEmail(sendEmail).Execute() +> DeleteModeratorResponse DeleteModerator(ctx, id).TenantId(tenantId).SendEmail(sendEmail).Execute() @@ -2097,7 +2097,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteModerator`: APIEmptyResponse + // response from `DeleteModerator`: DeleteModeratorResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteModerator`: %v\n", resp) } ``` @@ -2123,7 +2123,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteModeratorResponse**](DeleteModeratorResponse.md) ### Authorization @@ -2141,7 +2141,7 @@ Name | Type | Description | Notes ## DeleteNotificationCount -> APIEmptyResponse DeleteNotificationCount(ctx, id).TenantId(tenantId).Execute() +> DeleteNotificationCountResponse DeleteNotificationCount(ctx, id).TenantId(tenantId).Execute() @@ -2168,7 +2168,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteNotificationCount`: APIEmptyResponse + // response from `DeleteNotificationCount`: DeleteNotificationCountResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteNotificationCount`: %v\n", resp) } ``` @@ -2193,7 +2193,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) ### Authorization @@ -2281,7 +2281,7 @@ Name | Type | Description | Notes ## DeletePendingWebhookEvent -> APIEmptyResponse DeletePendingWebhookEvent(ctx, id).TenantId(tenantId).Execute() +> DeletePendingWebhookEventResponse DeletePendingWebhookEvent(ctx, id).TenantId(tenantId).Execute() @@ -2308,7 +2308,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeletePendingWebhookEvent``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeletePendingWebhookEvent`: APIEmptyResponse + // response from `DeletePendingWebhookEvent`: DeletePendingWebhookEventResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeletePendingWebhookEvent`: %v\n", resp) } ``` @@ -2333,7 +2333,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) ### Authorization @@ -2351,7 +2351,7 @@ Name | Type | Description | Notes ## DeleteQuestionConfig -> APIEmptyResponse DeleteQuestionConfig(ctx, id).TenantId(tenantId).Execute() +> DeleteQuestionConfigResponse DeleteQuestionConfig(ctx, id).TenantId(tenantId).Execute() @@ -2378,7 +2378,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteQuestionConfig`: APIEmptyResponse + // response from `DeleteQuestionConfig`: DeleteQuestionConfigResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteQuestionConfig`: %v\n", resp) } ``` @@ -2403,7 +2403,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) ### Authorization @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes ## DeleteQuestionResult -> APIEmptyResponse DeleteQuestionResult(ctx, id).TenantId(tenantId).Execute() +> DeleteQuestionResultResponse DeleteQuestionResult(ctx, id).TenantId(tenantId).Execute() @@ -2448,7 +2448,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteQuestionResult`: APIEmptyResponse + // response from `DeleteQuestionResult`: DeleteQuestionResultResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteQuestionResult`: %v\n", resp) } ``` @@ -2473,7 +2473,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) ### Authorization @@ -2637,7 +2637,7 @@ Name | Type | Description | Notes ## DeleteTenant -> APIEmptyResponse DeleteTenant(ctx, id).TenantId(tenantId).Sure(sure).Execute() +> DeleteTenantResponse DeleteTenant(ctx, id).TenantId(tenantId).Sure(sure).Execute() @@ -2665,7 +2665,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenant`: APIEmptyResponse + // response from `DeleteTenant`: DeleteTenantResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenant`: %v\n", resp) } ``` @@ -2691,7 +2691,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantResponse**](DeleteTenantResponse.md) ### Authorization @@ -2709,7 +2709,7 @@ Name | Type | Description | Notes ## DeleteTenantPackage -> APIEmptyResponse DeleteTenantPackage(ctx, id).TenantId(tenantId).Execute() +> DeleteTenantPackageResponse DeleteTenantPackage(ctx, id).TenantId(tenantId).Execute() @@ -2736,7 +2736,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenantPackage`: APIEmptyResponse + // response from `DeleteTenantPackage`: DeleteTenantPackageResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenantPackage`: %v\n", resp) } ``` @@ -2761,7 +2761,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) ### Authorization @@ -2779,7 +2779,7 @@ Name | Type | Description | Notes ## DeleteTenantUser -> APIEmptyResponse DeleteTenantUser(ctx, id).TenantId(tenantId).DeleteComments(deleteComments).CommentDeleteMode(commentDeleteMode).Execute() +> DeleteTenantUserResponse DeleteTenantUser(ctx, id).TenantId(tenantId).DeleteComments(deleteComments).CommentDeleteMode(commentDeleteMode).Execute() @@ -2808,7 +2808,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenantUser`: APIEmptyResponse + // response from `DeleteTenantUser`: DeleteTenantUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenantUser`: %v\n", resp) } ``` @@ -2835,7 +2835,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**DeleteTenantUserResponse**](DeleteTenantUserResponse.md) ### Authorization @@ -2853,7 +2853,7 @@ Name | Type | Description | Notes ## DeleteUserBadge -> APIEmptySuccessResponse DeleteUserBadge(ctx, id).TenantId(tenantId).Execute() +> DeleteUserBadgeResponse DeleteUserBadge(ctx, id).TenantId(tenantId).Execute() @@ -2880,7 +2880,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteUserBadge`: APIEmptySuccessResponse + // response from `DeleteUserBadge`: DeleteUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteUserBadge`: %v\n", resp) } ``` @@ -2905,7 +2905,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) ### Authorization @@ -2923,7 +2923,7 @@ Name | Type | Description | Notes ## DeleteVote -> VoteDeleteResponse DeleteVote(ctx, id).TenantId(tenantId).EditKey(editKey).Execute() +> DeleteVoteResponse DeleteVote(ctx, id).TenantId(tenantId).EditKey(editKey).Execute() @@ -2951,7 +2951,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteVote`: VoteDeleteResponse + // response from `DeleteVote`: DeleteVoteResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteVote`: %v\n", resp) } ``` @@ -2977,7 +2977,7 @@ Name | Type | Description | Notes ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteVoteResponse**](DeleteVoteResponse.md) ### Authorization @@ -2995,7 +2995,7 @@ Name | Type | Description | Notes ## FlagComment -> FlagCommentResponse FlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() +> FlagCommentResponse1 FlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -3024,7 +3024,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.FlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FlagComment`: FlagCommentResponse + // response from `FlagComment`: FlagCommentResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.FlagComment`: %v\n", resp) } ``` @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse**](FlagCommentResponse.md) +[**FlagCommentResponse1**](FlagCommentResponse1.md) ### Authorization @@ -3069,7 +3069,7 @@ Name | Type | Description | Notes ## GetAuditLogs -> GetAuditLogsResponse GetAuditLogs(ctx).TenantId(tenantId).Limit(limit).Skip(skip).Order(order).After(after).Before(before).Execute() +> GetAuditLogsResponse1 GetAuditLogs(ctx).TenantId(tenantId).Limit(limit).Skip(skip).Order(order).After(after).Before(before).Execute() @@ -3100,7 +3100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetAuditLogs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetAuditLogs`: GetAuditLogsResponse + // response from `GetAuditLogs`: GetAuditLogsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetAuditLogs`: %v\n", resp) } ``` @@ -3125,7 +3125,7 @@ Name | Type | Description | Notes ### Return type -[**GetAuditLogsResponse**](GetAuditLogsResponse.md) +[**GetAuditLogsResponse1**](GetAuditLogsResponse1.md) ### Authorization @@ -3143,7 +3143,7 @@ Name | Type | Description | Notes ## GetCachedNotificationCount -> GetCachedNotificationCountResponse GetCachedNotificationCount(ctx, id).TenantId(tenantId).Execute() +> GetCachedNotificationCountResponse1 GetCachedNotificationCount(ctx, id).TenantId(tenantId).Execute() @@ -3170,7 +3170,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetCachedNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCachedNotificationCount`: GetCachedNotificationCountResponse + // response from `GetCachedNotificationCount`: GetCachedNotificationCountResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetCachedNotificationCount`: %v\n", resp) } ``` @@ -3195,7 +3195,7 @@ Name | Type | Description | Notes ### Return type -[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) +[**GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse1.md) ### Authorization @@ -3213,7 +3213,7 @@ Name | Type | Description | Notes ## GetComment -> APIGetCommentResponse GetComment(ctx, id).TenantId(tenantId).Execute() +> GetCommentResponse GetComment(ctx, id).TenantId(tenantId).Execute() @@ -3240,7 +3240,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetComment`: APIGetCommentResponse + // response from `GetComment`: GetCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetComment`: %v\n", resp) } ``` @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetCommentResponse**](APIGetCommentResponse.md) +[**GetCommentResponse**](GetCommentResponse.md) ### Authorization @@ -3283,7 +3283,7 @@ Name | Type | Description | Notes ## GetComments -> APIGetCommentsResponse GetComments(ctx).TenantId(tenantId).Page(page).Limit(limit).Skip(skip).AsTree(asTree).SkipChildren(skipChildren).LimitChildren(limitChildren).MaxTreeDepth(maxTreeDepth).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).ContextUserId(contextUserId).HashTag(hashTag).ParentId(parentId).Direction(direction).FromDate(fromDate).ToDate(toDate).Execute() +> GetCommentsResponse GetComments(ctx).TenantId(tenantId).Page(page).Limit(limit).Skip(skip).AsTree(asTree).SkipChildren(skipChildren).LimitChildren(limitChildren).MaxTreeDepth(maxTreeDepth).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).ContextUserId(contextUserId).HashTag(hashTag).ParentId(parentId).Direction(direction).FromDate(fromDate).ToDate(toDate).Execute() @@ -3325,7 +3325,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetComments``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetComments`: APIGetCommentsResponse + // response from `GetComments`: GetCommentsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetComments`: %v\n", resp) } ``` @@ -3361,7 +3361,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetCommentsResponse**](APIGetCommentsResponse.md) +[**GetCommentsResponse**](GetCommentsResponse.md) ### Authorization @@ -3513,7 +3513,7 @@ Name | Type | Description | Notes ## GetEmailTemplate -> GetEmailTemplateResponse GetEmailTemplate(ctx, id).TenantId(tenantId).Execute() +> GetEmailTemplateResponse1 GetEmailTemplate(ctx, id).TenantId(tenantId).Execute() @@ -3540,7 +3540,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplate`: GetEmailTemplateResponse + // response from `GetEmailTemplate`: GetEmailTemplateResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplate`: %v\n", resp) } ``` @@ -3565,7 +3565,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md) +[**GetEmailTemplateResponse1**](GetEmailTemplateResponse1.md) ### Authorization @@ -3583,7 +3583,7 @@ Name | Type | Description | Notes ## GetEmailTemplateDefinitions -> GetEmailTemplateDefinitionsResponse GetEmailTemplateDefinitions(ctx).TenantId(tenantId).Execute() +> GetEmailTemplateDefinitionsResponse1 GetEmailTemplateDefinitions(ctx).TenantId(tenantId).Execute() @@ -3609,7 +3609,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplateDefinitions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplateDefinitions`: GetEmailTemplateDefinitionsResponse + // response from `GetEmailTemplateDefinitions`: GetEmailTemplateDefinitionsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplateDefinitions`: %v\n", resp) } ``` @@ -3629,7 +3629,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) +[**GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse1.md) ### Authorization @@ -3647,7 +3647,7 @@ Name | Type | Description | Notes ## GetEmailTemplateRenderErrors -> GetEmailTemplateRenderErrorsResponse GetEmailTemplateRenderErrors(ctx, id).TenantId(tenantId).Skip(skip).Execute() +> GetEmailTemplateRenderErrorsResponse1 GetEmailTemplateRenderErrors(ctx, id).TenantId(tenantId).Skip(skip).Execute() @@ -3675,7 +3675,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplateRenderErrors``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplateRenderErrors`: GetEmailTemplateRenderErrorsResponse + // response from `GetEmailTemplateRenderErrors`: GetEmailTemplateRenderErrorsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplateRenderErrors`: %v\n", resp) } ``` @@ -3701,7 +3701,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) +[**GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse1.md) ### Authorization @@ -3719,7 +3719,7 @@ Name | Type | Description | Notes ## GetEmailTemplates -> GetEmailTemplatesResponse GetEmailTemplates(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetEmailTemplatesResponse1 GetEmailTemplates(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -3746,7 +3746,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplates``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplates`: GetEmailTemplatesResponse + // response from `GetEmailTemplates`: GetEmailTemplatesResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplates`: %v\n", resp) } ``` @@ -3767,7 +3767,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) +[**GetEmailTemplatesResponse1**](GetEmailTemplatesResponse1.md) ### Authorization @@ -3785,7 +3785,7 @@ Name | Type | Description | Notes ## GetFeedPosts -> GetFeedPostsResponse GetFeedPosts(ctx).TenantId(tenantId).AfterId(afterId).Limit(limit).Tags(tags).Execute() +> GetFeedPostsResponse1 GetFeedPosts(ctx).TenantId(tenantId).AfterId(afterId).Limit(limit).Tags(tags).Execute() @@ -3816,7 +3816,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetFeedPosts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPosts`: GetFeedPostsResponse + // response from `GetFeedPosts`: GetFeedPostsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetFeedPosts`: %v\n", resp) } ``` @@ -3839,7 +3839,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsResponse**](GetFeedPostsResponse.md) +[**GetFeedPostsResponse1**](GetFeedPostsResponse1.md) ### Authorization @@ -3857,7 +3857,7 @@ Name | Type | Description | Notes ## GetHashTags -> GetHashTagsResponse GetHashTags(ctx).TenantId(tenantId).Page(page).Execute() +> GetHashTagsResponse1 GetHashTags(ctx).TenantId(tenantId).Page(page).Execute() @@ -3884,7 +3884,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetHashTags``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetHashTags`: GetHashTagsResponse + // response from `GetHashTags`: GetHashTagsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetHashTags`: %v\n", resp) } ``` @@ -3905,7 +3905,7 @@ Name | Type | Description | Notes ### Return type -[**GetHashTagsResponse**](GetHashTagsResponse.md) +[**GetHashTagsResponse1**](GetHashTagsResponse1.md) ### Authorization @@ -3923,7 +3923,7 @@ Name | Type | Description | Notes ## GetModerator -> GetModeratorResponse GetModerator(ctx, id).TenantId(tenantId).Execute() +> GetModeratorResponse1 GetModerator(ctx, id).TenantId(tenantId).Execute() @@ -3950,7 +3950,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerator`: GetModeratorResponse + // response from `GetModerator`: GetModeratorResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetModerator`: %v\n", resp) } ``` @@ -3975,7 +3975,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorResponse**](GetModeratorResponse.md) +[**GetModeratorResponse1**](GetModeratorResponse1.md) ### Authorization @@ -3993,7 +3993,7 @@ Name | Type | Description | Notes ## GetModerators -> GetModeratorsResponse GetModerators(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetModeratorsResponse1 GetModerators(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -4020,7 +4020,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetModerators``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerators`: GetModeratorsResponse + // response from `GetModerators`: GetModeratorsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetModerators`: %v\n", resp) } ``` @@ -4041,7 +4041,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorsResponse**](GetModeratorsResponse.md) +[**GetModeratorsResponse1**](GetModeratorsResponse1.md) ### Authorization @@ -4059,7 +4059,7 @@ Name | Type | Description | Notes ## GetNotificationCount -> GetNotificationCountResponse GetNotificationCount(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Execute() +> GetNotificationCountResponse1 GetNotificationCount(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Execute() @@ -4090,7 +4090,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetNotificationCount`: GetNotificationCountResponse + // response from `GetNotificationCount`: GetNotificationCountResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetNotificationCount`: %v\n", resp) } ``` @@ -4115,7 +4115,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationCountResponse**](GetNotificationCountResponse.md) +[**GetNotificationCountResponse1**](GetNotificationCountResponse1.md) ### Authorization @@ -4133,7 +4133,7 @@ Name | Type | Description | Notes ## GetNotifications -> GetNotificationsResponse GetNotifications(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Skip(skip).Execute() +> GetNotificationsResponse1 GetNotifications(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Skip(skip).Execute() @@ -4165,7 +4165,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetNotifications`: GetNotificationsResponse + // response from `GetNotifications`: GetNotificationsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetNotifications`: %v\n", resp) } ``` @@ -4191,7 +4191,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationsResponse**](GetNotificationsResponse.md) +[**GetNotificationsResponse1**](GetNotificationsResponse1.md) ### Authorization @@ -4339,7 +4339,7 @@ Name | Type | Description | Notes ## GetPendingWebhookEventCount -> GetPendingWebhookEventCountResponse GetPendingWebhookEventCount(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Execute() +> GetPendingWebhookEventCountResponse1 GetPendingWebhookEventCount(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Execute() @@ -4371,7 +4371,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetPendingWebhookEventCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPendingWebhookEventCount`: GetPendingWebhookEventCountResponse + // response from `GetPendingWebhookEventCount`: GetPendingWebhookEventCountResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetPendingWebhookEventCount`: %v\n", resp) } ``` @@ -4397,7 +4397,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) +[**GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse1.md) ### Authorization @@ -4415,7 +4415,7 @@ Name | Type | Description | Notes ## GetPendingWebhookEvents -> GetPendingWebhookEventsResponse GetPendingWebhookEvents(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Skip(skip).Execute() +> GetPendingWebhookEventsResponse1 GetPendingWebhookEvents(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Skip(skip).Execute() @@ -4448,7 +4448,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetPendingWebhookEvents``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPendingWebhookEvents`: GetPendingWebhookEventsResponse + // response from `GetPendingWebhookEvents`: GetPendingWebhookEventsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetPendingWebhookEvents`: %v\n", resp) } ``` @@ -4475,7 +4475,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) +[**GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse1.md) ### Authorization @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes ## GetQuestionConfig -> GetQuestionConfigResponse GetQuestionConfig(ctx, id).TenantId(tenantId).Execute() +> GetQuestionConfigResponse1 GetQuestionConfig(ctx, id).TenantId(tenantId).Execute() @@ -4520,7 +4520,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionConfig`: GetQuestionConfigResponse + // response from `GetQuestionConfig`: GetQuestionConfigResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionConfig`: %v\n", resp) } ``` @@ -4545,7 +4545,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md) +[**GetQuestionConfigResponse1**](GetQuestionConfigResponse1.md) ### Authorization @@ -4563,7 +4563,7 @@ Name | Type | Description | Notes ## GetQuestionConfigs -> GetQuestionConfigsResponse GetQuestionConfigs(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetQuestionConfigsResponse1 GetQuestionConfigs(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -4590,7 +4590,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionConfigs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionConfigs`: GetQuestionConfigsResponse + // response from `GetQuestionConfigs`: GetQuestionConfigsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionConfigs`: %v\n", resp) } ``` @@ -4611,7 +4611,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) +[**GetQuestionConfigsResponse1**](GetQuestionConfigsResponse1.md) ### Authorization @@ -4629,7 +4629,7 @@ Name | Type | Description | Notes ## GetQuestionResult -> GetQuestionResultResponse GetQuestionResult(ctx, id).TenantId(tenantId).Execute() +> GetQuestionResultResponse1 GetQuestionResult(ctx, id).TenantId(tenantId).Execute() @@ -4656,7 +4656,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionResult`: GetQuestionResultResponse + // response from `GetQuestionResult`: GetQuestionResultResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionResult`: %v\n", resp) } ``` @@ -4681,7 +4681,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultResponse**](GetQuestionResultResponse.md) +[**GetQuestionResultResponse1**](GetQuestionResultResponse1.md) ### Authorization @@ -4699,7 +4699,7 @@ Name | Type | Description | Notes ## GetQuestionResults -> GetQuestionResultsResponse GetQuestionResults(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).StartDate(startDate).QuestionId(questionId).QuestionIds(questionIds).Skip(skip).Execute() +> GetQuestionResultsResponse1 GetQuestionResults(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).StartDate(startDate).QuestionId(questionId).QuestionIds(questionIds).Skip(skip).Execute() @@ -4731,7 +4731,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionResults`: GetQuestionResultsResponse + // response from `GetQuestionResults`: GetQuestionResultsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionResults`: %v\n", resp) } ``` @@ -4757,7 +4757,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md) +[**GetQuestionResultsResponse1**](GetQuestionResultsResponse1.md) ### Authorization @@ -5047,7 +5047,7 @@ Name | Type | Description | Notes ## GetTenant -> GetTenantResponse GetTenant(ctx, id).TenantId(tenantId).Execute() +> GetTenantResponse1 GetTenant(ctx, id).TenantId(tenantId).Execute() @@ -5074,7 +5074,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenant`: GetTenantResponse + // response from `GetTenant`: GetTenantResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenant`: %v\n", resp) } ``` @@ -5099,7 +5099,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantResponse**](GetTenantResponse.md) +[**GetTenantResponse1**](GetTenantResponse1.md) ### Authorization @@ -5117,7 +5117,7 @@ Name | Type | Description | Notes ## GetTenantDailyUsages -> GetTenantDailyUsagesResponse GetTenantDailyUsages(ctx).TenantId(tenantId).YearNumber(yearNumber).MonthNumber(monthNumber).DayNumber(dayNumber).Skip(skip).Execute() +> GetTenantDailyUsagesResponse1 GetTenantDailyUsages(ctx).TenantId(tenantId).YearNumber(yearNumber).MonthNumber(monthNumber).DayNumber(dayNumber).Skip(skip).Execute() @@ -5147,7 +5147,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantDailyUsages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantDailyUsages`: GetTenantDailyUsagesResponse + // response from `GetTenantDailyUsages`: GetTenantDailyUsagesResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantDailyUsages`: %v\n", resp) } ``` @@ -5171,7 +5171,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) +[**GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse1.md) ### Authorization @@ -5189,7 +5189,7 @@ Name | Type | Description | Notes ## GetTenantPackage -> GetTenantPackageResponse GetTenantPackage(ctx, id).TenantId(tenantId).Execute() +> GetTenantPackageResponse1 GetTenantPackage(ctx, id).TenantId(tenantId).Execute() @@ -5216,7 +5216,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantPackage`: GetTenantPackageResponse + // response from `GetTenantPackage`: GetTenantPackageResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantPackage`: %v\n", resp) } ``` @@ -5241,7 +5241,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackageResponse**](GetTenantPackageResponse.md) +[**GetTenantPackageResponse1**](GetTenantPackageResponse1.md) ### Authorization @@ -5259,7 +5259,7 @@ Name | Type | Description | Notes ## GetTenantPackages -> GetTenantPackagesResponse GetTenantPackages(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetTenantPackagesResponse1 GetTenantPackages(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -5286,7 +5286,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantPackages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantPackages`: GetTenantPackagesResponse + // response from `GetTenantPackages`: GetTenantPackagesResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantPackages`: %v\n", resp) } ``` @@ -5307,7 +5307,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md) +[**GetTenantPackagesResponse1**](GetTenantPackagesResponse1.md) ### Authorization @@ -5325,7 +5325,7 @@ Name | Type | Description | Notes ## GetTenantUser -> GetTenantUserResponse GetTenantUser(ctx, id).TenantId(tenantId).Execute() +> GetTenantUserResponse1 GetTenantUser(ctx, id).TenantId(tenantId).Execute() @@ -5352,7 +5352,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantUser`: GetTenantUserResponse + // response from `GetTenantUser`: GetTenantUserResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantUser`: %v\n", resp) } ``` @@ -5377,7 +5377,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUserResponse**](GetTenantUserResponse.md) +[**GetTenantUserResponse1**](GetTenantUserResponse1.md) ### Authorization @@ -5395,7 +5395,7 @@ Name | Type | Description | Notes ## GetTenantUsers -> GetTenantUsersResponse GetTenantUsers(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetTenantUsersResponse1 GetTenantUsers(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -5422,7 +5422,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantUsers`: GetTenantUsersResponse + // response from `GetTenantUsers`: GetTenantUsersResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantUsers`: %v\n", resp) } ``` @@ -5443,7 +5443,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUsersResponse**](GetTenantUsersResponse.md) +[**GetTenantUsersResponse1**](GetTenantUsersResponse1.md) ### Authorization @@ -5461,7 +5461,7 @@ Name | Type | Description | Notes ## GetTenants -> GetTenantsResponse GetTenants(ctx).TenantId(tenantId).Meta(meta).Skip(skip).Execute() +> GetTenantsResponse1 GetTenants(ctx).TenantId(tenantId).Meta(meta).Skip(skip).Execute() @@ -5489,7 +5489,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenants``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenants`: GetTenantsResponse + // response from `GetTenants`: GetTenantsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenants`: %v\n", resp) } ``` @@ -5511,7 +5511,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantsResponse**](GetTenantsResponse.md) +[**GetTenantsResponse1**](GetTenantsResponse1.md) ### Authorization @@ -5529,7 +5529,7 @@ Name | Type | Description | Notes ## GetTicket -> GetTicketResponse GetTicket(ctx, id).TenantId(tenantId).UserId(userId).Execute() +> GetTicketResponse1 GetTicket(ctx, id).TenantId(tenantId).UserId(userId).Execute() @@ -5557,7 +5557,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTicket``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTicket`: GetTicketResponse + // response from `GetTicket`: GetTicketResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTicket`: %v\n", resp) } ``` @@ -5583,7 +5583,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketResponse**](GetTicketResponse.md) +[**GetTicketResponse1**](GetTicketResponse1.md) ### Authorization @@ -5601,7 +5601,7 @@ Name | Type | Description | Notes ## GetTickets -> GetTicketsResponse GetTickets(ctx).TenantId(tenantId).UserId(userId).State(state).Skip(skip).Limit(limit).Execute() +> GetTicketsResponse1 GetTickets(ctx).TenantId(tenantId).UserId(userId).State(state).Skip(skip).Limit(limit).Execute() @@ -5631,7 +5631,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTickets``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTickets`: GetTicketsResponse + // response from `GetTickets`: GetTicketsResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTickets`: %v\n", resp) } ``` @@ -5655,7 +5655,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketsResponse**](GetTicketsResponse.md) +[**GetTicketsResponse1**](GetTicketsResponse1.md) ### Authorization @@ -5673,7 +5673,7 @@ Name | Type | Description | Notes ## GetUser -> GetUserResponse GetUser(ctx, id).TenantId(tenantId).Execute() +> GetUserResponse1 GetUser(ctx, id).TenantId(tenantId).Execute() @@ -5700,7 +5700,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUser`: GetUserResponse + // response from `GetUser`: GetUserResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUser`: %v\n", resp) } ``` @@ -5725,7 +5725,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserResponse**](GetUserResponse.md) +[**GetUserResponse1**](GetUserResponse1.md) ### Authorization @@ -5743,7 +5743,7 @@ Name | Type | Description | Notes ## GetUserBadge -> APIGetUserBadgeResponse GetUserBadge(ctx, id).TenantId(tenantId).Execute() +> GetUserBadgeResponse GetUserBadge(ctx, id).TenantId(tenantId).Execute() @@ -5770,7 +5770,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadge`: APIGetUserBadgeResponse + // response from `GetUserBadge`: GetUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadge`: %v\n", resp) } ``` @@ -5795,7 +5795,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md) +[**GetUserBadgeResponse**](GetUserBadgeResponse.md) ### Authorization @@ -5813,7 +5813,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressById -> APIGetUserBadgeProgressResponse GetUserBadgeProgressById(ctx, id).TenantId(tenantId).Execute() +> GetUserBadgeProgressByIdResponse GetUserBadgeProgressById(ctx, id).TenantId(tenantId).Execute() @@ -5840,7 +5840,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressById`: APIGetUserBadgeProgressResponse + // response from `GetUserBadgeProgressById`: GetUserBadgeProgressByIdResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressById`: %v\n", resp) } ``` @@ -5865,7 +5865,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) ### Authorization @@ -5883,7 +5883,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressByUserId -> APIGetUserBadgeProgressResponse GetUserBadgeProgressByUserId(ctx, userId).TenantId(tenantId).Execute() +> GetUserBadgeProgressByUserIdResponse GetUserBadgeProgressByUserId(ctx, userId).TenantId(tenantId).Execute() @@ -5910,7 +5910,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressByUserId``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressByUserId`: APIGetUserBadgeProgressResponse + // response from `GetUserBadgeProgressByUserId`: GetUserBadgeProgressByUserIdResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressByUserId`: %v\n", resp) } ``` @@ -5935,7 +5935,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) +[**GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) ### Authorization @@ -5953,7 +5953,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressList -> APIGetUserBadgeProgressListResponse GetUserBadgeProgressList(ctx).TenantId(tenantId).UserId(userId).Limit(limit).Skip(skip).Execute() +> GetUserBadgeProgressListResponse GetUserBadgeProgressList(ctx).TenantId(tenantId).UserId(userId).Limit(limit).Skip(skip).Execute() @@ -5982,7 +5982,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressList`: APIGetUserBadgeProgressListResponse + // response from `GetUserBadgeProgressList`: GetUserBadgeProgressListResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressList`: %v\n", resp) } ``` @@ -6005,7 +6005,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) +[**GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) ### Authorization @@ -6023,7 +6023,7 @@ Name | Type | Description | Notes ## GetUserBadges -> APIGetUserBadgesResponse GetUserBadges(ctx).TenantId(tenantId).UserId(userId).BadgeId(badgeId).Type_(type_).DisplayedOnComments(displayedOnComments).Limit(limit).Skip(skip).Execute() +> GetUserBadgesResponse GetUserBadges(ctx).TenantId(tenantId).UserId(userId).BadgeId(badgeId).Type_(type_).DisplayedOnComments(displayedOnComments).Limit(limit).Skip(skip).Execute() @@ -6055,7 +6055,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadges``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadges`: APIGetUserBadgesResponse + // response from `GetUserBadges`: GetUserBadgesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadges`: %v\n", resp) } ``` @@ -6081,7 +6081,7 @@ Name | Type | Description | Notes ### Return type -[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md) +[**GetUserBadgesResponse**](GetUserBadgesResponse.md) ### Authorization @@ -6099,7 +6099,7 @@ Name | Type | Description | Notes ## GetVotes -> GetVotesResponse GetVotes(ctx).TenantId(tenantId).UrlId(urlId).Execute() +> GetVotesResponse1 GetVotes(ctx).TenantId(tenantId).UrlId(urlId).Execute() @@ -6126,7 +6126,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetVotes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetVotes`: GetVotesResponse + // response from `GetVotes`: GetVotesResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetVotes`: %v\n", resp) } ``` @@ -6147,7 +6147,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesResponse**](GetVotesResponse.md) +[**GetVotesResponse1**](GetVotesResponse1.md) ### Authorization @@ -6165,7 +6165,7 @@ Name | Type | Description | Notes ## GetVotesForUser -> GetVotesForUserResponse GetVotesForUser(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).Execute() +> GetVotesForUserResponse1 GetVotesForUser(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -6194,7 +6194,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetVotesForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetVotesForUser`: GetVotesForUserResponse + // response from `GetVotesForUser`: GetVotesForUserResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetVotesForUser`: %v\n", resp) } ``` @@ -6217,7 +6217,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesForUserResponse**](GetVotesForUserResponse.md) +[**GetVotesForUserResponse1**](GetVotesForUserResponse1.md) ### Authorization @@ -6307,7 +6307,7 @@ Name | Type | Description | Notes ## PatchHashTag -> UpdateHashTagResponse PatchHashTag(ctx, tag).TenantId(tenantId).UpdateHashTagBody(updateHashTagBody).Execute() +> PatchHashTagResponse PatchHashTag(ctx, tag).TenantId(tenantId).UpdateHashTagBody(updateHashTagBody).Execute() @@ -6335,7 +6335,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.PatchHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PatchHashTag`: UpdateHashTagResponse + // response from `PatchHashTag`: PatchHashTagResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.PatchHashTag`: %v\n", resp) } ``` @@ -6361,7 +6361,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateHashTagResponse**](UpdateHashTagResponse.md) +[**PatchHashTagResponse**](PatchHashTagResponse.md) ### Authorization @@ -6671,7 +6671,7 @@ Name | Type | Description | Notes ## RenderEmailTemplate -> RenderEmailTemplateResponse RenderEmailTemplate(ctx).TenantId(tenantId).RenderEmailTemplateBody(renderEmailTemplateBody).Locale(locale).Execute() +> RenderEmailTemplateResponse1 RenderEmailTemplate(ctx).TenantId(tenantId).RenderEmailTemplateBody(renderEmailTemplateBody).Locale(locale).Execute() @@ -6699,7 +6699,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.RenderEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `RenderEmailTemplate`: RenderEmailTemplateResponse + // response from `RenderEmailTemplate`: RenderEmailTemplateResponse1 fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.RenderEmailTemplate`: %v\n", resp) } ``` @@ -6721,7 +6721,7 @@ Name | Type | Description | Notes ### Return type -[**RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) +[**RenderEmailTemplateResponse1**](RenderEmailTemplateResponse1.md) ### Authorization @@ -6739,7 +6739,7 @@ Name | Type | Description | Notes ## ReplaceTenantPackage -> APIEmptyResponse ReplaceTenantPackage(ctx, id).TenantId(tenantId).ReplaceTenantPackageBody(replaceTenantPackageBody).Execute() +> ReplaceTenantPackageResponse ReplaceTenantPackage(ctx, id).TenantId(tenantId).ReplaceTenantPackageBody(replaceTenantPackageBody).Execute() @@ -6767,7 +6767,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ReplaceTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReplaceTenantPackage`: APIEmptyResponse + // response from `ReplaceTenantPackage`: ReplaceTenantPackageResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ReplaceTenantPackage`: %v\n", resp) } ``` @@ -6793,7 +6793,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) ### Authorization @@ -6811,7 +6811,7 @@ Name | Type | Description | Notes ## ReplaceTenantUser -> APIEmptyResponse ReplaceTenantUser(ctx, id).TenantId(tenantId).ReplaceTenantUserBody(replaceTenantUserBody).UpdateComments(updateComments).Execute() +> ReplaceTenantUserResponse ReplaceTenantUser(ctx, id).TenantId(tenantId).ReplaceTenantUserBody(replaceTenantUserBody).UpdateComments(updateComments).Execute() @@ -6840,7 +6840,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ReplaceTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReplaceTenantUser`: APIEmptyResponse + // response from `ReplaceTenantUser`: ReplaceTenantUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ReplaceTenantUser`: %v\n", resp) } ``` @@ -6867,7 +6867,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) ### Authorization @@ -6885,7 +6885,7 @@ Name | Type | Description | Notes ## SaveComment -> APISaveCommentResponse SaveComment(ctx).TenantId(tenantId).CreateCommentParams(createCommentParams).IsLive(isLive).DoSpamCheck(doSpamCheck).SendEmails(sendEmails).PopulateNotifications(populateNotifications).Execute() +> SaveCommentResponse SaveComment(ctx).TenantId(tenantId).CreateCommentParams(createCommentParams).IsLive(isLive).DoSpamCheck(doSpamCheck).SendEmails(sendEmails).PopulateNotifications(populateNotifications).Execute() @@ -6916,7 +6916,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SaveComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SaveComment`: APISaveCommentResponse + // response from `SaveComment`: SaveCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SaveComment`: %v\n", resp) } ``` @@ -6941,7 +6941,7 @@ Name | Type | Description | Notes ### Return type -[**APISaveCommentResponse**](APISaveCommentResponse.md) +[**SaveCommentResponse**](SaveCommentResponse.md) ### Authorization @@ -7033,7 +7033,7 @@ Name | Type | Description | Notes ## SendInvite -> APIEmptyResponse SendInvite(ctx, id).TenantId(tenantId).FromName(fromName).Execute() +> SendInviteResponse SendInvite(ctx, id).TenantId(tenantId).FromName(fromName).Execute() @@ -7061,7 +7061,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SendInvite``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SendInvite`: APIEmptyResponse + // response from `SendInvite`: SendInviteResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SendInvite`: %v\n", resp) } ``` @@ -7087,7 +7087,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**SendInviteResponse**](SendInviteResponse.md) ### Authorization @@ -7105,7 +7105,7 @@ Name | Type | Description | Notes ## SendLoginLink -> APIEmptyResponse SendLoginLink(ctx, id).TenantId(tenantId).RedirectURL(redirectURL).Execute() +> SendLoginLinkResponse SendLoginLink(ctx, id).TenantId(tenantId).RedirectURL(redirectURL).Execute() @@ -7133,7 +7133,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SendLoginLink``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SendLoginLink`: APIEmptyResponse + // response from `SendLoginLink`: SendLoginLinkResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SendLoginLink`: %v\n", resp) } ``` @@ -7159,7 +7159,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**SendLoginLinkResponse**](SendLoginLinkResponse.md) ### Authorization @@ -7177,7 +7177,7 @@ Name | Type | Description | Notes ## UnBlockUserFromComment -> UnblockSuccess UnBlockUserFromComment(ctx, id).TenantId(tenantId).UnBlockFromCommentParams(unBlockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() +> UnBlockUserFromCommentResponse UnBlockUserFromComment(ctx, id).TenantId(tenantId).UnBlockFromCommentParams(unBlockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() @@ -7207,7 +7207,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UnBlockUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnBlockUserFromComment`: UnblockSuccess + // response from `UnBlockUserFromComment`: UnBlockUserFromCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UnBlockUserFromComment`: %v\n", resp) } ``` @@ -7235,7 +7235,7 @@ Name | Type | Description | Notes ### Return type -[**UnblockSuccess**](UnblockSuccess.md) +[**UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) ### Authorization @@ -7253,7 +7253,7 @@ Name | Type | Description | Notes ## UnFlagComment -> FlagCommentResponse UnFlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() +> UnFlagCommentResponse UnFlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -7282,7 +7282,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UnFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnFlagComment`: FlagCommentResponse + // response from `UnFlagComment`: UnFlagCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UnFlagComment`: %v\n", resp) } ``` @@ -7309,7 +7309,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse**](FlagCommentResponse.md) +[**UnFlagCommentResponse**](UnFlagCommentResponse.md) ### Authorization @@ -7327,7 +7327,7 @@ Name | Type | Description | Notes ## UpdateComment -> APIEmptyResponse UpdateComment(ctx, id).TenantId(tenantId).UpdatableCommentParams(updatableCommentParams).ContextUserId(contextUserId).DoSpamCheck(doSpamCheck).IsLive(isLive).Execute() +> UpdateCommentResponse UpdateComment(ctx, id).TenantId(tenantId).UpdatableCommentParams(updatableCommentParams).ContextUserId(contextUserId).DoSpamCheck(doSpamCheck).IsLive(isLive).Execute() @@ -7358,7 +7358,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateComment`: APIEmptyResponse + // response from `UpdateComment`: UpdateCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateComment`: %v\n", resp) } ``` @@ -7387,7 +7387,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateCommentResponse**](UpdateCommentResponse.md) ### Authorization @@ -7405,7 +7405,7 @@ Name | Type | Description | Notes ## UpdateEmailTemplate -> APIEmptyResponse UpdateEmailTemplate(ctx, id).TenantId(tenantId).UpdateEmailTemplateBody(updateEmailTemplateBody).Execute() +> UpdateEmailTemplateResponse UpdateEmailTemplate(ctx, id).TenantId(tenantId).UpdateEmailTemplateBody(updateEmailTemplateBody).Execute() @@ -7433,7 +7433,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateEmailTemplate`: APIEmptyResponse + // response from `UpdateEmailTemplate`: UpdateEmailTemplateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateEmailTemplate`: %v\n", resp) } ``` @@ -7459,7 +7459,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) ### Authorization @@ -7477,7 +7477,7 @@ Name | Type | Description | Notes ## UpdateFeedPost -> APIEmptyResponse UpdateFeedPost(ctx, id).TenantId(tenantId).FeedPost(feedPost).Execute() +> UpdateFeedPostResponse UpdateFeedPost(ctx, id).TenantId(tenantId).FeedPost(feedPost).Execute() @@ -7506,7 +7506,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateFeedPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateFeedPost`: APIEmptyResponse + // response from `UpdateFeedPost`: UpdateFeedPostResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateFeedPost`: %v\n", resp) } ``` @@ -7532,7 +7532,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateFeedPostResponse**](UpdateFeedPostResponse.md) ### Authorization @@ -7550,7 +7550,7 @@ Name | Type | Description | Notes ## UpdateModerator -> APIEmptyResponse UpdateModerator(ctx, id).TenantId(tenantId).UpdateModeratorBody(updateModeratorBody).Execute() +> UpdateModeratorResponse UpdateModerator(ctx, id).TenantId(tenantId).UpdateModeratorBody(updateModeratorBody).Execute() @@ -7578,7 +7578,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateModerator`: APIEmptyResponse + // response from `UpdateModerator`: UpdateModeratorResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateModerator`: %v\n", resp) } ``` @@ -7604,7 +7604,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateModeratorResponse**](UpdateModeratorResponse.md) ### Authorization @@ -7622,7 +7622,7 @@ Name | Type | Description | Notes ## UpdateNotification -> APIEmptyResponse UpdateNotification(ctx, id).TenantId(tenantId).UpdateNotificationBody(updateNotificationBody).UserId(userId).Execute() +> UpdateNotificationResponse UpdateNotification(ctx, id).TenantId(tenantId).UpdateNotificationBody(updateNotificationBody).UserId(userId).Execute() @@ -7651,7 +7651,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateNotification`: APIEmptyResponse + // response from `UpdateNotification`: UpdateNotificationResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateNotification`: %v\n", resp) } ``` @@ -7678,7 +7678,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateNotificationResponse**](UpdateNotificationResponse.md) ### Authorization @@ -7696,7 +7696,7 @@ Name | Type | Description | Notes ## UpdateQuestionConfig -> APIEmptyResponse UpdateQuestionConfig(ctx, id).TenantId(tenantId).UpdateQuestionConfigBody(updateQuestionConfigBody).Execute() +> UpdateQuestionConfigResponse UpdateQuestionConfig(ctx, id).TenantId(tenantId).UpdateQuestionConfigBody(updateQuestionConfigBody).Execute() @@ -7724,7 +7724,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateQuestionConfig`: APIEmptyResponse + // response from `UpdateQuestionConfig`: UpdateQuestionConfigResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateQuestionConfig`: %v\n", resp) } ``` @@ -7750,7 +7750,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) ### Authorization @@ -7768,7 +7768,7 @@ Name | Type | Description | Notes ## UpdateQuestionResult -> APIEmptyResponse UpdateQuestionResult(ctx, id).TenantId(tenantId).UpdateQuestionResultBody(updateQuestionResultBody).Execute() +> UpdateQuestionResultResponse UpdateQuestionResult(ctx, id).TenantId(tenantId).UpdateQuestionResultBody(updateQuestionResultBody).Execute() @@ -7796,7 +7796,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateQuestionResult`: APIEmptyResponse + // response from `UpdateQuestionResult`: UpdateQuestionResultResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateQuestionResult`: %v\n", resp) } ``` @@ -7822,7 +7822,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) ### Authorization @@ -7914,7 +7914,7 @@ Name | Type | Description | Notes ## UpdateTenant -> APIEmptyResponse UpdateTenant(ctx, id).TenantId(tenantId).UpdateTenantBody(updateTenantBody).Execute() +> UpdateTenantResponse UpdateTenant(ctx, id).TenantId(tenantId).UpdateTenantBody(updateTenantBody).Execute() @@ -7942,7 +7942,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenant`: APIEmptyResponse + // response from `UpdateTenant`: UpdateTenantResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenant`: %v\n", resp) } ``` @@ -7968,7 +7968,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantResponse**](UpdateTenantResponse.md) ### Authorization @@ -7986,7 +7986,7 @@ Name | Type | Description | Notes ## UpdateTenantPackage -> APIEmptyResponse UpdateTenantPackage(ctx, id).TenantId(tenantId).UpdateTenantPackageBody(updateTenantPackageBody).Execute() +> UpdateTenantPackageResponse UpdateTenantPackage(ctx, id).TenantId(tenantId).UpdateTenantPackageBody(updateTenantPackageBody).Execute() @@ -8014,7 +8014,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenantPackage`: APIEmptyResponse + // response from `UpdateTenantPackage`: UpdateTenantPackageResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenantPackage`: %v\n", resp) } ``` @@ -8040,7 +8040,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) ### Authorization @@ -8058,7 +8058,7 @@ Name | Type | Description | Notes ## UpdateTenantUser -> APIEmptyResponse UpdateTenantUser(ctx, id).TenantId(tenantId).UpdateTenantUserBody(updateTenantUserBody).UpdateComments(updateComments).Execute() +> UpdateTenantUserResponse UpdateTenantUser(ctx, id).TenantId(tenantId).UpdateTenantUserBody(updateTenantUserBody).UpdateComments(updateComments).Execute() @@ -8087,7 +8087,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenantUser`: APIEmptyResponse + // response from `UpdateTenantUser`: UpdateTenantUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenantUser`: %v\n", resp) } ``` @@ -8114,7 +8114,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UpdateTenantUserResponse**](UpdateTenantUserResponse.md) ### Authorization @@ -8132,7 +8132,7 @@ Name | Type | Description | Notes ## UpdateUserBadge -> APIEmptySuccessResponse UpdateUserBadge(ctx, id).TenantId(tenantId).UpdateUserBadgeParams(updateUserBadgeParams).Execute() +> UpdateUserBadgeResponse UpdateUserBadge(ctx, id).TenantId(tenantId).UpdateUserBadgeParams(updateUserBadgeParams).Execute() @@ -8160,7 +8160,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateUserBadge`: APIEmptySuccessResponse + // response from `UpdateUserBadge`: UpdateUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateUserBadge`: %v\n", resp) } ``` @@ -8186,7 +8186,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) +[**UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md new file mode 100644 index 0000000..587ec36 --- /dev/null +++ b/client/docs/DeleteCommentPublicResponse.md @@ -0,0 +1,270 @@ +# DeleteCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | Pointer to [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] +**HardRemoved** | **bool** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteCommentPublicResponse + +`func NewDeleteCommentPublicResponse(hardRemoved bool, status APIStatus, reason string, code string, ) *DeleteCommentPublicResponse` + +NewDeleteCommentPublicResponse instantiates a new DeleteCommentPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteCommentPublicResponseWithDefaults + +`func NewDeleteCommentPublicResponseWithDefaults() *DeleteCommentPublicResponse` + +NewDeleteCommentPublicResponseWithDefaults instantiates a new DeleteCommentPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComment + +`func (o *DeleteCommentPublicResponse) GetComment() DeletedCommentResultComment` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *DeleteCommentPublicResponse) GetCommentOk() (*DeletedCommentResultComment, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *DeleteCommentPublicResponse) SetComment(v DeletedCommentResultComment)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *DeleteCommentPublicResponse) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetHardRemoved + +`func (o *DeleteCommentPublicResponse) GetHardRemoved() bool` + +GetHardRemoved returns the HardRemoved field if non-nil, zero value otherwise. + +### GetHardRemovedOk + +`func (o *DeleteCommentPublicResponse) GetHardRemovedOk() (*bool, bool)` + +GetHardRemovedOk returns a tuple with the HardRemoved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHardRemoved + +`func (o *DeleteCommentPublicResponse) SetHardRemoved(v bool)` + +SetHardRemoved sets HardRemoved field to given value. + + +### GetStatus + +`func (o *DeleteCommentPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteCommentPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteCommentPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteCommentPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteCommentPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteCommentPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteCommentPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteCommentPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteCommentPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteCommentPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteCommentPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteCommentPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteCommentPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteCommentPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteCommentPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteCommentPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteCommentPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteCommentPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteCommentPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteCommentPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteCommentPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteCommentPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md new file mode 100644 index 0000000..952c907 --- /dev/null +++ b/client/docs/DeleteCommentResponse.md @@ -0,0 +1,244 @@ +# DeleteCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteCommentResponse + +`func NewDeleteCommentResponse(action DeleteCommentAction, status APIStatus, reason string, code string, ) *DeleteCommentResponse` + +NewDeleteCommentResponse instantiates a new DeleteCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteCommentResponseWithDefaults + +`func NewDeleteCommentResponseWithDefaults() *DeleteCommentResponse` + +NewDeleteCommentResponseWithDefaults instantiates a new DeleteCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAction + +`func (o *DeleteCommentResponse) GetAction() DeleteCommentAction` + +GetAction returns the Action field if non-nil, zero value otherwise. + +### GetActionOk + +`func (o *DeleteCommentResponse) GetActionOk() (*DeleteCommentAction, bool)` + +GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAction + +`func (o *DeleteCommentResponse) SetAction(v DeleteCommentAction)` + +SetAction sets Action field to given value. + + +### GetStatus + +`func (o *DeleteCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md new file mode 100644 index 0000000..85db4f7 --- /dev/null +++ b/client/docs/DeleteCommentVoteResponse.md @@ -0,0 +1,249 @@ +# DeleteCommentVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**WasPendingVote** | Pointer to **bool** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteCommentVoteResponse + +`func NewDeleteCommentVoteResponse(status APIStatus, reason string, code string, ) *DeleteCommentVoteResponse` + +NewDeleteCommentVoteResponse instantiates a new DeleteCommentVoteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteCommentVoteResponseWithDefaults + +`func NewDeleteCommentVoteResponseWithDefaults() *DeleteCommentVoteResponse` + +NewDeleteCommentVoteResponseWithDefaults instantiates a new DeleteCommentVoteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteCommentVoteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteCommentVoteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteCommentVoteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetWasPendingVote + +`func (o *DeleteCommentVoteResponse) GetWasPendingVote() bool` + +GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. + +### GetWasPendingVoteOk + +`func (o *DeleteCommentVoteResponse) GetWasPendingVoteOk() (*bool, bool)` + +GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWasPendingVote + +`func (o *DeleteCommentVoteResponse) SetWasPendingVote(v bool)` + +SetWasPendingVote sets WasPendingVote field to given value. + +### HasWasPendingVote + +`func (o *DeleteCommentVoteResponse) HasWasPendingVote() bool` + +HasWasPendingVote returns a boolean if a field has been set. + +### GetReason + +`func (o *DeleteCommentVoteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteCommentVoteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteCommentVoteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteCommentVoteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteCommentVoteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteCommentVoteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteCommentVoteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteCommentVoteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteCommentVoteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteCommentVoteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteCommentVoteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteCommentVoteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteCommentVoteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteCommentVoteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteCommentVoteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteCommentVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteCommentVoteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteCommentVoteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteCommentVoteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteCommentVoteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteCommentVoteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteCommentVoteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteCommentVoteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteCommentVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteCommentVoteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteCommentVoteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md new file mode 100644 index 0000000..aaa1a74 --- /dev/null +++ b/client/docs/DeleteEmailTemplateRenderErrorResponse.md @@ -0,0 +1,223 @@ +# DeleteEmailTemplateRenderErrorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteEmailTemplateRenderErrorResponse + +`func NewDeleteEmailTemplateRenderErrorResponse(status APIStatus, reason string, code string, ) *DeleteEmailTemplateRenderErrorResponse` + +NewDeleteEmailTemplateRenderErrorResponse instantiates a new DeleteEmailTemplateRenderErrorResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteEmailTemplateRenderErrorResponseWithDefaults + +`func NewDeleteEmailTemplateRenderErrorResponseWithDefaults() *DeleteEmailTemplateRenderErrorResponse` + +NewDeleteEmailTemplateRenderErrorResponseWithDefaults instantiates a new DeleteEmailTemplateRenderErrorResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteEmailTemplateRenderErrorResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteEmailTemplateRenderErrorResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteEmailTemplateRenderErrorResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteEmailTemplateRenderErrorResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteEmailTemplateRenderErrorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteEmailTemplateRenderErrorResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteEmailTemplateRenderErrorResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md new file mode 100644 index 0000000..f2f59d2 --- /dev/null +++ b/client/docs/DeleteEmailTemplateResponse.md @@ -0,0 +1,223 @@ +# DeleteEmailTemplateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteEmailTemplateResponse + +`func NewDeleteEmailTemplateResponse(status APIStatus, reason string, code string, ) *DeleteEmailTemplateResponse` + +NewDeleteEmailTemplateResponse instantiates a new DeleteEmailTemplateResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteEmailTemplateResponseWithDefaults + +`func NewDeleteEmailTemplateResponseWithDefaults() *DeleteEmailTemplateResponse` + +NewDeleteEmailTemplateResponseWithDefaults instantiates a new DeleteEmailTemplateResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteEmailTemplateResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteEmailTemplateResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteEmailTemplateResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteEmailTemplateResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteEmailTemplateResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteEmailTemplateResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteEmailTemplateResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteEmailTemplateResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteEmailTemplateResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteEmailTemplateResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteEmailTemplateResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteEmailTemplateResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteEmailTemplateResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteEmailTemplateResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteEmailTemplateResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteEmailTemplateResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteEmailTemplateResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteEmailTemplateResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteEmailTemplateResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteEmailTemplateResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteEmailTemplateResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteEmailTemplateResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteEmailTemplateResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteEmailTemplateResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteEmailTemplateResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteEmailTemplateResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteEmailTemplateResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteEmailTemplateResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteEmailTemplateResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index 5cb168d..f38c4e3 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -5,12 +5,19 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewDeleteFeedPostPublicResponse -`func NewDeleteFeedPostPublicResponse(status APIStatus, ) *DeleteFeedPostPublicResponse` +`func NewDeleteFeedPostPublicResponse(status APIStatus, reason string, code string, ) *DeleteFeedPostPublicResponse` NewDeleteFeedPostPublicResponse instantiates a new DeleteFeedPostPublicResponse object This constructor will assign default values to properties that have it defined, @@ -45,6 +52,171 @@ and a boolean to check if the value has been set. SetStatus sets Status field to given value. +### GetReason + +`func (o *DeleteFeedPostPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteFeedPostPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteFeedPostPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteFeedPostPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteFeedPostPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteFeedPostPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteFeedPostPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteFeedPostPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteFeedPostPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteFeedPostPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteFeedPostPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteFeedPostPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteFeedPostPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteFeedPostPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteFeedPostPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteFeedPostPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteFeedPostPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteFeedPostPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteFeedPostPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md new file mode 100644 index 0000000..21e1bb6 --- /dev/null +++ b/client/docs/DeleteFeedPostPublicResponseAnyOf.md @@ -0,0 +1,51 @@ +# DeleteFeedPostPublicResponseAnyOf + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | + +## Methods + +### NewDeleteFeedPostPublicResponseAnyOf + +`func NewDeleteFeedPostPublicResponseAnyOf(status APIStatus, ) *DeleteFeedPostPublicResponseAnyOf` + +NewDeleteFeedPostPublicResponseAnyOf instantiates a new DeleteFeedPostPublicResponseAnyOf object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteFeedPostPublicResponseAnyOfWithDefaults + +`func NewDeleteFeedPostPublicResponseAnyOfWithDefaults() *DeleteFeedPostPublicResponseAnyOf` + +NewDeleteFeedPostPublicResponseAnyOfWithDefaults instantiates a new DeleteFeedPostPublicResponseAnyOf object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteFeedPostPublicResponseAnyOf) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteFeedPostPublicResponseAnyOf) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteFeedPostPublicResponseAnyOf) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md new file mode 100644 index 0000000..1f9791b --- /dev/null +++ b/client/docs/DeleteHashTagResponse.md @@ -0,0 +1,223 @@ +# DeleteHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteHashTagResponse + +`func NewDeleteHashTagResponse(status APIStatus, reason string, code string, ) *DeleteHashTagResponse` + +NewDeleteHashTagResponse instantiates a new DeleteHashTagResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteHashTagResponseWithDefaults + +`func NewDeleteHashTagResponseWithDefaults() *DeleteHashTagResponse` + +NewDeleteHashTagResponseWithDefaults instantiates a new DeleteHashTagResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteHashTagResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteHashTagResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteHashTagResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteHashTagResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteHashTagResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteHashTagResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteHashTagResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteHashTagResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteHashTagResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteHashTagResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteHashTagResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteHashTagResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteHashTagResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteHashTagResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteHashTagResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteHashTagResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteHashTagResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteHashTagResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteHashTagResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteHashTagResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteHashTagResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteHashTagResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteHashTagResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteHashTagResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteHashTagResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteHashTagResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteHashTagResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md new file mode 100644 index 0000000..ef192c4 --- /dev/null +++ b/client/docs/DeleteModerationVoteResponse.md @@ -0,0 +1,249 @@ +# DeleteModerationVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**WasPendingVote** | Pointer to **bool** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteModerationVoteResponse + +`func NewDeleteModerationVoteResponse(status APIStatus, reason string, code string, ) *DeleteModerationVoteResponse` + +NewDeleteModerationVoteResponse instantiates a new DeleteModerationVoteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteModerationVoteResponseWithDefaults + +`func NewDeleteModerationVoteResponseWithDefaults() *DeleteModerationVoteResponse` + +NewDeleteModerationVoteResponseWithDefaults instantiates a new DeleteModerationVoteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteModerationVoteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteModerationVoteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteModerationVoteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetWasPendingVote + +`func (o *DeleteModerationVoteResponse) GetWasPendingVote() bool` + +GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. + +### GetWasPendingVoteOk + +`func (o *DeleteModerationVoteResponse) GetWasPendingVoteOk() (*bool, bool)` + +GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWasPendingVote + +`func (o *DeleteModerationVoteResponse) SetWasPendingVote(v bool)` + +SetWasPendingVote sets WasPendingVote field to given value. + +### HasWasPendingVote + +`func (o *DeleteModerationVoteResponse) HasWasPendingVote() bool` + +HasWasPendingVote returns a boolean if a field has been set. + +### GetReason + +`func (o *DeleteModerationVoteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteModerationVoteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteModerationVoteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteModerationVoteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteModerationVoteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteModerationVoteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteModerationVoteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteModerationVoteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteModerationVoteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteModerationVoteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteModerationVoteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteModerationVoteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteModerationVoteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteModerationVoteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteModerationVoteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteModerationVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteModerationVoteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteModerationVoteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteModerationVoteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteModerationVoteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteModerationVoteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteModerationVoteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteModerationVoteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteModerationVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteModerationVoteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteModerationVoteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md new file mode 100644 index 0000000..925a41d --- /dev/null +++ b/client/docs/DeleteModeratorResponse.md @@ -0,0 +1,223 @@ +# DeleteModeratorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteModeratorResponse + +`func NewDeleteModeratorResponse(status APIStatus, reason string, code string, ) *DeleteModeratorResponse` + +NewDeleteModeratorResponse instantiates a new DeleteModeratorResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteModeratorResponseWithDefaults + +`func NewDeleteModeratorResponseWithDefaults() *DeleteModeratorResponse` + +NewDeleteModeratorResponseWithDefaults instantiates a new DeleteModeratorResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteModeratorResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteModeratorResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteModeratorResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteModeratorResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteModeratorResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteModeratorResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteModeratorResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteModeratorResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteModeratorResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteModeratorResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteModeratorResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteModeratorResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteModeratorResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteModeratorResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteModeratorResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteModeratorResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteModeratorResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteModeratorResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteModeratorResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteModeratorResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteModeratorResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteModeratorResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteModeratorResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteModeratorResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteModeratorResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteModeratorResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteModeratorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteModeratorResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteModeratorResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md new file mode 100644 index 0000000..c33b6ce --- /dev/null +++ b/client/docs/DeleteNotificationCountResponse.md @@ -0,0 +1,223 @@ +# DeleteNotificationCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteNotificationCountResponse + +`func NewDeleteNotificationCountResponse(status APIStatus, reason string, code string, ) *DeleteNotificationCountResponse` + +NewDeleteNotificationCountResponse instantiates a new DeleteNotificationCountResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteNotificationCountResponseWithDefaults + +`func NewDeleteNotificationCountResponseWithDefaults() *DeleteNotificationCountResponse` + +NewDeleteNotificationCountResponseWithDefaults instantiates a new DeleteNotificationCountResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteNotificationCountResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteNotificationCountResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteNotificationCountResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteNotificationCountResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteNotificationCountResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteNotificationCountResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteNotificationCountResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteNotificationCountResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteNotificationCountResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteNotificationCountResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteNotificationCountResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteNotificationCountResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteNotificationCountResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteNotificationCountResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteNotificationCountResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteNotificationCountResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteNotificationCountResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteNotificationCountResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteNotificationCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteNotificationCountResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteNotificationCountResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteNotificationCountResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteNotificationCountResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteNotificationCountResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteNotificationCountResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteNotificationCountResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteNotificationCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteNotificationCountResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteNotificationCountResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md new file mode 100644 index 0000000..ca32bc3 --- /dev/null +++ b/client/docs/DeletePendingWebhookEventResponse.md @@ -0,0 +1,223 @@ +# DeletePendingWebhookEventResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeletePendingWebhookEventResponse + +`func NewDeletePendingWebhookEventResponse(status APIStatus, reason string, code string, ) *DeletePendingWebhookEventResponse` + +NewDeletePendingWebhookEventResponse instantiates a new DeletePendingWebhookEventResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeletePendingWebhookEventResponseWithDefaults + +`func NewDeletePendingWebhookEventResponseWithDefaults() *DeletePendingWebhookEventResponse` + +NewDeletePendingWebhookEventResponseWithDefaults instantiates a new DeletePendingWebhookEventResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeletePendingWebhookEventResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeletePendingWebhookEventResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeletePendingWebhookEventResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeletePendingWebhookEventResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeletePendingWebhookEventResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeletePendingWebhookEventResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeletePendingWebhookEventResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeletePendingWebhookEventResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeletePendingWebhookEventResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeletePendingWebhookEventResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeletePendingWebhookEventResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeletePendingWebhookEventResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeletePendingWebhookEventResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeletePendingWebhookEventResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeletePendingWebhookEventResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeletePendingWebhookEventResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeletePendingWebhookEventResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeletePendingWebhookEventResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeletePendingWebhookEventResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeletePendingWebhookEventResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeletePendingWebhookEventResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeletePendingWebhookEventResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeletePendingWebhookEventResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeletePendingWebhookEventResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeletePendingWebhookEventResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeletePendingWebhookEventResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeletePendingWebhookEventResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeletePendingWebhookEventResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeletePendingWebhookEventResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md new file mode 100644 index 0000000..1c01f15 --- /dev/null +++ b/client/docs/DeleteQuestionConfigResponse.md @@ -0,0 +1,223 @@ +# DeleteQuestionConfigResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteQuestionConfigResponse + +`func NewDeleteQuestionConfigResponse(status APIStatus, reason string, code string, ) *DeleteQuestionConfigResponse` + +NewDeleteQuestionConfigResponse instantiates a new DeleteQuestionConfigResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteQuestionConfigResponseWithDefaults + +`func NewDeleteQuestionConfigResponseWithDefaults() *DeleteQuestionConfigResponse` + +NewDeleteQuestionConfigResponseWithDefaults instantiates a new DeleteQuestionConfigResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteQuestionConfigResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteQuestionConfigResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteQuestionConfigResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteQuestionConfigResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteQuestionConfigResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteQuestionConfigResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteQuestionConfigResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteQuestionConfigResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteQuestionConfigResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteQuestionConfigResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteQuestionConfigResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteQuestionConfigResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteQuestionConfigResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteQuestionConfigResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteQuestionConfigResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteQuestionConfigResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteQuestionConfigResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteQuestionConfigResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteQuestionConfigResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteQuestionConfigResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteQuestionConfigResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteQuestionConfigResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteQuestionConfigResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteQuestionConfigResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteQuestionConfigResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteQuestionConfigResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteQuestionConfigResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteQuestionConfigResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteQuestionConfigResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md new file mode 100644 index 0000000..06b92b3 --- /dev/null +++ b/client/docs/DeleteQuestionResultResponse.md @@ -0,0 +1,223 @@ +# DeleteQuestionResultResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteQuestionResultResponse + +`func NewDeleteQuestionResultResponse(status APIStatus, reason string, code string, ) *DeleteQuestionResultResponse` + +NewDeleteQuestionResultResponse instantiates a new DeleteQuestionResultResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteQuestionResultResponseWithDefaults + +`func NewDeleteQuestionResultResponseWithDefaults() *DeleteQuestionResultResponse` + +NewDeleteQuestionResultResponseWithDefaults instantiates a new DeleteQuestionResultResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteQuestionResultResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteQuestionResultResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteQuestionResultResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteQuestionResultResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteQuestionResultResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteQuestionResultResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteQuestionResultResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteQuestionResultResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteQuestionResultResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteQuestionResultResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteQuestionResultResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteQuestionResultResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteQuestionResultResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteQuestionResultResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteQuestionResultResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteQuestionResultResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteQuestionResultResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteQuestionResultResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteQuestionResultResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteQuestionResultResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteQuestionResultResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteQuestionResultResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteQuestionResultResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteQuestionResultResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteQuestionResultResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteQuestionResultResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteQuestionResultResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteQuestionResultResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteQuestionResultResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md new file mode 100644 index 0000000..4d6f8cb --- /dev/null +++ b/client/docs/DeleteTenantPackageResponse.md @@ -0,0 +1,223 @@ +# DeleteTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteTenantPackageResponse + +`func NewDeleteTenantPackageResponse(status APIStatus, reason string, code string, ) *DeleteTenantPackageResponse` + +NewDeleteTenantPackageResponse instantiates a new DeleteTenantPackageResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteTenantPackageResponseWithDefaults + +`func NewDeleteTenantPackageResponseWithDefaults() *DeleteTenantPackageResponse` + +NewDeleteTenantPackageResponseWithDefaults instantiates a new DeleteTenantPackageResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteTenantPackageResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteTenantPackageResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteTenantPackageResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteTenantPackageResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteTenantPackageResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteTenantPackageResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteTenantPackageResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteTenantPackageResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteTenantPackageResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteTenantPackageResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteTenantPackageResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteTenantPackageResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteTenantPackageResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteTenantPackageResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteTenantPackageResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteTenantPackageResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteTenantPackageResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteTenantPackageResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteTenantPackageResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteTenantPackageResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteTenantPackageResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteTenantPackageResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md new file mode 100644 index 0000000..d5e5c7b --- /dev/null +++ b/client/docs/DeleteTenantResponse.md @@ -0,0 +1,223 @@ +# DeleteTenantResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteTenantResponse + +`func NewDeleteTenantResponse(status APIStatus, reason string, code string, ) *DeleteTenantResponse` + +NewDeleteTenantResponse instantiates a new DeleteTenantResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteTenantResponseWithDefaults + +`func NewDeleteTenantResponseWithDefaults() *DeleteTenantResponse` + +NewDeleteTenantResponseWithDefaults instantiates a new DeleteTenantResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteTenantResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteTenantResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteTenantResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteTenantResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteTenantResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteTenantResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteTenantResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteTenantResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteTenantResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteTenantResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteTenantResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteTenantResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteTenantResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteTenantResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteTenantResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteTenantResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteTenantResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteTenantResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteTenantResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteTenantResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteTenantResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteTenantResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteTenantResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteTenantResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteTenantResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteTenantResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteTenantResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteTenantResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteTenantResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md new file mode 100644 index 0000000..a51e330 --- /dev/null +++ b/client/docs/DeleteTenantUserResponse.md @@ -0,0 +1,223 @@ +# DeleteTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteTenantUserResponse + +`func NewDeleteTenantUserResponse(status APIStatus, reason string, code string, ) *DeleteTenantUserResponse` + +NewDeleteTenantUserResponse instantiates a new DeleteTenantUserResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteTenantUserResponseWithDefaults + +`func NewDeleteTenantUserResponseWithDefaults() *DeleteTenantUserResponse` + +NewDeleteTenantUserResponseWithDefaults instantiates a new DeleteTenantUserResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteTenantUserResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteTenantUserResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteTenantUserResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteTenantUserResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteTenantUserResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteTenantUserResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteTenantUserResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteTenantUserResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteTenantUserResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteTenantUserResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteTenantUserResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteTenantUserResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteTenantUserResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteTenantUserResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteTenantUserResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteTenantUserResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteTenantUserResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteTenantUserResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteTenantUserResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteTenantUserResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteTenantUserResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteTenantUserResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteTenantUserResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteTenantUserResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md new file mode 100644 index 0000000..2044510 --- /dev/null +++ b/client/docs/DeleteUserBadgeResponse.md @@ -0,0 +1,223 @@ +# DeleteUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteUserBadgeResponse + +`func NewDeleteUserBadgeResponse(status APIStatus, reason string, code string, ) *DeleteUserBadgeResponse` + +NewDeleteUserBadgeResponse instantiates a new DeleteUserBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteUserBadgeResponseWithDefaults + +`func NewDeleteUserBadgeResponseWithDefaults() *DeleteUserBadgeResponse` + +NewDeleteUserBadgeResponseWithDefaults instantiates a new DeleteUserBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteUserBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteUserBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteUserBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteUserBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteUserBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteUserBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteUserBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteUserBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteUserBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteUserBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteUserBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteUserBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteUserBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteUserBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteUserBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteUserBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteUserBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteUserBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteUserBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteUserBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteUserBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteUserBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md new file mode 100644 index 0000000..b15faf9 --- /dev/null +++ b/client/docs/DeleteV1PageReactResponse.md @@ -0,0 +1,223 @@ +# DeleteV1PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteV1PageReactResponse + +`func NewDeleteV1PageReactResponse(code string, status APIStatus, reason string, ) *DeleteV1PageReactResponse` + +NewDeleteV1PageReactResponse instantiates a new DeleteV1PageReactResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteV1PageReactResponseWithDefaults + +`func NewDeleteV1PageReactResponseWithDefaults() *DeleteV1PageReactResponse` + +NewDeleteV1PageReactResponseWithDefaults instantiates a new DeleteV1PageReactResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DeleteV1PageReactResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteV1PageReactResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteV1PageReactResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetStatus + +`func (o *DeleteV1PageReactResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteV1PageReactResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteV1PageReactResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteV1PageReactResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteV1PageReactResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteV1PageReactResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *DeleteV1PageReactResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteV1PageReactResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteV1PageReactResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteV1PageReactResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteV1PageReactResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteV1PageReactResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteV1PageReactResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteV1PageReactResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteV1PageReactResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteV1PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteV1PageReactResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteV1PageReactResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteV1PageReactResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteV1PageReactResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteV1PageReactResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteV1PageReactResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteV1PageReactResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteV1PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteV1PageReactResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteV1PageReactResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md new file mode 100644 index 0000000..c0f57ed --- /dev/null +++ b/client/docs/DeleteV2PageReactResponse.md @@ -0,0 +1,223 @@ +# DeleteV2PageReactResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Code** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteV2PageReactResponse + +`func NewDeleteV2PageReactResponse(code string, status APIStatus, reason string, ) *DeleteV2PageReactResponse` + +NewDeleteV2PageReactResponse instantiates a new DeleteV2PageReactResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteV2PageReactResponseWithDefaults + +`func NewDeleteV2PageReactResponseWithDefaults() *DeleteV2PageReactResponse` + +NewDeleteV2PageReactResponseWithDefaults instantiates a new DeleteV2PageReactResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCode + +`func (o *DeleteV2PageReactResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteV2PageReactResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteV2PageReactResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetStatus + +`func (o *DeleteV2PageReactResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteV2PageReactResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteV2PageReactResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *DeleteV2PageReactResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteV2PageReactResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteV2PageReactResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *DeleteV2PageReactResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteV2PageReactResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteV2PageReactResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteV2PageReactResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteV2PageReactResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteV2PageReactResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteV2PageReactResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteV2PageReactResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteV2PageReactResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteV2PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteV2PageReactResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteV2PageReactResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteV2PageReactResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteV2PageReactResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteV2PageReactResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteV2PageReactResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteV2PageReactResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteV2PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteV2PageReactResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteV2PageReactResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md new file mode 100644 index 0000000..292dd83 --- /dev/null +++ b/client/docs/DeleteVoteResponse.md @@ -0,0 +1,249 @@ +# DeleteVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**WasPendingVote** | Pointer to **bool** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewDeleteVoteResponse + +`func NewDeleteVoteResponse(status APIStatus, reason string, code string, ) *DeleteVoteResponse` + +NewDeleteVoteResponse instantiates a new DeleteVoteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDeleteVoteResponseWithDefaults + +`func NewDeleteVoteResponseWithDefaults() *DeleteVoteResponse` + +NewDeleteVoteResponseWithDefaults instantiates a new DeleteVoteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *DeleteVoteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DeleteVoteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DeleteVoteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetWasPendingVote + +`func (o *DeleteVoteResponse) GetWasPendingVote() bool` + +GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. + +### GetWasPendingVoteOk + +`func (o *DeleteVoteResponse) GetWasPendingVoteOk() (*bool, bool)` + +GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWasPendingVote + +`func (o *DeleteVoteResponse) SetWasPendingVote(v bool)` + +SetWasPendingVote sets WasPendingVote field to given value. + +### HasWasPendingVote + +`func (o *DeleteVoteResponse) HasWasPendingVote() bool` + +HasWasPendingVote returns a boolean if a field has been set. + +### GetReason + +`func (o *DeleteVoteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *DeleteVoteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *DeleteVoteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *DeleteVoteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *DeleteVoteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *DeleteVoteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *DeleteVoteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *DeleteVoteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *DeleteVoteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *DeleteVoteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *DeleteVoteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *DeleteVoteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *DeleteVoteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *DeleteVoteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *DeleteVoteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *DeleteVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *DeleteVoteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *DeleteVoteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *DeleteVoteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *DeleteVoteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *DeleteVoteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *DeleteVoteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *DeleteVoteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *DeleteVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *DeleteVoteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *DeleteVoteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md new file mode 100644 index 0000000..cd97af3 --- /dev/null +++ b/client/docs/FlagCommentPublicResponse.md @@ -0,0 +1,223 @@ +# FlagCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewFlagCommentPublicResponse + +`func NewFlagCommentPublicResponse(status APIStatus, reason string, code string, ) *FlagCommentPublicResponse` + +NewFlagCommentPublicResponse instantiates a new FlagCommentPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewFlagCommentPublicResponseWithDefaults + +`func NewFlagCommentPublicResponseWithDefaults() *FlagCommentPublicResponse` + +NewFlagCommentPublicResponseWithDefaults instantiates a new FlagCommentPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *FlagCommentPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *FlagCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *FlagCommentPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *FlagCommentPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *FlagCommentPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *FlagCommentPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *FlagCommentPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *FlagCommentPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *FlagCommentPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *FlagCommentPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *FlagCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *FlagCommentPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *FlagCommentPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *FlagCommentPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *FlagCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *FlagCommentPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *FlagCommentPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *FlagCommentPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *FlagCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *FlagCommentPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *FlagCommentPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *FlagCommentPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *FlagCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *FlagCommentPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *FlagCommentPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *FlagCommentPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *FlagCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *FlagCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *FlagCommentPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md new file mode 100644 index 0000000..b357a63 --- /dev/null +++ b/client/docs/FlagCommentResponse1.md @@ -0,0 +1,275 @@ +# FlagCommentResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | Pointer to **int32** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Code** | **string** | | +**Reason** | **string** | | +**WasUnapproved** | Pointer to **bool** | | [optional] +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewFlagCommentResponse1 + +`func NewFlagCommentResponse1(status APIStatus, code string, reason string, ) *FlagCommentResponse1` + +NewFlagCommentResponse1 instantiates a new FlagCommentResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewFlagCommentResponse1WithDefaults + +`func NewFlagCommentResponse1WithDefaults() *FlagCommentResponse1` + +NewFlagCommentResponse1WithDefaults instantiates a new FlagCommentResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatusCode + +`func (o *FlagCommentResponse1) GetStatusCode() int32` + +GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. + +### GetStatusCodeOk + +`func (o *FlagCommentResponse1) GetStatusCodeOk() (*int32, bool)` + +GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusCode + +`func (o *FlagCommentResponse1) SetStatusCode(v int32)` + +SetStatusCode sets StatusCode field to given value. + +### HasStatusCode + +`func (o *FlagCommentResponse1) HasStatusCode() bool` + +HasStatusCode returns a boolean if a field has been set. + +### GetStatus + +`func (o *FlagCommentResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *FlagCommentResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *FlagCommentResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCode + +`func (o *FlagCommentResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *FlagCommentResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *FlagCommentResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *FlagCommentResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *FlagCommentResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *FlagCommentResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetWasUnapproved + +`func (o *FlagCommentResponse1) GetWasUnapproved() bool` + +GetWasUnapproved returns the WasUnapproved field if non-nil, zero value otherwise. + +### GetWasUnapprovedOk + +`func (o *FlagCommentResponse1) GetWasUnapprovedOk() (*bool, bool)` + +GetWasUnapprovedOk returns a tuple with the WasUnapproved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWasUnapproved + +`func (o *FlagCommentResponse1) SetWasUnapproved(v bool)` + +SetWasUnapproved sets WasUnapproved field to given value. + +### HasWasUnapproved + +`func (o *FlagCommentResponse1) HasWasUnapproved() bool` + +HasWasUnapproved returns a boolean if a field has been set. + +### GetSecondaryCode + +`func (o *FlagCommentResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *FlagCommentResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *FlagCommentResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *FlagCommentResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *FlagCommentResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *FlagCommentResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *FlagCommentResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *FlagCommentResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *FlagCommentResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *FlagCommentResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *FlagCommentResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *FlagCommentResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *FlagCommentResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *FlagCommentResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *FlagCommentResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *FlagCommentResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *FlagCommentResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *FlagCommentResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *FlagCommentResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *FlagCommentResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md new file mode 100644 index 0000000..207612c --- /dev/null +++ b/client/docs/GetApiCommentsResponse.md @@ -0,0 +1,291 @@ +# GetApiCommentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Translations** | **map[string]interface{}** | | +**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | +**ModerationFilter** | Pointer to [**ModerationFilter**](ModerationFilter.md) | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetApiCommentsResponse + +`func NewGetApiCommentsResponse(status APIStatus, translations map[string]interface{}, comments []ModerationAPIComment, reason string, code string, ) *GetApiCommentsResponse` + +NewGetApiCommentsResponse instantiates a new GetApiCommentsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetApiCommentsResponseWithDefaults + +`func NewGetApiCommentsResponseWithDefaults() *GetApiCommentsResponse` + +NewGetApiCommentsResponseWithDefaults instantiates a new GetApiCommentsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetApiCommentsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetApiCommentsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetApiCommentsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTranslations + +`func (o *GetApiCommentsResponse) GetTranslations() map[string]interface{}` + +GetTranslations returns the Translations field if non-nil, zero value otherwise. + +### GetTranslationsOk + +`func (o *GetApiCommentsResponse) GetTranslationsOk() (*map[string]interface{}, bool)` + +GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslations + +`func (o *GetApiCommentsResponse) SetTranslations(v map[string]interface{})` + +SetTranslations sets Translations field to given value. + + +### GetComments + +`func (o *GetApiCommentsResponse) GetComments() []ModerationAPIComment` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *GetApiCommentsResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *GetApiCommentsResponse) SetComments(v []ModerationAPIComment)` + +SetComments sets Comments field to given value. + + +### GetModerationFilter + +`func (o *GetApiCommentsResponse) GetModerationFilter() ModerationFilter` + +GetModerationFilter returns the ModerationFilter field if non-nil, zero value otherwise. + +### GetModerationFilterOk + +`func (o *GetApiCommentsResponse) GetModerationFilterOk() (*ModerationFilter, bool)` + +GetModerationFilterOk returns a tuple with the ModerationFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModerationFilter + +`func (o *GetApiCommentsResponse) SetModerationFilter(v ModerationFilter)` + +SetModerationFilter sets ModerationFilter field to given value. + +### HasModerationFilter + +`func (o *GetApiCommentsResponse) HasModerationFilter() bool` + +HasModerationFilter returns a boolean if a field has been set. + +### GetReason + +`func (o *GetApiCommentsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetApiCommentsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetApiCommentsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetApiCommentsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetApiCommentsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetApiCommentsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetApiCommentsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetApiCommentsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetApiCommentsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetApiCommentsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetApiCommentsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetApiCommentsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetApiCommentsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetApiCommentsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetApiCommentsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetApiCommentsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetApiCommentsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetApiCommentsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetApiCommentsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetApiCommentsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetApiCommentsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetApiCommentsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetApiCommentsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetApiCommentsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetApiCommentsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetApiCommentsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md new file mode 100644 index 0000000..d833896 --- /dev/null +++ b/client/docs/GetApiExportStatusResponse.md @@ -0,0 +1,291 @@ +# GetApiExportStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**JobStatus** | **string** | | +**RecordCount** | **int32** | | +**DownloadUrl** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetApiExportStatusResponse + +`func NewGetApiExportStatusResponse(status APIStatus, jobStatus string, recordCount int32, reason string, code string, ) *GetApiExportStatusResponse` + +NewGetApiExportStatusResponse instantiates a new GetApiExportStatusResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetApiExportStatusResponseWithDefaults + +`func NewGetApiExportStatusResponseWithDefaults() *GetApiExportStatusResponse` + +NewGetApiExportStatusResponseWithDefaults instantiates a new GetApiExportStatusResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetApiExportStatusResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetApiExportStatusResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetApiExportStatusResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetJobStatus + +`func (o *GetApiExportStatusResponse) GetJobStatus() string` + +GetJobStatus returns the JobStatus field if non-nil, zero value otherwise. + +### GetJobStatusOk + +`func (o *GetApiExportStatusResponse) GetJobStatusOk() (*string, bool)` + +GetJobStatusOk returns a tuple with the JobStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobStatus + +`func (o *GetApiExportStatusResponse) SetJobStatus(v string)` + +SetJobStatus sets JobStatus field to given value. + + +### GetRecordCount + +`func (o *GetApiExportStatusResponse) GetRecordCount() int32` + +GetRecordCount returns the RecordCount field if non-nil, zero value otherwise. + +### GetRecordCountOk + +`func (o *GetApiExportStatusResponse) GetRecordCountOk() (*int32, bool)` + +GetRecordCountOk returns a tuple with the RecordCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecordCount + +`func (o *GetApiExportStatusResponse) SetRecordCount(v int32)` + +SetRecordCount sets RecordCount field to given value. + + +### GetDownloadUrl + +`func (o *GetApiExportStatusResponse) GetDownloadUrl() string` + +GetDownloadUrl returns the DownloadUrl field if non-nil, zero value otherwise. + +### GetDownloadUrlOk + +`func (o *GetApiExportStatusResponse) GetDownloadUrlOk() (*string, bool)` + +GetDownloadUrlOk returns a tuple with the DownloadUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadUrl + +`func (o *GetApiExportStatusResponse) SetDownloadUrl(v string)` + +SetDownloadUrl sets DownloadUrl field to given value. + +### HasDownloadUrl + +`func (o *GetApiExportStatusResponse) HasDownloadUrl() bool` + +HasDownloadUrl returns a boolean if a field has been set. + +### GetReason + +`func (o *GetApiExportStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetApiExportStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetApiExportStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetApiExportStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetApiExportStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetApiExportStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetApiExportStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetApiExportStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetApiExportStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetApiExportStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetApiExportStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetApiExportStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetApiExportStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetApiExportStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetApiExportStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetApiExportStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetApiExportStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetApiExportStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetApiExportStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetApiExportStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetApiExportStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetApiExportStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetApiExportStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetApiExportStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetApiExportStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetApiExportStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md new file mode 100644 index 0000000..8e25982 --- /dev/null +++ b/client/docs/GetApiIdsResponse.md @@ -0,0 +1,265 @@ +# GetApiIdsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | **[]string** | | +**HasMore** | **bool** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetApiIdsResponse + +`func NewGetApiIdsResponse(ids []string, hasMore bool, status APIStatus, reason string, code string, ) *GetApiIdsResponse` + +NewGetApiIdsResponse instantiates a new GetApiIdsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetApiIdsResponseWithDefaults + +`func NewGetApiIdsResponseWithDefaults() *GetApiIdsResponse` + +NewGetApiIdsResponseWithDefaults instantiates a new GetApiIdsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIds + +`func (o *GetApiIdsResponse) GetIds() []string` + +GetIds returns the Ids field if non-nil, zero value otherwise. + +### GetIdsOk + +`func (o *GetApiIdsResponse) GetIdsOk() (*[]string, bool)` + +GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIds + +`func (o *GetApiIdsResponse) SetIds(v []string)` + +SetIds sets Ids field to given value. + + +### GetHasMore + +`func (o *GetApiIdsResponse) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *GetApiIdsResponse) GetHasMoreOk() (*bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasMore + +`func (o *GetApiIdsResponse) SetHasMore(v bool)` + +SetHasMore sets HasMore field to given value. + + +### GetStatus + +`func (o *GetApiIdsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetApiIdsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetApiIdsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetApiIdsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetApiIdsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetApiIdsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetApiIdsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetApiIdsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetApiIdsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetApiIdsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetApiIdsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetApiIdsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetApiIdsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetApiIdsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetApiIdsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetApiIdsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetApiIdsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetApiIdsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetApiIdsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetApiIdsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetApiIdsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetApiIdsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetApiIdsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetApiIdsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetApiIdsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetApiIdsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetApiIdsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetApiIdsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetApiIdsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md new file mode 100644 index 0000000..9ecafb0 --- /dev/null +++ b/client/docs/GetAuditLogsResponse1.md @@ -0,0 +1,244 @@ +# GetAuditLogsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**AuditLogs** | [**[]APIAuditLog**](APIAuditLog.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetAuditLogsResponse1 + +`func NewGetAuditLogsResponse1(status APIStatus, auditLogs []APIAuditLog, reason string, code string, ) *GetAuditLogsResponse1` + +NewGetAuditLogsResponse1 instantiates a new GetAuditLogsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetAuditLogsResponse1WithDefaults + +`func NewGetAuditLogsResponse1WithDefaults() *GetAuditLogsResponse1` + +NewGetAuditLogsResponse1WithDefaults instantiates a new GetAuditLogsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetAuditLogsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetAuditLogsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetAuditLogsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetAuditLogs + +`func (o *GetAuditLogsResponse1) GetAuditLogs() []APIAuditLog` + +GetAuditLogs returns the AuditLogs field if non-nil, zero value otherwise. + +### GetAuditLogsOk + +`func (o *GetAuditLogsResponse1) GetAuditLogsOk() (*[]APIAuditLog, bool)` + +GetAuditLogsOk returns a tuple with the AuditLogs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuditLogs + +`func (o *GetAuditLogsResponse1) SetAuditLogs(v []APIAuditLog)` + +SetAuditLogs sets AuditLogs field to given value. + + +### GetReason + +`func (o *GetAuditLogsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetAuditLogsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetAuditLogsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetAuditLogsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetAuditLogsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetAuditLogsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetAuditLogsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetAuditLogsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetAuditLogsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetAuditLogsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetAuditLogsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetAuditLogsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetAuditLogsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetAuditLogsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetAuditLogsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetAuditLogsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetAuditLogsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetAuditLogsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetAuditLogsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetAuditLogsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetAuditLogsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetAuditLogsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetAuditLogsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetAuditLogsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetAuditLogsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetAuditLogsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md new file mode 100644 index 0000000..e95930f --- /dev/null +++ b/client/docs/GetBanUsersFromCommentResponse.md @@ -0,0 +1,244 @@ +# GetBanUsersFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BannedUsers** | [**[]APIBannedUserWithMultiMatchInfo**](APIBannedUserWithMultiMatchInfo.md) | | +**Code** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetBanUsersFromCommentResponse + +`func NewGetBanUsersFromCommentResponse(bannedUsers []APIBannedUserWithMultiMatchInfo, code string, status APIStatus, reason string, ) *GetBanUsersFromCommentResponse` + +NewGetBanUsersFromCommentResponse instantiates a new GetBanUsersFromCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetBanUsersFromCommentResponseWithDefaults + +`func NewGetBanUsersFromCommentResponseWithDefaults() *GetBanUsersFromCommentResponse` + +NewGetBanUsersFromCommentResponseWithDefaults instantiates a new GetBanUsersFromCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBannedUsers + +`func (o *GetBanUsersFromCommentResponse) GetBannedUsers() []APIBannedUserWithMultiMatchInfo` + +GetBannedUsers returns the BannedUsers field if non-nil, zero value otherwise. + +### GetBannedUsersOk + +`func (o *GetBanUsersFromCommentResponse) GetBannedUsersOk() (*[]APIBannedUserWithMultiMatchInfo, bool)` + +GetBannedUsersOk returns a tuple with the BannedUsers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUsers + +`func (o *GetBanUsersFromCommentResponse) SetBannedUsers(v []APIBannedUserWithMultiMatchInfo)` + +SetBannedUsers sets BannedUsers field to given value. + + +### GetCode + +`func (o *GetBanUsersFromCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetBanUsersFromCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetBanUsersFromCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetStatus + +`func (o *GetBanUsersFromCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetBanUsersFromCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetBanUsersFromCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetBanUsersFromCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetBanUsersFromCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetBanUsersFromCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *GetBanUsersFromCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetBanUsersFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetBanUsersFromCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetBanUsersFromCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetBanUsersFromCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetBanUsersFromCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetBanUsersFromCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetBanUsersFromCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetBanUsersFromCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetBanUsersFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetBanUsersFromCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetBanUsersFromCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetBanUsersFromCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetBanUsersFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetBanUsersFromCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetBanUsersFromCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetBanUsersFromCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetBanUsersFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetBanUsersFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetBanUsersFromCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md new file mode 100644 index 0000000..ff4247b --- /dev/null +++ b/client/docs/GetCachedNotificationCountResponse1.md @@ -0,0 +1,244 @@ +# GetCachedNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Data** | [**UserNotificationCount**](UserNotificationCount.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCachedNotificationCountResponse1 + +`func NewGetCachedNotificationCountResponse1(status APIStatus, data UserNotificationCount, reason string, code string, ) *GetCachedNotificationCountResponse1` + +NewGetCachedNotificationCountResponse1 instantiates a new GetCachedNotificationCountResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCachedNotificationCountResponse1WithDefaults + +`func NewGetCachedNotificationCountResponse1WithDefaults() *GetCachedNotificationCountResponse1` + +NewGetCachedNotificationCountResponse1WithDefaults instantiates a new GetCachedNotificationCountResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCachedNotificationCountResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCachedNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCachedNotificationCountResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetData + +`func (o *GetCachedNotificationCountResponse1) GetData() UserNotificationCount` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *GetCachedNotificationCountResponse1) GetDataOk() (*UserNotificationCount, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *GetCachedNotificationCountResponse1) SetData(v UserNotificationCount)` + +SetData sets Data field to given value. + + +### GetReason + +`func (o *GetCachedNotificationCountResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCachedNotificationCountResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCachedNotificationCountResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCachedNotificationCountResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCachedNotificationCountResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCachedNotificationCountResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCachedNotificationCountResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCachedNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCachedNotificationCountResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCachedNotificationCountResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCachedNotificationCountResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCachedNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCachedNotificationCountResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCachedNotificationCountResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCachedNotificationCountResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCachedNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCachedNotificationCountResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCachedNotificationCountResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCachedNotificationCountResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCachedNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCachedNotificationCountResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCachedNotificationCountResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCachedNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCachedNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCachedNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCachedNotificationCountResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md new file mode 100644 index 0000000..8631080 --- /dev/null +++ b/client/docs/GetCommentBanStatusResponse1.md @@ -0,0 +1,285 @@ +# GetCommentBanStatusResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**EmailDomain** | **NullableString** | | +**CanIPBan** | **NullableBool** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentBanStatusResponse1 + +`func NewGetCommentBanStatusResponse1(status APIStatus, emailDomain NullableString, canIPBan NullableBool, reason string, code string, ) *GetCommentBanStatusResponse1` + +NewGetCommentBanStatusResponse1 instantiates a new GetCommentBanStatusResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentBanStatusResponse1WithDefaults + +`func NewGetCommentBanStatusResponse1WithDefaults() *GetCommentBanStatusResponse1` + +NewGetCommentBanStatusResponse1WithDefaults instantiates a new GetCommentBanStatusResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCommentBanStatusResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentBanStatusResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentBanStatusResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetEmailDomain + +`func (o *GetCommentBanStatusResponse1) GetEmailDomain() string` + +GetEmailDomain returns the EmailDomain field if non-nil, zero value otherwise. + +### GetEmailDomainOk + +`func (o *GetCommentBanStatusResponse1) GetEmailDomainOk() (*string, bool)` + +GetEmailDomainOk returns a tuple with the EmailDomain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmailDomain + +`func (o *GetCommentBanStatusResponse1) SetEmailDomain(v string)` + +SetEmailDomain sets EmailDomain field to given value. + + +### SetEmailDomainNil + +`func (o *GetCommentBanStatusResponse1) SetEmailDomainNil(b bool)` + + SetEmailDomainNil sets the value for EmailDomain to be an explicit nil + +### UnsetEmailDomain +`func (o *GetCommentBanStatusResponse1) UnsetEmailDomain()` + +UnsetEmailDomain ensures that no value is present for EmailDomain, not even an explicit nil +### GetCanIPBan + +`func (o *GetCommentBanStatusResponse1) GetCanIPBan() bool` + +GetCanIPBan returns the CanIPBan field if non-nil, zero value otherwise. + +### GetCanIPBanOk + +`func (o *GetCommentBanStatusResponse1) GetCanIPBanOk() (*bool, bool)` + +GetCanIPBanOk returns a tuple with the CanIPBan field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCanIPBan + +`func (o *GetCommentBanStatusResponse1) SetCanIPBan(v bool)` + +SetCanIPBan sets CanIPBan field to given value. + + +### SetCanIPBanNil + +`func (o *GetCommentBanStatusResponse1) SetCanIPBanNil(b bool)` + + SetCanIPBanNil sets the value for CanIPBan to be an explicit nil + +### UnsetCanIPBan +`func (o *GetCommentBanStatusResponse1) UnsetCanIPBan()` + +UnsetCanIPBan ensures that no value is present for CanIPBan, not even an explicit nil +### GetReason + +`func (o *GetCommentBanStatusResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentBanStatusResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentBanStatusResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentBanStatusResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentBanStatusResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentBanStatusResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentBanStatusResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentBanStatusResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentBanStatusResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentBanStatusResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentBanStatusResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentBanStatusResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentBanStatusResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentBanStatusResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentBanStatusResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentBanStatusResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentBanStatusResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentBanStatusResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentBanStatusResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentBanStatusResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentBanStatusResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentBanStatusResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentBanStatusResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentBanStatusResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentBanStatusResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentBanStatusResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md new file mode 100644 index 0000000..1c2c74e --- /dev/null +++ b/client/docs/GetCommentChildrenResponse.md @@ -0,0 +1,244 @@ +# GetCommentChildrenResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentChildrenResponse + +`func NewGetCommentChildrenResponse(comments []ModerationAPIComment, status APIStatus, reason string, code string, ) *GetCommentChildrenResponse` + +NewGetCommentChildrenResponse instantiates a new GetCommentChildrenResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentChildrenResponseWithDefaults + +`func NewGetCommentChildrenResponseWithDefaults() *GetCommentChildrenResponse` + +NewGetCommentChildrenResponseWithDefaults instantiates a new GetCommentChildrenResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComments + +`func (o *GetCommentChildrenResponse) GetComments() []ModerationAPIComment` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *GetCommentChildrenResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *GetCommentChildrenResponse) SetComments(v []ModerationAPIComment)` + +SetComments sets Comments field to given value. + + +### GetStatus + +`func (o *GetCommentChildrenResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentChildrenResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentChildrenResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetCommentChildrenResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentChildrenResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentChildrenResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentChildrenResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentChildrenResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentChildrenResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentChildrenResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentChildrenResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentChildrenResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentChildrenResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentChildrenResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentChildrenResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentChildrenResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentChildrenResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentChildrenResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentChildrenResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentChildrenResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentChildrenResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentChildrenResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentChildrenResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentChildrenResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentChildrenResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentChildrenResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentChildrenResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentChildrenResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentChildrenResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md new file mode 100644 index 0000000..995d296 --- /dev/null +++ b/client/docs/GetCommentResponse.md @@ -0,0 +1,244 @@ +# GetCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Comment** | [**APIComment**](APIComment.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentResponse + +`func NewGetCommentResponse(status APIStatus, comment APIComment, reason string, code string, ) *GetCommentResponse` + +NewGetCommentResponse instantiates a new GetCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentResponseWithDefaults + +`func NewGetCommentResponseWithDefaults() *GetCommentResponse` + +NewGetCommentResponseWithDefaults instantiates a new GetCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetComment + +`func (o *GetCommentResponse) GetComment() APIComment` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *GetCommentResponse) GetCommentOk() (*APIComment, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *GetCommentResponse) SetComment(v APIComment)` + +SetComment sets Comment field to given value. + + +### GetReason + +`func (o *GetCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md new file mode 100644 index 0000000..94b8ba1 --- /dev/null +++ b/client/docs/GetCommentTextResponse1.md @@ -0,0 +1,265 @@ +# GetCommentTextResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**CommentText** | **string** | | +**SanitizedCommentText** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentTextResponse1 + +`func NewGetCommentTextResponse1(status APIStatus, commentText string, sanitizedCommentText string, reason string, code string, ) *GetCommentTextResponse1` + +NewGetCommentTextResponse1 instantiates a new GetCommentTextResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentTextResponse1WithDefaults + +`func NewGetCommentTextResponse1WithDefaults() *GetCommentTextResponse1` + +NewGetCommentTextResponse1WithDefaults instantiates a new GetCommentTextResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCommentTextResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentTextResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentTextResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCommentText + +`func (o *GetCommentTextResponse1) GetCommentText() string` + +GetCommentText returns the CommentText field if non-nil, zero value otherwise. + +### GetCommentTextOk + +`func (o *GetCommentTextResponse1) GetCommentTextOk() (*string, bool)` + +GetCommentTextOk returns a tuple with the CommentText field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentText + +`func (o *GetCommentTextResponse1) SetCommentText(v string)` + +SetCommentText sets CommentText field to given value. + + +### GetSanitizedCommentText + +`func (o *GetCommentTextResponse1) GetSanitizedCommentText() string` + +GetSanitizedCommentText returns the SanitizedCommentText field if non-nil, zero value otherwise. + +### GetSanitizedCommentTextOk + +`func (o *GetCommentTextResponse1) GetSanitizedCommentTextOk() (*string, bool)` + +GetSanitizedCommentTextOk returns a tuple with the SanitizedCommentText field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSanitizedCommentText + +`func (o *GetCommentTextResponse1) SetSanitizedCommentText(v string)` + +SetSanitizedCommentText sets SanitizedCommentText field to given value. + + +### GetReason + +`func (o *GetCommentTextResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentTextResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentTextResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentTextResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentTextResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentTextResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentTextResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentTextResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentTextResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentTextResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentTextResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentTextResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentTextResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentTextResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentTextResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentTextResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentTextResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentTextResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentTextResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentTextResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentTextResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentTextResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentTextResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentTextResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentTextResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentTextResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md new file mode 100644 index 0000000..42f1135 --- /dev/null +++ b/client/docs/GetCommentVoteUserNamesResponse.md @@ -0,0 +1,265 @@ +# GetCommentVoteUserNamesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**VoteUserNames** | **[]string** | | +**HasMore** | **bool** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentVoteUserNamesResponse + +`func NewGetCommentVoteUserNamesResponse(status APIStatus, voteUserNames []string, hasMore bool, reason string, code string, ) *GetCommentVoteUserNamesResponse` + +NewGetCommentVoteUserNamesResponse instantiates a new GetCommentVoteUserNamesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentVoteUserNamesResponseWithDefaults + +`func NewGetCommentVoteUserNamesResponseWithDefaults() *GetCommentVoteUserNamesResponse` + +NewGetCommentVoteUserNamesResponseWithDefaults instantiates a new GetCommentVoteUserNamesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCommentVoteUserNamesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentVoteUserNamesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentVoteUserNamesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetVoteUserNames + +`func (o *GetCommentVoteUserNamesResponse) GetVoteUserNames() []string` + +GetVoteUserNames returns the VoteUserNames field if non-nil, zero value otherwise. + +### GetVoteUserNamesOk + +`func (o *GetCommentVoteUserNamesResponse) GetVoteUserNamesOk() (*[]string, bool)` + +GetVoteUserNamesOk returns a tuple with the VoteUserNames field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVoteUserNames + +`func (o *GetCommentVoteUserNamesResponse) SetVoteUserNames(v []string)` + +SetVoteUserNames sets VoteUserNames field to given value. + + +### GetHasMore + +`func (o *GetCommentVoteUserNamesResponse) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *GetCommentVoteUserNamesResponse) GetHasMoreOk() (*bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasMore + +`func (o *GetCommentVoteUserNamesResponse) SetHasMore(v bool)` + +SetHasMore sets HasMore field to given value. + + +### GetReason + +`func (o *GetCommentVoteUserNamesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentVoteUserNamesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentVoteUserNamesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentVoteUserNamesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentVoteUserNamesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentVoteUserNamesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentVoteUserNamesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentVoteUserNamesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentVoteUserNamesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentVoteUserNamesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentVoteUserNamesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentVoteUserNamesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentVoteUserNamesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentVoteUserNamesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentVoteUserNamesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentVoteUserNamesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentVoteUserNamesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentVoteUserNamesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentVoteUserNamesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentVoteUserNamesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentVoteUserNamesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentVoteUserNamesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentVoteUserNamesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentVoteUserNamesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentVoteUserNamesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentVoteUserNamesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md new file mode 100644 index 0000000..970d100 --- /dev/null +++ b/client/docs/GetCommentsForUserResponse1.md @@ -0,0 +1,249 @@ +# GetCommentsForUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ModeratingTenantIds** | Pointer to **[]string** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentsForUserResponse1 + +`func NewGetCommentsForUserResponse1(status APIStatus, reason string, code string, ) *GetCommentsForUserResponse1` + +NewGetCommentsForUserResponse1 instantiates a new GetCommentsForUserResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentsForUserResponse1WithDefaults + +`func NewGetCommentsForUserResponse1WithDefaults() *GetCommentsForUserResponse1` + +NewGetCommentsForUserResponse1WithDefaults instantiates a new GetCommentsForUserResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetModeratingTenantIds + +`func (o *GetCommentsForUserResponse1) GetModeratingTenantIds() []string` + +GetModeratingTenantIds returns the ModeratingTenantIds field if non-nil, zero value otherwise. + +### GetModeratingTenantIdsOk + +`func (o *GetCommentsForUserResponse1) GetModeratingTenantIdsOk() (*[]string, bool)` + +GetModeratingTenantIdsOk returns a tuple with the ModeratingTenantIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModeratingTenantIds + +`func (o *GetCommentsForUserResponse1) SetModeratingTenantIds(v []string)` + +SetModeratingTenantIds sets ModeratingTenantIds field to given value. + +### HasModeratingTenantIds + +`func (o *GetCommentsForUserResponse1) HasModeratingTenantIds() bool` + +HasModeratingTenantIds returns a boolean if a field has been set. + +### GetStatus + +`func (o *GetCommentsForUserResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentsForUserResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentsForUserResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetCommentsForUserResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentsForUserResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentsForUserResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentsForUserResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentsForUserResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentsForUserResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentsForUserResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentsForUserResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentsForUserResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentsForUserResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentsForUserResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentsForUserResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentsForUserResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentsForUserResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentsForUserResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentsForUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentsForUserResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentsForUserResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentsForUserResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentsForUserResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentsForUserResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentsForUserResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentsForUserResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentsForUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentsForUserResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentsForUserResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md new file mode 100644 index 0000000..236e129 --- /dev/null +++ b/client/docs/GetCommentsPublicResponse.md @@ -0,0 +1,826 @@ +# GetCommentsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | Pointer to **int32** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Code** | **string** | | +**Reason** | **string** | | +**TranslatedWarning** | Pointer to **string** | | [optional] +**Comments** | [**[]PublicComment**](PublicComment.md) | | +**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | +**UrlIdClean** | Pointer to **string** | | [optional] +**LastGenDate** | Pointer to **NullableInt64** | | [optional] +**IncludesPastPages** | Pointer to **bool** | | [optional] +**IsDemo** | Pointer to **bool** | | [optional] +**CommentCount** | Pointer to **int32** | | [optional] +**IsSiteAdmin** | Pointer to **bool** | | [optional] +**HasBillingIssue** | Pointer to **bool** | | [optional] +**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] +**PageNumber** | **int32** | | +**IsWhiteLabeled** | Pointer to **bool** | | [optional] +**IsProd** | Pointer to **bool** | | [optional] +**IsCrawler** | Pointer to **bool** | | [optional] +**NotificationCount** | Pointer to **int32** | | [optional] +**HasMore** | Pointer to **bool** | | [optional] +**IsClosed** | Pointer to **bool** | | [optional] +**PresencePollState** | Pointer to **int32** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] +**UrlIdWS** | Pointer to **string** | | [optional] +**UserIdWS** | Pointer to **string** | | [optional] +**TenantIdWS** | Pointer to **string** | | [optional] +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] + +## Methods + +### NewGetCommentsPublicResponse + +`func NewGetCommentsPublicResponse(status APIStatus, code string, reason string, comments []PublicComment, user NullableUserSessionInfo, pageNumber int32, ) *GetCommentsPublicResponse` + +NewGetCommentsPublicResponse instantiates a new GetCommentsPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentsPublicResponseWithDefaults + +`func NewGetCommentsPublicResponseWithDefaults() *GetCommentsPublicResponse` + +NewGetCommentsPublicResponseWithDefaults instantiates a new GetCommentsPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatusCode + +`func (o *GetCommentsPublicResponse) GetStatusCode() int32` + +GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. + +### GetStatusCodeOk + +`func (o *GetCommentsPublicResponse) GetStatusCodeOk() (*int32, bool)` + +GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusCode + +`func (o *GetCommentsPublicResponse) SetStatusCode(v int32)` + +SetStatusCode sets StatusCode field to given value. + +### HasStatusCode + +`func (o *GetCommentsPublicResponse) HasStatusCode() bool` + +HasStatusCode returns a boolean if a field has been set. + +### GetStatus + +`func (o *GetCommentsPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentsPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentsPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCode + +`func (o *GetCommentsPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentsPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentsPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *GetCommentsPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentsPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentsPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetTranslatedWarning + +`func (o *GetCommentsPublicResponse) GetTranslatedWarning() string` + +GetTranslatedWarning returns the TranslatedWarning field if non-nil, zero value otherwise. + +### GetTranslatedWarningOk + +`func (o *GetCommentsPublicResponse) GetTranslatedWarningOk() (*string, bool)` + +GetTranslatedWarningOk returns a tuple with the TranslatedWarning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedWarning + +`func (o *GetCommentsPublicResponse) SetTranslatedWarning(v string)` + +SetTranslatedWarning sets TranslatedWarning field to given value. + +### HasTranslatedWarning + +`func (o *GetCommentsPublicResponse) HasTranslatedWarning() bool` + +HasTranslatedWarning returns a boolean if a field has been set. + +### GetComments + +`func (o *GetCommentsPublicResponse) GetComments() []PublicComment` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *GetCommentsPublicResponse) GetCommentsOk() (*[]PublicComment, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *GetCommentsPublicResponse) SetComments(v []PublicComment)` + +SetComments sets Comments field to given value. + + +### GetUser + +`func (o *GetCommentsPublicResponse) GetUser() UserSessionInfo` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *GetCommentsPublicResponse) GetUserOk() (*UserSessionInfo, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *GetCommentsPublicResponse) SetUser(v UserSessionInfo)` + +SetUser sets User field to given value. + + +### SetUserNil + +`func (o *GetCommentsPublicResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *GetCommentsPublicResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetUrlIdClean + +`func (o *GetCommentsPublicResponse) GetUrlIdClean() string` + +GetUrlIdClean returns the UrlIdClean field if non-nil, zero value otherwise. + +### GetUrlIdCleanOk + +`func (o *GetCommentsPublicResponse) GetUrlIdCleanOk() (*string, bool)` + +GetUrlIdCleanOk returns a tuple with the UrlIdClean field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrlIdClean + +`func (o *GetCommentsPublicResponse) SetUrlIdClean(v string)` + +SetUrlIdClean sets UrlIdClean field to given value. + +### HasUrlIdClean + +`func (o *GetCommentsPublicResponse) HasUrlIdClean() bool` + +HasUrlIdClean returns a boolean if a field has been set. + +### GetLastGenDate + +`func (o *GetCommentsPublicResponse) GetLastGenDate() int64` + +GetLastGenDate returns the LastGenDate field if non-nil, zero value otherwise. + +### GetLastGenDateOk + +`func (o *GetCommentsPublicResponse) GetLastGenDateOk() (*int64, bool)` + +GetLastGenDateOk returns a tuple with the LastGenDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastGenDate + +`func (o *GetCommentsPublicResponse) SetLastGenDate(v int64)` + +SetLastGenDate sets LastGenDate field to given value. + +### HasLastGenDate + +`func (o *GetCommentsPublicResponse) HasLastGenDate() bool` + +HasLastGenDate returns a boolean if a field has been set. + +### SetLastGenDateNil + +`func (o *GetCommentsPublicResponse) SetLastGenDateNil(b bool)` + + SetLastGenDateNil sets the value for LastGenDate to be an explicit nil + +### UnsetLastGenDate +`func (o *GetCommentsPublicResponse) UnsetLastGenDate()` + +UnsetLastGenDate ensures that no value is present for LastGenDate, not even an explicit nil +### GetIncludesPastPages + +`func (o *GetCommentsPublicResponse) GetIncludesPastPages() bool` + +GetIncludesPastPages returns the IncludesPastPages field if non-nil, zero value otherwise. + +### GetIncludesPastPagesOk + +`func (o *GetCommentsPublicResponse) GetIncludesPastPagesOk() (*bool, bool)` + +GetIncludesPastPagesOk returns a tuple with the IncludesPastPages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludesPastPages + +`func (o *GetCommentsPublicResponse) SetIncludesPastPages(v bool)` + +SetIncludesPastPages sets IncludesPastPages field to given value. + +### HasIncludesPastPages + +`func (o *GetCommentsPublicResponse) HasIncludesPastPages() bool` + +HasIncludesPastPages returns a boolean if a field has been set. + +### GetIsDemo + +`func (o *GetCommentsPublicResponse) GetIsDemo() bool` + +GetIsDemo returns the IsDemo field if non-nil, zero value otherwise. + +### GetIsDemoOk + +`func (o *GetCommentsPublicResponse) GetIsDemoOk() (*bool, bool)` + +GetIsDemoOk returns a tuple with the IsDemo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDemo + +`func (o *GetCommentsPublicResponse) SetIsDemo(v bool)` + +SetIsDemo sets IsDemo field to given value. + +### HasIsDemo + +`func (o *GetCommentsPublicResponse) HasIsDemo() bool` + +HasIsDemo returns a boolean if a field has been set. + +### GetCommentCount + +`func (o *GetCommentsPublicResponse) GetCommentCount() int32` + +GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. + +### GetCommentCountOk + +`func (o *GetCommentsPublicResponse) GetCommentCountOk() (*int32, bool)` + +GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentCount + +`func (o *GetCommentsPublicResponse) SetCommentCount(v int32)` + +SetCommentCount sets CommentCount field to given value. + +### HasCommentCount + +`func (o *GetCommentsPublicResponse) HasCommentCount() bool` + +HasCommentCount returns a boolean if a field has been set. + +### GetIsSiteAdmin + +`func (o *GetCommentsPublicResponse) GetIsSiteAdmin() bool` + +GetIsSiteAdmin returns the IsSiteAdmin field if non-nil, zero value otherwise. + +### GetIsSiteAdminOk + +`func (o *GetCommentsPublicResponse) GetIsSiteAdminOk() (*bool, bool)` + +GetIsSiteAdminOk returns a tuple with the IsSiteAdmin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSiteAdmin + +`func (o *GetCommentsPublicResponse) SetIsSiteAdmin(v bool)` + +SetIsSiteAdmin sets IsSiteAdmin field to given value. + +### HasIsSiteAdmin + +`func (o *GetCommentsPublicResponse) HasIsSiteAdmin() bool` + +HasIsSiteAdmin returns a boolean if a field has been set. + +### GetHasBillingIssue + +`func (o *GetCommentsPublicResponse) GetHasBillingIssue() bool` + +GetHasBillingIssue returns the HasBillingIssue field if non-nil, zero value otherwise. + +### GetHasBillingIssueOk + +`func (o *GetCommentsPublicResponse) GetHasBillingIssueOk() (*bool, bool)` + +GetHasBillingIssueOk returns a tuple with the HasBillingIssue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasBillingIssue + +`func (o *GetCommentsPublicResponse) SetHasBillingIssue(v bool)` + +SetHasBillingIssue sets HasBillingIssue field to given value. + +### HasHasBillingIssue + +`func (o *GetCommentsPublicResponse) HasHasBillingIssue() bool` + +HasHasBillingIssue returns a boolean if a field has been set. + +### GetModuleData + +`func (o *GetCommentsPublicResponse) GetModuleData() map[string]map[string]interface{}` + +GetModuleData returns the ModuleData field if non-nil, zero value otherwise. + +### GetModuleDataOk + +`func (o *GetCommentsPublicResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` + +GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleData + +`func (o *GetCommentsPublicResponse) SetModuleData(v map[string]map[string]interface{})` + +SetModuleData sets ModuleData field to given value. + +### HasModuleData + +`func (o *GetCommentsPublicResponse) HasModuleData() bool` + +HasModuleData returns a boolean if a field has been set. + +### GetPageNumber + +`func (o *GetCommentsPublicResponse) GetPageNumber() int32` + +GetPageNumber returns the PageNumber field if non-nil, zero value otherwise. + +### GetPageNumberOk + +`func (o *GetCommentsPublicResponse) GetPageNumberOk() (*int32, bool)` + +GetPageNumberOk returns a tuple with the PageNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageNumber + +`func (o *GetCommentsPublicResponse) SetPageNumber(v int32)` + +SetPageNumber sets PageNumber field to given value. + + +### GetIsWhiteLabeled + +`func (o *GetCommentsPublicResponse) GetIsWhiteLabeled() bool` + +GetIsWhiteLabeled returns the IsWhiteLabeled field if non-nil, zero value otherwise. + +### GetIsWhiteLabeledOk + +`func (o *GetCommentsPublicResponse) GetIsWhiteLabeledOk() (*bool, bool)` + +GetIsWhiteLabeledOk returns a tuple with the IsWhiteLabeled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsWhiteLabeled + +`func (o *GetCommentsPublicResponse) SetIsWhiteLabeled(v bool)` + +SetIsWhiteLabeled sets IsWhiteLabeled field to given value. + +### HasIsWhiteLabeled + +`func (o *GetCommentsPublicResponse) HasIsWhiteLabeled() bool` + +HasIsWhiteLabeled returns a boolean if a field has been set. + +### GetIsProd + +`func (o *GetCommentsPublicResponse) GetIsProd() bool` + +GetIsProd returns the IsProd field if non-nil, zero value otherwise. + +### GetIsProdOk + +`func (o *GetCommentsPublicResponse) GetIsProdOk() (*bool, bool)` + +GetIsProdOk returns a tuple with the IsProd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsProd + +`func (o *GetCommentsPublicResponse) SetIsProd(v bool)` + +SetIsProd sets IsProd field to given value. + +### HasIsProd + +`func (o *GetCommentsPublicResponse) HasIsProd() bool` + +HasIsProd returns a boolean if a field has been set. + +### GetIsCrawler + +`func (o *GetCommentsPublicResponse) GetIsCrawler() bool` + +GetIsCrawler returns the IsCrawler field if non-nil, zero value otherwise. + +### GetIsCrawlerOk + +`func (o *GetCommentsPublicResponse) GetIsCrawlerOk() (*bool, bool)` + +GetIsCrawlerOk returns a tuple with the IsCrawler field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsCrawler + +`func (o *GetCommentsPublicResponse) SetIsCrawler(v bool)` + +SetIsCrawler sets IsCrawler field to given value. + +### HasIsCrawler + +`func (o *GetCommentsPublicResponse) HasIsCrawler() bool` + +HasIsCrawler returns a boolean if a field has been set. + +### GetNotificationCount + +`func (o *GetCommentsPublicResponse) GetNotificationCount() int32` + +GetNotificationCount returns the NotificationCount field if non-nil, zero value otherwise. + +### GetNotificationCountOk + +`func (o *GetCommentsPublicResponse) GetNotificationCountOk() (*int32, bool)` + +GetNotificationCountOk returns a tuple with the NotificationCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotificationCount + +`func (o *GetCommentsPublicResponse) SetNotificationCount(v int32)` + +SetNotificationCount sets NotificationCount field to given value. + +### HasNotificationCount + +`func (o *GetCommentsPublicResponse) HasNotificationCount() bool` + +HasNotificationCount returns a boolean if a field has been set. + +### GetHasMore + +`func (o *GetCommentsPublicResponse) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *GetCommentsPublicResponse) GetHasMoreOk() (*bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasMore + +`func (o *GetCommentsPublicResponse) SetHasMore(v bool)` + +SetHasMore sets HasMore field to given value. + +### HasHasMore + +`func (o *GetCommentsPublicResponse) HasHasMore() bool` + +HasHasMore returns a boolean if a field has been set. + +### GetIsClosed + +`func (o *GetCommentsPublicResponse) GetIsClosed() bool` + +GetIsClosed returns the IsClosed field if non-nil, zero value otherwise. + +### GetIsClosedOk + +`func (o *GetCommentsPublicResponse) GetIsClosedOk() (*bool, bool)` + +GetIsClosedOk returns a tuple with the IsClosed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsClosed + +`func (o *GetCommentsPublicResponse) SetIsClosed(v bool)` + +SetIsClosed sets IsClosed field to given value. + +### HasIsClosed + +`func (o *GetCommentsPublicResponse) HasIsClosed() bool` + +HasIsClosed returns a boolean if a field has been set. + +### GetPresencePollState + +`func (o *GetCommentsPublicResponse) GetPresencePollState() int32` + +GetPresencePollState returns the PresencePollState field if non-nil, zero value otherwise. + +### GetPresencePollStateOk + +`func (o *GetCommentsPublicResponse) GetPresencePollStateOk() (*int32, bool)` + +GetPresencePollStateOk returns a tuple with the PresencePollState field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresencePollState + +`func (o *GetCommentsPublicResponse) SetPresencePollState(v int32)` + +SetPresencePollState sets PresencePollState field to given value. + +### HasPresencePollState + +`func (o *GetCommentsPublicResponse) HasPresencePollState() bool` + +HasPresencePollState returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentsPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentsPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentsPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + +### GetUrlIdWS + +`func (o *GetCommentsPublicResponse) GetUrlIdWS() string` + +GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. + +### GetUrlIdWSOk + +`func (o *GetCommentsPublicResponse) GetUrlIdWSOk() (*string, bool)` + +GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrlIdWS + +`func (o *GetCommentsPublicResponse) SetUrlIdWS(v string)` + +SetUrlIdWS sets UrlIdWS field to given value. + +### HasUrlIdWS + +`func (o *GetCommentsPublicResponse) HasUrlIdWS() bool` + +HasUrlIdWS returns a boolean if a field has been set. + +### GetUserIdWS + +`func (o *GetCommentsPublicResponse) GetUserIdWS() string` + +GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. + +### GetUserIdWSOk + +`func (o *GetCommentsPublicResponse) GetUserIdWSOk() (*string, bool)` + +GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserIdWS + +`func (o *GetCommentsPublicResponse) SetUserIdWS(v string)` + +SetUserIdWS sets UserIdWS field to given value. + +### HasUserIdWS + +`func (o *GetCommentsPublicResponse) HasUserIdWS() bool` + +HasUserIdWS returns a boolean if a field has been set. + +### GetTenantIdWS + +`func (o *GetCommentsPublicResponse) GetTenantIdWS() string` + +GetTenantIdWS returns the TenantIdWS field if non-nil, zero value otherwise. + +### GetTenantIdWSOk + +`func (o *GetCommentsPublicResponse) GetTenantIdWSOk() (*string, bool)` + +GetTenantIdWSOk returns a tuple with the TenantIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantIdWS + +`func (o *GetCommentsPublicResponse) SetTenantIdWS(v string)` + +SetTenantIdWS sets TenantIdWS field to given value. + +### HasTenantIdWS + +`func (o *GetCommentsPublicResponse) HasTenantIdWS() bool` + +HasTenantIdWS returns a boolean if a field has been set. + +### GetSecondaryCode + +`func (o *GetCommentsPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentsPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentsPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentsPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentsPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentsPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentsPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentsPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentsPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentsPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentsPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentsPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentsPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentsPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentsPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md new file mode 100644 index 0000000..6ca3dd3 --- /dev/null +++ b/client/docs/GetCommentsResponse.md @@ -0,0 +1,244 @@ +# GetCommentsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Comments** | [**[]APIComment**](APIComment.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCommentsResponse + +`func NewGetCommentsResponse(status APIStatus, comments []APIComment, reason string, code string, ) *GetCommentsResponse` + +NewGetCommentsResponse instantiates a new GetCommentsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCommentsResponseWithDefaults + +`func NewGetCommentsResponseWithDefaults() *GetCommentsResponse` + +NewGetCommentsResponseWithDefaults instantiates a new GetCommentsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCommentsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCommentsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCommentsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetComments + +`func (o *GetCommentsResponse) GetComments() []APIComment` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *GetCommentsResponse) GetCommentsOk() (*[]APIComment, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *GetCommentsResponse) SetComments(v []APIComment)` + +SetComments sets Comments field to given value. + + +### GetReason + +`func (o *GetCommentsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCommentsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCommentsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCommentsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCommentsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCommentsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCommentsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCommentsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCommentsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCommentsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCommentsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCommentsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCommentsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCommentsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCommentsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCommentsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCommentsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCommentsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCommentsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCommentsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCommentsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCommentsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCommentsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCommentsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCommentsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCommentsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md new file mode 100644 index 0000000..01dfff7 --- /dev/null +++ b/client/docs/GetCountResponse.md @@ -0,0 +1,244 @@ +# GetCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Count** | **float64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCountResponse + +`func NewGetCountResponse(status APIStatus, count float64, reason string, code string, ) *GetCountResponse` + +NewGetCountResponse instantiates a new GetCountResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCountResponseWithDefaults + +`func NewGetCountResponseWithDefaults() *GetCountResponse` + +NewGetCountResponseWithDefaults instantiates a new GetCountResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetCountResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCountResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCountResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCount + +`func (o *GetCountResponse) GetCount() float64` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *GetCountResponse) GetCountOk() (*float64, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *GetCountResponse) SetCount(v float64)` + +SetCount sets Count field to given value. + + +### GetReason + +`func (o *GetCountResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCountResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCountResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCountResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCountResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCountResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCountResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCountResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCountResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCountResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCountResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCountResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCountResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCountResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCountResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCountResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCountResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCountResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCountResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCountResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCountResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCountResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCountResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCountResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md new file mode 100644 index 0000000..b8cb5cb --- /dev/null +++ b/client/docs/GetCountsResponse.md @@ -0,0 +1,244 @@ +# GetCountsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TotalCount** | **float64** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetCountsResponse + +`func NewGetCountsResponse(totalCount float64, status APIStatus, reason string, code string, ) *GetCountsResponse` + +NewGetCountsResponse instantiates a new GetCountsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetCountsResponseWithDefaults + +`func NewGetCountsResponseWithDefaults() *GetCountsResponse` + +NewGetCountsResponseWithDefaults instantiates a new GetCountsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTotalCount + +`func (o *GetCountsResponse) GetTotalCount() float64` + +GetTotalCount returns the TotalCount field if non-nil, zero value otherwise. + +### GetTotalCountOk + +`func (o *GetCountsResponse) GetTotalCountOk() (*float64, bool)` + +GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalCount + +`func (o *GetCountsResponse) SetTotalCount(v float64)` + +SetTotalCount sets TotalCount field to given value. + + +### GetStatus + +`func (o *GetCountsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetCountsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetCountsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetCountsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetCountsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetCountsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetCountsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetCountsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetCountsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetCountsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetCountsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetCountsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetCountsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetCountsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetCountsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetCountsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetCountsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetCountsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetCountsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetCountsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetCountsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetCountsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetCountsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetCountsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetCountsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetCountsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetCountsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetCountsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetCountsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md new file mode 100644 index 0000000..5e6c16e --- /dev/null +++ b/client/docs/GetEmailTemplateDefinitionsResponse1.md @@ -0,0 +1,244 @@ +# GetEmailTemplateDefinitionsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Definitions** | [**[]EmailTemplateDefinition**](EmailTemplateDefinition.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetEmailTemplateDefinitionsResponse1 + +`func NewGetEmailTemplateDefinitionsResponse1(status APIStatus, definitions []EmailTemplateDefinition, reason string, code string, ) *GetEmailTemplateDefinitionsResponse1` + +NewGetEmailTemplateDefinitionsResponse1 instantiates a new GetEmailTemplateDefinitionsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetEmailTemplateDefinitionsResponse1WithDefaults + +`func NewGetEmailTemplateDefinitionsResponse1WithDefaults() *GetEmailTemplateDefinitionsResponse1` + +NewGetEmailTemplateDefinitionsResponse1WithDefaults instantiates a new GetEmailTemplateDefinitionsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetEmailTemplateDefinitionsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetEmailTemplateDefinitionsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetDefinitions + +`func (o *GetEmailTemplateDefinitionsResponse1) GetDefinitions() []EmailTemplateDefinition` + +GetDefinitions returns the Definitions field if non-nil, zero value otherwise. + +### GetDefinitionsOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetDefinitionsOk() (*[]EmailTemplateDefinition, bool)` + +GetDefinitionsOk returns a tuple with the Definitions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefinitions + +`func (o *GetEmailTemplateDefinitionsResponse1) SetDefinitions(v []EmailTemplateDefinition)` + +SetDefinitions sets Definitions field to given value. + + +### GetReason + +`func (o *GetEmailTemplateDefinitionsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetEmailTemplateDefinitionsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetEmailTemplateDefinitionsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetEmailTemplateDefinitionsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetEmailTemplateDefinitionsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetEmailTemplateDefinitionsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetEmailTemplateDefinitionsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetEmailTemplateDefinitionsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetEmailTemplateDefinitionsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetEmailTemplateDefinitionsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetEmailTemplateDefinitionsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetEmailTemplateDefinitionsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetEmailTemplateDefinitionsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetEmailTemplateDefinitionsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetEmailTemplateDefinitionsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetEmailTemplateDefinitionsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetEmailTemplateDefinitionsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetEmailTemplateDefinitionsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetEmailTemplateDefinitionsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetEmailTemplateDefinitionsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md new file mode 100644 index 0000000..5987380 --- /dev/null +++ b/client/docs/GetEmailTemplateRenderErrorsResponse1.md @@ -0,0 +1,244 @@ +# GetEmailTemplateRenderErrorsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**RenderErrors** | [**[]EmailTemplateRenderErrorResponse**](EmailTemplateRenderErrorResponse.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetEmailTemplateRenderErrorsResponse1 + +`func NewGetEmailTemplateRenderErrorsResponse1(status APIStatus, renderErrors []EmailTemplateRenderErrorResponse, reason string, code string, ) *GetEmailTemplateRenderErrorsResponse1` + +NewGetEmailTemplateRenderErrorsResponse1 instantiates a new GetEmailTemplateRenderErrorsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetEmailTemplateRenderErrorsResponse1WithDefaults + +`func NewGetEmailTemplateRenderErrorsResponse1WithDefaults() *GetEmailTemplateRenderErrorsResponse1` + +NewGetEmailTemplateRenderErrorsResponse1WithDefaults instantiates a new GetEmailTemplateRenderErrorsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetRenderErrors + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetRenderErrors() []EmailTemplateRenderErrorResponse` + +GetRenderErrors returns the RenderErrors field if non-nil, zero value otherwise. + +### GetRenderErrorsOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetRenderErrorsOk() (*[]EmailTemplateRenderErrorResponse, bool)` + +GetRenderErrorsOk returns a tuple with the RenderErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRenderErrors + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetRenderErrors(v []EmailTemplateRenderErrorResponse)` + +SetRenderErrors sets RenderErrors field to given value. + + +### GetReason + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetEmailTemplateRenderErrorsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetEmailTemplateRenderErrorsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetEmailTemplateRenderErrorsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetEmailTemplateRenderErrorsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetEmailTemplateRenderErrorsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetEmailTemplateRenderErrorsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetEmailTemplateRenderErrorsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md new file mode 100644 index 0000000..78b8e1e --- /dev/null +++ b/client/docs/GetEmailTemplateResponse1.md @@ -0,0 +1,244 @@ +# GetEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**EmailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetEmailTemplateResponse1 + +`func NewGetEmailTemplateResponse1(status APIStatus, emailTemplate CustomEmailTemplate, reason string, code string, ) *GetEmailTemplateResponse1` + +NewGetEmailTemplateResponse1 instantiates a new GetEmailTemplateResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetEmailTemplateResponse1WithDefaults + +`func NewGetEmailTemplateResponse1WithDefaults() *GetEmailTemplateResponse1` + +NewGetEmailTemplateResponse1WithDefaults instantiates a new GetEmailTemplateResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetEmailTemplateResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetEmailTemplateResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetEmailTemplate + +`func (o *GetEmailTemplateResponse1) GetEmailTemplate() CustomEmailTemplate` + +GetEmailTemplate returns the EmailTemplate field if non-nil, zero value otherwise. + +### GetEmailTemplateOk + +`func (o *GetEmailTemplateResponse1) GetEmailTemplateOk() (*CustomEmailTemplate, bool)` + +GetEmailTemplateOk returns a tuple with the EmailTemplate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmailTemplate + +`func (o *GetEmailTemplateResponse1) SetEmailTemplate(v CustomEmailTemplate)` + +SetEmailTemplate sets EmailTemplate field to given value. + + +### GetReason + +`func (o *GetEmailTemplateResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetEmailTemplateResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetEmailTemplateResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetEmailTemplateResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetEmailTemplateResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetEmailTemplateResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetEmailTemplateResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetEmailTemplateResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetEmailTemplateResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetEmailTemplateResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetEmailTemplateResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetEmailTemplateResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetEmailTemplateResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetEmailTemplateResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetEmailTemplateResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetEmailTemplateResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetEmailTemplateResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetEmailTemplateResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetEmailTemplateResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md new file mode 100644 index 0000000..a3d0934 --- /dev/null +++ b/client/docs/GetEmailTemplatesResponse1.md @@ -0,0 +1,244 @@ +# GetEmailTemplatesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**EmailTemplates** | [**[]CustomEmailTemplate**](CustomEmailTemplate.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetEmailTemplatesResponse1 + +`func NewGetEmailTemplatesResponse1(status APIStatus, emailTemplates []CustomEmailTemplate, reason string, code string, ) *GetEmailTemplatesResponse1` + +NewGetEmailTemplatesResponse1 instantiates a new GetEmailTemplatesResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetEmailTemplatesResponse1WithDefaults + +`func NewGetEmailTemplatesResponse1WithDefaults() *GetEmailTemplatesResponse1` + +NewGetEmailTemplatesResponse1WithDefaults instantiates a new GetEmailTemplatesResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetEmailTemplatesResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetEmailTemplatesResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetEmailTemplatesResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetEmailTemplates + +`func (o *GetEmailTemplatesResponse1) GetEmailTemplates() []CustomEmailTemplate` + +GetEmailTemplates returns the EmailTemplates field if non-nil, zero value otherwise. + +### GetEmailTemplatesOk + +`func (o *GetEmailTemplatesResponse1) GetEmailTemplatesOk() (*[]CustomEmailTemplate, bool)` + +GetEmailTemplatesOk returns a tuple with the EmailTemplates field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmailTemplates + +`func (o *GetEmailTemplatesResponse1) SetEmailTemplates(v []CustomEmailTemplate)` + +SetEmailTemplates sets EmailTemplates field to given value. + + +### GetReason + +`func (o *GetEmailTemplatesResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetEmailTemplatesResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetEmailTemplatesResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetEmailTemplatesResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetEmailTemplatesResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetEmailTemplatesResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetEmailTemplatesResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetEmailTemplatesResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetEmailTemplatesResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetEmailTemplatesResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetEmailTemplatesResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetEmailTemplatesResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetEmailTemplatesResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetEmailTemplatesResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetEmailTemplatesResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetEmailTemplatesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetEmailTemplatesResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetEmailTemplatesResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetEmailTemplatesResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetEmailTemplatesResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetEmailTemplatesResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetEmailTemplatesResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetEmailTemplatesResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetEmailTemplatesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetEmailTemplatesResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetEmailTemplatesResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md new file mode 100644 index 0000000..8d02ea4 --- /dev/null +++ b/client/docs/GetEventLogResponse1.md @@ -0,0 +1,244 @@ +# GetEventLogResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Events** | [**[]EventLogEntry**](EventLogEntry.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetEventLogResponse1 + +`func NewGetEventLogResponse1(events []EventLogEntry, status APIStatus, reason string, code string, ) *GetEventLogResponse1` + +NewGetEventLogResponse1 instantiates a new GetEventLogResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetEventLogResponse1WithDefaults + +`func NewGetEventLogResponse1WithDefaults() *GetEventLogResponse1` + +NewGetEventLogResponse1WithDefaults instantiates a new GetEventLogResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEvents + +`func (o *GetEventLogResponse1) GetEvents() []EventLogEntry` + +GetEvents returns the Events field if non-nil, zero value otherwise. + +### GetEventsOk + +`func (o *GetEventLogResponse1) GetEventsOk() (*[]EventLogEntry, bool)` + +GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEvents + +`func (o *GetEventLogResponse1) SetEvents(v []EventLogEntry)` + +SetEvents sets Events field to given value. + + +### GetStatus + +`func (o *GetEventLogResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetEventLogResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetEventLogResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetEventLogResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetEventLogResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetEventLogResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetEventLogResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetEventLogResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetEventLogResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetEventLogResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetEventLogResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetEventLogResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetEventLogResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetEventLogResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetEventLogResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetEventLogResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetEventLogResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetEventLogResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetEventLogResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetEventLogResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetEventLogResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetEventLogResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetEventLogResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetEventLogResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetEventLogResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetEventLogResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetEventLogResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetEventLogResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetEventLogResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md new file mode 100644 index 0000000..820be1c --- /dev/null +++ b/client/docs/GetFeedPostsPublicResponse.md @@ -0,0 +1,384 @@ +# GetFeedPostsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MyReacts** | Pointer to **map[string]map[string]bool** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**FeedPosts** | [**[]FeedPost**](FeedPost.md) | | +**User** | Pointer to [**NullableUserSessionInfo**](UserSessionInfo.md) | | [optional] +**UrlIdWS** | Pointer to **string** | | [optional] +**UserIdWS** | Pointer to **string** | | [optional] +**TenantIdWS** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetFeedPostsPublicResponse + +`func NewGetFeedPostsPublicResponse(status APIStatus, feedPosts []FeedPost, reason string, code string, ) *GetFeedPostsPublicResponse` + +NewGetFeedPostsPublicResponse instantiates a new GetFeedPostsPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetFeedPostsPublicResponseWithDefaults + +`func NewGetFeedPostsPublicResponseWithDefaults() *GetFeedPostsPublicResponse` + +NewGetFeedPostsPublicResponseWithDefaults instantiates a new GetFeedPostsPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMyReacts + +`func (o *GetFeedPostsPublicResponse) GetMyReacts() map[string]map[string]bool` + +GetMyReacts returns the MyReacts field if non-nil, zero value otherwise. + +### GetMyReactsOk + +`func (o *GetFeedPostsPublicResponse) GetMyReactsOk() (*map[string]map[string]bool, bool)` + +GetMyReactsOk returns a tuple with the MyReacts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMyReacts + +`func (o *GetFeedPostsPublicResponse) SetMyReacts(v map[string]map[string]bool)` + +SetMyReacts sets MyReacts field to given value. + +### HasMyReacts + +`func (o *GetFeedPostsPublicResponse) HasMyReacts() bool` + +HasMyReacts returns a boolean if a field has been set. + +### GetStatus + +`func (o *GetFeedPostsPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetFeedPostsPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetFeedPostsPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetFeedPosts + +`func (o *GetFeedPostsPublicResponse) GetFeedPosts() []FeedPost` + +GetFeedPosts returns the FeedPosts field if non-nil, zero value otherwise. + +### GetFeedPostsOk + +`func (o *GetFeedPostsPublicResponse) GetFeedPostsOk() (*[]FeedPost, bool)` + +GetFeedPostsOk returns a tuple with the FeedPosts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeedPosts + +`func (o *GetFeedPostsPublicResponse) SetFeedPosts(v []FeedPost)` + +SetFeedPosts sets FeedPosts field to given value. + + +### GetUser + +`func (o *GetFeedPostsPublicResponse) GetUser() UserSessionInfo` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *GetFeedPostsPublicResponse) GetUserOk() (*UserSessionInfo, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *GetFeedPostsPublicResponse) SetUser(v UserSessionInfo)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *GetFeedPostsPublicResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### SetUserNil + +`func (o *GetFeedPostsPublicResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *GetFeedPostsPublicResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetUrlIdWS + +`func (o *GetFeedPostsPublicResponse) GetUrlIdWS() string` + +GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. + +### GetUrlIdWSOk + +`func (o *GetFeedPostsPublicResponse) GetUrlIdWSOk() (*string, bool)` + +GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrlIdWS + +`func (o *GetFeedPostsPublicResponse) SetUrlIdWS(v string)` + +SetUrlIdWS sets UrlIdWS field to given value. + +### HasUrlIdWS + +`func (o *GetFeedPostsPublicResponse) HasUrlIdWS() bool` + +HasUrlIdWS returns a boolean if a field has been set. + +### GetUserIdWS + +`func (o *GetFeedPostsPublicResponse) GetUserIdWS() string` + +GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. + +### GetUserIdWSOk + +`func (o *GetFeedPostsPublicResponse) GetUserIdWSOk() (*string, bool)` + +GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserIdWS + +`func (o *GetFeedPostsPublicResponse) SetUserIdWS(v string)` + +SetUserIdWS sets UserIdWS field to given value. + +### HasUserIdWS + +`func (o *GetFeedPostsPublicResponse) HasUserIdWS() bool` + +HasUserIdWS returns a boolean if a field has been set. + +### GetTenantIdWS + +`func (o *GetFeedPostsPublicResponse) GetTenantIdWS() string` + +GetTenantIdWS returns the TenantIdWS field if non-nil, zero value otherwise. + +### GetTenantIdWSOk + +`func (o *GetFeedPostsPublicResponse) GetTenantIdWSOk() (*string, bool)` + +GetTenantIdWSOk returns a tuple with the TenantIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantIdWS + +`func (o *GetFeedPostsPublicResponse) SetTenantIdWS(v string)` + +SetTenantIdWS sets TenantIdWS field to given value. + +### HasTenantIdWS + +`func (o *GetFeedPostsPublicResponse) HasTenantIdWS() bool` + +HasTenantIdWS returns a boolean if a field has been set. + +### GetReason + +`func (o *GetFeedPostsPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetFeedPostsPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetFeedPostsPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetFeedPostsPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetFeedPostsPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetFeedPostsPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetFeedPostsPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetFeedPostsPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetFeedPostsPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetFeedPostsPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetFeedPostsPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetFeedPostsPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetFeedPostsPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetFeedPostsPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetFeedPostsPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetFeedPostsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetFeedPostsPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetFeedPostsPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetFeedPostsPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetFeedPostsPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetFeedPostsPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetFeedPostsPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetFeedPostsPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetFeedPostsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetFeedPostsPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetFeedPostsPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md new file mode 100644 index 0000000..74b2829 --- /dev/null +++ b/client/docs/GetFeedPostsResponse1.md @@ -0,0 +1,244 @@ +# GetFeedPostsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**FeedPosts** | [**[]FeedPost**](FeedPost.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetFeedPostsResponse1 + +`func NewGetFeedPostsResponse1(status APIStatus, feedPosts []FeedPost, reason string, code string, ) *GetFeedPostsResponse1` + +NewGetFeedPostsResponse1 instantiates a new GetFeedPostsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetFeedPostsResponse1WithDefaults + +`func NewGetFeedPostsResponse1WithDefaults() *GetFeedPostsResponse1` + +NewGetFeedPostsResponse1WithDefaults instantiates a new GetFeedPostsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetFeedPostsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetFeedPostsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetFeedPostsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetFeedPosts + +`func (o *GetFeedPostsResponse1) GetFeedPosts() []FeedPost` + +GetFeedPosts returns the FeedPosts field if non-nil, zero value otherwise. + +### GetFeedPostsOk + +`func (o *GetFeedPostsResponse1) GetFeedPostsOk() (*[]FeedPost, bool)` + +GetFeedPostsOk returns a tuple with the FeedPosts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeedPosts + +`func (o *GetFeedPostsResponse1) SetFeedPosts(v []FeedPost)` + +SetFeedPosts sets FeedPosts field to given value. + + +### GetReason + +`func (o *GetFeedPostsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetFeedPostsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetFeedPostsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetFeedPostsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetFeedPostsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetFeedPostsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetFeedPostsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetFeedPostsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetFeedPostsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetFeedPostsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetFeedPostsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetFeedPostsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetFeedPostsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetFeedPostsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetFeedPostsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetFeedPostsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetFeedPostsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetFeedPostsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetFeedPostsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetFeedPostsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetFeedPostsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetFeedPostsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetFeedPostsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetFeedPostsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetFeedPostsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetFeedPostsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md new file mode 100644 index 0000000..a0d91d0 --- /dev/null +++ b/client/docs/GetFeedPostsStatsResponse.md @@ -0,0 +1,244 @@ +# GetFeedPostsStatsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Stats** | [**map[string]FeedPostStats**](FeedPostStats.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetFeedPostsStatsResponse + +`func NewGetFeedPostsStatsResponse(status APIStatus, stats map[string]FeedPostStats, reason string, code string, ) *GetFeedPostsStatsResponse` + +NewGetFeedPostsStatsResponse instantiates a new GetFeedPostsStatsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetFeedPostsStatsResponseWithDefaults + +`func NewGetFeedPostsStatsResponseWithDefaults() *GetFeedPostsStatsResponse` + +NewGetFeedPostsStatsResponseWithDefaults instantiates a new GetFeedPostsStatsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetFeedPostsStatsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetFeedPostsStatsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetFeedPostsStatsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetStats + +`func (o *GetFeedPostsStatsResponse) GetStats() map[string]FeedPostStats` + +GetStats returns the Stats field if non-nil, zero value otherwise. + +### GetStatsOk + +`func (o *GetFeedPostsStatsResponse) GetStatsOk() (*map[string]FeedPostStats, bool)` + +GetStatsOk returns a tuple with the Stats field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStats + +`func (o *GetFeedPostsStatsResponse) SetStats(v map[string]FeedPostStats)` + +SetStats sets Stats field to given value. + + +### GetReason + +`func (o *GetFeedPostsStatsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetFeedPostsStatsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetFeedPostsStatsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetFeedPostsStatsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetFeedPostsStatsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetFeedPostsStatsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetFeedPostsStatsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetFeedPostsStatsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetFeedPostsStatsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetFeedPostsStatsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetFeedPostsStatsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetFeedPostsStatsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetFeedPostsStatsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetFeedPostsStatsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetFeedPostsStatsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetFeedPostsStatsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetFeedPostsStatsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetFeedPostsStatsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetFeedPostsStatsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetFeedPostsStatsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetFeedPostsStatsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetFeedPostsStatsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetFeedPostsStatsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetFeedPostsStatsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetFeedPostsStatsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetFeedPostsStatsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md new file mode 100644 index 0000000..760cb6a --- /dev/null +++ b/client/docs/GetGifLargeResponse.md @@ -0,0 +1,244 @@ +# GetGifLargeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Src** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetGifLargeResponse + +`func NewGetGifLargeResponse(src string, status APIStatus, reason string, code string, ) *GetGifLargeResponse` + +NewGetGifLargeResponse instantiates a new GetGifLargeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetGifLargeResponseWithDefaults + +`func NewGetGifLargeResponseWithDefaults() *GetGifLargeResponse` + +NewGetGifLargeResponseWithDefaults instantiates a new GetGifLargeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetSrc + +`func (o *GetGifLargeResponse) GetSrc() string` + +GetSrc returns the Src field if non-nil, zero value otherwise. + +### GetSrcOk + +`func (o *GetGifLargeResponse) GetSrcOk() (*string, bool)` + +GetSrcOk returns a tuple with the Src field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSrc + +`func (o *GetGifLargeResponse) SetSrc(v string)` + +SetSrc sets Src field to given value. + + +### GetStatus + +`func (o *GetGifLargeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetGifLargeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetGifLargeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetGifLargeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetGifLargeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetGifLargeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetGifLargeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetGifLargeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetGifLargeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetGifLargeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetGifLargeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetGifLargeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetGifLargeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetGifLargeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetGifLargeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetGifLargeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetGifLargeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetGifLargeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetGifLargeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetGifLargeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetGifLargeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetGifLargeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetGifLargeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetGifLargeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetGifLargeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetGifLargeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetGifLargeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetGifLargeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetGifLargeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index 02c764b..f904a71 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -7,12 +7,18 @@ Name | Type | Description | Notes **Images** | [**[][]GifSearchResponseImagesInnerInner**]([]GifSearchResponseImagesInnerInner.md) | | **Status** | [**APIStatus**](APIStatus.md) | | **Code** | **string** | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewGetGifsSearchResponse -`func NewGetGifsSearchResponse(images [][]GifSearchResponseImagesInnerInner, status APIStatus, code string, ) *GetGifsSearchResponse` +`func NewGetGifsSearchResponse(images [][]GifSearchResponseImagesInnerInner, status APIStatus, code string, reason string, ) *GetGifsSearchResponse` NewGetGifsSearchResponse instantiates a new GetGifsSearchResponse object This constructor will assign default values to properties that have it defined, @@ -87,6 +93,151 @@ and a boolean to check if the value has been set. SetCode sets Code field to given value. +### GetReason + +`func (o *GetGifsSearchResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetGifsSearchResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetGifsSearchResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *GetGifsSearchResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetGifsSearchResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetGifsSearchResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetGifsSearchResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetGifsSearchResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetGifsSearchResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetGifsSearchResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetGifsSearchResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetGifsSearchResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetGifsSearchResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetGifsSearchResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetGifsSearchResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetGifsSearchResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetGifsSearchResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetGifsSearchResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetGifsSearchResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetGifsSearchResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetGifsSearchResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetGifsSearchResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetGifsSearchResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md new file mode 100644 index 0000000..4693ed6 --- /dev/null +++ b/client/docs/GetGlobalEventLogResponse.md @@ -0,0 +1,244 @@ +# GetGlobalEventLogResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Events** | [**[]EventLogEntry**](EventLogEntry.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetGlobalEventLogResponse + +`func NewGetGlobalEventLogResponse(events []EventLogEntry, status APIStatus, reason string, code string, ) *GetGlobalEventLogResponse` + +NewGetGlobalEventLogResponse instantiates a new GetGlobalEventLogResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetGlobalEventLogResponseWithDefaults + +`func NewGetGlobalEventLogResponseWithDefaults() *GetGlobalEventLogResponse` + +NewGetGlobalEventLogResponseWithDefaults instantiates a new GetGlobalEventLogResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEvents + +`func (o *GetGlobalEventLogResponse) GetEvents() []EventLogEntry` + +GetEvents returns the Events field if non-nil, zero value otherwise. + +### GetEventsOk + +`func (o *GetGlobalEventLogResponse) GetEventsOk() (*[]EventLogEntry, bool)` + +GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEvents + +`func (o *GetGlobalEventLogResponse) SetEvents(v []EventLogEntry)` + +SetEvents sets Events field to given value. + + +### GetStatus + +`func (o *GetGlobalEventLogResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetGlobalEventLogResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetGlobalEventLogResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetGlobalEventLogResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetGlobalEventLogResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetGlobalEventLogResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetGlobalEventLogResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetGlobalEventLogResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetGlobalEventLogResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetGlobalEventLogResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetGlobalEventLogResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetGlobalEventLogResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetGlobalEventLogResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetGlobalEventLogResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetGlobalEventLogResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetGlobalEventLogResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetGlobalEventLogResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetGlobalEventLogResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetGlobalEventLogResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetGlobalEventLogResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetGlobalEventLogResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetGlobalEventLogResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetGlobalEventLogResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetGlobalEventLogResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetGlobalEventLogResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetGlobalEventLogResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetGlobalEventLogResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetGlobalEventLogResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetGlobalEventLogResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md new file mode 100644 index 0000000..be24e8e --- /dev/null +++ b/client/docs/GetHashTagsResponse1.md @@ -0,0 +1,244 @@ +# GetHashTagsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**HashTags** | [**[]TenantHashTag**](TenantHashTag.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetHashTagsResponse1 + +`func NewGetHashTagsResponse1(status APIStatus, hashTags []TenantHashTag, reason string, code string, ) *GetHashTagsResponse1` + +NewGetHashTagsResponse1 instantiates a new GetHashTagsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetHashTagsResponse1WithDefaults + +`func NewGetHashTagsResponse1WithDefaults() *GetHashTagsResponse1` + +NewGetHashTagsResponse1WithDefaults instantiates a new GetHashTagsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetHashTagsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetHashTagsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetHashTagsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetHashTags + +`func (o *GetHashTagsResponse1) GetHashTags() []TenantHashTag` + +GetHashTags returns the HashTags field if non-nil, zero value otherwise. + +### GetHashTagsOk + +`func (o *GetHashTagsResponse1) GetHashTagsOk() (*[]TenantHashTag, bool)` + +GetHashTagsOk returns a tuple with the HashTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHashTags + +`func (o *GetHashTagsResponse1) SetHashTags(v []TenantHashTag)` + +SetHashTags sets HashTags field to given value. + + +### GetReason + +`func (o *GetHashTagsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetHashTagsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetHashTagsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetHashTagsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetHashTagsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetHashTagsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetHashTagsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetHashTagsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetHashTagsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetHashTagsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetHashTagsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetHashTagsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetHashTagsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetHashTagsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetHashTagsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetHashTagsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetHashTagsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetHashTagsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetHashTagsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetHashTagsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetHashTagsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetHashTagsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetHashTagsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetHashTagsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetHashTagsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetHashTagsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md new file mode 100644 index 0000000..77cd470 --- /dev/null +++ b/client/docs/GetLogsResponse.md @@ -0,0 +1,244 @@ +# GetLogsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Logs** | [**[]ModerationAPICommentLog**](ModerationAPICommentLog.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetLogsResponse + +`func NewGetLogsResponse(logs []ModerationAPICommentLog, status APIStatus, reason string, code string, ) *GetLogsResponse` + +NewGetLogsResponse instantiates a new GetLogsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetLogsResponseWithDefaults + +`func NewGetLogsResponseWithDefaults() *GetLogsResponse` + +NewGetLogsResponseWithDefaults instantiates a new GetLogsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLogs + +`func (o *GetLogsResponse) GetLogs() []ModerationAPICommentLog` + +GetLogs returns the Logs field if non-nil, zero value otherwise. + +### GetLogsOk + +`func (o *GetLogsResponse) GetLogsOk() (*[]ModerationAPICommentLog, bool)` + +GetLogsOk returns a tuple with the Logs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLogs + +`func (o *GetLogsResponse) SetLogs(v []ModerationAPICommentLog)` + +SetLogs sets Logs field to given value. + + +### GetStatus + +`func (o *GetLogsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetLogsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetLogsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetLogsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetLogsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetLogsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetLogsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetLogsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetLogsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetLogsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetLogsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetLogsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetLogsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetLogsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetLogsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetLogsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetLogsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetLogsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetLogsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetLogsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetLogsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetLogsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetLogsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetLogsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetLogsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetLogsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetLogsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetLogsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetLogsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md new file mode 100644 index 0000000..eb3404b --- /dev/null +++ b/client/docs/GetManualBadgesForUserResponse.md @@ -0,0 +1,244 @@ +# GetManualBadgesForUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Badges** | [**[]UserBadge**](UserBadge.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetManualBadgesForUserResponse + +`func NewGetManualBadgesForUserResponse(badges []UserBadge, status APIStatus, reason string, code string, ) *GetManualBadgesForUserResponse` + +NewGetManualBadgesForUserResponse instantiates a new GetManualBadgesForUserResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetManualBadgesForUserResponseWithDefaults + +`func NewGetManualBadgesForUserResponseWithDefaults() *GetManualBadgesForUserResponse` + +NewGetManualBadgesForUserResponseWithDefaults instantiates a new GetManualBadgesForUserResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBadges + +`func (o *GetManualBadgesForUserResponse) GetBadges() []UserBadge` + +GetBadges returns the Badges field if non-nil, zero value otherwise. + +### GetBadgesOk + +`func (o *GetManualBadgesForUserResponse) GetBadgesOk() (*[]UserBadge, bool)` + +GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBadges + +`func (o *GetManualBadgesForUserResponse) SetBadges(v []UserBadge)` + +SetBadges sets Badges field to given value. + + +### GetStatus + +`func (o *GetManualBadgesForUserResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetManualBadgesForUserResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetManualBadgesForUserResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetManualBadgesForUserResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetManualBadgesForUserResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetManualBadgesForUserResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetManualBadgesForUserResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetManualBadgesForUserResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetManualBadgesForUserResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetManualBadgesForUserResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetManualBadgesForUserResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetManualBadgesForUserResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetManualBadgesForUserResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetManualBadgesForUserResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetManualBadgesForUserResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetManualBadgesForUserResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetManualBadgesForUserResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetManualBadgesForUserResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetManualBadgesForUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetManualBadgesForUserResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetManualBadgesForUserResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetManualBadgesForUserResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetManualBadgesForUserResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetManualBadgesForUserResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetManualBadgesForUserResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetManualBadgesForUserResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetManualBadgesForUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetManualBadgesForUserResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetManualBadgesForUserResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md new file mode 100644 index 0000000..90213c6 --- /dev/null +++ b/client/docs/GetManualBadgesResponse.md @@ -0,0 +1,244 @@ +# GetManualBadgesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Badges** | [**[]TenantBadge**](TenantBadge.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetManualBadgesResponse + +`func NewGetManualBadgesResponse(badges []TenantBadge, status APIStatus, reason string, code string, ) *GetManualBadgesResponse` + +NewGetManualBadgesResponse instantiates a new GetManualBadgesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetManualBadgesResponseWithDefaults + +`func NewGetManualBadgesResponseWithDefaults() *GetManualBadgesResponse` + +NewGetManualBadgesResponseWithDefaults instantiates a new GetManualBadgesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBadges + +`func (o *GetManualBadgesResponse) GetBadges() []TenantBadge` + +GetBadges returns the Badges field if non-nil, zero value otherwise. + +### GetBadgesOk + +`func (o *GetManualBadgesResponse) GetBadgesOk() (*[]TenantBadge, bool)` + +GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBadges + +`func (o *GetManualBadgesResponse) SetBadges(v []TenantBadge)` + +SetBadges sets Badges field to given value. + + +### GetStatus + +`func (o *GetManualBadgesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetManualBadgesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetManualBadgesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetManualBadgesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetManualBadgesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetManualBadgesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetManualBadgesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetManualBadgesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetManualBadgesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetManualBadgesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetManualBadgesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetManualBadgesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetManualBadgesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetManualBadgesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetManualBadgesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetManualBadgesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetManualBadgesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetManualBadgesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetManualBadgesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetManualBadgesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetManualBadgesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetManualBadgesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetManualBadgesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetManualBadgesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetManualBadgesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetManualBadgesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetManualBadgesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetManualBadgesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetManualBadgesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md new file mode 100644 index 0000000..867973e --- /dev/null +++ b/client/docs/GetModerationCommentResponse.md @@ -0,0 +1,244 @@ +# GetModerationCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetModerationCommentResponse + +`func NewGetModerationCommentResponse(comment ModerationAPIComment, status APIStatus, reason string, code string, ) *GetModerationCommentResponse` + +NewGetModerationCommentResponse instantiates a new GetModerationCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetModerationCommentResponseWithDefaults + +`func NewGetModerationCommentResponseWithDefaults() *GetModerationCommentResponse` + +NewGetModerationCommentResponseWithDefaults instantiates a new GetModerationCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComment + +`func (o *GetModerationCommentResponse) GetComment() ModerationAPIComment` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *GetModerationCommentResponse) GetCommentOk() (*ModerationAPIComment, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *GetModerationCommentResponse) SetComment(v ModerationAPIComment)` + +SetComment sets Comment field to given value. + + +### GetStatus + +`func (o *GetModerationCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetModerationCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetModerationCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetModerationCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetModerationCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetModerationCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetModerationCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetModerationCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetModerationCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetModerationCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetModerationCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetModerationCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetModerationCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetModerationCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetModerationCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetModerationCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetModerationCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetModerationCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetModerationCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetModerationCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetModerationCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetModerationCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetModerationCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetModerationCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetModerationCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetModerationCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetModerationCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetModerationCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetModerationCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md new file mode 100644 index 0000000..f590249 --- /dev/null +++ b/client/docs/GetModerationCommentTextResponse.md @@ -0,0 +1,259 @@ +# GetModerationCommentTextResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | Pointer to **NullableString** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetModerationCommentTextResponse + +`func NewGetModerationCommentTextResponse(status APIStatus, reason string, code string, ) *GetModerationCommentTextResponse` + +NewGetModerationCommentTextResponse instantiates a new GetModerationCommentTextResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetModerationCommentTextResponseWithDefaults + +`func NewGetModerationCommentTextResponseWithDefaults() *GetModerationCommentTextResponse` + +NewGetModerationCommentTextResponseWithDefaults instantiates a new GetModerationCommentTextResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComment + +`func (o *GetModerationCommentTextResponse) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *GetModerationCommentTextResponse) GetCommentOk() (*string, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *GetModerationCommentTextResponse) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *GetModerationCommentTextResponse) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### SetCommentNil + +`func (o *GetModerationCommentTextResponse) SetCommentNil(b bool)` + + SetCommentNil sets the value for Comment to be an explicit nil + +### UnsetComment +`func (o *GetModerationCommentTextResponse) UnsetComment()` + +UnsetComment ensures that no value is present for Comment, not even an explicit nil +### GetStatus + +`func (o *GetModerationCommentTextResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetModerationCommentTextResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetModerationCommentTextResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetModerationCommentTextResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetModerationCommentTextResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetModerationCommentTextResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetModerationCommentTextResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetModerationCommentTextResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetModerationCommentTextResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetModerationCommentTextResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetModerationCommentTextResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetModerationCommentTextResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetModerationCommentTextResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetModerationCommentTextResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetModerationCommentTextResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetModerationCommentTextResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetModerationCommentTextResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetModerationCommentTextResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetModerationCommentTextResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetModerationCommentTextResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetModerationCommentTextResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetModerationCommentTextResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetModerationCommentTextResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetModerationCommentTextResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetModerationCommentTextResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetModerationCommentTextResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetModerationCommentTextResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetModerationCommentTextResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetModerationCommentTextResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md new file mode 100644 index 0000000..175344f --- /dev/null +++ b/client/docs/GetModeratorResponse1.md @@ -0,0 +1,244 @@ +# GetModeratorResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Moderator** | [**Moderator**](Moderator.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetModeratorResponse1 + +`func NewGetModeratorResponse1(status APIStatus, moderator Moderator, reason string, code string, ) *GetModeratorResponse1` + +NewGetModeratorResponse1 instantiates a new GetModeratorResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetModeratorResponse1WithDefaults + +`func NewGetModeratorResponse1WithDefaults() *GetModeratorResponse1` + +NewGetModeratorResponse1WithDefaults instantiates a new GetModeratorResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetModeratorResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetModeratorResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetModeratorResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetModerator + +`func (o *GetModeratorResponse1) GetModerator() Moderator` + +GetModerator returns the Moderator field if non-nil, zero value otherwise. + +### GetModeratorOk + +`func (o *GetModeratorResponse1) GetModeratorOk() (*Moderator, bool)` + +GetModeratorOk returns a tuple with the Moderator field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModerator + +`func (o *GetModeratorResponse1) SetModerator(v Moderator)` + +SetModerator sets Moderator field to given value. + + +### GetReason + +`func (o *GetModeratorResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetModeratorResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetModeratorResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetModeratorResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetModeratorResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetModeratorResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetModeratorResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetModeratorResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetModeratorResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetModeratorResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetModeratorResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetModeratorResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetModeratorResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetModeratorResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetModeratorResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetModeratorResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetModeratorResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetModeratorResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetModeratorResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetModeratorResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetModeratorResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetModeratorResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetModeratorResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetModeratorResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetModeratorResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetModeratorResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md new file mode 100644 index 0000000..ff8b46b --- /dev/null +++ b/client/docs/GetModeratorsResponse1.md @@ -0,0 +1,244 @@ +# GetModeratorsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Moderators** | [**[]Moderator**](Moderator.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetModeratorsResponse1 + +`func NewGetModeratorsResponse1(status APIStatus, moderators []Moderator, reason string, code string, ) *GetModeratorsResponse1` + +NewGetModeratorsResponse1 instantiates a new GetModeratorsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetModeratorsResponse1WithDefaults + +`func NewGetModeratorsResponse1WithDefaults() *GetModeratorsResponse1` + +NewGetModeratorsResponse1WithDefaults instantiates a new GetModeratorsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetModeratorsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetModeratorsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetModeratorsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetModerators + +`func (o *GetModeratorsResponse1) GetModerators() []Moderator` + +GetModerators returns the Moderators field if non-nil, zero value otherwise. + +### GetModeratorsOk + +`func (o *GetModeratorsResponse1) GetModeratorsOk() (*[]Moderator, bool)` + +GetModeratorsOk returns a tuple with the Moderators field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModerators + +`func (o *GetModeratorsResponse1) SetModerators(v []Moderator)` + +SetModerators sets Moderators field to given value. + + +### GetReason + +`func (o *GetModeratorsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetModeratorsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetModeratorsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetModeratorsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetModeratorsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetModeratorsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetModeratorsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetModeratorsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetModeratorsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetModeratorsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetModeratorsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetModeratorsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetModeratorsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetModeratorsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetModeratorsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetModeratorsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetModeratorsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetModeratorsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetModeratorsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetModeratorsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetModeratorsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetModeratorsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetModeratorsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetModeratorsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetModeratorsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetModeratorsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md new file mode 100644 index 0000000..a79f6b6 --- /dev/null +++ b/client/docs/GetNotificationCountResponse1.md @@ -0,0 +1,244 @@ +# GetNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Count** | **float64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetNotificationCountResponse1 + +`func NewGetNotificationCountResponse1(status APIStatus, count float64, reason string, code string, ) *GetNotificationCountResponse1` + +NewGetNotificationCountResponse1 instantiates a new GetNotificationCountResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNotificationCountResponse1WithDefaults + +`func NewGetNotificationCountResponse1WithDefaults() *GetNotificationCountResponse1` + +NewGetNotificationCountResponse1WithDefaults instantiates a new GetNotificationCountResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetNotificationCountResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetNotificationCountResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCount + +`func (o *GetNotificationCountResponse1) GetCount() float64` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *GetNotificationCountResponse1) GetCountOk() (*float64, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *GetNotificationCountResponse1) SetCount(v float64)` + +SetCount sets Count field to given value. + + +### GetReason + +`func (o *GetNotificationCountResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetNotificationCountResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetNotificationCountResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetNotificationCountResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetNotificationCountResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetNotificationCountResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetNotificationCountResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetNotificationCountResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetNotificationCountResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetNotificationCountResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetNotificationCountResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetNotificationCountResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetNotificationCountResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetNotificationCountResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetNotificationCountResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetNotificationCountResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetNotificationCountResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetNotificationCountResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetNotificationCountResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md new file mode 100644 index 0000000..4238c40 --- /dev/null +++ b/client/docs/GetNotificationsResponse1.md @@ -0,0 +1,244 @@ +# GetNotificationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Notifications** | [**[]UserNotification**](UserNotification.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetNotificationsResponse1 + +`func NewGetNotificationsResponse1(status APIStatus, notifications []UserNotification, reason string, code string, ) *GetNotificationsResponse1` + +NewGetNotificationsResponse1 instantiates a new GetNotificationsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetNotificationsResponse1WithDefaults + +`func NewGetNotificationsResponse1WithDefaults() *GetNotificationsResponse1` + +NewGetNotificationsResponse1WithDefaults instantiates a new GetNotificationsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetNotificationsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetNotificationsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetNotificationsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetNotifications + +`func (o *GetNotificationsResponse1) GetNotifications() []UserNotification` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *GetNotificationsResponse1) GetNotificationsOk() (*[]UserNotification, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *GetNotificationsResponse1) SetNotifications(v []UserNotification)` + +SetNotifications sets Notifications field to given value. + + +### GetReason + +`func (o *GetNotificationsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetNotificationsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetNotificationsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetNotificationsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetNotificationsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetNotificationsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetNotificationsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetNotificationsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetNotificationsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetNotificationsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetNotificationsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetNotificationsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetNotificationsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetNotificationsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetNotificationsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetNotificationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetNotificationsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetNotificationsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetNotificationsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetNotificationsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetNotificationsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetNotificationsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetNotificationsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetNotificationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetNotificationsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetNotificationsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md new file mode 100644 index 0000000..8bc91a7 --- /dev/null +++ b/client/docs/GetOfflineUsersResponse.md @@ -0,0 +1,306 @@ +# GetOfflineUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NextAfterUserId** | **NullableString** | | +**NextAfterName** | **NullableString** | | +**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetOfflineUsersResponse + +`func NewGetOfflineUsersResponse(nextAfterUserId NullableString, nextAfterName NullableString, users []PageUserEntry, status APIStatus, reason string, code string, ) *GetOfflineUsersResponse` + +NewGetOfflineUsersResponse instantiates a new GetOfflineUsersResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetOfflineUsersResponseWithDefaults + +`func NewGetOfflineUsersResponseWithDefaults() *GetOfflineUsersResponse` + +NewGetOfflineUsersResponseWithDefaults instantiates a new GetOfflineUsersResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNextAfterUserId + +`func (o *GetOfflineUsersResponse) GetNextAfterUserId() string` + +GetNextAfterUserId returns the NextAfterUserId field if non-nil, zero value otherwise. + +### GetNextAfterUserIdOk + +`func (o *GetOfflineUsersResponse) GetNextAfterUserIdOk() (*string, bool)` + +GetNextAfterUserIdOk returns a tuple with the NextAfterUserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAfterUserId + +`func (o *GetOfflineUsersResponse) SetNextAfterUserId(v string)` + +SetNextAfterUserId sets NextAfterUserId field to given value. + + +### SetNextAfterUserIdNil + +`func (o *GetOfflineUsersResponse) SetNextAfterUserIdNil(b bool)` + + SetNextAfterUserIdNil sets the value for NextAfterUserId to be an explicit nil + +### UnsetNextAfterUserId +`func (o *GetOfflineUsersResponse) UnsetNextAfterUserId()` + +UnsetNextAfterUserId ensures that no value is present for NextAfterUserId, not even an explicit nil +### GetNextAfterName + +`func (o *GetOfflineUsersResponse) GetNextAfterName() string` + +GetNextAfterName returns the NextAfterName field if non-nil, zero value otherwise. + +### GetNextAfterNameOk + +`func (o *GetOfflineUsersResponse) GetNextAfterNameOk() (*string, bool)` + +GetNextAfterNameOk returns a tuple with the NextAfterName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAfterName + +`func (o *GetOfflineUsersResponse) SetNextAfterName(v string)` + +SetNextAfterName sets NextAfterName field to given value. + + +### SetNextAfterNameNil + +`func (o *GetOfflineUsersResponse) SetNextAfterNameNil(b bool)` + + SetNextAfterNameNil sets the value for NextAfterName to be an explicit nil + +### UnsetNextAfterName +`func (o *GetOfflineUsersResponse) UnsetNextAfterName()` + +UnsetNextAfterName ensures that no value is present for NextAfterName, not even an explicit nil +### GetUsers + +`func (o *GetOfflineUsersResponse) GetUsers() []PageUserEntry` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *GetOfflineUsersResponse) GetUsersOk() (*[]PageUserEntry, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *GetOfflineUsersResponse) SetUsers(v []PageUserEntry)` + +SetUsers sets Users field to given value. + + +### GetStatus + +`func (o *GetOfflineUsersResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetOfflineUsersResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetOfflineUsersResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetOfflineUsersResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetOfflineUsersResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetOfflineUsersResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetOfflineUsersResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetOfflineUsersResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetOfflineUsersResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetOfflineUsersResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetOfflineUsersResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetOfflineUsersResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetOfflineUsersResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetOfflineUsersResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetOfflineUsersResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetOfflineUsersResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetOfflineUsersResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetOfflineUsersResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetOfflineUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetOfflineUsersResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetOfflineUsersResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetOfflineUsersResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetOfflineUsersResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetOfflineUsersResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetOfflineUsersResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetOfflineUsersResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetOfflineUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetOfflineUsersResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetOfflineUsersResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md new file mode 100644 index 0000000..3145f3f --- /dev/null +++ b/client/docs/GetOnlineUsersResponse.md @@ -0,0 +1,348 @@ +# GetOnlineUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NextAfterUserId** | **NullableString** | | +**NextAfterName** | **NullableString** | | +**TotalCount** | **float64** | | +**AnonCount** | **float64** | | +**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetOnlineUsersResponse + +`func NewGetOnlineUsersResponse(nextAfterUserId NullableString, nextAfterName NullableString, totalCount float64, anonCount float64, users []PageUserEntry, status APIStatus, reason string, code string, ) *GetOnlineUsersResponse` + +NewGetOnlineUsersResponse instantiates a new GetOnlineUsersResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetOnlineUsersResponseWithDefaults + +`func NewGetOnlineUsersResponseWithDefaults() *GetOnlineUsersResponse` + +NewGetOnlineUsersResponseWithDefaults instantiates a new GetOnlineUsersResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNextAfterUserId + +`func (o *GetOnlineUsersResponse) GetNextAfterUserId() string` + +GetNextAfterUserId returns the NextAfterUserId field if non-nil, zero value otherwise. + +### GetNextAfterUserIdOk + +`func (o *GetOnlineUsersResponse) GetNextAfterUserIdOk() (*string, bool)` + +GetNextAfterUserIdOk returns a tuple with the NextAfterUserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAfterUserId + +`func (o *GetOnlineUsersResponse) SetNextAfterUserId(v string)` + +SetNextAfterUserId sets NextAfterUserId field to given value. + + +### SetNextAfterUserIdNil + +`func (o *GetOnlineUsersResponse) SetNextAfterUserIdNil(b bool)` + + SetNextAfterUserIdNil sets the value for NextAfterUserId to be an explicit nil + +### UnsetNextAfterUserId +`func (o *GetOnlineUsersResponse) UnsetNextAfterUserId()` + +UnsetNextAfterUserId ensures that no value is present for NextAfterUserId, not even an explicit nil +### GetNextAfterName + +`func (o *GetOnlineUsersResponse) GetNextAfterName() string` + +GetNextAfterName returns the NextAfterName field if non-nil, zero value otherwise. + +### GetNextAfterNameOk + +`func (o *GetOnlineUsersResponse) GetNextAfterNameOk() (*string, bool)` + +GetNextAfterNameOk returns a tuple with the NextAfterName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAfterName + +`func (o *GetOnlineUsersResponse) SetNextAfterName(v string)` + +SetNextAfterName sets NextAfterName field to given value. + + +### SetNextAfterNameNil + +`func (o *GetOnlineUsersResponse) SetNextAfterNameNil(b bool)` + + SetNextAfterNameNil sets the value for NextAfterName to be an explicit nil + +### UnsetNextAfterName +`func (o *GetOnlineUsersResponse) UnsetNextAfterName()` + +UnsetNextAfterName ensures that no value is present for NextAfterName, not even an explicit nil +### GetTotalCount + +`func (o *GetOnlineUsersResponse) GetTotalCount() float64` + +GetTotalCount returns the TotalCount field if non-nil, zero value otherwise. + +### GetTotalCountOk + +`func (o *GetOnlineUsersResponse) GetTotalCountOk() (*float64, bool)` + +GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalCount + +`func (o *GetOnlineUsersResponse) SetTotalCount(v float64)` + +SetTotalCount sets TotalCount field to given value. + + +### GetAnonCount + +`func (o *GetOnlineUsersResponse) GetAnonCount() float64` + +GetAnonCount returns the AnonCount field if non-nil, zero value otherwise. + +### GetAnonCountOk + +`func (o *GetOnlineUsersResponse) GetAnonCountOk() (*float64, bool)` + +GetAnonCountOk returns a tuple with the AnonCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAnonCount + +`func (o *GetOnlineUsersResponse) SetAnonCount(v float64)` + +SetAnonCount sets AnonCount field to given value. + + +### GetUsers + +`func (o *GetOnlineUsersResponse) GetUsers() []PageUserEntry` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *GetOnlineUsersResponse) GetUsersOk() (*[]PageUserEntry, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *GetOnlineUsersResponse) SetUsers(v []PageUserEntry)` + +SetUsers sets Users field to given value. + + +### GetStatus + +`func (o *GetOnlineUsersResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetOnlineUsersResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetOnlineUsersResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetOnlineUsersResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetOnlineUsersResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetOnlineUsersResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetOnlineUsersResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetOnlineUsersResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetOnlineUsersResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetOnlineUsersResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetOnlineUsersResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetOnlineUsersResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetOnlineUsersResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetOnlineUsersResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetOnlineUsersResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetOnlineUsersResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetOnlineUsersResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetOnlineUsersResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetOnlineUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetOnlineUsersResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetOnlineUsersResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetOnlineUsersResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetOnlineUsersResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetOnlineUsersResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetOnlineUsersResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetOnlineUsersResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetOnlineUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetOnlineUsersResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetOnlineUsersResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md new file mode 100644 index 0000000..73b6be3 --- /dev/null +++ b/client/docs/GetPagesPublicResponse.md @@ -0,0 +1,275 @@ +# GetPagesPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NextCursor** | **NullableString** | | +**Pages** | [**[]PublicPage**](PublicPage.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetPagesPublicResponse + +`func NewGetPagesPublicResponse(nextCursor NullableString, pages []PublicPage, status APIStatus, reason string, code string, ) *GetPagesPublicResponse` + +NewGetPagesPublicResponse instantiates a new GetPagesPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetPagesPublicResponseWithDefaults + +`func NewGetPagesPublicResponseWithDefaults() *GetPagesPublicResponse` + +NewGetPagesPublicResponseWithDefaults instantiates a new GetPagesPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNextCursor + +`func (o *GetPagesPublicResponse) GetNextCursor() string` + +GetNextCursor returns the NextCursor field if non-nil, zero value otherwise. + +### GetNextCursorOk + +`func (o *GetPagesPublicResponse) GetNextCursorOk() (*string, bool)` + +GetNextCursorOk returns a tuple with the NextCursor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextCursor + +`func (o *GetPagesPublicResponse) SetNextCursor(v string)` + +SetNextCursor sets NextCursor field to given value. + + +### SetNextCursorNil + +`func (o *GetPagesPublicResponse) SetNextCursorNil(b bool)` + + SetNextCursorNil sets the value for NextCursor to be an explicit nil + +### UnsetNextCursor +`func (o *GetPagesPublicResponse) UnsetNextCursor()` + +UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil +### GetPages + +`func (o *GetPagesPublicResponse) GetPages() []PublicPage` + +GetPages returns the Pages field if non-nil, zero value otherwise. + +### GetPagesOk + +`func (o *GetPagesPublicResponse) GetPagesOk() (*[]PublicPage, bool)` + +GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPages + +`func (o *GetPagesPublicResponse) SetPages(v []PublicPage)` + +SetPages sets Pages field to given value. + + +### GetStatus + +`func (o *GetPagesPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetPagesPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetPagesPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetPagesPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetPagesPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetPagesPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetPagesPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetPagesPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetPagesPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetPagesPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetPagesPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetPagesPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetPagesPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetPagesPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetPagesPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetPagesPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetPagesPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetPagesPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetPagesPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetPagesPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetPagesPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetPagesPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetPagesPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetPagesPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetPagesPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetPagesPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetPagesPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetPagesPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetPagesPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md new file mode 100644 index 0000000..893cc77 --- /dev/null +++ b/client/docs/GetPendingWebhookEventCountResponse1.md @@ -0,0 +1,244 @@ +# GetPendingWebhookEventCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Count** | **float64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetPendingWebhookEventCountResponse1 + +`func NewGetPendingWebhookEventCountResponse1(status APIStatus, count float64, reason string, code string, ) *GetPendingWebhookEventCountResponse1` + +NewGetPendingWebhookEventCountResponse1 instantiates a new GetPendingWebhookEventCountResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetPendingWebhookEventCountResponse1WithDefaults + +`func NewGetPendingWebhookEventCountResponse1WithDefaults() *GetPendingWebhookEventCountResponse1` + +NewGetPendingWebhookEventCountResponse1WithDefaults instantiates a new GetPendingWebhookEventCountResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetPendingWebhookEventCountResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetPendingWebhookEventCountResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetPendingWebhookEventCountResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCount + +`func (o *GetPendingWebhookEventCountResponse1) GetCount() float64` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *GetPendingWebhookEventCountResponse1) GetCountOk() (*float64, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *GetPendingWebhookEventCountResponse1) SetCount(v float64)` + +SetCount sets Count field to given value. + + +### GetReason + +`func (o *GetPendingWebhookEventCountResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetPendingWebhookEventCountResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetPendingWebhookEventCountResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetPendingWebhookEventCountResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetPendingWebhookEventCountResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetPendingWebhookEventCountResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetPendingWebhookEventCountResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetPendingWebhookEventCountResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetPendingWebhookEventCountResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetPendingWebhookEventCountResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetPendingWebhookEventCountResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetPendingWebhookEventCountResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetPendingWebhookEventCountResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetPendingWebhookEventCountResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetPendingWebhookEventCountResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetPendingWebhookEventCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetPendingWebhookEventCountResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetPendingWebhookEventCountResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetPendingWebhookEventCountResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetPendingWebhookEventCountResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetPendingWebhookEventCountResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetPendingWebhookEventCountResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetPendingWebhookEventCountResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetPendingWebhookEventCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetPendingWebhookEventCountResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetPendingWebhookEventCountResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md new file mode 100644 index 0000000..3145541 --- /dev/null +++ b/client/docs/GetPendingWebhookEventsResponse1.md @@ -0,0 +1,244 @@ +# GetPendingWebhookEventsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**PendingWebhookEvents** | [**[]PendingCommentToSyncOutbound**](PendingCommentToSyncOutbound.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetPendingWebhookEventsResponse1 + +`func NewGetPendingWebhookEventsResponse1(status APIStatus, pendingWebhookEvents []PendingCommentToSyncOutbound, reason string, code string, ) *GetPendingWebhookEventsResponse1` + +NewGetPendingWebhookEventsResponse1 instantiates a new GetPendingWebhookEventsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetPendingWebhookEventsResponse1WithDefaults + +`func NewGetPendingWebhookEventsResponse1WithDefaults() *GetPendingWebhookEventsResponse1` + +NewGetPendingWebhookEventsResponse1WithDefaults instantiates a new GetPendingWebhookEventsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetPendingWebhookEventsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetPendingWebhookEventsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetPendingWebhookEventsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetPendingWebhookEvents + +`func (o *GetPendingWebhookEventsResponse1) GetPendingWebhookEvents() []PendingCommentToSyncOutbound` + +GetPendingWebhookEvents returns the PendingWebhookEvents field if non-nil, zero value otherwise. + +### GetPendingWebhookEventsOk + +`func (o *GetPendingWebhookEventsResponse1) GetPendingWebhookEventsOk() (*[]PendingCommentToSyncOutbound, bool)` + +GetPendingWebhookEventsOk returns a tuple with the PendingWebhookEvents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPendingWebhookEvents + +`func (o *GetPendingWebhookEventsResponse1) SetPendingWebhookEvents(v []PendingCommentToSyncOutbound)` + +SetPendingWebhookEvents sets PendingWebhookEvents field to given value. + + +### GetReason + +`func (o *GetPendingWebhookEventsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetPendingWebhookEventsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetPendingWebhookEventsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetPendingWebhookEventsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetPendingWebhookEventsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetPendingWebhookEventsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetPendingWebhookEventsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetPendingWebhookEventsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetPendingWebhookEventsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetPendingWebhookEventsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetPendingWebhookEventsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetPendingWebhookEventsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetPendingWebhookEventsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetPendingWebhookEventsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetPendingWebhookEventsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetPendingWebhookEventsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetPendingWebhookEventsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetPendingWebhookEventsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetPendingWebhookEventsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetPendingWebhookEventsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetPendingWebhookEventsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetPendingWebhookEventsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetPendingWebhookEventsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetPendingWebhookEventsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetPendingWebhookEventsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetPendingWebhookEventsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md new file mode 100644 index 0000000..33b13fd --- /dev/null +++ b/client/docs/GetPreBanSummaryResponse.md @@ -0,0 +1,265 @@ +# GetPreBanSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Usernames** | **[]string** | | +**Count** | **float64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetPreBanSummaryResponse + +`func NewGetPreBanSummaryResponse(status APIStatus, usernames []string, count float64, reason string, code string, ) *GetPreBanSummaryResponse` + +NewGetPreBanSummaryResponse instantiates a new GetPreBanSummaryResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetPreBanSummaryResponseWithDefaults + +`func NewGetPreBanSummaryResponseWithDefaults() *GetPreBanSummaryResponse` + +NewGetPreBanSummaryResponseWithDefaults instantiates a new GetPreBanSummaryResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetPreBanSummaryResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetPreBanSummaryResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetPreBanSummaryResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUsernames + +`func (o *GetPreBanSummaryResponse) GetUsernames() []string` + +GetUsernames returns the Usernames field if non-nil, zero value otherwise. + +### GetUsernamesOk + +`func (o *GetPreBanSummaryResponse) GetUsernamesOk() (*[]string, bool)` + +GetUsernamesOk returns a tuple with the Usernames field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsernames + +`func (o *GetPreBanSummaryResponse) SetUsernames(v []string)` + +SetUsernames sets Usernames field to given value. + + +### GetCount + +`func (o *GetPreBanSummaryResponse) GetCount() float64` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *GetPreBanSummaryResponse) GetCountOk() (*float64, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *GetPreBanSummaryResponse) SetCount(v float64)` + +SetCount sets Count field to given value. + + +### GetReason + +`func (o *GetPreBanSummaryResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetPreBanSummaryResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetPreBanSummaryResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetPreBanSummaryResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetPreBanSummaryResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetPreBanSummaryResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetPreBanSummaryResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetPreBanSummaryResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetPreBanSummaryResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetPreBanSummaryResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetPreBanSummaryResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetPreBanSummaryResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetPreBanSummaryResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetPreBanSummaryResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetPreBanSummaryResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetPreBanSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetPreBanSummaryResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetPreBanSummaryResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetPreBanSummaryResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetPreBanSummaryResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetPreBanSummaryResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetPreBanSummaryResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetPreBanSummaryResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetPreBanSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetPreBanSummaryResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetPreBanSummaryResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md new file mode 100644 index 0000000..50ff36f --- /dev/null +++ b/client/docs/GetQuestionConfigResponse1.md @@ -0,0 +1,244 @@ +# GetQuestionConfigResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionConfig** | [**QuestionConfig**](QuestionConfig.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetQuestionConfigResponse1 + +`func NewGetQuestionConfigResponse1(status APIStatus, questionConfig QuestionConfig, reason string, code string, ) *GetQuestionConfigResponse1` + +NewGetQuestionConfigResponse1 instantiates a new GetQuestionConfigResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetQuestionConfigResponse1WithDefaults + +`func NewGetQuestionConfigResponse1WithDefaults() *GetQuestionConfigResponse1` + +NewGetQuestionConfigResponse1WithDefaults instantiates a new GetQuestionConfigResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetQuestionConfigResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetQuestionConfigResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetQuestionConfigResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionConfig + +`func (o *GetQuestionConfigResponse1) GetQuestionConfig() QuestionConfig` + +GetQuestionConfig returns the QuestionConfig field if non-nil, zero value otherwise. + +### GetQuestionConfigOk + +`func (o *GetQuestionConfigResponse1) GetQuestionConfigOk() (*QuestionConfig, bool)` + +GetQuestionConfigOk returns a tuple with the QuestionConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionConfig + +`func (o *GetQuestionConfigResponse1) SetQuestionConfig(v QuestionConfig)` + +SetQuestionConfig sets QuestionConfig field to given value. + + +### GetReason + +`func (o *GetQuestionConfigResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetQuestionConfigResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetQuestionConfigResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetQuestionConfigResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetQuestionConfigResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetQuestionConfigResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetQuestionConfigResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetQuestionConfigResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetQuestionConfigResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetQuestionConfigResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetQuestionConfigResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetQuestionConfigResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetQuestionConfigResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetQuestionConfigResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetQuestionConfigResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetQuestionConfigResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetQuestionConfigResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetQuestionConfigResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetQuestionConfigResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetQuestionConfigResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetQuestionConfigResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetQuestionConfigResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetQuestionConfigResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetQuestionConfigResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetQuestionConfigResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetQuestionConfigResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md new file mode 100644 index 0000000..63a5324 --- /dev/null +++ b/client/docs/GetQuestionConfigsResponse1.md @@ -0,0 +1,244 @@ +# GetQuestionConfigsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionConfigs** | [**[]QuestionConfig**](QuestionConfig.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetQuestionConfigsResponse1 + +`func NewGetQuestionConfigsResponse1(status APIStatus, questionConfigs []QuestionConfig, reason string, code string, ) *GetQuestionConfigsResponse1` + +NewGetQuestionConfigsResponse1 instantiates a new GetQuestionConfigsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetQuestionConfigsResponse1WithDefaults + +`func NewGetQuestionConfigsResponse1WithDefaults() *GetQuestionConfigsResponse1` + +NewGetQuestionConfigsResponse1WithDefaults instantiates a new GetQuestionConfigsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetQuestionConfigsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetQuestionConfigsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetQuestionConfigsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionConfigs + +`func (o *GetQuestionConfigsResponse1) GetQuestionConfigs() []QuestionConfig` + +GetQuestionConfigs returns the QuestionConfigs field if non-nil, zero value otherwise. + +### GetQuestionConfigsOk + +`func (o *GetQuestionConfigsResponse1) GetQuestionConfigsOk() (*[]QuestionConfig, bool)` + +GetQuestionConfigsOk returns a tuple with the QuestionConfigs field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionConfigs + +`func (o *GetQuestionConfigsResponse1) SetQuestionConfigs(v []QuestionConfig)` + +SetQuestionConfigs sets QuestionConfigs field to given value. + + +### GetReason + +`func (o *GetQuestionConfigsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetQuestionConfigsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetQuestionConfigsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetQuestionConfigsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetQuestionConfigsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetQuestionConfigsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetQuestionConfigsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetQuestionConfigsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetQuestionConfigsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetQuestionConfigsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetQuestionConfigsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetQuestionConfigsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetQuestionConfigsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetQuestionConfigsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetQuestionConfigsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetQuestionConfigsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetQuestionConfigsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetQuestionConfigsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetQuestionConfigsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetQuestionConfigsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetQuestionConfigsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetQuestionConfigsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetQuestionConfigsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetQuestionConfigsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetQuestionConfigsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetQuestionConfigsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md new file mode 100644 index 0000000..352a9e1 --- /dev/null +++ b/client/docs/GetQuestionResultResponse1.md @@ -0,0 +1,244 @@ +# GetQuestionResultResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionResult** | [**QuestionResult**](QuestionResult.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetQuestionResultResponse1 + +`func NewGetQuestionResultResponse1(status APIStatus, questionResult QuestionResult, reason string, code string, ) *GetQuestionResultResponse1` + +NewGetQuestionResultResponse1 instantiates a new GetQuestionResultResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetQuestionResultResponse1WithDefaults + +`func NewGetQuestionResultResponse1WithDefaults() *GetQuestionResultResponse1` + +NewGetQuestionResultResponse1WithDefaults instantiates a new GetQuestionResultResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetQuestionResultResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetQuestionResultResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetQuestionResultResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionResult + +`func (o *GetQuestionResultResponse1) GetQuestionResult() QuestionResult` + +GetQuestionResult returns the QuestionResult field if non-nil, zero value otherwise. + +### GetQuestionResultOk + +`func (o *GetQuestionResultResponse1) GetQuestionResultOk() (*QuestionResult, bool)` + +GetQuestionResultOk returns a tuple with the QuestionResult field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionResult + +`func (o *GetQuestionResultResponse1) SetQuestionResult(v QuestionResult)` + +SetQuestionResult sets QuestionResult field to given value. + + +### GetReason + +`func (o *GetQuestionResultResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetQuestionResultResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetQuestionResultResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetQuestionResultResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetQuestionResultResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetQuestionResultResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetQuestionResultResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetQuestionResultResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetQuestionResultResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetQuestionResultResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetQuestionResultResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetQuestionResultResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetQuestionResultResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetQuestionResultResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetQuestionResultResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetQuestionResultResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetQuestionResultResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetQuestionResultResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetQuestionResultResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetQuestionResultResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetQuestionResultResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetQuestionResultResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetQuestionResultResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetQuestionResultResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetQuestionResultResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetQuestionResultResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md new file mode 100644 index 0000000..513d79f --- /dev/null +++ b/client/docs/GetQuestionResultsResponse1.md @@ -0,0 +1,244 @@ +# GetQuestionResultsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**QuestionResults** | [**[]QuestionResult**](QuestionResult.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetQuestionResultsResponse1 + +`func NewGetQuestionResultsResponse1(status APIStatus, questionResults []QuestionResult, reason string, code string, ) *GetQuestionResultsResponse1` + +NewGetQuestionResultsResponse1 instantiates a new GetQuestionResultsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetQuestionResultsResponse1WithDefaults + +`func NewGetQuestionResultsResponse1WithDefaults() *GetQuestionResultsResponse1` + +NewGetQuestionResultsResponse1WithDefaults instantiates a new GetQuestionResultsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetQuestionResultsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetQuestionResultsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetQuestionResults + +`func (o *GetQuestionResultsResponse1) GetQuestionResults() []QuestionResult` + +GetQuestionResults returns the QuestionResults field if non-nil, zero value otherwise. + +### GetQuestionResultsOk + +`func (o *GetQuestionResultsResponse1) GetQuestionResultsOk() (*[]QuestionResult, bool)` + +GetQuestionResultsOk returns a tuple with the QuestionResults field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuestionResults + +`func (o *GetQuestionResultsResponse1) SetQuestionResults(v []QuestionResult)` + +SetQuestionResults sets QuestionResults field to given value. + + +### GetReason + +`func (o *GetQuestionResultsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetQuestionResultsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetQuestionResultsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetQuestionResultsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetQuestionResultsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetQuestionResultsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetQuestionResultsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetQuestionResultsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetQuestionResultsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetQuestionResultsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetQuestionResultsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetQuestionResultsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetQuestionResultsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetQuestionResultsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetQuestionResultsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetQuestionResultsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetQuestionResultsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetQuestionResultsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetQuestionResultsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md new file mode 100644 index 0000000..8065839 --- /dev/null +++ b/client/docs/GetSearchCommentsSummaryResponse.md @@ -0,0 +1,244 @@ +# GetSearchCommentsSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentCount** | **int32** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetSearchCommentsSummaryResponse + +`func NewGetSearchCommentsSummaryResponse(commentCount int32, status APIStatus, reason string, code string, ) *GetSearchCommentsSummaryResponse` + +NewGetSearchCommentsSummaryResponse instantiates a new GetSearchCommentsSummaryResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetSearchCommentsSummaryResponseWithDefaults + +`func NewGetSearchCommentsSummaryResponseWithDefaults() *GetSearchCommentsSummaryResponse` + +NewGetSearchCommentsSummaryResponseWithDefaults instantiates a new GetSearchCommentsSummaryResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCommentCount + +`func (o *GetSearchCommentsSummaryResponse) GetCommentCount() int32` + +GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. + +### GetCommentCountOk + +`func (o *GetSearchCommentsSummaryResponse) GetCommentCountOk() (*int32, bool)` + +GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentCount + +`func (o *GetSearchCommentsSummaryResponse) SetCommentCount(v int32)` + +SetCommentCount sets CommentCount field to given value. + + +### GetStatus + +`func (o *GetSearchCommentsSummaryResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetSearchCommentsSummaryResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetSearchCommentsSummaryResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetSearchCommentsSummaryResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetSearchCommentsSummaryResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetSearchCommentsSummaryResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetSearchCommentsSummaryResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetSearchCommentsSummaryResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetSearchCommentsSummaryResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetSearchCommentsSummaryResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetSearchCommentsSummaryResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetSearchCommentsSummaryResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetSearchCommentsSummaryResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetSearchCommentsSummaryResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetSearchCommentsSummaryResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetSearchCommentsSummaryResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetSearchCommentsSummaryResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetSearchCommentsSummaryResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetSearchCommentsSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetSearchCommentsSummaryResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetSearchCommentsSummaryResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetSearchCommentsSummaryResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetSearchCommentsSummaryResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetSearchCommentsSummaryResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetSearchCommentsSummaryResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetSearchCommentsSummaryResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetSearchCommentsSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetSearchCommentsSummaryResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetSearchCommentsSummaryResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md new file mode 100644 index 0000000..a4de00f --- /dev/null +++ b/client/docs/GetSearchPagesResponse.md @@ -0,0 +1,244 @@ +# GetSearchPagesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Pages** | [**[]ModerationPageSearchProjected**](ModerationPageSearchProjected.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetSearchPagesResponse + +`func NewGetSearchPagesResponse(pages []ModerationPageSearchProjected, status APIStatus, reason string, code string, ) *GetSearchPagesResponse` + +NewGetSearchPagesResponse instantiates a new GetSearchPagesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetSearchPagesResponseWithDefaults + +`func NewGetSearchPagesResponseWithDefaults() *GetSearchPagesResponse` + +NewGetSearchPagesResponseWithDefaults instantiates a new GetSearchPagesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPages + +`func (o *GetSearchPagesResponse) GetPages() []ModerationPageSearchProjected` + +GetPages returns the Pages field if non-nil, zero value otherwise. + +### GetPagesOk + +`func (o *GetSearchPagesResponse) GetPagesOk() (*[]ModerationPageSearchProjected, bool)` + +GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPages + +`func (o *GetSearchPagesResponse) SetPages(v []ModerationPageSearchProjected)` + +SetPages sets Pages field to given value. + + +### GetStatus + +`func (o *GetSearchPagesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetSearchPagesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetSearchPagesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetSearchPagesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetSearchPagesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetSearchPagesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetSearchPagesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetSearchPagesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetSearchPagesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetSearchPagesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetSearchPagesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetSearchPagesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetSearchPagesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetSearchPagesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetSearchPagesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetSearchPagesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetSearchPagesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetSearchPagesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetSearchPagesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetSearchPagesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetSearchPagesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetSearchPagesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetSearchPagesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetSearchPagesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetSearchPagesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetSearchPagesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetSearchPagesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetSearchPagesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetSearchPagesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md new file mode 100644 index 0000000..5e30b33 --- /dev/null +++ b/client/docs/GetSearchSitesResponse.md @@ -0,0 +1,244 @@ +# GetSearchSitesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Sites** | [**[]ModerationSiteSearchProjected**](ModerationSiteSearchProjected.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetSearchSitesResponse + +`func NewGetSearchSitesResponse(sites []ModerationSiteSearchProjected, status APIStatus, reason string, code string, ) *GetSearchSitesResponse` + +NewGetSearchSitesResponse instantiates a new GetSearchSitesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetSearchSitesResponseWithDefaults + +`func NewGetSearchSitesResponseWithDefaults() *GetSearchSitesResponse` + +NewGetSearchSitesResponseWithDefaults instantiates a new GetSearchSitesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetSites + +`func (o *GetSearchSitesResponse) GetSites() []ModerationSiteSearchProjected` + +GetSites returns the Sites field if non-nil, zero value otherwise. + +### GetSitesOk + +`func (o *GetSearchSitesResponse) GetSitesOk() (*[]ModerationSiteSearchProjected, bool)` + +GetSitesOk returns a tuple with the Sites field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSites + +`func (o *GetSearchSitesResponse) SetSites(v []ModerationSiteSearchProjected)` + +SetSites sets Sites field to given value. + + +### GetStatus + +`func (o *GetSearchSitesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetSearchSitesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetSearchSitesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetSearchSitesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetSearchSitesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetSearchSitesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetSearchSitesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetSearchSitesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetSearchSitesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetSearchSitesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetSearchSitesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetSearchSitesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetSearchSitesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetSearchSitesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetSearchSitesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetSearchSitesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetSearchSitesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetSearchSitesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetSearchSitesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetSearchSitesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetSearchSitesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetSearchSitesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetSearchSitesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetSearchSitesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetSearchSitesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetSearchSitesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetSearchSitesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetSearchSitesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetSearchSitesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md new file mode 100644 index 0000000..045a57c --- /dev/null +++ b/client/docs/GetSearchSuggestResponse.md @@ -0,0 +1,275 @@ +# GetSearchSuggestResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Pages** | Pointer to [**[]ModerationPageSearchProjected**](ModerationPageSearchProjected.md) | | [optional] +**Users** | Pointer to [**[]ModerationUserSearchProjected**](ModerationUserSearchProjected.md) | | [optional] +**Code** | **string** | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetSearchSuggestResponse + +`func NewGetSearchSuggestResponse(status APIStatus, code string, reason string, ) *GetSearchSuggestResponse` + +NewGetSearchSuggestResponse instantiates a new GetSearchSuggestResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetSearchSuggestResponseWithDefaults + +`func NewGetSearchSuggestResponseWithDefaults() *GetSearchSuggestResponse` + +NewGetSearchSuggestResponseWithDefaults instantiates a new GetSearchSuggestResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetSearchSuggestResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetSearchSuggestResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetSearchSuggestResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetPages + +`func (o *GetSearchSuggestResponse) GetPages() []ModerationPageSearchProjected` + +GetPages returns the Pages field if non-nil, zero value otherwise. + +### GetPagesOk + +`func (o *GetSearchSuggestResponse) GetPagesOk() (*[]ModerationPageSearchProjected, bool)` + +GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPages + +`func (o *GetSearchSuggestResponse) SetPages(v []ModerationPageSearchProjected)` + +SetPages sets Pages field to given value. + +### HasPages + +`func (o *GetSearchSuggestResponse) HasPages() bool` + +HasPages returns a boolean if a field has been set. + +### GetUsers + +`func (o *GetSearchSuggestResponse) GetUsers() []ModerationUserSearchProjected` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *GetSearchSuggestResponse) GetUsersOk() (*[]ModerationUserSearchProjected, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *GetSearchSuggestResponse) SetUsers(v []ModerationUserSearchProjected)` + +SetUsers sets Users field to given value. + +### HasUsers + +`func (o *GetSearchSuggestResponse) HasUsers() bool` + +HasUsers returns a boolean if a field has been set. + +### GetCode + +`func (o *GetSearchSuggestResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetSearchSuggestResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetSearchSuggestResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *GetSearchSuggestResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetSearchSuggestResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetSearchSuggestResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *GetSearchSuggestResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetSearchSuggestResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetSearchSuggestResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetSearchSuggestResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetSearchSuggestResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetSearchSuggestResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetSearchSuggestResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetSearchSuggestResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetSearchSuggestResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetSearchSuggestResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetSearchSuggestResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetSearchSuggestResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetSearchSuggestResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetSearchSuggestResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetSearchSuggestResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetSearchSuggestResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetSearchSuggestResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetSearchSuggestResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetSearchSuggestResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetSearchSuggestResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md new file mode 100644 index 0000000..3bdb618 --- /dev/null +++ b/client/docs/GetSearchUsersResponse.md @@ -0,0 +1,244 @@ +# GetSearchUsersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Users** | [**[]ModerationUserSearchProjected**](ModerationUserSearchProjected.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetSearchUsersResponse + +`func NewGetSearchUsersResponse(users []ModerationUserSearchProjected, status APIStatus, reason string, code string, ) *GetSearchUsersResponse` + +NewGetSearchUsersResponse instantiates a new GetSearchUsersResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetSearchUsersResponseWithDefaults + +`func NewGetSearchUsersResponseWithDefaults() *GetSearchUsersResponse` + +NewGetSearchUsersResponseWithDefaults instantiates a new GetSearchUsersResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUsers + +`func (o *GetSearchUsersResponse) GetUsers() []ModerationUserSearchProjected` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *GetSearchUsersResponse) GetUsersOk() (*[]ModerationUserSearchProjected, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *GetSearchUsersResponse) SetUsers(v []ModerationUserSearchProjected)` + +SetUsers sets Users field to given value. + + +### GetStatus + +`func (o *GetSearchUsersResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetSearchUsersResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetSearchUsersResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetSearchUsersResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetSearchUsersResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetSearchUsersResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetSearchUsersResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetSearchUsersResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetSearchUsersResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetSearchUsersResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetSearchUsersResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetSearchUsersResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetSearchUsersResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetSearchUsersResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetSearchUsersResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetSearchUsersResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetSearchUsersResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetSearchUsersResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetSearchUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetSearchUsersResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetSearchUsersResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetSearchUsersResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetSearchUsersResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetSearchUsersResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetSearchUsersResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetSearchUsersResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetSearchUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetSearchUsersResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetSearchUsersResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md new file mode 100644 index 0000000..bc87b75 --- /dev/null +++ b/client/docs/GetTenantDailyUsagesResponse1.md @@ -0,0 +1,244 @@ +# GetTenantDailyUsagesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantDailyUsages** | [**[]APITenantDailyUsage**](APITenantDailyUsage.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantDailyUsagesResponse1 + +`func NewGetTenantDailyUsagesResponse1(status APIStatus, tenantDailyUsages []APITenantDailyUsage, reason string, code string, ) *GetTenantDailyUsagesResponse1` + +NewGetTenantDailyUsagesResponse1 instantiates a new GetTenantDailyUsagesResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantDailyUsagesResponse1WithDefaults + +`func NewGetTenantDailyUsagesResponse1WithDefaults() *GetTenantDailyUsagesResponse1` + +NewGetTenantDailyUsagesResponse1WithDefaults instantiates a new GetTenantDailyUsagesResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantDailyUsagesResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantDailyUsagesResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantDailyUsagesResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantDailyUsages + +`func (o *GetTenantDailyUsagesResponse1) GetTenantDailyUsages() []APITenantDailyUsage` + +GetTenantDailyUsages returns the TenantDailyUsages field if non-nil, zero value otherwise. + +### GetTenantDailyUsagesOk + +`func (o *GetTenantDailyUsagesResponse1) GetTenantDailyUsagesOk() (*[]APITenantDailyUsage, bool)` + +GetTenantDailyUsagesOk returns a tuple with the TenantDailyUsages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantDailyUsages + +`func (o *GetTenantDailyUsagesResponse1) SetTenantDailyUsages(v []APITenantDailyUsage)` + +SetTenantDailyUsages sets TenantDailyUsages field to given value. + + +### GetReason + +`func (o *GetTenantDailyUsagesResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantDailyUsagesResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantDailyUsagesResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantDailyUsagesResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantDailyUsagesResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantDailyUsagesResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantDailyUsagesResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantDailyUsagesResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantDailyUsagesResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantDailyUsagesResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantDailyUsagesResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantDailyUsagesResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantDailyUsagesResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantDailyUsagesResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantDailyUsagesResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantDailyUsagesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantDailyUsagesResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantDailyUsagesResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantDailyUsagesResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantDailyUsagesResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantDailyUsagesResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantDailyUsagesResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantDailyUsagesResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantDailyUsagesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantDailyUsagesResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantDailyUsagesResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md new file mode 100644 index 0000000..e62cc16 --- /dev/null +++ b/client/docs/GetTenantPackageResponse1.md @@ -0,0 +1,244 @@ +# GetTenantPackageResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantPackage** | [**TenantPackage**](TenantPackage.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantPackageResponse1 + +`func NewGetTenantPackageResponse1(status APIStatus, tenantPackage TenantPackage, reason string, code string, ) *GetTenantPackageResponse1` + +NewGetTenantPackageResponse1 instantiates a new GetTenantPackageResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantPackageResponse1WithDefaults + +`func NewGetTenantPackageResponse1WithDefaults() *GetTenantPackageResponse1` + +NewGetTenantPackageResponse1WithDefaults instantiates a new GetTenantPackageResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantPackageResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantPackageResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantPackageResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantPackage + +`func (o *GetTenantPackageResponse1) GetTenantPackage() TenantPackage` + +GetTenantPackage returns the TenantPackage field if non-nil, zero value otherwise. + +### GetTenantPackageOk + +`func (o *GetTenantPackageResponse1) GetTenantPackageOk() (*TenantPackage, bool)` + +GetTenantPackageOk returns a tuple with the TenantPackage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantPackage + +`func (o *GetTenantPackageResponse1) SetTenantPackage(v TenantPackage)` + +SetTenantPackage sets TenantPackage field to given value. + + +### GetReason + +`func (o *GetTenantPackageResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantPackageResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantPackageResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantPackageResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantPackageResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantPackageResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantPackageResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantPackageResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantPackageResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantPackageResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantPackageResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantPackageResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantPackageResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantPackageResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantPackageResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantPackageResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantPackageResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantPackageResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantPackageResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantPackageResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantPackageResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantPackageResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantPackageResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantPackageResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantPackageResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantPackageResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md new file mode 100644 index 0000000..8efaba2 --- /dev/null +++ b/client/docs/GetTenantPackagesResponse1.md @@ -0,0 +1,244 @@ +# GetTenantPackagesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantPackages** | [**[]TenantPackage**](TenantPackage.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantPackagesResponse1 + +`func NewGetTenantPackagesResponse1(status APIStatus, tenantPackages []TenantPackage, reason string, code string, ) *GetTenantPackagesResponse1` + +NewGetTenantPackagesResponse1 instantiates a new GetTenantPackagesResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantPackagesResponse1WithDefaults + +`func NewGetTenantPackagesResponse1WithDefaults() *GetTenantPackagesResponse1` + +NewGetTenantPackagesResponse1WithDefaults instantiates a new GetTenantPackagesResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantPackagesResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantPackagesResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantPackagesResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantPackages + +`func (o *GetTenantPackagesResponse1) GetTenantPackages() []TenantPackage` + +GetTenantPackages returns the TenantPackages field if non-nil, zero value otherwise. + +### GetTenantPackagesOk + +`func (o *GetTenantPackagesResponse1) GetTenantPackagesOk() (*[]TenantPackage, bool)` + +GetTenantPackagesOk returns a tuple with the TenantPackages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantPackages + +`func (o *GetTenantPackagesResponse1) SetTenantPackages(v []TenantPackage)` + +SetTenantPackages sets TenantPackages field to given value. + + +### GetReason + +`func (o *GetTenantPackagesResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantPackagesResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantPackagesResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantPackagesResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantPackagesResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantPackagesResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantPackagesResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantPackagesResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantPackagesResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantPackagesResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantPackagesResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantPackagesResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantPackagesResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantPackagesResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantPackagesResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantPackagesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantPackagesResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantPackagesResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantPackagesResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantPackagesResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantPackagesResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantPackagesResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantPackagesResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantPackagesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantPackagesResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantPackagesResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md new file mode 100644 index 0000000..2b246e1 --- /dev/null +++ b/client/docs/GetTenantResponse1.md @@ -0,0 +1,244 @@ +# GetTenantResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Tenant** | [**APITenant**](APITenant.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantResponse1 + +`func NewGetTenantResponse1(status APIStatus, tenant APITenant, reason string, code string, ) *GetTenantResponse1` + +NewGetTenantResponse1 instantiates a new GetTenantResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantResponse1WithDefaults + +`func NewGetTenantResponse1WithDefaults() *GetTenantResponse1` + +NewGetTenantResponse1WithDefaults instantiates a new GetTenantResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenant + +`func (o *GetTenantResponse1) GetTenant() APITenant` + +GetTenant returns the Tenant field if non-nil, zero value otherwise. + +### GetTenantOk + +`func (o *GetTenantResponse1) GetTenantOk() (*APITenant, bool)` + +GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenant + +`func (o *GetTenantResponse1) SetTenant(v APITenant)` + +SetTenant sets Tenant field to given value. + + +### GetReason + +`func (o *GetTenantResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md new file mode 100644 index 0000000..a43edd3 --- /dev/null +++ b/client/docs/GetTenantUserResponse1.md @@ -0,0 +1,244 @@ +# GetTenantUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantUser** | [**User**](User.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantUserResponse1 + +`func NewGetTenantUserResponse1(status APIStatus, tenantUser User, reason string, code string, ) *GetTenantUserResponse1` + +NewGetTenantUserResponse1 instantiates a new GetTenantUserResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantUserResponse1WithDefaults + +`func NewGetTenantUserResponse1WithDefaults() *GetTenantUserResponse1` + +NewGetTenantUserResponse1WithDefaults instantiates a new GetTenantUserResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantUserResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantUserResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantUserResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantUser + +`func (o *GetTenantUserResponse1) GetTenantUser() User` + +GetTenantUser returns the TenantUser field if non-nil, zero value otherwise. + +### GetTenantUserOk + +`func (o *GetTenantUserResponse1) GetTenantUserOk() (*User, bool)` + +GetTenantUserOk returns a tuple with the TenantUser field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantUser + +`func (o *GetTenantUserResponse1) SetTenantUser(v User)` + +SetTenantUser sets TenantUser field to given value. + + +### GetReason + +`func (o *GetTenantUserResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantUserResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantUserResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantUserResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantUserResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantUserResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantUserResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantUserResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantUserResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantUserResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantUserResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantUserResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantUserResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantUserResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantUserResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantUserResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantUserResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantUserResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantUserResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantUserResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantUserResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantUserResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantUserResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantUserResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md new file mode 100644 index 0000000..ed7cc3a --- /dev/null +++ b/client/docs/GetTenantUsersResponse1.md @@ -0,0 +1,244 @@ +# GetTenantUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TenantUsers** | [**[]User**](User.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantUsersResponse1 + +`func NewGetTenantUsersResponse1(status APIStatus, tenantUsers []User, reason string, code string, ) *GetTenantUsersResponse1` + +NewGetTenantUsersResponse1 instantiates a new GetTenantUsersResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantUsersResponse1WithDefaults + +`func NewGetTenantUsersResponse1WithDefaults() *GetTenantUsersResponse1` + +NewGetTenantUsersResponse1WithDefaults instantiates a new GetTenantUsersResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantUsersResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantUsersResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantUsersResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenantUsers + +`func (o *GetTenantUsersResponse1) GetTenantUsers() []User` + +GetTenantUsers returns the TenantUsers field if non-nil, zero value otherwise. + +### GetTenantUsersOk + +`func (o *GetTenantUsersResponse1) GetTenantUsersOk() (*[]User, bool)` + +GetTenantUsersOk returns a tuple with the TenantUsers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenantUsers + +`func (o *GetTenantUsersResponse1) SetTenantUsers(v []User)` + +SetTenantUsers sets TenantUsers field to given value. + + +### GetReason + +`func (o *GetTenantUsersResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantUsersResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantUsersResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantUsersResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantUsersResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantUsersResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantUsersResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantUsersResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantUsersResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantUsersResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantUsersResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantUsersResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantUsersResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantUsersResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantUsersResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantUsersResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantUsersResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantUsersResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantUsersResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantUsersResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantUsersResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantUsersResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantUsersResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantUsersResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md new file mode 100644 index 0000000..64f3550 --- /dev/null +++ b/client/docs/GetTenantsResponse1.md @@ -0,0 +1,244 @@ +# GetTenantsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Tenants** | [**[]APITenant**](APITenant.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTenantsResponse1 + +`func NewGetTenantsResponse1(status APIStatus, tenants []APITenant, reason string, code string, ) *GetTenantsResponse1` + +NewGetTenantsResponse1 instantiates a new GetTenantsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTenantsResponse1WithDefaults + +`func NewGetTenantsResponse1WithDefaults() *GetTenantsResponse1` + +NewGetTenantsResponse1WithDefaults instantiates a new GetTenantsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTenantsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTenantsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTenantsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTenants + +`func (o *GetTenantsResponse1) GetTenants() []APITenant` + +GetTenants returns the Tenants field if non-nil, zero value otherwise. + +### GetTenantsOk + +`func (o *GetTenantsResponse1) GetTenantsOk() (*[]APITenant, bool)` + +GetTenantsOk returns a tuple with the Tenants field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTenants + +`func (o *GetTenantsResponse1) SetTenants(v []APITenant)` + +SetTenants sets Tenants field to given value. + + +### GetReason + +`func (o *GetTenantsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTenantsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTenantsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTenantsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTenantsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTenantsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTenantsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTenantsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTenantsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTenantsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTenantsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTenantsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTenantsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTenantsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTenantsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTenantsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTenantsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTenantsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTenantsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTenantsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTenantsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTenantsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTenantsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTenantsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTenantsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTenantsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md new file mode 100644 index 0000000..36c0403 --- /dev/null +++ b/client/docs/GetTicketResponse1.md @@ -0,0 +1,265 @@ +# GetTicketResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Ticket** | [**APITicketDetail**](APITicketDetail.md) | | +**AvailableStates** | **[]float64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTicketResponse1 + +`func NewGetTicketResponse1(status APIStatus, ticket APITicketDetail, availableStates []float64, reason string, code string, ) *GetTicketResponse1` + +NewGetTicketResponse1 instantiates a new GetTicketResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTicketResponse1WithDefaults + +`func NewGetTicketResponse1WithDefaults() *GetTicketResponse1` + +NewGetTicketResponse1WithDefaults instantiates a new GetTicketResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTicketResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTicketResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTicketResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTicket + +`func (o *GetTicketResponse1) GetTicket() APITicketDetail` + +GetTicket returns the Ticket field if non-nil, zero value otherwise. + +### GetTicketOk + +`func (o *GetTicketResponse1) GetTicketOk() (*APITicketDetail, bool)` + +GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTicket + +`func (o *GetTicketResponse1) SetTicket(v APITicketDetail)` + +SetTicket sets Ticket field to given value. + + +### GetAvailableStates + +`func (o *GetTicketResponse1) GetAvailableStates() []float64` + +GetAvailableStates returns the AvailableStates field if non-nil, zero value otherwise. + +### GetAvailableStatesOk + +`func (o *GetTicketResponse1) GetAvailableStatesOk() (*[]float64, bool)` + +GetAvailableStatesOk returns a tuple with the AvailableStates field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAvailableStates + +`func (o *GetTicketResponse1) SetAvailableStates(v []float64)` + +SetAvailableStates sets AvailableStates field to given value. + + +### GetReason + +`func (o *GetTicketResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTicketResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTicketResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTicketResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTicketResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTicketResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTicketResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTicketResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTicketResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTicketResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTicketResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTicketResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTicketResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTicketResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTicketResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTicketResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTicketResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTicketResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTicketResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTicketResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTicketResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTicketResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTicketResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTicketResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTicketResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTicketResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md new file mode 100644 index 0000000..e6029ec --- /dev/null +++ b/client/docs/GetTicketsResponse1.md @@ -0,0 +1,244 @@ +# GetTicketsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Tickets** | [**[]APITicket**](APITicket.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTicketsResponse1 + +`func NewGetTicketsResponse1(status APIStatus, tickets []APITicket, reason string, code string, ) *GetTicketsResponse1` + +NewGetTicketsResponse1 instantiates a new GetTicketsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTicketsResponse1WithDefaults + +`func NewGetTicketsResponse1WithDefaults() *GetTicketsResponse1` + +NewGetTicketsResponse1WithDefaults instantiates a new GetTicketsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetTicketsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTicketsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTicketsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTickets + +`func (o *GetTicketsResponse1) GetTickets() []APITicket` + +GetTickets returns the Tickets field if non-nil, zero value otherwise. + +### GetTicketsOk + +`func (o *GetTicketsResponse1) GetTicketsOk() (*[]APITicket, bool)` + +GetTicketsOk returns a tuple with the Tickets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTickets + +`func (o *GetTicketsResponse1) SetTickets(v []APITicket)` + +SetTickets sets Tickets field to given value. + + +### GetReason + +`func (o *GetTicketsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTicketsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTicketsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTicketsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTicketsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTicketsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTicketsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTicketsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTicketsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTicketsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTicketsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTicketsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTicketsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTicketsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTicketsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTicketsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTicketsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTicketsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTicketsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTicketsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTicketsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTicketsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTicketsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTicketsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTicketsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTicketsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md new file mode 100644 index 0000000..c1d870d --- /dev/null +++ b/client/docs/GetTranslationsResponse1.md @@ -0,0 +1,244 @@ +# GetTranslationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Translations** | **map[string]string** | Construct a type with a set of properties K of type T | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTranslationsResponse1 + +`func NewGetTranslationsResponse1(translations map[string]string, status APIStatus, reason string, code string, ) *GetTranslationsResponse1` + +NewGetTranslationsResponse1 instantiates a new GetTranslationsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTranslationsResponse1WithDefaults + +`func NewGetTranslationsResponse1WithDefaults() *GetTranslationsResponse1` + +NewGetTranslationsResponse1WithDefaults instantiates a new GetTranslationsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTranslations + +`func (o *GetTranslationsResponse1) GetTranslations() map[string]string` + +GetTranslations returns the Translations field if non-nil, zero value otherwise. + +### GetTranslationsOk + +`func (o *GetTranslationsResponse1) GetTranslationsOk() (*map[string]string, bool)` + +GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslations + +`func (o *GetTranslationsResponse1) SetTranslations(v map[string]string)` + +SetTranslations sets Translations field to given value. + + +### GetStatus + +`func (o *GetTranslationsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTranslationsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTranslationsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetTranslationsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTranslationsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTranslationsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTranslationsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTranslationsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTranslationsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTranslationsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTranslationsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTranslationsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTranslationsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTranslationsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTranslationsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTranslationsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTranslationsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTranslationsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTranslationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTranslationsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTranslationsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTranslationsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTranslationsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTranslationsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTranslationsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTranslationsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTranslationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTranslationsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTranslationsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md new file mode 100644 index 0000000..0f2a2c9 --- /dev/null +++ b/client/docs/GetTrustFactorResponse.md @@ -0,0 +1,275 @@ +# GetTrustFactorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ManualTrustFactor** | Pointer to **float64** | | [optional] +**AutoTrustFactor** | Pointer to **float64** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetTrustFactorResponse + +`func NewGetTrustFactorResponse(status APIStatus, reason string, code string, ) *GetTrustFactorResponse` + +NewGetTrustFactorResponse instantiates a new GetTrustFactorResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetTrustFactorResponseWithDefaults + +`func NewGetTrustFactorResponseWithDefaults() *GetTrustFactorResponse` + +NewGetTrustFactorResponseWithDefaults instantiates a new GetTrustFactorResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetManualTrustFactor + +`func (o *GetTrustFactorResponse) GetManualTrustFactor() float64` + +GetManualTrustFactor returns the ManualTrustFactor field if non-nil, zero value otherwise. + +### GetManualTrustFactorOk + +`func (o *GetTrustFactorResponse) GetManualTrustFactorOk() (*float64, bool)` + +GetManualTrustFactorOk returns a tuple with the ManualTrustFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManualTrustFactor + +`func (o *GetTrustFactorResponse) SetManualTrustFactor(v float64)` + +SetManualTrustFactor sets ManualTrustFactor field to given value. + +### HasManualTrustFactor + +`func (o *GetTrustFactorResponse) HasManualTrustFactor() bool` + +HasManualTrustFactor returns a boolean if a field has been set. + +### GetAutoTrustFactor + +`func (o *GetTrustFactorResponse) GetAutoTrustFactor() float64` + +GetAutoTrustFactor returns the AutoTrustFactor field if non-nil, zero value otherwise. + +### GetAutoTrustFactorOk + +`func (o *GetTrustFactorResponse) GetAutoTrustFactorOk() (*float64, bool)` + +GetAutoTrustFactorOk returns a tuple with the AutoTrustFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAutoTrustFactor + +`func (o *GetTrustFactorResponse) SetAutoTrustFactor(v float64)` + +SetAutoTrustFactor sets AutoTrustFactor field to given value. + +### HasAutoTrustFactor + +`func (o *GetTrustFactorResponse) HasAutoTrustFactor() bool` + +HasAutoTrustFactor returns a boolean if a field has been set. + +### GetStatus + +`func (o *GetTrustFactorResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetTrustFactorResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetTrustFactorResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetTrustFactorResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetTrustFactorResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetTrustFactorResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetTrustFactorResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetTrustFactorResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetTrustFactorResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetTrustFactorResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetTrustFactorResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetTrustFactorResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetTrustFactorResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetTrustFactorResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetTrustFactorResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetTrustFactorResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetTrustFactorResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetTrustFactorResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetTrustFactorResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetTrustFactorResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetTrustFactorResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetTrustFactorResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetTrustFactorResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetTrustFactorResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetTrustFactorResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetTrustFactorResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetTrustFactorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetTrustFactorResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetTrustFactorResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md new file mode 100644 index 0000000..5449244 --- /dev/null +++ b/client/docs/GetUserBadgeProgressByIdResponse.md @@ -0,0 +1,244 @@ +# GetUserBadgeProgressByIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBadgeProgressByIdResponse + +`func NewGetUserBadgeProgressByIdResponse(status APIStatus, userBadgeProgress UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressByIdResponse` + +NewGetUserBadgeProgressByIdResponse instantiates a new GetUserBadgeProgressByIdResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBadgeProgressByIdResponseWithDefaults + +`func NewGetUserBadgeProgressByIdResponseWithDefaults() *GetUserBadgeProgressByIdResponse` + +NewGetUserBadgeProgressByIdResponseWithDefaults instantiates a new GetUserBadgeProgressByIdResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserBadgeProgressByIdResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBadgeProgressByIdResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBadgeProgressByIdResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadgeProgress + +`func (o *GetUserBadgeProgressByIdResponse) GetUserBadgeProgress() UserBadgeProgress` + +GetUserBadgeProgress returns the UserBadgeProgress field if non-nil, zero value otherwise. + +### GetUserBadgeProgressOk + +`func (o *GetUserBadgeProgressByIdResponse) GetUserBadgeProgressOk() (*UserBadgeProgress, bool)` + +GetUserBadgeProgressOk returns a tuple with the UserBadgeProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadgeProgress + +`func (o *GetUserBadgeProgressByIdResponse) SetUserBadgeProgress(v UserBadgeProgress)` + +SetUserBadgeProgress sets UserBadgeProgress field to given value. + + +### GetReason + +`func (o *GetUserBadgeProgressByIdResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBadgeProgressByIdResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBadgeProgressByIdResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBadgeProgressByIdResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBadgeProgressByIdResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBadgeProgressByIdResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBadgeProgressByIdResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBadgeProgressByIdResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBadgeProgressByIdResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBadgeProgressByIdResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBadgeProgressByIdResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBadgeProgressByIdResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBadgeProgressByIdResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBadgeProgressByIdResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBadgeProgressByIdResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBadgeProgressByIdResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBadgeProgressByIdResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBadgeProgressByIdResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBadgeProgressByIdResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBadgeProgressByIdResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBadgeProgressByIdResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBadgeProgressByIdResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBadgeProgressByIdResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBadgeProgressByIdResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBadgeProgressByIdResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBadgeProgressByIdResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md new file mode 100644 index 0000000..74681f2 --- /dev/null +++ b/client/docs/GetUserBadgeProgressByUserIdResponse.md @@ -0,0 +1,244 @@ +# GetUserBadgeProgressByUserIdResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBadgeProgressByUserIdResponse + +`func NewGetUserBadgeProgressByUserIdResponse(status APIStatus, userBadgeProgress UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressByUserIdResponse` + +NewGetUserBadgeProgressByUserIdResponse instantiates a new GetUserBadgeProgressByUserIdResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBadgeProgressByUserIdResponseWithDefaults + +`func NewGetUserBadgeProgressByUserIdResponseWithDefaults() *GetUserBadgeProgressByUserIdResponse` + +NewGetUserBadgeProgressByUserIdResponseWithDefaults instantiates a new GetUserBadgeProgressByUserIdResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserBadgeProgressByUserIdResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBadgeProgressByUserIdResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadgeProgress + +`func (o *GetUserBadgeProgressByUserIdResponse) GetUserBadgeProgress() UserBadgeProgress` + +GetUserBadgeProgress returns the UserBadgeProgress field if non-nil, zero value otherwise. + +### GetUserBadgeProgressOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetUserBadgeProgressOk() (*UserBadgeProgress, bool)` + +GetUserBadgeProgressOk returns a tuple with the UserBadgeProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadgeProgress + +`func (o *GetUserBadgeProgressByUserIdResponse) SetUserBadgeProgress(v UserBadgeProgress)` + +SetUserBadgeProgress sets UserBadgeProgress field to given value. + + +### GetReason + +`func (o *GetUserBadgeProgressByUserIdResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBadgeProgressByUserIdResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBadgeProgressByUserIdResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBadgeProgressByUserIdResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBadgeProgressByUserIdResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBadgeProgressByUserIdResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBadgeProgressByUserIdResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBadgeProgressByUserIdResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBadgeProgressByUserIdResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBadgeProgressByUserIdResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBadgeProgressByUserIdResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBadgeProgressByUserIdResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBadgeProgressByUserIdResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBadgeProgressByUserIdResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBadgeProgressByUserIdResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBadgeProgressByUserIdResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBadgeProgressByUserIdResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBadgeProgressByUserIdResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBadgeProgressByUserIdResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBadgeProgressByUserIdResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md new file mode 100644 index 0000000..1d77f22 --- /dev/null +++ b/client/docs/GetUserBadgeProgressListResponse.md @@ -0,0 +1,244 @@ +# GetUserBadgeProgressListResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadgeProgresses** | [**[]UserBadgeProgress**](UserBadgeProgress.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBadgeProgressListResponse + +`func NewGetUserBadgeProgressListResponse(status APIStatus, userBadgeProgresses []UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressListResponse` + +NewGetUserBadgeProgressListResponse instantiates a new GetUserBadgeProgressListResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBadgeProgressListResponseWithDefaults + +`func NewGetUserBadgeProgressListResponseWithDefaults() *GetUserBadgeProgressListResponse` + +NewGetUserBadgeProgressListResponseWithDefaults instantiates a new GetUserBadgeProgressListResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserBadgeProgressListResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBadgeProgressListResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBadgeProgressListResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadgeProgresses + +`func (o *GetUserBadgeProgressListResponse) GetUserBadgeProgresses() []UserBadgeProgress` + +GetUserBadgeProgresses returns the UserBadgeProgresses field if non-nil, zero value otherwise. + +### GetUserBadgeProgressesOk + +`func (o *GetUserBadgeProgressListResponse) GetUserBadgeProgressesOk() (*[]UserBadgeProgress, bool)` + +GetUserBadgeProgressesOk returns a tuple with the UserBadgeProgresses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadgeProgresses + +`func (o *GetUserBadgeProgressListResponse) SetUserBadgeProgresses(v []UserBadgeProgress)` + +SetUserBadgeProgresses sets UserBadgeProgresses field to given value. + + +### GetReason + +`func (o *GetUserBadgeProgressListResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBadgeProgressListResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBadgeProgressListResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBadgeProgressListResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBadgeProgressListResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBadgeProgressListResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBadgeProgressListResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBadgeProgressListResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBadgeProgressListResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBadgeProgressListResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBadgeProgressListResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBadgeProgressListResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBadgeProgressListResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBadgeProgressListResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBadgeProgressListResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBadgeProgressListResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBadgeProgressListResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBadgeProgressListResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBadgeProgressListResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBadgeProgressListResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBadgeProgressListResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBadgeProgressListResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBadgeProgressListResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBadgeProgressListResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBadgeProgressListResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBadgeProgressListResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md new file mode 100644 index 0000000..f8f59af --- /dev/null +++ b/client/docs/GetUserBadgeResponse.md @@ -0,0 +1,244 @@ +# GetUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadge** | [**UserBadge**](UserBadge.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBadgeResponse + +`func NewGetUserBadgeResponse(status APIStatus, userBadge UserBadge, reason string, code string, ) *GetUserBadgeResponse` + +NewGetUserBadgeResponse instantiates a new GetUserBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBadgeResponseWithDefaults + +`func NewGetUserBadgeResponseWithDefaults() *GetUserBadgeResponse` + +NewGetUserBadgeResponseWithDefaults instantiates a new GetUserBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadge + +`func (o *GetUserBadgeResponse) GetUserBadge() UserBadge` + +GetUserBadge returns the UserBadge field if non-nil, zero value otherwise. + +### GetUserBadgeOk + +`func (o *GetUserBadgeResponse) GetUserBadgeOk() (*UserBadge, bool)` + +GetUserBadgeOk returns a tuple with the UserBadge field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadge + +`func (o *GetUserBadgeResponse) SetUserBadge(v UserBadge)` + +SetUserBadge sets UserBadge field to given value. + + +### GetReason + +`func (o *GetUserBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md new file mode 100644 index 0000000..5636287 --- /dev/null +++ b/client/docs/GetUserBadgesResponse.md @@ -0,0 +1,244 @@ +# GetUserBadgesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserBadges** | [**[]UserBadge**](UserBadge.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBadgesResponse + +`func NewGetUserBadgesResponse(status APIStatus, userBadges []UserBadge, reason string, code string, ) *GetUserBadgesResponse` + +NewGetUserBadgesResponse instantiates a new GetUserBadgesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBadgesResponseWithDefaults + +`func NewGetUserBadgesResponseWithDefaults() *GetUserBadgesResponse` + +NewGetUserBadgesResponseWithDefaults instantiates a new GetUserBadgesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserBadgesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBadgesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBadgesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserBadges + +`func (o *GetUserBadgesResponse) GetUserBadges() []UserBadge` + +GetUserBadges returns the UserBadges field if non-nil, zero value otherwise. + +### GetUserBadgesOk + +`func (o *GetUserBadgesResponse) GetUserBadgesOk() (*[]UserBadge, bool)` + +GetUserBadgesOk returns a tuple with the UserBadges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserBadges + +`func (o *GetUserBadgesResponse) SetUserBadges(v []UserBadge)` + +SetUserBadges sets UserBadges field to given value. + + +### GetReason + +`func (o *GetUserBadgesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBadgesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBadgesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBadgesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBadgesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBadgesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBadgesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBadgesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBadgesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBadgesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBadgesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBadgesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBadgesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBadgesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBadgesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBadgesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBadgesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBadgesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBadgesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBadgesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBadgesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBadgesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBadgesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBadgesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBadgesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBadgesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md new file mode 100644 index 0000000..800419b --- /dev/null +++ b/client/docs/GetUserBanPreferenceResponse.md @@ -0,0 +1,254 @@ +# GetUserBanPreferenceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Preferences** | [**NullableAPIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserBanPreferenceResponse + +`func NewGetUserBanPreferenceResponse(preferences NullableAPIModerateUserBanPreferences, status APIStatus, reason string, code string, ) *GetUserBanPreferenceResponse` + +NewGetUserBanPreferenceResponse instantiates a new GetUserBanPreferenceResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserBanPreferenceResponseWithDefaults + +`func NewGetUserBanPreferenceResponseWithDefaults() *GetUserBanPreferenceResponse` + +NewGetUserBanPreferenceResponseWithDefaults instantiates a new GetUserBanPreferenceResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPreferences + +`func (o *GetUserBanPreferenceResponse) GetPreferences() APIModerateUserBanPreferences` + +GetPreferences returns the Preferences field if non-nil, zero value otherwise. + +### GetPreferencesOk + +`func (o *GetUserBanPreferenceResponse) GetPreferencesOk() (*APIModerateUserBanPreferences, bool)` + +GetPreferencesOk returns a tuple with the Preferences field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreferences + +`func (o *GetUserBanPreferenceResponse) SetPreferences(v APIModerateUserBanPreferences)` + +SetPreferences sets Preferences field to given value. + + +### SetPreferencesNil + +`func (o *GetUserBanPreferenceResponse) SetPreferencesNil(b bool)` + + SetPreferencesNil sets the value for Preferences to be an explicit nil + +### UnsetPreferences +`func (o *GetUserBanPreferenceResponse) UnsetPreferences()` + +UnsetPreferences ensures that no value is present for Preferences, not even an explicit nil +### GetStatus + +`func (o *GetUserBanPreferenceResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserBanPreferenceResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserBanPreferenceResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetUserBanPreferenceResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserBanPreferenceResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserBanPreferenceResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserBanPreferenceResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserBanPreferenceResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserBanPreferenceResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserBanPreferenceResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserBanPreferenceResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserBanPreferenceResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserBanPreferenceResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserBanPreferenceResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserBanPreferenceResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserBanPreferenceResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserBanPreferenceResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserBanPreferenceResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserBanPreferenceResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserBanPreferenceResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserBanPreferenceResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserBanPreferenceResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserBanPreferenceResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserBanPreferenceResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserBanPreferenceResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserBanPreferenceResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserBanPreferenceResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserBanPreferenceResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserBanPreferenceResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md new file mode 100644 index 0000000..b834054 --- /dev/null +++ b/client/docs/GetUserInternalProfileResponse1.md @@ -0,0 +1,244 @@ +# GetUserInternalProfileResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Profile** | [**GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserInternalProfileResponse1 + +`func NewGetUserInternalProfileResponse1(profile GetUserInternalProfileResponseProfile, status APIStatus, reason string, code string, ) *GetUserInternalProfileResponse1` + +NewGetUserInternalProfileResponse1 instantiates a new GetUserInternalProfileResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserInternalProfileResponse1WithDefaults + +`func NewGetUserInternalProfileResponse1WithDefaults() *GetUserInternalProfileResponse1` + +NewGetUserInternalProfileResponse1WithDefaults instantiates a new GetUserInternalProfileResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetProfile + +`func (o *GetUserInternalProfileResponse1) GetProfile() GetUserInternalProfileResponseProfile` + +GetProfile returns the Profile field if non-nil, zero value otherwise. + +### GetProfileOk + +`func (o *GetUserInternalProfileResponse1) GetProfileOk() (*GetUserInternalProfileResponseProfile, bool)` + +GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfile + +`func (o *GetUserInternalProfileResponse1) SetProfile(v GetUserInternalProfileResponseProfile)` + +SetProfile sets Profile field to given value. + + +### GetStatus + +`func (o *GetUserInternalProfileResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserInternalProfileResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserInternalProfileResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetUserInternalProfileResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserInternalProfileResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserInternalProfileResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserInternalProfileResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserInternalProfileResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserInternalProfileResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserInternalProfileResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserInternalProfileResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserInternalProfileResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserInternalProfileResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserInternalProfileResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserInternalProfileResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserInternalProfileResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserInternalProfileResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserInternalProfileResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserInternalProfileResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserInternalProfileResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserInternalProfileResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserInternalProfileResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserInternalProfileResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserInternalProfileResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserInternalProfileResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserInternalProfileResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserInternalProfileResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserInternalProfileResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserInternalProfileResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md new file mode 100644 index 0000000..2f11f6e --- /dev/null +++ b/client/docs/GetUserNotificationCountResponse1.md @@ -0,0 +1,244 @@ +# GetUserNotificationCountResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Count** | **int64** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserNotificationCountResponse1 + +`func NewGetUserNotificationCountResponse1(status APIStatus, count int64, reason string, code string, ) *GetUserNotificationCountResponse1` + +NewGetUserNotificationCountResponse1 instantiates a new GetUserNotificationCountResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserNotificationCountResponse1WithDefaults + +`func NewGetUserNotificationCountResponse1WithDefaults() *GetUserNotificationCountResponse1` + +NewGetUserNotificationCountResponse1WithDefaults instantiates a new GetUserNotificationCountResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserNotificationCountResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserNotificationCountResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCount + +`func (o *GetUserNotificationCountResponse1) GetCount() int64` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *GetUserNotificationCountResponse1) GetCountOk() (*int64, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *GetUserNotificationCountResponse1) SetCount(v int64)` + +SetCount sets Count field to given value. + + +### GetReason + +`func (o *GetUserNotificationCountResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserNotificationCountResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserNotificationCountResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserNotificationCountResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserNotificationCountResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserNotificationCountResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserNotificationCountResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserNotificationCountResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserNotificationCountResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserNotificationCountResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserNotificationCountResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserNotificationCountResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserNotificationCountResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserNotificationCountResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserNotificationCountResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserNotificationCountResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserNotificationCountResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserNotificationCountResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserNotificationCountResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md new file mode 100644 index 0000000..14d4b22 --- /dev/null +++ b/client/docs/GetUserNotificationsResponse.md @@ -0,0 +1,312 @@ +# GetUserNotificationsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Translations** | Pointer to **map[string]string** | Construct a type with a set of properties K of type T | [optional] +**IsSubscribed** | **bool** | | +**HasMore** | **bool** | | +**Notifications** | [**[]RenderableUserNotification**](RenderableUserNotification.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserNotificationsResponse + +`func NewGetUserNotificationsResponse(isSubscribed bool, hasMore bool, notifications []RenderableUserNotification, status APIStatus, reason string, code string, ) *GetUserNotificationsResponse` + +NewGetUserNotificationsResponse instantiates a new GetUserNotificationsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserNotificationsResponseWithDefaults + +`func NewGetUserNotificationsResponseWithDefaults() *GetUserNotificationsResponse` + +NewGetUserNotificationsResponseWithDefaults instantiates a new GetUserNotificationsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTranslations + +`func (o *GetUserNotificationsResponse) GetTranslations() map[string]string` + +GetTranslations returns the Translations field if non-nil, zero value otherwise. + +### GetTranslationsOk + +`func (o *GetUserNotificationsResponse) GetTranslationsOk() (*map[string]string, bool)` + +GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslations + +`func (o *GetUserNotificationsResponse) SetTranslations(v map[string]string)` + +SetTranslations sets Translations field to given value. + +### HasTranslations + +`func (o *GetUserNotificationsResponse) HasTranslations() bool` + +HasTranslations returns a boolean if a field has been set. + +### GetIsSubscribed + +`func (o *GetUserNotificationsResponse) GetIsSubscribed() bool` + +GetIsSubscribed returns the IsSubscribed field if non-nil, zero value otherwise. + +### GetIsSubscribedOk + +`func (o *GetUserNotificationsResponse) GetIsSubscribedOk() (*bool, bool)` + +GetIsSubscribedOk returns a tuple with the IsSubscribed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSubscribed + +`func (o *GetUserNotificationsResponse) SetIsSubscribed(v bool)` + +SetIsSubscribed sets IsSubscribed field to given value. + + +### GetHasMore + +`func (o *GetUserNotificationsResponse) GetHasMore() bool` + +GetHasMore returns the HasMore field if non-nil, zero value otherwise. + +### GetHasMoreOk + +`func (o *GetUserNotificationsResponse) GetHasMoreOk() (*bool, bool)` + +GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasMore + +`func (o *GetUserNotificationsResponse) SetHasMore(v bool)` + +SetHasMore sets HasMore field to given value. + + +### GetNotifications + +`func (o *GetUserNotificationsResponse) GetNotifications() []RenderableUserNotification` + +GetNotifications returns the Notifications field if non-nil, zero value otherwise. + +### GetNotificationsOk + +`func (o *GetUserNotificationsResponse) GetNotificationsOk() (*[]RenderableUserNotification, bool)` + +GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotifications + +`func (o *GetUserNotificationsResponse) SetNotifications(v []RenderableUserNotification)` + +SetNotifications sets Notifications field to given value. + + +### GetStatus + +`func (o *GetUserNotificationsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserNotificationsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserNotificationsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetUserNotificationsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserNotificationsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserNotificationsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserNotificationsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserNotificationsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserNotificationsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserNotificationsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserNotificationsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserNotificationsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserNotificationsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserNotificationsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserNotificationsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserNotificationsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserNotificationsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserNotificationsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserNotificationsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserNotificationsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserNotificationsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserNotificationsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserNotificationsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserNotificationsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserNotificationsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserNotificationsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserNotificationsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserNotificationsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserNotificationsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md new file mode 100644 index 0000000..d79845d --- /dev/null +++ b/client/docs/GetUserPresenceStatusesResponse1.md @@ -0,0 +1,244 @@ +# GetUserPresenceStatusesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**UserIdsOnline** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserPresenceStatusesResponse1 + +`func NewGetUserPresenceStatusesResponse1(status APIStatus, userIdsOnline map[string]bool, reason string, code string, ) *GetUserPresenceStatusesResponse1` + +NewGetUserPresenceStatusesResponse1 instantiates a new GetUserPresenceStatusesResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserPresenceStatusesResponse1WithDefaults + +`func NewGetUserPresenceStatusesResponse1WithDefaults() *GetUserPresenceStatusesResponse1` + +NewGetUserPresenceStatusesResponse1WithDefaults instantiates a new GetUserPresenceStatusesResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserPresenceStatusesResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserPresenceStatusesResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserPresenceStatusesResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUserIdsOnline + +`func (o *GetUserPresenceStatusesResponse1) GetUserIdsOnline() map[string]bool` + +GetUserIdsOnline returns the UserIdsOnline field if non-nil, zero value otherwise. + +### GetUserIdsOnlineOk + +`func (o *GetUserPresenceStatusesResponse1) GetUserIdsOnlineOk() (*map[string]bool, bool)` + +GetUserIdsOnlineOk returns a tuple with the UserIdsOnline field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserIdsOnline + +`func (o *GetUserPresenceStatusesResponse1) SetUserIdsOnline(v map[string]bool)` + +SetUserIdsOnline sets UserIdsOnline field to given value. + + +### GetReason + +`func (o *GetUserPresenceStatusesResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserPresenceStatusesResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserPresenceStatusesResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserPresenceStatusesResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserPresenceStatusesResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserPresenceStatusesResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserPresenceStatusesResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserPresenceStatusesResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserPresenceStatusesResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserPresenceStatusesResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserPresenceStatusesResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserPresenceStatusesResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserPresenceStatusesResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserPresenceStatusesResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserPresenceStatusesResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserPresenceStatusesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserPresenceStatusesResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserPresenceStatusesResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserPresenceStatusesResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserPresenceStatusesResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserPresenceStatusesResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserPresenceStatusesResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserPresenceStatusesResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserPresenceStatusesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserPresenceStatusesResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserPresenceStatusesResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md new file mode 100644 index 0000000..a41c341 --- /dev/null +++ b/client/docs/GetUserReactsPublicResponse.md @@ -0,0 +1,244 @@ +# GetUserReactsPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reacts** | **map[string]map[string]bool** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserReactsPublicResponse + +`func NewGetUserReactsPublicResponse(status APIStatus, reacts map[string]map[string]bool, reason string, code string, ) *GetUserReactsPublicResponse` + +NewGetUserReactsPublicResponse instantiates a new GetUserReactsPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserReactsPublicResponseWithDefaults + +`func NewGetUserReactsPublicResponseWithDefaults() *GetUserReactsPublicResponse` + +NewGetUserReactsPublicResponseWithDefaults instantiates a new GetUserReactsPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserReactsPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserReactsPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserReactsPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReacts + +`func (o *GetUserReactsPublicResponse) GetReacts() map[string]map[string]bool` + +GetReacts returns the Reacts field if non-nil, zero value otherwise. + +### GetReactsOk + +`func (o *GetUserReactsPublicResponse) GetReactsOk() (*map[string]map[string]bool, bool)` + +GetReactsOk returns a tuple with the Reacts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReacts + +`func (o *GetUserReactsPublicResponse) SetReacts(v map[string]map[string]bool)` + +SetReacts sets Reacts field to given value. + + +### GetReason + +`func (o *GetUserReactsPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserReactsPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserReactsPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserReactsPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserReactsPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserReactsPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserReactsPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserReactsPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserReactsPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserReactsPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserReactsPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserReactsPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserReactsPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserReactsPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserReactsPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserReactsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserReactsPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserReactsPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserReactsPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserReactsPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserReactsPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserReactsPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserReactsPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserReactsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserReactsPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserReactsPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md new file mode 100644 index 0000000..1d3a8ef --- /dev/null +++ b/client/docs/GetUserResponse1.md @@ -0,0 +1,244 @@ +# GetUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**User** | [**User**](User.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUserResponse1 + +`func NewGetUserResponse1(status APIStatus, user User, reason string, code string, ) *GetUserResponse1` + +NewGetUserResponse1 instantiates a new GetUserResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUserResponse1WithDefaults + +`func NewGetUserResponse1WithDefaults() *GetUserResponse1` + +NewGetUserResponse1WithDefaults instantiates a new GetUserResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetUserResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUserResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUserResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetUser + +`func (o *GetUserResponse1) GetUser() User` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *GetUserResponse1) GetUserOk() (*User, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *GetUserResponse1) SetUser(v User)` + +SetUser sets User field to given value. + + +### GetReason + +`func (o *GetUserResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUserResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUserResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUserResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUserResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUserResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUserResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUserResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUserResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUserResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUserResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUserResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUserResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUserResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUserResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUserResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUserResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUserResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUserResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUserResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUserResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUserResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUserResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUserResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md new file mode 100644 index 0000000..a8c04c4 --- /dev/null +++ b/client/docs/GetUsersInfoResponse.md @@ -0,0 +1,244 @@ +# GetUsersInfoResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetUsersInfoResponse + +`func NewGetUsersInfoResponse(users []PageUserEntry, status APIStatus, reason string, code string, ) *GetUsersInfoResponse` + +NewGetUsersInfoResponse instantiates a new GetUsersInfoResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetUsersInfoResponseWithDefaults + +`func NewGetUsersInfoResponseWithDefaults() *GetUsersInfoResponse` + +NewGetUsersInfoResponseWithDefaults instantiates a new GetUsersInfoResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUsers + +`func (o *GetUsersInfoResponse) GetUsers() []PageUserEntry` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *GetUsersInfoResponse) GetUsersOk() (*[]PageUserEntry, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *GetUsersInfoResponse) SetUsers(v []PageUserEntry)` + +SetUsers sets Users field to given value. + + +### GetStatus + +`func (o *GetUsersInfoResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetUsersInfoResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetUsersInfoResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetUsersInfoResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetUsersInfoResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetUsersInfoResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetUsersInfoResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetUsersInfoResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetUsersInfoResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetUsersInfoResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetUsersInfoResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetUsersInfoResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetUsersInfoResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetUsersInfoResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetUsersInfoResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetUsersInfoResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetUsersInfoResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetUsersInfoResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetUsersInfoResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetUsersInfoResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetUsersInfoResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetUsersInfoResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetUsersInfoResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetUsersInfoResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetUsersInfoResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetUsersInfoResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetUsersInfoResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetUsersInfoResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetUsersInfoResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md new file mode 100644 index 0000000..dd1c271 --- /dev/null +++ b/client/docs/GetV1PageLikesResponse.md @@ -0,0 +1,307 @@ +# GetV1PageLikesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UrlIdWS** | **string** | | +**DidLike** | **bool** | | +**CommentCount** | **int32** | | +**LikeCount** | **int32** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetV1PageLikesResponse + +`func NewGetV1PageLikesResponse(urlIdWS string, didLike bool, commentCount int32, likeCount int32, status APIStatus, reason string, code string, ) *GetV1PageLikesResponse` + +NewGetV1PageLikesResponse instantiates a new GetV1PageLikesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetV1PageLikesResponseWithDefaults + +`func NewGetV1PageLikesResponseWithDefaults() *GetV1PageLikesResponse` + +NewGetV1PageLikesResponseWithDefaults instantiates a new GetV1PageLikesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrlIdWS + +`func (o *GetV1PageLikesResponse) GetUrlIdWS() string` + +GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. + +### GetUrlIdWSOk + +`func (o *GetV1PageLikesResponse) GetUrlIdWSOk() (*string, bool)` + +GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrlIdWS + +`func (o *GetV1PageLikesResponse) SetUrlIdWS(v string)` + +SetUrlIdWS sets UrlIdWS field to given value. + + +### GetDidLike + +`func (o *GetV1PageLikesResponse) GetDidLike() bool` + +GetDidLike returns the DidLike field if non-nil, zero value otherwise. + +### GetDidLikeOk + +`func (o *GetV1PageLikesResponse) GetDidLikeOk() (*bool, bool)` + +GetDidLikeOk returns a tuple with the DidLike field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDidLike + +`func (o *GetV1PageLikesResponse) SetDidLike(v bool)` + +SetDidLike sets DidLike field to given value. + + +### GetCommentCount + +`func (o *GetV1PageLikesResponse) GetCommentCount() int32` + +GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. + +### GetCommentCountOk + +`func (o *GetV1PageLikesResponse) GetCommentCountOk() (*int32, bool)` + +GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentCount + +`func (o *GetV1PageLikesResponse) SetCommentCount(v int32)` + +SetCommentCount sets CommentCount field to given value. + + +### GetLikeCount + +`func (o *GetV1PageLikesResponse) GetLikeCount() int32` + +GetLikeCount returns the LikeCount field if non-nil, zero value otherwise. + +### GetLikeCountOk + +`func (o *GetV1PageLikesResponse) GetLikeCountOk() (*int32, bool)` + +GetLikeCountOk returns a tuple with the LikeCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLikeCount + +`func (o *GetV1PageLikesResponse) SetLikeCount(v int32)` + +SetLikeCount sets LikeCount field to given value. + + +### GetStatus + +`func (o *GetV1PageLikesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetV1PageLikesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetV1PageLikesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetV1PageLikesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetV1PageLikesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetV1PageLikesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetV1PageLikesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetV1PageLikesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetV1PageLikesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetV1PageLikesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetV1PageLikesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetV1PageLikesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetV1PageLikesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetV1PageLikesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetV1PageLikesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetV1PageLikesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetV1PageLikesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetV1PageLikesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetV1PageLikesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetV1PageLikesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetV1PageLikesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetV1PageLikesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetV1PageLikesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetV1PageLikesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetV1PageLikesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetV1PageLikesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetV1PageLikesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetV1PageLikesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetV1PageLikesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md new file mode 100644 index 0000000..365a82a --- /dev/null +++ b/client/docs/GetV2PageReactUsersResponse1.md @@ -0,0 +1,244 @@ +# GetV2PageReactUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**UserNames** | **[]string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetV2PageReactUsersResponse1 + +`func NewGetV2PageReactUsersResponse1(userNames []string, status APIStatus, reason string, code string, ) *GetV2PageReactUsersResponse1` + +NewGetV2PageReactUsersResponse1 instantiates a new GetV2PageReactUsersResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetV2PageReactUsersResponse1WithDefaults + +`func NewGetV2PageReactUsersResponse1WithDefaults() *GetV2PageReactUsersResponse1` + +NewGetV2PageReactUsersResponse1WithDefaults instantiates a new GetV2PageReactUsersResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUserNames + +`func (o *GetV2PageReactUsersResponse1) GetUserNames() []string` + +GetUserNames returns the UserNames field if non-nil, zero value otherwise. + +### GetUserNamesOk + +`func (o *GetV2PageReactUsersResponse1) GetUserNamesOk() (*[]string, bool)` + +GetUserNamesOk returns a tuple with the UserNames field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserNames + +`func (o *GetV2PageReactUsersResponse1) SetUserNames(v []string)` + +SetUserNames sets UserNames field to given value. + + +### GetStatus + +`func (o *GetV2PageReactUsersResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetV2PageReactUsersResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetV2PageReactUsersResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetV2PageReactUsersResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetV2PageReactUsersResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetV2PageReactUsersResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetV2PageReactUsersResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetV2PageReactUsersResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetV2PageReactUsersResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetV2PageReactUsersResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetV2PageReactUsersResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetV2PageReactUsersResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetV2PageReactUsersResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetV2PageReactUsersResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetV2PageReactUsersResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetV2PageReactUsersResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetV2PageReactUsersResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetV2PageReactUsersResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetV2PageReactUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetV2PageReactUsersResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetV2PageReactUsersResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetV2PageReactUsersResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetV2PageReactUsersResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetV2PageReactUsersResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetV2PageReactUsersResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetV2PageReactUsersResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetV2PageReactUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetV2PageReactUsersResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetV2PageReactUsersResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md new file mode 100644 index 0000000..453f35f --- /dev/null +++ b/client/docs/GetV2PageReactsResponse.md @@ -0,0 +1,275 @@ +# GetV2PageReactsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReactedIds** | Pointer to **[]string** | | [optional] +**Counts** | Pointer to **map[string]float64** | Construct a type with a set of properties K of type T | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetV2PageReactsResponse + +`func NewGetV2PageReactsResponse(status APIStatus, reason string, code string, ) *GetV2PageReactsResponse` + +NewGetV2PageReactsResponse instantiates a new GetV2PageReactsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetV2PageReactsResponseWithDefaults + +`func NewGetV2PageReactsResponseWithDefaults() *GetV2PageReactsResponse` + +NewGetV2PageReactsResponseWithDefaults instantiates a new GetV2PageReactsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetReactedIds + +`func (o *GetV2PageReactsResponse) GetReactedIds() []string` + +GetReactedIds returns the ReactedIds field if non-nil, zero value otherwise. + +### GetReactedIdsOk + +`func (o *GetV2PageReactsResponse) GetReactedIdsOk() (*[]string, bool)` + +GetReactedIdsOk returns a tuple with the ReactedIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReactedIds + +`func (o *GetV2PageReactsResponse) SetReactedIds(v []string)` + +SetReactedIds sets ReactedIds field to given value. + +### HasReactedIds + +`func (o *GetV2PageReactsResponse) HasReactedIds() bool` + +HasReactedIds returns a boolean if a field has been set. + +### GetCounts + +`func (o *GetV2PageReactsResponse) GetCounts() map[string]float64` + +GetCounts returns the Counts field if non-nil, zero value otherwise. + +### GetCountsOk + +`func (o *GetV2PageReactsResponse) GetCountsOk() (*map[string]float64, bool)` + +GetCountsOk returns a tuple with the Counts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCounts + +`func (o *GetV2PageReactsResponse) SetCounts(v map[string]float64)` + +SetCounts sets Counts field to given value. + +### HasCounts + +`func (o *GetV2PageReactsResponse) HasCounts() bool` + +HasCounts returns a boolean if a field has been set. + +### GetStatus + +`func (o *GetV2PageReactsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetV2PageReactsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetV2PageReactsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *GetV2PageReactsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetV2PageReactsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetV2PageReactsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetV2PageReactsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetV2PageReactsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetV2PageReactsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetV2PageReactsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetV2PageReactsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetV2PageReactsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetV2PageReactsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetV2PageReactsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetV2PageReactsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetV2PageReactsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetV2PageReactsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetV2PageReactsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetV2PageReactsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetV2PageReactsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetV2PageReactsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetV2PageReactsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetV2PageReactsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetV2PageReactsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetV2PageReactsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetV2PageReactsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetV2PageReactsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetV2PageReactsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetV2PageReactsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md new file mode 100644 index 0000000..7c50163 --- /dev/null +++ b/client/docs/GetVotesForUserResponse1.md @@ -0,0 +1,286 @@ +# GetVotesForUserResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**AppliedAuthorizedVotes** | [**[]PublicVote**](PublicVote.md) | | +**AppliedAnonymousVotes** | [**[]PublicVote**](PublicVote.md) | | +**PendingVotes** | [**[]PublicVote**](PublicVote.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetVotesForUserResponse1 + +`func NewGetVotesForUserResponse1(status APIStatus, appliedAuthorizedVotes []PublicVote, appliedAnonymousVotes []PublicVote, pendingVotes []PublicVote, reason string, code string, ) *GetVotesForUserResponse1` + +NewGetVotesForUserResponse1 instantiates a new GetVotesForUserResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetVotesForUserResponse1WithDefaults + +`func NewGetVotesForUserResponse1WithDefaults() *GetVotesForUserResponse1` + +NewGetVotesForUserResponse1WithDefaults instantiates a new GetVotesForUserResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetVotesForUserResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetVotesForUserResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetVotesForUserResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetAppliedAuthorizedVotes + +`func (o *GetVotesForUserResponse1) GetAppliedAuthorizedVotes() []PublicVote` + +GetAppliedAuthorizedVotes returns the AppliedAuthorizedVotes field if non-nil, zero value otherwise. + +### GetAppliedAuthorizedVotesOk + +`func (o *GetVotesForUserResponse1) GetAppliedAuthorizedVotesOk() (*[]PublicVote, bool)` + +GetAppliedAuthorizedVotesOk returns a tuple with the AppliedAuthorizedVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAppliedAuthorizedVotes + +`func (o *GetVotesForUserResponse1) SetAppliedAuthorizedVotes(v []PublicVote)` + +SetAppliedAuthorizedVotes sets AppliedAuthorizedVotes field to given value. + + +### GetAppliedAnonymousVotes + +`func (o *GetVotesForUserResponse1) GetAppliedAnonymousVotes() []PublicVote` + +GetAppliedAnonymousVotes returns the AppliedAnonymousVotes field if non-nil, zero value otherwise. + +### GetAppliedAnonymousVotesOk + +`func (o *GetVotesForUserResponse1) GetAppliedAnonymousVotesOk() (*[]PublicVote, bool)` + +GetAppliedAnonymousVotesOk returns a tuple with the AppliedAnonymousVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAppliedAnonymousVotes + +`func (o *GetVotesForUserResponse1) SetAppliedAnonymousVotes(v []PublicVote)` + +SetAppliedAnonymousVotes sets AppliedAnonymousVotes field to given value. + + +### GetPendingVotes + +`func (o *GetVotesForUserResponse1) GetPendingVotes() []PublicVote` + +GetPendingVotes returns the PendingVotes field if non-nil, zero value otherwise. + +### GetPendingVotesOk + +`func (o *GetVotesForUserResponse1) GetPendingVotesOk() (*[]PublicVote, bool)` + +GetPendingVotesOk returns a tuple with the PendingVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPendingVotes + +`func (o *GetVotesForUserResponse1) SetPendingVotes(v []PublicVote)` + +SetPendingVotes sets PendingVotes field to given value. + + +### GetReason + +`func (o *GetVotesForUserResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetVotesForUserResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetVotesForUserResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetVotesForUserResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetVotesForUserResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetVotesForUserResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetVotesForUserResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetVotesForUserResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetVotesForUserResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetVotesForUserResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetVotesForUserResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetVotesForUserResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetVotesForUserResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetVotesForUserResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetVotesForUserResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetVotesForUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetVotesForUserResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetVotesForUserResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetVotesForUserResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetVotesForUserResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetVotesForUserResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetVotesForUserResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetVotesForUserResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetVotesForUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetVotesForUserResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetVotesForUserResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md new file mode 100644 index 0000000..0b7cb4d --- /dev/null +++ b/client/docs/GetVotesResponse1.md @@ -0,0 +1,286 @@ +# GetVotesResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**AppliedAuthorizedVotes** | [**[]PublicVote**](PublicVote.md) | | +**AppliedAnonymousVotes** | [**[]PublicVote**](PublicVote.md) | | +**PendingVotes** | [**[]PublicVote**](PublicVote.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewGetVotesResponse1 + +`func NewGetVotesResponse1(status APIStatus, appliedAuthorizedVotes []PublicVote, appliedAnonymousVotes []PublicVote, pendingVotes []PublicVote, reason string, code string, ) *GetVotesResponse1` + +NewGetVotesResponse1 instantiates a new GetVotesResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetVotesResponse1WithDefaults + +`func NewGetVotesResponse1WithDefaults() *GetVotesResponse1` + +NewGetVotesResponse1WithDefaults instantiates a new GetVotesResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *GetVotesResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *GetVotesResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *GetVotesResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetAppliedAuthorizedVotes + +`func (o *GetVotesResponse1) GetAppliedAuthorizedVotes() []PublicVote` + +GetAppliedAuthorizedVotes returns the AppliedAuthorizedVotes field if non-nil, zero value otherwise. + +### GetAppliedAuthorizedVotesOk + +`func (o *GetVotesResponse1) GetAppliedAuthorizedVotesOk() (*[]PublicVote, bool)` + +GetAppliedAuthorizedVotesOk returns a tuple with the AppliedAuthorizedVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAppliedAuthorizedVotes + +`func (o *GetVotesResponse1) SetAppliedAuthorizedVotes(v []PublicVote)` + +SetAppliedAuthorizedVotes sets AppliedAuthorizedVotes field to given value. + + +### GetAppliedAnonymousVotes + +`func (o *GetVotesResponse1) GetAppliedAnonymousVotes() []PublicVote` + +GetAppliedAnonymousVotes returns the AppliedAnonymousVotes field if non-nil, zero value otherwise. + +### GetAppliedAnonymousVotesOk + +`func (o *GetVotesResponse1) GetAppliedAnonymousVotesOk() (*[]PublicVote, bool)` + +GetAppliedAnonymousVotesOk returns a tuple with the AppliedAnonymousVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAppliedAnonymousVotes + +`func (o *GetVotesResponse1) SetAppliedAnonymousVotes(v []PublicVote)` + +SetAppliedAnonymousVotes sets AppliedAnonymousVotes field to given value. + + +### GetPendingVotes + +`func (o *GetVotesResponse1) GetPendingVotes() []PublicVote` + +GetPendingVotes returns the PendingVotes field if non-nil, zero value otherwise. + +### GetPendingVotesOk + +`func (o *GetVotesResponse1) GetPendingVotesOk() (*[]PublicVote, bool)` + +GetPendingVotesOk returns a tuple with the PendingVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPendingVotes + +`func (o *GetVotesResponse1) SetPendingVotes(v []PublicVote)` + +SetPendingVotes sets PendingVotes field to given value. + + +### GetReason + +`func (o *GetVotesResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *GetVotesResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *GetVotesResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *GetVotesResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *GetVotesResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *GetVotesResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *GetVotesResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *GetVotesResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *GetVotesResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *GetVotesResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *GetVotesResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *GetVotesResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *GetVotesResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *GetVotesResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *GetVotesResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *GetVotesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *GetVotesResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *GetVotesResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *GetVotesResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *GetVotesResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *GetVotesResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *GetVotesResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *GetVotesResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *GetVotesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *GetVotesResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *GetVotesResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md new file mode 100644 index 0000000..af0c612 --- /dev/null +++ b/client/docs/LockCommentResponse.md @@ -0,0 +1,223 @@ +# LockCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewLockCommentResponse + +`func NewLockCommentResponse(status APIStatus, reason string, code string, ) *LockCommentResponse` + +NewLockCommentResponse instantiates a new LockCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLockCommentResponseWithDefaults + +`func NewLockCommentResponseWithDefaults() *LockCommentResponse` + +NewLockCommentResponseWithDefaults instantiates a new LockCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *LockCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *LockCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *LockCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *LockCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *LockCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *LockCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *LockCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *LockCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *LockCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *LockCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *LockCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *LockCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *LockCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *LockCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *LockCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *LockCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *LockCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *LockCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *LockCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *LockCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *LockCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *LockCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *LockCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *LockCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *LockCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *LockCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *LockCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *LockCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *LockCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index b97e4e6..999e992 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -52,7 +52,7 @@ Method | HTTP request | Description ## DeleteModerationVote -> VoteDeleteResponse DeleteModerationVote(ctx, commentId, voteId).Sso(sso).Execute() +> DeleteModerationVoteResponse DeleteModerationVote(ctx, commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -71,16 +71,18 @@ import ( func main() { commentId := "commentId_example" // string | voteId := "voteId_example" // string | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.DeleteModerationVote(context.Background(), commentId, voteId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.DeleteModerationVote(context.Background(), commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.DeleteModerationVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteModerationVote`: VoteDeleteResponse + // response from `DeleteModerationVote`: DeleteModerationVoteResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.DeleteModerationVote`: %v\n", resp) } ``` @@ -103,11 +105,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) ### Authorization @@ -125,7 +129,7 @@ No authorization required ## GetApiComments -> ModerationAPIGetCommentsResponse GetApiComments(ctx).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).Sso(sso).Execute() +> GetApiCommentsResponse GetApiComments(ctx).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -150,16 +154,17 @@ func main() { searchFilters := "searchFilters_example" // string | (optional) sorts := "sorts_example" // string | (optional) demo := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiComments(context.Background()).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiComments(context.Background()).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiComments``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiComments`: ModerationAPIGetCommentsResponse + // response from `GetApiComments`: GetApiCommentsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiComments`: %v\n", resp) } ``` @@ -183,11 +188,12 @@ Name | Type | Description | Notes **searchFilters** | **string** | | **sorts** | **string** | | **demo** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPIGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) +[**GetApiCommentsResponse**](GetApiCommentsResponse.md) ### Authorization @@ -205,7 +211,7 @@ No authorization required ## GetApiExportStatus -> ModerationExportStatusResponse GetApiExportStatus(ctx).BatchJobId(batchJobId).Sso(sso).Execute() +> GetApiExportStatusResponse GetApiExportStatus(ctx).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() @@ -223,16 +229,17 @@ import ( func main() { batchJobId := "batchJobId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiExportStatus(context.Background()).BatchJobId(batchJobId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiExportStatus(context.Background()).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiExportStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiExportStatus`: ModerationExportStatusResponse + // response from `GetApiExportStatus`: GetApiExportStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiExportStatus`: %v\n", resp) } ``` @@ -249,11 +256,12 @@ Other parameters are passed through a pointer to a apiGetApiExportStatusRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **batchJobId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationExportStatusResponse**](ModerationExportStatusResponse.md) +[**GetApiExportStatusResponse**](GetApiExportStatusResponse.md) ### Authorization @@ -271,7 +279,7 @@ No authorization required ## GetApiIds -> ModerationAPIGetCommentIdsResponse GetApiIds(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).Sso(sso).Execute() +> GetApiIdsResponse GetApiIds(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -294,16 +302,17 @@ func main() { searchFilters := "searchFilters_example" // string | (optional) afterId := "afterId_example" // string | (optional) demo := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiIds(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiIds(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiIds`: ModerationAPIGetCommentIdsResponse + // response from `GetApiIds`: GetApiIdsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiIds`: %v\n", resp) } ``` @@ -325,11 +334,12 @@ Name | Type | Description | Notes **searchFilters** | **string** | | **afterId** | **string** | | **demo** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPIGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) +[**GetApiIdsResponse**](GetApiIdsResponse.md) ### Authorization @@ -347,7 +357,7 @@ No authorization required ## GetBanUsersFromComment -> GetBannedUsersFromCommentResponse GetBanUsersFromComment(ctx, commentId).Sso(sso).Execute() +> GetBanUsersFromCommentResponse GetBanUsersFromComment(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -365,16 +375,17 @@ import ( func main() { commentId := "commentId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetBanUsersFromComment(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetBanUsersFromComment(context.Background(), commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetBanUsersFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetBanUsersFromComment`: GetBannedUsersFromCommentResponse + // response from `GetBanUsersFromComment`: GetBanUsersFromCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetBanUsersFromComment`: %v\n", resp) } ``` @@ -395,11 +406,12 @@ Other parameters are passed through a pointer to a apiGetBanUsersFromCommentRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) +[**GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) ### Authorization @@ -417,7 +429,7 @@ No authorization required ## GetCommentBanStatus -> GetCommentBanStatusResponse GetCommentBanStatus(ctx, commentId).Sso(sso).Execute() +> GetCommentBanStatusResponse1 GetCommentBanStatus(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -435,16 +447,17 @@ import ( func main() { commentId := "commentId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetCommentBanStatus(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetCommentBanStatus(context.Background(), commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCommentBanStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentBanStatus`: GetCommentBanStatusResponse + // response from `GetCommentBanStatus`: GetCommentBanStatusResponse1 fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCommentBanStatus`: %v\n", resp) } ``` @@ -465,11 +478,12 @@ Other parameters are passed through a pointer to a apiGetCommentBanStatusRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) +[**GetCommentBanStatusResponse1**](GetCommentBanStatusResponse1.md) ### Authorization @@ -487,7 +501,7 @@ No authorization required ## GetCommentChildren -> ModerationAPIChildCommentsResponse GetCommentChildren(ctx, commentId).Sso(sso).Execute() +> GetCommentChildrenResponse GetCommentChildren(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -505,16 +519,17 @@ import ( func main() { commentId := "commentId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetCommentChildren(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetCommentChildren(context.Background(), commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCommentChildren``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentChildren`: ModerationAPIChildCommentsResponse + // response from `GetCommentChildren`: GetCommentChildrenResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCommentChildren`: %v\n", resp) } ``` @@ -535,11 +550,12 @@ Other parameters are passed through a pointer to a apiGetCommentChildrenRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**GetCommentChildrenResponse**](GetCommentChildrenResponse.md) ### Authorization @@ -557,7 +573,7 @@ No authorization required ## GetCount -> ModerationAPICountCommentsResponse GetCount(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).Sso(sso).Execute() +> GetCountResponse GetCount(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -579,16 +595,17 @@ func main() { filter := "filter_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) demo := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetCount(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetCount(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCount`: ModerationAPICountCommentsResponse + // response from `GetCount`: GetCountResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCount`: %v\n", resp) } ``` @@ -609,11 +626,12 @@ Name | Type | Description | Notes **filter** | **string** | | **searchFilters** | **string** | | **demo** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPICountCommentsResponse**](ModerationAPICountCommentsResponse.md) +[**GetCountResponse**](GetCountResponse.md) ### Authorization @@ -631,7 +649,7 @@ No authorization required ## GetCounts -> GetBannedUsersCountResponse GetCounts(ctx).Sso(sso).Execute() +> GetCountsResponse GetCounts(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -648,16 +666,17 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetCounts(context.Background()).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetCounts(context.Background()).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCounts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCounts`: GetBannedUsersCountResponse + // response from `GetCounts`: GetCountsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCounts`: %v\n", resp) } ``` @@ -673,11 +692,12 @@ Other parameters are passed through a pointer to a apiGetCountsRequest struct vi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) +[**GetCountsResponse**](GetCountsResponse.md) ### Authorization @@ -695,7 +715,7 @@ No authorization required ## GetLogs -> ModerationAPIGetLogsResponse GetLogs(ctx, commentId).Sso(sso).Execute() +> GetLogsResponse GetLogs(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -713,16 +733,17 @@ import ( func main() { commentId := "commentId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetLogs(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetLogs(context.Background(), commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetLogs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetLogs`: ModerationAPIGetLogsResponse + // response from `GetLogs`: GetLogsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetLogs`: %v\n", resp) } ``` @@ -743,11 +764,12 @@ Other parameters are passed through a pointer to a apiGetLogsRequest struct via Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPIGetLogsResponse**](ModerationAPIGetLogsResponse.md) +[**GetLogsResponse**](GetLogsResponse.md) ### Authorization @@ -765,7 +787,7 @@ No authorization required ## GetManualBadges -> GetTenantManualBadgesResponse GetManualBadges(ctx).Sso(sso).Execute() +> GetManualBadgesResponse GetManualBadges(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -782,16 +804,17 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetManualBadges(context.Background()).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetManualBadges(context.Background()).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetManualBadges``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetManualBadges`: GetTenantManualBadgesResponse + // response from `GetManualBadges`: GetManualBadgesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetManualBadges`: %v\n", resp) } ``` @@ -807,11 +830,12 @@ Other parameters are passed through a pointer to a apiGetManualBadgesRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) +[**GetManualBadgesResponse**](GetManualBadgesResponse.md) ### Authorization @@ -829,7 +853,7 @@ No authorization required ## GetManualBadgesForUser -> GetUserManualBadgesResponse GetManualBadgesForUser(ctx).BadgesUserId(badgesUserId).CommentId(commentId).Sso(sso).Execute() +> GetManualBadgesForUserResponse GetManualBadgesForUser(ctx).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() @@ -848,16 +872,17 @@ import ( func main() { badgesUserId := "badgesUserId_example" // string | (optional) commentId := "commentId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetManualBadgesForUser(context.Background()).BadgesUserId(badgesUserId).CommentId(commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetManualBadgesForUser(context.Background()).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetManualBadgesForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetManualBadgesForUser`: GetUserManualBadgesResponse + // response from `GetManualBadgesForUser`: GetManualBadgesForUserResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetManualBadgesForUser`: %v\n", resp) } ``` @@ -875,11 +900,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **badgesUserId** | **string** | | **commentId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) +[**GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) ### Authorization @@ -897,7 +923,7 @@ No authorization required ## GetModerationComment -> ModerationAPICommentResponse GetModerationComment(ctx, commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).Sso(sso).Execute() +> GetModerationCommentResponse GetModerationComment(ctx, commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() @@ -917,16 +943,17 @@ func main() { commentId := "commentId_example" // string | includeEmail := true // bool | (optional) includeIP := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetModerationComment(context.Background(), commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetModerationComment(context.Background(), commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetModerationComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerationComment`: ModerationAPICommentResponse + // response from `GetModerationComment`: GetModerationCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetModerationComment`: %v\n", resp) } ``` @@ -949,11 +976,12 @@ Name | Type | Description | Notes **includeEmail** | **bool** | | **includeIP** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPICommentResponse**](ModerationAPICommentResponse.md) +[**GetModerationCommentResponse**](GetModerationCommentResponse.md) ### Authorization @@ -971,7 +999,7 @@ No authorization required ## GetModerationCommentText -> GetCommentTextResponse GetModerationCommentText(ctx, commentId).Sso(sso).Execute() +> GetModerationCommentTextResponse GetModerationCommentText(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -989,16 +1017,17 @@ import ( func main() { commentId := "commentId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetModerationCommentText(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetModerationCommentText(context.Background(), commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetModerationCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerationCommentText`: GetCommentTextResponse + // response from `GetModerationCommentText`: GetModerationCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetModerationCommentText`: %v\n", resp) } ``` @@ -1019,11 +1048,12 @@ Other parameters are passed through a pointer to a apiGetModerationCommentTextRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetCommentTextResponse**](GetCommentTextResponse.md) +[**GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) ### Authorization @@ -1041,7 +1071,7 @@ No authorization required ## GetPreBanSummary -> PreBanSummary GetPreBanSummary(ctx, commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() +> GetPreBanSummaryResponse GetPreBanSummary(ctx, commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() @@ -1062,16 +1092,17 @@ func main() { includeByUserIdAndEmail := true // bool | (optional) includeByIP := true // bool | (optional) includeByEmailDomain := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetPreBanSummary(context.Background(), commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetPreBanSummary(context.Background(), commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPreBanSummary`: PreBanSummary + // response from `GetPreBanSummary`: GetPreBanSummaryResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetPreBanSummary`: %v\n", resp) } ``` @@ -1095,11 +1126,12 @@ Name | Type | Description | Notes **includeByUserIdAndEmail** | **bool** | | **includeByIP** | **bool** | | **includeByEmailDomain** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**PreBanSummary**](PreBanSummary.md) +[**GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) ### Authorization @@ -1117,7 +1149,7 @@ No authorization required ## GetSearchCommentsSummary -> ModerationCommentSearchResponse GetSearchCommentsSummary(ctx).Value(value).Filters(filters).SearchFilters(searchFilters).Sso(sso).Execute() +> GetSearchCommentsSummaryResponse GetSearchCommentsSummary(ctx).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() @@ -1137,16 +1169,17 @@ func main() { value := "value_example" // string | (optional) filters := "filters_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchCommentsSummary(context.Background()).Value(value).Filters(filters).SearchFilters(searchFilters).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchCommentsSummary(context.Background()).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchCommentsSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchCommentsSummary`: ModerationCommentSearchResponse + // response from `GetSearchCommentsSummary`: GetSearchCommentsSummaryResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchCommentsSummary`: %v\n", resp) } ``` @@ -1165,11 +1198,12 @@ Name | Type | Description | Notes **value** | **string** | | **filters** | **string** | | **searchFilters** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) +[**GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) ### Authorization @@ -1187,7 +1221,7 @@ No authorization required ## GetSearchPages -> ModerationPageSearchResponse GetSearchPages(ctx).Value(value).Sso(sso).Execute() +> GetSearchPagesResponse GetSearchPages(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1205,16 +1239,17 @@ import ( func main() { value := "value_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchPages(context.Background()).Value(value).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchPages(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchPages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchPages`: ModerationPageSearchResponse + // response from `GetSearchPages`: GetSearchPagesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchPages`: %v\n", resp) } ``` @@ -1231,11 +1266,12 @@ Other parameters are passed through a pointer to a apiGetSearchPagesRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationPageSearchResponse**](ModerationPageSearchResponse.md) +[**GetSearchPagesResponse**](GetSearchPagesResponse.md) ### Authorization @@ -1253,7 +1289,7 @@ No authorization required ## GetSearchSites -> ModerationSiteSearchResponse GetSearchSites(ctx).Value(value).Sso(sso).Execute() +> GetSearchSitesResponse GetSearchSites(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1271,16 +1307,17 @@ import ( func main() { value := "value_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchSites(context.Background()).Value(value).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchSites(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSites``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchSites`: ModerationSiteSearchResponse + // response from `GetSearchSites`: GetSearchSitesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchSites`: %v\n", resp) } ``` @@ -1297,11 +1334,12 @@ Other parameters are passed through a pointer to a apiGetSearchSitesRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) +[**GetSearchSitesResponse**](GetSearchSitesResponse.md) ### Authorization @@ -1319,7 +1357,7 @@ No authorization required ## GetSearchSuggest -> ModerationSuggestResponse GetSearchSuggest(ctx).TextSearch(textSearch).Sso(sso).Execute() +> GetSearchSuggestResponse GetSearchSuggest(ctx).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() @@ -1337,16 +1375,17 @@ import ( func main() { textSearch := "textSearch_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchSuggest(context.Background()).TextSearch(textSearch).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchSuggest(context.Background()).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSuggest``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchSuggest`: ModerationSuggestResponse + // response from `GetSearchSuggest`: GetSearchSuggestResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchSuggest`: %v\n", resp) } ``` @@ -1363,11 +1402,12 @@ Other parameters are passed through a pointer to a apiGetSearchSuggestRequest st Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **textSearch** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationSuggestResponse**](ModerationSuggestResponse.md) +[**GetSearchSuggestResponse**](GetSearchSuggestResponse.md) ### Authorization @@ -1385,7 +1425,7 @@ No authorization required ## GetSearchUsers -> ModerationUserSearchResponse GetSearchUsers(ctx).Value(value).Sso(sso).Execute() +> GetSearchUsersResponse GetSearchUsers(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1403,16 +1443,17 @@ import ( func main() { value := "value_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchUsers(context.Background()).Value(value).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchUsers(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchUsers`: ModerationUserSearchResponse + // response from `GetSearchUsers`: GetSearchUsersResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchUsers`: %v\n", resp) } ``` @@ -1429,11 +1470,12 @@ Other parameters are passed through a pointer to a apiGetSearchUsersRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **value** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationUserSearchResponse**](ModerationUserSearchResponse.md) +[**GetSearchUsersResponse**](GetSearchUsersResponse.md) ### Authorization @@ -1451,7 +1493,7 @@ No authorization required ## GetTrustFactor -> GetUserTrustFactorResponse GetTrustFactor(ctx).UserId(userId).Sso(sso).Execute() +> GetTrustFactorResponse GetTrustFactor(ctx).UserId(userId).TenantId(tenantId).Sso(sso).Execute() @@ -1469,16 +1511,17 @@ import ( func main() { userId := "userId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetTrustFactor(context.Background()).UserId(userId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetTrustFactor(context.Background()).UserId(userId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTrustFactor`: GetUserTrustFactorResponse + // response from `GetTrustFactor`: GetTrustFactorResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetTrustFactor`: %v\n", resp) } ``` @@ -1495,11 +1538,12 @@ Other parameters are passed through a pointer to a apiGetTrustFactorRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) +[**GetTrustFactorResponse**](GetTrustFactorResponse.md) ### Authorization @@ -1517,7 +1561,7 @@ No authorization required ## GetUserBanPreference -> APIModerateGetUserBanPreferencesResponse GetUserBanPreference(ctx).Sso(sso).Execute() +> GetUserBanPreferenceResponse GetUserBanPreference(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -1534,16 +1578,17 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetUserBanPreference(context.Background()).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetUserBanPreference(context.Background()).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetUserBanPreference``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBanPreference`: APIModerateGetUserBanPreferencesResponse + // response from `GetUserBanPreference`: GetUserBanPreferenceResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetUserBanPreference`: %v\n", resp) } ``` @@ -1559,11 +1604,12 @@ Other parameters are passed through a pointer to a apiGetUserBanPreferenceReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) +[**GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) ### Authorization @@ -1581,7 +1627,7 @@ No authorization required ## GetUserInternalProfile -> GetUserInternalProfileResponse GetUserInternalProfile(ctx).CommentId(commentId).Sso(sso).Execute() +> GetUserInternalProfileResponse1 GetUserInternalProfile(ctx).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() @@ -1599,16 +1645,17 @@ import ( func main() { commentId := "commentId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetUserInternalProfile(context.Background()).CommentId(commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetUserInternalProfile(context.Background()).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetUserInternalProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserInternalProfile`: GetUserInternalProfileResponse + // response from `GetUserInternalProfile`: GetUserInternalProfileResponse1 fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetUserInternalProfile`: %v\n", resp) } ``` @@ -1625,11 +1672,12 @@ Other parameters are passed through a pointer to a apiGetUserInternalProfileRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) +[**GetUserInternalProfileResponse1**](GetUserInternalProfileResponse1.md) ### Authorization @@ -1647,7 +1695,7 @@ No authorization required ## PostAdjustCommentVotes -> AdjustVotesResponse PostAdjustCommentVotes(ctx, commentId).AdjustCommentVotesParams(adjustCommentVotesParams).Sso(sso).Execute() +> PostAdjustCommentVotesResponse PostAdjustCommentVotes(ctx, commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -1666,16 +1714,18 @@ import ( func main() { commentId := "commentId_example" // string | adjustCommentVotesParams := *openapiclient.NewAdjustCommentVotesParams(float64(123)) // AdjustCommentVotesParams | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostAdjustCommentVotes(context.Background(), commentId).AdjustCommentVotesParams(adjustCommentVotesParams).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostAdjustCommentVotes(context.Background(), commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostAdjustCommentVotes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostAdjustCommentVotes`: AdjustVotesResponse + // response from `PostAdjustCommentVotes`: PostAdjustCommentVotesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostAdjustCommentVotes`: %v\n", resp) } ``` @@ -1697,11 +1747,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**AdjustVotesResponse**](AdjustVotesResponse.md) +[**PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) ### Authorization @@ -1719,7 +1771,7 @@ No authorization required ## PostApiExport -> ModerationExportResponse PostApiExport(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Sso(sso).Execute() +> PostApiExportResponse PostApiExport(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() @@ -1741,16 +1793,17 @@ func main() { filters := "filters_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) sorts := "sorts_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostApiExport(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostApiExport(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostApiExport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostApiExport`: ModerationExportResponse + // response from `PostApiExport`: PostApiExportResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostApiExport`: %v\n", resp) } ``` @@ -1771,11 +1824,12 @@ Name | Type | Description | Notes **filters** | **string** | | **searchFilters** | **string** | | **sorts** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationExportResponse**](ModerationExportResponse.md) +[**PostApiExportResponse**](PostApiExportResponse.md) ### Authorization @@ -1793,7 +1847,7 @@ No authorization required ## PostBanUserFromComment -> BanUserFromCommentResult PostBanUserFromComment(ctx, commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).Sso(sso).Execute() +> PostBanUserFromCommentResponse PostBanUserFromComment(ctx, commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() @@ -1819,16 +1873,17 @@ func main() { isShadowBan := true // bool | (optional) updateId := "updateId_example" // string | (optional) banReason := "banReason_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBanUserFromComment(context.Background(), commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBanUserFromComment(context.Background(), commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBanUserFromComment`: BanUserFromCommentResult + // response from `PostBanUserFromComment`: PostBanUserFromCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBanUserFromComment`: %v\n", resp) } ``` @@ -1857,11 +1912,12 @@ Name | Type | Description | Notes **isShadowBan** | **bool** | | **updateId** | **string** | | **banReason** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**BanUserFromCommentResult**](BanUserFromCommentResult.md) +[**PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) ### Authorization @@ -1879,7 +1935,7 @@ No authorization required ## PostBanUserUndo -> APIEmptyResponse PostBanUserUndo(ctx).BanUserUndoParams(banUserUndoParams).Sso(sso).Execute() +> PostBanUserUndoResponse PostBanUserUndo(ctx).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() @@ -1897,16 +1953,17 @@ import ( func main() { banUserUndoParams := *openapiclient.NewBanUserUndoParams(*openapiclient.NewAPIBanUserChangeLog()) // BanUserUndoParams | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBanUserUndo(context.Background()).BanUserUndoParams(banUserUndoParams).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBanUserUndo(context.Background()).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserUndo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBanUserUndo`: APIEmptyResponse + // response from `PostBanUserUndo`: PostBanUserUndoResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBanUserUndo`: %v\n", resp) } ``` @@ -1923,11 +1980,12 @@ Other parameters are passed through a pointer to a apiPostBanUserUndoRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md) | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostBanUserUndoResponse**](PostBanUserUndoResponse.md) ### Authorization @@ -1945,7 +2003,7 @@ No authorization required ## PostBulkPreBanSummary -> BulkPreBanSummary PostBulkPreBanSummary(ctx).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() +> PostBulkPreBanSummaryResponse PostBulkPreBanSummary(ctx).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() @@ -1966,16 +2024,17 @@ func main() { includeByUserIdAndEmail := true // bool | (optional) includeByIP := true // bool | (optional) includeByEmailDomain := true // bool | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBulkPreBanSummary(context.Background()).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBulkPreBanSummary(context.Background()).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBulkPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBulkPreBanSummary`: BulkPreBanSummary + // response from `PostBulkPreBanSummary`: PostBulkPreBanSummaryResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBulkPreBanSummary`: %v\n", resp) } ``` @@ -1995,11 +2054,12 @@ Name | Type | Description | Notes **includeByUserIdAndEmail** | **bool** | | **includeByIP** | **bool** | | **includeByEmailDomain** | **bool** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**BulkPreBanSummary**](BulkPreBanSummary.md) +[**PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) ### Authorization @@ -2017,7 +2077,7 @@ No authorization required ## PostCommentsByIds -> ModerationAPIChildCommentsResponse PostCommentsByIds(ctx).CommentsByIdsParams(commentsByIdsParams).Sso(sso).Execute() +> PostCommentsByIdsResponse PostCommentsByIds(ctx).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() @@ -2035,16 +2095,17 @@ import ( func main() { commentsByIdsParams := *openapiclient.NewCommentsByIdsParams([]string{"Ids_example"}) // CommentsByIdsParams | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostCommentsByIds(context.Background()).CommentsByIdsParams(commentsByIdsParams).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostCommentsByIds(context.Background()).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostCommentsByIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostCommentsByIds`: ModerationAPIChildCommentsResponse + // response from `PostCommentsByIds`: PostCommentsByIdsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostCommentsByIds`: %v\n", resp) } ``` @@ -2061,11 +2122,12 @@ Other parameters are passed through a pointer to a apiPostCommentsByIdsRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) +[**PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) ### Authorization @@ -2083,7 +2145,7 @@ No authorization required ## PostFlagComment -> APIEmptyResponse PostFlagComment(ctx, commentId).Sso(sso).Execute() +> PostFlagCommentResponse PostFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2101,16 +2163,18 @@ import ( func main() { commentId := "commentId_example" // string | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostFlagComment(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostFlagComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostFlagComment`: APIEmptyResponse + // response from `PostFlagComment`: PostFlagCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostFlagComment`: %v\n", resp) } ``` @@ -2131,11 +2195,13 @@ Other parameters are passed through a pointer to a apiPostFlagCommentRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostFlagCommentResponse**](PostFlagCommentResponse.md) ### Authorization @@ -2153,7 +2219,7 @@ No authorization required ## PostRemoveComment -> PostRemoveCommentResponse PostRemoveComment(ctx, commentId).Sso(sso).Execute() +> PostRemoveCommentResponse PostRemoveComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2171,11 +2237,13 @@ import ( func main() { commentId := "commentId_example" // string | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostRemoveComment(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostRemoveComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostRemoveComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2201,6 +2269,8 @@ Other parameters are passed through a pointer to a apiPostRemoveCommentRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2223,7 +2293,7 @@ No authorization required ## PostRestoreDeletedComment -> APIEmptyResponse PostRestoreDeletedComment(ctx, commentId).Sso(sso).Execute() +> PostRestoreDeletedCommentResponse PostRestoreDeletedComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2241,16 +2311,18 @@ import ( func main() { commentId := "commentId_example" // string | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostRestoreDeletedComment(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostRestoreDeletedComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostRestoreDeletedComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostRestoreDeletedComment`: APIEmptyResponse + // response from `PostRestoreDeletedComment`: PostRestoreDeletedCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostRestoreDeletedComment`: %v\n", resp) } ``` @@ -2271,11 +2343,13 @@ Other parameters are passed through a pointer to a apiPostRestoreDeletedCommentR Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) ### Authorization @@ -2293,7 +2367,7 @@ No authorization required ## PostSetCommentApprovalStatus -> SetCommentApprovedResponse PostSetCommentApprovalStatus(ctx, commentId).Approved(approved).Sso(sso).Execute() +> PostSetCommentApprovalStatusResponse PostSetCommentApprovalStatus(ctx, commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2312,16 +2386,18 @@ import ( func main() { commentId := "commentId_example" // string | approved := true // bool | (optional) + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentApprovalStatus(context.Background(), commentId).Approved(approved).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentApprovalStatus(context.Background(), commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentApprovalStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentApprovalStatus`: SetCommentApprovedResponse + // response from `PostSetCommentApprovalStatus`: PostSetCommentApprovalStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentApprovalStatus`: %v\n", resp) } ``` @@ -2343,11 +2419,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **approved** | **bool** | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**SetCommentApprovedResponse**](SetCommentApprovedResponse.md) +[**PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) ### Authorization @@ -2365,7 +2443,7 @@ No authorization required ## PostSetCommentReviewStatus -> APIEmptyResponse PostSetCommentReviewStatus(ctx, commentId).Reviewed(reviewed).Sso(sso).Execute() +> PostSetCommentReviewStatusResponse PostSetCommentReviewStatus(ctx, commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2384,16 +2462,18 @@ import ( func main() { commentId := "commentId_example" // string | reviewed := true // bool | (optional) + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentReviewStatus(context.Background(), commentId).Reviewed(reviewed).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentReviewStatus(context.Background(), commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentReviewStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentReviewStatus`: APIEmptyResponse + // response from `PostSetCommentReviewStatus`: PostSetCommentReviewStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentReviewStatus`: %v\n", resp) } ``` @@ -2415,11 +2495,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **reviewed** | **bool** | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) ### Authorization @@ -2437,7 +2519,7 @@ No authorization required ## PostSetCommentSpamStatus -> APIEmptyResponse PostSetCommentSpamStatus(ctx, commentId).Spam(spam).PermNotSpam(permNotSpam).Sso(sso).Execute() +> PostSetCommentSpamStatusResponse PostSetCommentSpamStatus(ctx, commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2457,16 +2539,18 @@ func main() { commentId := "commentId_example" // string | spam := true // bool | (optional) permNotSpam := true // bool | (optional) + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentSpamStatus(context.Background(), commentId).Spam(spam).PermNotSpam(permNotSpam).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentSpamStatus(context.Background(), commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentSpamStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentSpamStatus`: APIEmptyResponse + // response from `PostSetCommentSpamStatus`: PostSetCommentSpamStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentSpamStatus`: %v\n", resp) } ``` @@ -2489,11 +2573,13 @@ Name | Type | Description | Notes **spam** | **bool** | | **permNotSpam** | **bool** | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) ### Authorization @@ -2511,7 +2597,7 @@ No authorization required ## PostSetCommentText -> SetCommentTextResponse PostSetCommentText(ctx, commentId).SetCommentTextParams(setCommentTextParams).Sso(sso).Execute() +> PostSetCommentTextResponse PostSetCommentText(ctx, commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2530,16 +2616,18 @@ import ( func main() { commentId := "commentId_example" // string | setCommentTextParams := *openapiclient.NewSetCommentTextParams("Comment_example") // SetCommentTextParams | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentText(context.Background(), commentId).SetCommentTextParams(setCommentTextParams).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentText(context.Background(), commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentText`: SetCommentTextResponse + // response from `PostSetCommentText`: PostSetCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentText`: %v\n", resp) } ``` @@ -2561,11 +2649,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md) | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**SetCommentTextResponse**](SetCommentTextResponse.md) +[**PostSetCommentTextResponse**](PostSetCommentTextResponse.md) ### Authorization @@ -2583,7 +2673,7 @@ No authorization required ## PostUnFlagComment -> APIEmptyResponse PostUnFlagComment(ctx, commentId).Sso(sso).Execute() +> PostUnFlagCommentResponse PostUnFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2601,16 +2691,18 @@ import ( func main() { commentId := "commentId_example" // string | + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostUnFlagComment(context.Background(), commentId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostUnFlagComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostUnFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostUnFlagComment`: APIEmptyResponse + // response from `PostUnFlagComment`: PostUnFlagCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostUnFlagComment`: %v\n", resp) } ``` @@ -2631,11 +2723,13 @@ Other parameters are passed through a pointer to a apiPostUnFlagCommentRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) ### Authorization @@ -2653,7 +2747,7 @@ No authorization required ## PostVote -> VoteResponse PostVote(ctx, commentId).Direction(direction).Sso(sso).Execute() +> PostVoteResponse PostVote(ctx, commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2672,16 +2766,18 @@ import ( func main() { commentId := "commentId_example" // string | direction := "direction_example" // string | (optional) + broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostVote(context.Background(), commentId).Direction(direction).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostVote(context.Background(), commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostVote`: VoteResponse + // response from `PostVote`: PostVoteResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostVote`: %v\n", resp) } ``` @@ -2703,11 +2799,13 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **direction** | **string** | | + **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**VoteResponse**](VoteResponse.md) +[**PostVoteResponse**](PostVoteResponse.md) ### Authorization @@ -2725,7 +2823,7 @@ No authorization required ## PutAwardBadge -> AwardUserBadgeResponse PutAwardBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> PutAwardBadgeResponse PutAwardBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2746,16 +2844,17 @@ func main() { userId := "userId_example" // string | (optional) commentId := "commentId_example" // string | (optional) broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutAwardBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutAwardBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutAwardBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutAwardBadge`: AwardUserBadgeResponse + // response from `PutAwardBadge`: PutAwardBadgeResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutAwardBadge`: %v\n", resp) } ``` @@ -2775,11 +2874,12 @@ Name | Type | Description | Notes **userId** | **string** | | **commentId** | **string** | | **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**AwardUserBadgeResponse**](AwardUserBadgeResponse.md) +[**PutAwardBadgeResponse**](PutAwardBadgeResponse.md) ### Authorization @@ -2797,7 +2897,7 @@ No authorization required ## PutCloseThread -> APIEmptyResponse PutCloseThread(ctx).UrlId(urlId).Sso(sso).Execute() +> PutCloseThreadResponse PutCloseThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() @@ -2815,16 +2915,17 @@ import ( func main() { urlId := "urlId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutCloseThread(context.Background()).UrlId(urlId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutCloseThread(context.Background()).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutCloseThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutCloseThread`: APIEmptyResponse + // response from `PutCloseThread`: PutCloseThreadResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutCloseThread`: %v\n", resp) } ``` @@ -2841,11 +2942,12 @@ Other parameters are passed through a pointer to a apiPutCloseThreadRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **urlId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PutCloseThreadResponse**](PutCloseThreadResponse.md) ### Authorization @@ -2863,7 +2965,7 @@ No authorization required ## PutRemoveBadge -> RemoveUserBadgeResponse PutRemoveBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> PutRemoveBadgeResponse PutRemoveBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2884,16 +2986,17 @@ func main() { userId := "userId_example" // string | (optional) commentId := "commentId_example" // string | (optional) broadcastId := "broadcastId_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutRemoveBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutRemoveBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutRemoveBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutRemoveBadge`: RemoveUserBadgeResponse + // response from `PutRemoveBadge`: PutRemoveBadgeResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutRemoveBadge`: %v\n", resp) } ``` @@ -2913,11 +3016,12 @@ Name | Type | Description | Notes **userId** | **string** | | **commentId** | **string** | | **broadcastId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) +[**PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) ### Authorization @@ -2935,7 +3039,7 @@ No authorization required ## PutReopenThread -> APIEmptyResponse PutReopenThread(ctx).UrlId(urlId).Sso(sso).Execute() +> PutReopenThreadResponse PutReopenThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() @@ -2953,16 +3057,17 @@ import ( func main() { urlId := "urlId_example" // string | + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutReopenThread(context.Background()).UrlId(urlId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutReopenThread(context.Background()).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutReopenThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutReopenThread`: APIEmptyResponse + // response from `PutReopenThread`: PutReopenThreadResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutReopenThread`: %v\n", resp) } ``` @@ -2979,11 +3084,12 @@ Other parameters are passed through a pointer to a apiPutReopenThreadRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **urlId** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**PutReopenThreadResponse**](PutReopenThreadResponse.md) ### Authorization @@ -3001,7 +3107,7 @@ No authorization required ## SetTrustFactor -> SetUserTrustFactorResponse SetTrustFactor(ctx).UserId(userId).TrustFactor(trustFactor).Sso(sso).Execute() +> SetTrustFactorResponse SetTrustFactor(ctx).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() @@ -3020,16 +3126,17 @@ import ( func main() { userId := "userId_example" // string | (optional) trustFactor := "trustFactor_example" // string | (optional) + tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.SetTrustFactor(context.Background()).UserId(userId).TrustFactor(trustFactor).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.SetTrustFactor(context.Background()).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.SetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SetTrustFactor`: SetUserTrustFactorResponse + // response from `SetTrustFactor`: SetTrustFactorResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.SetTrustFactor`: %v\n", resp) } ``` @@ -3047,11 +3154,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **userId** | **string** | | **trustFactor** | **string** | | + **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) +[**SetTrustFactorResponse**](SetTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md new file mode 100644 index 0000000..4c12a63 --- /dev/null +++ b/client/docs/PatchHashTagResponse.md @@ -0,0 +1,244 @@ +# PatchHashTagResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**HashTag** | [**TenantHashTag**](TenantHashTag.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPatchHashTagResponse + +`func NewPatchHashTagResponse(status APIStatus, hashTag TenantHashTag, reason string, code string, ) *PatchHashTagResponse` + +NewPatchHashTagResponse instantiates a new PatchHashTagResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPatchHashTagResponseWithDefaults + +`func NewPatchHashTagResponseWithDefaults() *PatchHashTagResponse` + +NewPatchHashTagResponseWithDefaults instantiates a new PatchHashTagResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PatchHashTagResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PatchHashTagResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PatchHashTagResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetHashTag + +`func (o *PatchHashTagResponse) GetHashTag() TenantHashTag` + +GetHashTag returns the HashTag field if non-nil, zero value otherwise. + +### GetHashTagOk + +`func (o *PatchHashTagResponse) GetHashTagOk() (*TenantHashTag, bool)` + +GetHashTagOk returns a tuple with the HashTag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHashTag + +`func (o *PatchHashTagResponse) SetHashTag(v TenantHashTag)` + +SetHashTag sets HashTag field to given value. + + +### GetReason + +`func (o *PatchHashTagResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PatchHashTagResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PatchHashTagResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PatchHashTagResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PatchHashTagResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PatchHashTagResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PatchHashTagResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PatchHashTagResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PatchHashTagResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PatchHashTagResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PatchHashTagResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PatchHashTagResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PatchHashTagResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PatchHashTagResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PatchHashTagResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PatchHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PatchHashTagResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PatchHashTagResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PatchHashTagResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PatchHashTagResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PatchHashTagResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PatchHashTagResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PatchHashTagResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PatchHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PatchHashTagResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PatchHashTagResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md new file mode 100644 index 0000000..bf3ee63 --- /dev/null +++ b/client/docs/PinCommentResponse.md @@ -0,0 +1,244 @@ +# PinCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentPositions** | [**map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md) | Construct a type with a set of properties K of type T | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPinCommentResponse + +`func NewPinCommentResponse(commentPositions map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, status APIStatus, reason string, code string, ) *PinCommentResponse` + +NewPinCommentResponse instantiates a new PinCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPinCommentResponseWithDefaults + +`func NewPinCommentResponseWithDefaults() *PinCommentResponse` + +NewPinCommentResponseWithDefaults instantiates a new PinCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCommentPositions + +`func (o *PinCommentResponse) GetCommentPositions() map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue` + +GetCommentPositions returns the CommentPositions field if non-nil, zero value otherwise. + +### GetCommentPositionsOk + +`func (o *PinCommentResponse) GetCommentPositionsOk() (*map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, bool)` + +GetCommentPositionsOk returns a tuple with the CommentPositions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentPositions + +`func (o *PinCommentResponse) SetCommentPositions(v map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue)` + +SetCommentPositions sets CommentPositions field to given value. + + +### GetStatus + +`func (o *PinCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PinCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PinCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PinCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PinCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PinCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PinCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PinCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PinCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PinCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PinCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PinCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PinCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PinCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PinCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PinCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PinCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PinCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PinCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PinCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PinCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PinCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PinCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PinCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PinCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PinCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PinCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PinCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PinCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md new file mode 100644 index 0000000..c14380a --- /dev/null +++ b/client/docs/PostAdjustCommentVotesResponse.md @@ -0,0 +1,244 @@ +# PostAdjustCommentVotesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**NewCommentVotes** | **int32** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostAdjustCommentVotesResponse + +`func NewPostAdjustCommentVotesResponse(status APIStatus, newCommentVotes int32, reason string, code string, ) *PostAdjustCommentVotesResponse` + +NewPostAdjustCommentVotesResponse instantiates a new PostAdjustCommentVotesResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostAdjustCommentVotesResponseWithDefaults + +`func NewPostAdjustCommentVotesResponseWithDefaults() *PostAdjustCommentVotesResponse` + +NewPostAdjustCommentVotesResponseWithDefaults instantiates a new PostAdjustCommentVotesResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostAdjustCommentVotesResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostAdjustCommentVotesResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostAdjustCommentVotesResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetNewCommentVotes + +`func (o *PostAdjustCommentVotesResponse) GetNewCommentVotes() int32` + +GetNewCommentVotes returns the NewCommentVotes field if non-nil, zero value otherwise. + +### GetNewCommentVotesOk + +`func (o *PostAdjustCommentVotesResponse) GetNewCommentVotesOk() (*int32, bool)` + +GetNewCommentVotesOk returns a tuple with the NewCommentVotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNewCommentVotes + +`func (o *PostAdjustCommentVotesResponse) SetNewCommentVotes(v int32)` + +SetNewCommentVotes sets NewCommentVotes field to given value. + + +### GetReason + +`func (o *PostAdjustCommentVotesResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostAdjustCommentVotesResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostAdjustCommentVotesResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostAdjustCommentVotesResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostAdjustCommentVotesResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostAdjustCommentVotesResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostAdjustCommentVotesResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostAdjustCommentVotesResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostAdjustCommentVotesResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostAdjustCommentVotesResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostAdjustCommentVotesResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostAdjustCommentVotesResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostAdjustCommentVotesResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostAdjustCommentVotesResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostAdjustCommentVotesResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostAdjustCommentVotesResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostAdjustCommentVotesResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostAdjustCommentVotesResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostAdjustCommentVotesResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostAdjustCommentVotesResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostAdjustCommentVotesResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostAdjustCommentVotesResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostAdjustCommentVotesResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostAdjustCommentVotesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostAdjustCommentVotesResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostAdjustCommentVotesResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md new file mode 100644 index 0000000..c8f69b7 --- /dev/null +++ b/client/docs/PostApiExportResponse.md @@ -0,0 +1,244 @@ +# PostApiExportResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**BatchJobId** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostApiExportResponse + +`func NewPostApiExportResponse(status APIStatus, batchJobId string, reason string, code string, ) *PostApiExportResponse` + +NewPostApiExportResponse instantiates a new PostApiExportResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostApiExportResponseWithDefaults + +`func NewPostApiExportResponseWithDefaults() *PostApiExportResponse` + +NewPostApiExportResponseWithDefaults instantiates a new PostApiExportResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostApiExportResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostApiExportResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostApiExportResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetBatchJobId + +`func (o *PostApiExportResponse) GetBatchJobId() string` + +GetBatchJobId returns the BatchJobId field if non-nil, zero value otherwise. + +### GetBatchJobIdOk + +`func (o *PostApiExportResponse) GetBatchJobIdOk() (*string, bool)` + +GetBatchJobIdOk returns a tuple with the BatchJobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBatchJobId + +`func (o *PostApiExportResponse) SetBatchJobId(v string)` + +SetBatchJobId sets BatchJobId field to given value. + + +### GetReason + +`func (o *PostApiExportResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostApiExportResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostApiExportResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostApiExportResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostApiExportResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostApiExportResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostApiExportResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostApiExportResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostApiExportResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostApiExportResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostApiExportResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostApiExportResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostApiExportResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostApiExportResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostApiExportResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostApiExportResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostApiExportResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostApiExportResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostApiExportResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostApiExportResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostApiExportResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostApiExportResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostApiExportResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostApiExportResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostApiExportResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostApiExportResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md new file mode 100644 index 0000000..09f1bc5 --- /dev/null +++ b/client/docs/PostBanUserFromCommentResponse.md @@ -0,0 +1,249 @@ +# PostBanUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Changelog** | Pointer to [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] +**Code** | **string** | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostBanUserFromCommentResponse + +`func NewPostBanUserFromCommentResponse(status APIStatus, code string, reason string, ) *PostBanUserFromCommentResponse` + +NewPostBanUserFromCommentResponse instantiates a new PostBanUserFromCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostBanUserFromCommentResponseWithDefaults + +`func NewPostBanUserFromCommentResponseWithDefaults() *PostBanUserFromCommentResponse` + +NewPostBanUserFromCommentResponseWithDefaults instantiates a new PostBanUserFromCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostBanUserFromCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostBanUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostBanUserFromCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetChangelog + +`func (o *PostBanUserFromCommentResponse) GetChangelog() APIBanUserChangeLog` + +GetChangelog returns the Changelog field if non-nil, zero value otherwise. + +### GetChangelogOk + +`func (o *PostBanUserFromCommentResponse) GetChangelogOk() (*APIBanUserChangeLog, bool)` + +GetChangelogOk returns a tuple with the Changelog field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChangelog + +`func (o *PostBanUserFromCommentResponse) SetChangelog(v APIBanUserChangeLog)` + +SetChangelog sets Changelog field to given value. + +### HasChangelog + +`func (o *PostBanUserFromCommentResponse) HasChangelog() bool` + +HasChangelog returns a boolean if a field has been set. + +### GetCode + +`func (o *PostBanUserFromCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostBanUserFromCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostBanUserFromCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *PostBanUserFromCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostBanUserFromCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostBanUserFromCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *PostBanUserFromCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostBanUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostBanUserFromCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostBanUserFromCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostBanUserFromCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostBanUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostBanUserFromCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostBanUserFromCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostBanUserFromCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostBanUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostBanUserFromCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostBanUserFromCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostBanUserFromCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostBanUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostBanUserFromCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostBanUserFromCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostBanUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostBanUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostBanUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostBanUserFromCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md new file mode 100644 index 0000000..8dd805d --- /dev/null +++ b/client/docs/PostBanUserUndoResponse.md @@ -0,0 +1,223 @@ +# PostBanUserUndoResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostBanUserUndoResponse + +`func NewPostBanUserUndoResponse(status APIStatus, reason string, code string, ) *PostBanUserUndoResponse` + +NewPostBanUserUndoResponse instantiates a new PostBanUserUndoResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostBanUserUndoResponseWithDefaults + +`func NewPostBanUserUndoResponseWithDefaults() *PostBanUserUndoResponse` + +NewPostBanUserUndoResponseWithDefaults instantiates a new PostBanUserUndoResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostBanUserUndoResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostBanUserUndoResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostBanUserUndoResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostBanUserUndoResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostBanUserUndoResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostBanUserUndoResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostBanUserUndoResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostBanUserUndoResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostBanUserUndoResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostBanUserUndoResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostBanUserUndoResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostBanUserUndoResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostBanUserUndoResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostBanUserUndoResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostBanUserUndoResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostBanUserUndoResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostBanUserUndoResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostBanUserUndoResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostBanUserUndoResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostBanUserUndoResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostBanUserUndoResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostBanUserUndoResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostBanUserUndoResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostBanUserUndoResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostBanUserUndoResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostBanUserUndoResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostBanUserUndoResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostBanUserUndoResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostBanUserUndoResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md new file mode 100644 index 0000000..ee6be2d --- /dev/null +++ b/client/docs/PostBulkPreBanSummaryResponse.md @@ -0,0 +1,328 @@ +# PostBulkPreBanSummaryResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**TotalRelatedCommentCount** | **int32** | | +**EmailDomains** | **[]string** | | +**Emails** | **[]string** | | +**UserIds** | **[]string** | | +**IpHashes** | **[]string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostBulkPreBanSummaryResponse + +`func NewPostBulkPreBanSummaryResponse(status APIStatus, totalRelatedCommentCount int32, emailDomains []string, emails []string, userIds []string, ipHashes []string, reason string, code string, ) *PostBulkPreBanSummaryResponse` + +NewPostBulkPreBanSummaryResponse instantiates a new PostBulkPreBanSummaryResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostBulkPreBanSummaryResponseWithDefaults + +`func NewPostBulkPreBanSummaryResponseWithDefaults() *PostBulkPreBanSummaryResponse` + +NewPostBulkPreBanSummaryResponseWithDefaults instantiates a new PostBulkPreBanSummaryResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostBulkPreBanSummaryResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostBulkPreBanSummaryResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostBulkPreBanSummaryResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetTotalRelatedCommentCount + +`func (o *PostBulkPreBanSummaryResponse) GetTotalRelatedCommentCount() int32` + +GetTotalRelatedCommentCount returns the TotalRelatedCommentCount field if non-nil, zero value otherwise. + +### GetTotalRelatedCommentCountOk + +`func (o *PostBulkPreBanSummaryResponse) GetTotalRelatedCommentCountOk() (*int32, bool)` + +GetTotalRelatedCommentCountOk returns a tuple with the TotalRelatedCommentCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRelatedCommentCount + +`func (o *PostBulkPreBanSummaryResponse) SetTotalRelatedCommentCount(v int32)` + +SetTotalRelatedCommentCount sets TotalRelatedCommentCount field to given value. + + +### GetEmailDomains + +`func (o *PostBulkPreBanSummaryResponse) GetEmailDomains() []string` + +GetEmailDomains returns the EmailDomains field if non-nil, zero value otherwise. + +### GetEmailDomainsOk + +`func (o *PostBulkPreBanSummaryResponse) GetEmailDomainsOk() (*[]string, bool)` + +GetEmailDomainsOk returns a tuple with the EmailDomains field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmailDomains + +`func (o *PostBulkPreBanSummaryResponse) SetEmailDomains(v []string)` + +SetEmailDomains sets EmailDomains field to given value. + + +### GetEmails + +`func (o *PostBulkPreBanSummaryResponse) GetEmails() []string` + +GetEmails returns the Emails field if non-nil, zero value otherwise. + +### GetEmailsOk + +`func (o *PostBulkPreBanSummaryResponse) GetEmailsOk() (*[]string, bool)` + +GetEmailsOk returns a tuple with the Emails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmails + +`func (o *PostBulkPreBanSummaryResponse) SetEmails(v []string)` + +SetEmails sets Emails field to given value. + + +### GetUserIds + +`func (o *PostBulkPreBanSummaryResponse) GetUserIds() []string` + +GetUserIds returns the UserIds field if non-nil, zero value otherwise. + +### GetUserIdsOk + +`func (o *PostBulkPreBanSummaryResponse) GetUserIdsOk() (*[]string, bool)` + +GetUserIdsOk returns a tuple with the UserIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserIds + +`func (o *PostBulkPreBanSummaryResponse) SetUserIds(v []string)` + +SetUserIds sets UserIds field to given value. + + +### GetIpHashes + +`func (o *PostBulkPreBanSummaryResponse) GetIpHashes() []string` + +GetIpHashes returns the IpHashes field if non-nil, zero value otherwise. + +### GetIpHashesOk + +`func (o *PostBulkPreBanSummaryResponse) GetIpHashesOk() (*[]string, bool)` + +GetIpHashesOk returns a tuple with the IpHashes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpHashes + +`func (o *PostBulkPreBanSummaryResponse) SetIpHashes(v []string)` + +SetIpHashes sets IpHashes field to given value. + + +### GetReason + +`func (o *PostBulkPreBanSummaryResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostBulkPreBanSummaryResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostBulkPreBanSummaryResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostBulkPreBanSummaryResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostBulkPreBanSummaryResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostBulkPreBanSummaryResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostBulkPreBanSummaryResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostBulkPreBanSummaryResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostBulkPreBanSummaryResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostBulkPreBanSummaryResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostBulkPreBanSummaryResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostBulkPreBanSummaryResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostBulkPreBanSummaryResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostBulkPreBanSummaryResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostBulkPreBanSummaryResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostBulkPreBanSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostBulkPreBanSummaryResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostBulkPreBanSummaryResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostBulkPreBanSummaryResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostBulkPreBanSummaryResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostBulkPreBanSummaryResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostBulkPreBanSummaryResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostBulkPreBanSummaryResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostBulkPreBanSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostBulkPreBanSummaryResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostBulkPreBanSummaryResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md new file mode 100644 index 0000000..188a637 --- /dev/null +++ b/client/docs/PostCommentsByIdsResponse.md @@ -0,0 +1,244 @@ +# PostCommentsByIdsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostCommentsByIdsResponse + +`func NewPostCommentsByIdsResponse(comments []ModerationAPIComment, status APIStatus, reason string, code string, ) *PostCommentsByIdsResponse` + +NewPostCommentsByIdsResponse instantiates a new PostCommentsByIdsResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostCommentsByIdsResponseWithDefaults + +`func NewPostCommentsByIdsResponseWithDefaults() *PostCommentsByIdsResponse` + +NewPostCommentsByIdsResponseWithDefaults instantiates a new PostCommentsByIdsResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComments + +`func (o *PostCommentsByIdsResponse) GetComments() []ModerationAPIComment` + +GetComments returns the Comments field if non-nil, zero value otherwise. + +### GetCommentsOk + +`func (o *PostCommentsByIdsResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` + +GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComments + +`func (o *PostCommentsByIdsResponse) SetComments(v []ModerationAPIComment)` + +SetComments sets Comments field to given value. + + +### GetStatus + +`func (o *PostCommentsByIdsResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostCommentsByIdsResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostCommentsByIdsResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostCommentsByIdsResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostCommentsByIdsResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostCommentsByIdsResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostCommentsByIdsResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostCommentsByIdsResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostCommentsByIdsResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostCommentsByIdsResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostCommentsByIdsResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostCommentsByIdsResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostCommentsByIdsResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostCommentsByIdsResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostCommentsByIdsResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostCommentsByIdsResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostCommentsByIdsResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostCommentsByIdsResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostCommentsByIdsResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostCommentsByIdsResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostCommentsByIdsResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostCommentsByIdsResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostCommentsByIdsResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostCommentsByIdsResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostCommentsByIdsResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostCommentsByIdsResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostCommentsByIdsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostCommentsByIdsResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostCommentsByIdsResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md new file mode 100644 index 0000000..5af79d1 --- /dev/null +++ b/client/docs/PostFlagCommentResponse.md @@ -0,0 +1,223 @@ +# PostFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostFlagCommentResponse + +`func NewPostFlagCommentResponse(status APIStatus, reason string, code string, ) *PostFlagCommentResponse` + +NewPostFlagCommentResponse instantiates a new PostFlagCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostFlagCommentResponseWithDefaults + +`func NewPostFlagCommentResponseWithDefaults() *PostFlagCommentResponse` + +NewPostFlagCommentResponseWithDefaults instantiates a new PostFlagCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostFlagCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostFlagCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostFlagCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostFlagCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostFlagCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostFlagCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostFlagCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostFlagCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostFlagCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostFlagCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostFlagCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostFlagCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostFlagCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostFlagCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostFlagCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostFlagCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostFlagCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostFlagCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostFlagCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostFlagCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostFlagCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostFlagCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index c243fe2..ccb556c 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -5,13 +5,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Action** | **string** | | -**Status** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewPostRemoveCommentResponse -`func NewPostRemoveCommentResponse(action string, status string, ) *PostRemoveCommentResponse` +`func NewPostRemoveCommentResponse(action string, status APIStatus, reason string, code string, ) *PostRemoveCommentResponse` NewPostRemoveCommentResponse instantiates a new PostRemoveCommentResponse object This constructor will assign default values to properties that have it defined, @@ -48,24 +55,189 @@ SetAction sets Action field to given value. ### GetStatus -`func (o *PostRemoveCommentResponse) GetStatus() string` +`func (o *PostRemoveCommentResponse) GetStatus() APIStatus` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PostRemoveCommentResponse) GetStatusOk() (*string, bool)` +`func (o *PostRemoveCommentResponse) GetStatusOk() (*APIStatus, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PostRemoveCommentResponse) SetStatus(v string)` +`func (o *PostRemoveCommentResponse) SetStatus(v APIStatus)` SetStatus sets Status field to given value. +### GetReason + +`func (o *PostRemoveCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostRemoveCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostRemoveCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostRemoveCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostRemoveCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostRemoveCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostRemoveCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostRemoveCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostRemoveCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostRemoveCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostRemoveCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostRemoveCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostRemoveCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostRemoveCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostRemoveCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostRemoveCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostRemoveCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostRemoveCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostRemoveCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostRemoveCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostRemoveCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostRemoveCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostRemoveCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostRemoveCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostRemoveCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostRemoveCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md new file mode 100644 index 0000000..079617c --- /dev/null +++ b/client/docs/PostRestoreDeletedCommentResponse.md @@ -0,0 +1,223 @@ +# PostRestoreDeletedCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostRestoreDeletedCommentResponse + +`func NewPostRestoreDeletedCommentResponse(status APIStatus, reason string, code string, ) *PostRestoreDeletedCommentResponse` + +NewPostRestoreDeletedCommentResponse instantiates a new PostRestoreDeletedCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostRestoreDeletedCommentResponseWithDefaults + +`func NewPostRestoreDeletedCommentResponseWithDefaults() *PostRestoreDeletedCommentResponse` + +NewPostRestoreDeletedCommentResponseWithDefaults instantiates a new PostRestoreDeletedCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostRestoreDeletedCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostRestoreDeletedCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostRestoreDeletedCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostRestoreDeletedCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostRestoreDeletedCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostRestoreDeletedCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostRestoreDeletedCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostRestoreDeletedCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostRestoreDeletedCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostRestoreDeletedCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostRestoreDeletedCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostRestoreDeletedCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostRestoreDeletedCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostRestoreDeletedCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostRestoreDeletedCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostRestoreDeletedCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostRestoreDeletedCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostRestoreDeletedCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostRestoreDeletedCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostRestoreDeletedCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostRestoreDeletedCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostRestoreDeletedCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostRestoreDeletedCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostRestoreDeletedCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostRestoreDeletedCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostRestoreDeletedCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostRestoreDeletedCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostRestoreDeletedCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostRestoreDeletedCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md new file mode 100644 index 0000000..c4f260e --- /dev/null +++ b/client/docs/PostSetCommentApprovalStatusResponse.md @@ -0,0 +1,249 @@ +# PostSetCommentApprovalStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DidResetFlaggedCount** | Pointer to **bool** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostSetCommentApprovalStatusResponse + +`func NewPostSetCommentApprovalStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentApprovalStatusResponse` + +NewPostSetCommentApprovalStatusResponse instantiates a new PostSetCommentApprovalStatusResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostSetCommentApprovalStatusResponseWithDefaults + +`func NewPostSetCommentApprovalStatusResponseWithDefaults() *PostSetCommentApprovalStatusResponse` + +NewPostSetCommentApprovalStatusResponseWithDefaults instantiates a new PostSetCommentApprovalStatusResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDidResetFlaggedCount + +`func (o *PostSetCommentApprovalStatusResponse) GetDidResetFlaggedCount() bool` + +GetDidResetFlaggedCount returns the DidResetFlaggedCount field if non-nil, zero value otherwise. + +### GetDidResetFlaggedCountOk + +`func (o *PostSetCommentApprovalStatusResponse) GetDidResetFlaggedCountOk() (*bool, bool)` + +GetDidResetFlaggedCountOk returns a tuple with the DidResetFlaggedCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDidResetFlaggedCount + +`func (o *PostSetCommentApprovalStatusResponse) SetDidResetFlaggedCount(v bool)` + +SetDidResetFlaggedCount sets DidResetFlaggedCount field to given value. + +### HasDidResetFlaggedCount + +`func (o *PostSetCommentApprovalStatusResponse) HasDidResetFlaggedCount() bool` + +HasDidResetFlaggedCount returns a boolean if a field has been set. + +### GetStatus + +`func (o *PostSetCommentApprovalStatusResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostSetCommentApprovalStatusResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostSetCommentApprovalStatusResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostSetCommentApprovalStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostSetCommentApprovalStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostSetCommentApprovalStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostSetCommentApprovalStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostSetCommentApprovalStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostSetCommentApprovalStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostSetCommentApprovalStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostSetCommentApprovalStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostSetCommentApprovalStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostSetCommentApprovalStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostSetCommentApprovalStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostSetCommentApprovalStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostSetCommentApprovalStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostSetCommentApprovalStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostSetCommentApprovalStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostSetCommentApprovalStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostSetCommentApprovalStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostSetCommentApprovalStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostSetCommentApprovalStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostSetCommentApprovalStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostSetCommentApprovalStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostSetCommentApprovalStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostSetCommentApprovalStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostSetCommentApprovalStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostSetCommentApprovalStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostSetCommentApprovalStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md new file mode 100644 index 0000000..635b5d0 --- /dev/null +++ b/client/docs/PostSetCommentReviewStatusResponse.md @@ -0,0 +1,223 @@ +# PostSetCommentReviewStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostSetCommentReviewStatusResponse + +`func NewPostSetCommentReviewStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentReviewStatusResponse` + +NewPostSetCommentReviewStatusResponse instantiates a new PostSetCommentReviewStatusResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostSetCommentReviewStatusResponseWithDefaults + +`func NewPostSetCommentReviewStatusResponseWithDefaults() *PostSetCommentReviewStatusResponse` + +NewPostSetCommentReviewStatusResponseWithDefaults instantiates a new PostSetCommentReviewStatusResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostSetCommentReviewStatusResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostSetCommentReviewStatusResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostSetCommentReviewStatusResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostSetCommentReviewStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostSetCommentReviewStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostSetCommentReviewStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostSetCommentReviewStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostSetCommentReviewStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostSetCommentReviewStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostSetCommentReviewStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostSetCommentReviewStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostSetCommentReviewStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostSetCommentReviewStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostSetCommentReviewStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostSetCommentReviewStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostSetCommentReviewStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostSetCommentReviewStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostSetCommentReviewStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostSetCommentReviewStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostSetCommentReviewStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostSetCommentReviewStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostSetCommentReviewStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostSetCommentReviewStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostSetCommentReviewStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostSetCommentReviewStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostSetCommentReviewStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostSetCommentReviewStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostSetCommentReviewStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostSetCommentReviewStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md new file mode 100644 index 0000000..51ef93b --- /dev/null +++ b/client/docs/PostSetCommentSpamStatusResponse.md @@ -0,0 +1,223 @@ +# PostSetCommentSpamStatusResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostSetCommentSpamStatusResponse + +`func NewPostSetCommentSpamStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentSpamStatusResponse` + +NewPostSetCommentSpamStatusResponse instantiates a new PostSetCommentSpamStatusResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostSetCommentSpamStatusResponseWithDefaults + +`func NewPostSetCommentSpamStatusResponseWithDefaults() *PostSetCommentSpamStatusResponse` + +NewPostSetCommentSpamStatusResponseWithDefaults instantiates a new PostSetCommentSpamStatusResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostSetCommentSpamStatusResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostSetCommentSpamStatusResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostSetCommentSpamStatusResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostSetCommentSpamStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostSetCommentSpamStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostSetCommentSpamStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostSetCommentSpamStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostSetCommentSpamStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostSetCommentSpamStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostSetCommentSpamStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostSetCommentSpamStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostSetCommentSpamStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostSetCommentSpamStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostSetCommentSpamStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostSetCommentSpamStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostSetCommentSpamStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostSetCommentSpamStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostSetCommentSpamStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostSetCommentSpamStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostSetCommentSpamStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostSetCommentSpamStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostSetCommentSpamStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostSetCommentSpamStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostSetCommentSpamStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostSetCommentSpamStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostSetCommentSpamStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostSetCommentSpamStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostSetCommentSpamStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostSetCommentSpamStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md new file mode 100644 index 0000000..ece99c7 --- /dev/null +++ b/client/docs/PostSetCommentTextResponse.md @@ -0,0 +1,244 @@ +# PostSetCommentTextResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NewCommentTextHTML** | **string** | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostSetCommentTextResponse + +`func NewPostSetCommentTextResponse(newCommentTextHTML string, status APIStatus, reason string, code string, ) *PostSetCommentTextResponse` + +NewPostSetCommentTextResponse instantiates a new PostSetCommentTextResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostSetCommentTextResponseWithDefaults + +`func NewPostSetCommentTextResponseWithDefaults() *PostSetCommentTextResponse` + +NewPostSetCommentTextResponseWithDefaults instantiates a new PostSetCommentTextResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNewCommentTextHTML + +`func (o *PostSetCommentTextResponse) GetNewCommentTextHTML() string` + +GetNewCommentTextHTML returns the NewCommentTextHTML field if non-nil, zero value otherwise. + +### GetNewCommentTextHTMLOk + +`func (o *PostSetCommentTextResponse) GetNewCommentTextHTMLOk() (*string, bool)` + +GetNewCommentTextHTMLOk returns a tuple with the NewCommentTextHTML field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNewCommentTextHTML + +`func (o *PostSetCommentTextResponse) SetNewCommentTextHTML(v string)` + +SetNewCommentTextHTML sets NewCommentTextHTML field to given value. + + +### GetStatus + +`func (o *PostSetCommentTextResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostSetCommentTextResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostSetCommentTextResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostSetCommentTextResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostSetCommentTextResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostSetCommentTextResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostSetCommentTextResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostSetCommentTextResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostSetCommentTextResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostSetCommentTextResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostSetCommentTextResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostSetCommentTextResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostSetCommentTextResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostSetCommentTextResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostSetCommentTextResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostSetCommentTextResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostSetCommentTextResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostSetCommentTextResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostSetCommentTextResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostSetCommentTextResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostSetCommentTextResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostSetCommentTextResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostSetCommentTextResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostSetCommentTextResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostSetCommentTextResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostSetCommentTextResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostSetCommentTextResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostSetCommentTextResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostSetCommentTextResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md new file mode 100644 index 0000000..fd12a5f --- /dev/null +++ b/client/docs/PostUnFlagCommentResponse.md @@ -0,0 +1,223 @@ +# PostUnFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostUnFlagCommentResponse + +`func NewPostUnFlagCommentResponse(status APIStatus, reason string, code string, ) *PostUnFlagCommentResponse` + +NewPostUnFlagCommentResponse instantiates a new PostUnFlagCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostUnFlagCommentResponseWithDefaults + +`func NewPostUnFlagCommentResponseWithDefaults() *PostUnFlagCommentResponse` + +NewPostUnFlagCommentResponseWithDefaults instantiates a new PostUnFlagCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostUnFlagCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostUnFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostUnFlagCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PostUnFlagCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostUnFlagCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostUnFlagCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostUnFlagCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostUnFlagCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostUnFlagCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostUnFlagCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostUnFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostUnFlagCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostUnFlagCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostUnFlagCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostUnFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostUnFlagCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostUnFlagCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostUnFlagCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostUnFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostUnFlagCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostUnFlagCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostUnFlagCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostUnFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostUnFlagCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostUnFlagCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostUnFlagCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostUnFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostUnFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostUnFlagCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md new file mode 100644 index 0000000..6273ac8 --- /dev/null +++ b/client/docs/PostVoteResponse.md @@ -0,0 +1,327 @@ +# PostVoteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**VoteId** | Pointer to **string** | | [optional] +**IsVerified** | Pointer to **bool** | | [optional] +**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**EditKey** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPostVoteResponse + +`func NewPostVoteResponse(status APIStatus, reason string, code string, ) *PostVoteResponse` + +NewPostVoteResponse instantiates a new PostVoteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPostVoteResponseWithDefaults + +`func NewPostVoteResponseWithDefaults() *PostVoteResponse` + +NewPostVoteResponseWithDefaults instantiates a new PostVoteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PostVoteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PostVoteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PostVoteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetVoteId + +`func (o *PostVoteResponse) GetVoteId() string` + +GetVoteId returns the VoteId field if non-nil, zero value otherwise. + +### GetVoteIdOk + +`func (o *PostVoteResponse) GetVoteIdOk() (*string, bool)` + +GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVoteId + +`func (o *PostVoteResponse) SetVoteId(v string)` + +SetVoteId sets VoteId field to given value. + +### HasVoteId + +`func (o *PostVoteResponse) HasVoteId() bool` + +HasVoteId returns a boolean if a field has been set. + +### GetIsVerified + +`func (o *PostVoteResponse) GetIsVerified() bool` + +GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. + +### GetIsVerifiedOk + +`func (o *PostVoteResponse) GetIsVerifiedOk() (*bool, bool)` + +GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsVerified + +`func (o *PostVoteResponse) SetIsVerified(v bool)` + +SetIsVerified sets IsVerified field to given value. + +### HasIsVerified + +`func (o *PostVoteResponse) HasIsVerified() bool` + +HasIsVerified returns a boolean if a field has been set. + +### GetUser + +`func (o *PostVoteResponse) GetUser() VoteResponseUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *PostVoteResponse) GetUserOk() (*VoteResponseUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *PostVoteResponse) SetUser(v VoteResponseUser)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *PostVoteResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetEditKey + +`func (o *PostVoteResponse) GetEditKey() string` + +GetEditKey returns the EditKey field if non-nil, zero value otherwise. + +### GetEditKeyOk + +`func (o *PostVoteResponse) GetEditKeyOk() (*string, bool)` + +GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEditKey + +`func (o *PostVoteResponse) SetEditKey(v string)` + +SetEditKey sets EditKey field to given value. + +### HasEditKey + +`func (o *PostVoteResponse) HasEditKey() bool` + +HasEditKey returns a boolean if a field has been set. + +### GetReason + +`func (o *PostVoteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PostVoteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PostVoteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PostVoteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PostVoteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PostVoteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PostVoteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PostVoteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PostVoteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PostVoteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PostVoteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PostVoteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PostVoteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PostVoteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PostVoteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PostVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PostVoteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PostVoteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PostVoteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PostVoteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PostVoteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PostVoteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PostVoteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PostVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PostVoteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PostVoteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index 60d9be5..d6ee68e 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -61,7 +61,7 @@ Method | HTTP request | Description ## BlockFromCommentPublic -> BlockSuccess BlockFromCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() +> BlockFromCommentPublicResponse BlockFromCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() @@ -90,7 +90,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.BlockFromCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BlockFromCommentPublic`: BlockSuccess + // response from `BlockFromCommentPublic`: BlockFromCommentPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.BlockFromCommentPublic`: %v\n", resp) } ``` @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Return type -[**BlockSuccess**](BlockSuccess.md) +[**BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) ### Authorization @@ -135,7 +135,7 @@ No authorization required ## CheckedCommentsForBlocked -> CheckBlockedCommentsResponse CheckedCommentsForBlocked(ctx).TenantId(tenantId).CommentIds(commentIds).Sso(sso).Execute() +> CheckedCommentsForBlockedResponse CheckedCommentsForBlocked(ctx).TenantId(tenantId).CommentIds(commentIds).Sso(sso).Execute() @@ -163,7 +163,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CheckedCommentsForBlocked``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CheckedCommentsForBlocked`: CheckBlockedCommentsResponse + // response from `CheckedCommentsForBlocked`: CheckedCommentsForBlockedResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CheckedCommentsForBlocked`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Return type -[**CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) +[**CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) ### Authorization @@ -203,7 +203,7 @@ No authorization required ## CreateCommentPublic -> SaveCommentsResponseWithPresence CreateCommentPublic(ctx, tenantId).UrlId(urlId).BroadcastId(broadcastId).CommentData(commentData).SessionId(sessionId).Sso(sso).Execute() +> CreateCommentPublicResponse CreateCommentPublic(ctx, tenantId).UrlId(urlId).BroadcastId(broadcastId).CommentData(commentData).SessionId(sessionId).Sso(sso).Execute() @@ -234,7 +234,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateCommentPublic`: SaveCommentsResponseWithPresence + // response from `CreateCommentPublic`: CreateCommentPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateCommentPublic`: %v\n", resp) } ``` @@ -263,7 +263,7 @@ Name | Type | Description | Notes ### Return type -[**SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) +[**CreateCommentPublicResponse**](CreateCommentPublicResponse.md) ### Authorization @@ -281,7 +281,7 @@ No authorization required ## CreateFeedPostPublic -> CreateFeedPostResponse CreateFeedPostPublic(ctx, tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() +> CreateFeedPostPublicResponse CreateFeedPostPublic(ctx, tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -310,7 +310,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateFeedPostPublic`: CreateFeedPostResponse + // response from `CreateFeedPostPublic`: CreateFeedPostPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateFeedPostPublic`: %v\n", resp) } ``` @@ -337,7 +337,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) ### Authorization @@ -355,7 +355,7 @@ No authorization required ## CreateV1PageReact -> CreateV1PageReact CreateV1PageReact(ctx, tenantId).UrlId(urlId).Title(title).Execute() +> CreateV1PageReactResponse CreateV1PageReact(ctx, tenantId).UrlId(urlId).Title(title).Execute() @@ -383,7 +383,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateV1PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateV1PageReact`: CreateV1PageReact + // response from `CreateV1PageReact`: CreateV1PageReactResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateV1PageReact`: %v\n", resp) } ``` @@ -409,7 +409,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**CreateV1PageReactResponse**](CreateV1PageReactResponse.md) ### Authorization @@ -427,7 +427,7 @@ No authorization required ## CreateV2PageReact -> CreateV1PageReact CreateV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Title(title).Execute() +> CreateV2PageReactResponse CreateV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Title(title).Execute() @@ -456,7 +456,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateV2PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateV2PageReact`: CreateV1PageReact + // response from `CreateV2PageReact`: CreateV2PageReactResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateV2PageReact`: %v\n", resp) } ``` @@ -483,7 +483,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**CreateV2PageReactResponse**](CreateV2PageReactResponse.md) ### Authorization @@ -501,7 +501,7 @@ No authorization required ## DeleteCommentPublic -> PublicAPIDeleteCommentResponse DeleteCommentPublic(ctx, tenantId, commentId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() +> DeleteCommentPublicResponse DeleteCommentPublic(ctx, tenantId, commentId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() @@ -531,7 +531,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteCommentPublic`: PublicAPIDeleteCommentResponse + // response from `DeleteCommentPublic`: DeleteCommentPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteCommentPublic`: %v\n", resp) } ``` @@ -560,7 +560,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) +[**DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) ### Authorization @@ -578,7 +578,7 @@ No authorization required ## DeleteCommentVote -> VoteDeleteResponse DeleteCommentVote(ctx, tenantId, commentId, voteId).UrlId(urlId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() +> DeleteCommentVoteResponse DeleteCommentVote(ctx, tenantId, commentId, voteId).UrlId(urlId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() @@ -610,7 +610,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteCommentVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteCommentVote`: VoteDeleteResponse + // response from `DeleteCommentVote`: DeleteCommentVoteResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteCommentVote`: %v\n", resp) } ``` @@ -642,7 +642,7 @@ Name | Type | Description | Notes ### Return type -[**VoteDeleteResponse**](VoteDeleteResponse.md) +[**DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) ### Authorization @@ -735,7 +735,7 @@ No authorization required ## DeleteV1PageReact -> CreateV1PageReact DeleteV1PageReact(ctx, tenantId).UrlId(urlId).Execute() +> DeleteV1PageReactResponse DeleteV1PageReact(ctx, tenantId).UrlId(urlId).Execute() @@ -762,7 +762,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteV1PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteV1PageReact`: CreateV1PageReact + // response from `DeleteV1PageReact`: DeleteV1PageReactResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteV1PageReact`: %v\n", resp) } ``` @@ -787,7 +787,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) ### Authorization @@ -805,7 +805,7 @@ No authorization required ## DeleteV2PageReact -> CreateV1PageReact DeleteV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Execute() +> DeleteV2PageReactResponse DeleteV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Execute() @@ -833,7 +833,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteV2PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteV2PageReact`: CreateV1PageReact + // response from `DeleteV2PageReact`: DeleteV2PageReactResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteV2PageReact`: %v\n", resp) } ``` @@ -859,7 +859,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReact**](CreateV1PageReact.md) +[**DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) ### Authorization @@ -877,7 +877,7 @@ No authorization required ## FlagCommentPublic -> APIEmptyResponse FlagCommentPublic(ctx, commentId).TenantId(tenantId).IsFlagged(isFlagged).Sso(sso).Execute() +> FlagCommentPublicResponse FlagCommentPublic(ctx, commentId).TenantId(tenantId).IsFlagged(isFlagged).Sso(sso).Execute() @@ -906,7 +906,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.FlagCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FlagCommentPublic`: APIEmptyResponse + // response from `FlagCommentPublic`: FlagCommentPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.FlagCommentPublic`: %v\n", resp) } ``` @@ -933,7 +933,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**FlagCommentPublicResponse**](FlagCommentPublicResponse.md) ### Authorization @@ -951,7 +951,7 @@ No authorization required ## GetCommentText -> PublicAPIGetCommentTextResponse GetCommentText(ctx, tenantId, commentId).EditKey(editKey).Sso(sso).Execute() +> GetCommentTextResponse1 GetCommentText(ctx, tenantId, commentId).EditKey(editKey).Sso(sso).Execute() @@ -980,7 +980,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentText`: PublicAPIGetCommentTextResponse + // response from `GetCommentText`: GetCommentTextResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentText`: %v\n", resp) } ``` @@ -1008,7 +1008,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) +[**GetCommentTextResponse1**](GetCommentTextResponse1.md) ### Authorization @@ -1026,7 +1026,7 @@ No authorization required ## GetCommentVoteUserNames -> GetCommentVoteUserNamesSuccessResponse GetCommentVoteUserNames(ctx, tenantId, commentId).Dir(dir).Sso(sso).Execute() +> GetCommentVoteUserNamesResponse GetCommentVoteUserNames(ctx, tenantId, commentId).Dir(dir).Sso(sso).Execute() @@ -1055,7 +1055,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentVoteUserNames``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentVoteUserNames`: GetCommentVoteUserNamesSuccessResponse + // response from `GetCommentVoteUserNames`: GetCommentVoteUserNamesResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentVoteUserNames`: %v\n", resp) } ``` @@ -1083,7 +1083,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) +[**GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) ### Authorization @@ -1101,7 +1101,7 @@ No authorization required ## GetCommentsForUser -> GetCommentsForUserResponse GetCommentsForUser(ctx).UserId(userId).Direction(direction).RepliesToUserId(repliesToUserId).Page(page).Includei10n(includei10n).Locale(locale).IsCrawler(isCrawler).Execute() +> GetCommentsForUserResponse1 GetCommentsForUser(ctx).UserId(userId).Direction(direction).RepliesToUserId(repliesToUserId).Page(page).Includei10n(includei10n).Locale(locale).IsCrawler(isCrawler).Execute() @@ -1133,7 +1133,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentsForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentsForUser`: GetCommentsForUserResponse + // response from `GetCommentsForUser`: GetCommentsForUserResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentsForUser`: %v\n", resp) } ``` @@ -1159,7 +1159,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsForUserResponse**](GetCommentsForUserResponse.md) +[**GetCommentsForUserResponse1**](GetCommentsForUserResponse1.md) ### Authorization @@ -1177,7 +1177,7 @@ No authorization required ## GetCommentsPublic -> GetCommentsResponseWithPresencePublicComment GetCommentsPublic(ctx, tenantId).UrlId(urlId).Page(page).Direction(direction).Sso(sso).Skip(skip).SkipChildren(skipChildren).Limit(limit).LimitChildren(limitChildren).CountChildren(countChildren).FetchPageForCommentId(fetchPageForCommentId).IncludeConfig(includeConfig).CountAll(countAll).Includei10n(includei10n).Locale(locale).Modules(modules).IsCrawler(isCrawler).IncludeNotificationCount(includeNotificationCount).AsTree(asTree).MaxTreeDepth(maxTreeDepth).UseFullTranslationIds(useFullTranslationIds).ParentId(parentId).SearchText(searchText).HashTags(hashTags).UserId(userId).CustomConfigStr(customConfigStr).AfterCommentId(afterCommentId).BeforeCommentId(beforeCommentId).Execute() +> GetCommentsPublicResponse GetCommentsPublic(ctx, tenantId).UrlId(urlId).Page(page).Direction(direction).Sso(sso).Skip(skip).SkipChildren(skipChildren).Limit(limit).LimitChildren(limitChildren).CountChildren(countChildren).FetchPageForCommentId(fetchPageForCommentId).IncludeConfig(includeConfig).CountAll(countAll).Includei10n(includei10n).Locale(locale).Modules(modules).IsCrawler(isCrawler).IncludeNotificationCount(includeNotificationCount).AsTree(asTree).MaxTreeDepth(maxTreeDepth).UseFullTranslationIds(useFullTranslationIds).ParentId(parentId).SearchText(searchText).HashTags(hashTags).UserId(userId).CustomConfigStr(customConfigStr).AfterCommentId(afterCommentId).BeforeCommentId(beforeCommentId).Execute() @@ -1232,7 +1232,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentsPublic`: GetCommentsResponseWithPresencePublicComment + // response from `GetCommentsPublic`: GetCommentsPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentsPublic`: %v\n", resp) } ``` @@ -1283,7 +1283,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresencePublicComment.md) +[**GetCommentsPublicResponse**](GetCommentsPublicResponse.md) ### Authorization @@ -1301,7 +1301,7 @@ No authorization required ## GetEventLog -> GetEventLogResponse GetEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() +> GetEventLogResponse1 GetEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() @@ -1333,7 +1333,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetEventLog``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEventLog`: GetEventLogResponse + // response from `GetEventLog`: GetEventLogResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetEventLog`: %v\n", resp) } ``` @@ -1361,7 +1361,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse**](GetEventLogResponse.md) +[**GetEventLogResponse1**](GetEventLogResponse1.md) ### Authorization @@ -1379,7 +1379,7 @@ No authorization required ## GetFeedPostsPublic -> PublicFeedPostsResponse GetFeedPostsPublic(ctx, tenantId).AfterId(afterId).Limit(limit).Tags(tags).Sso(sso).IsCrawler(isCrawler).IncludeUserInfo(includeUserInfo).Execute() +> GetFeedPostsPublicResponse GetFeedPostsPublic(ctx, tenantId).AfterId(afterId).Limit(limit).Tags(tags).Sso(sso).IsCrawler(isCrawler).IncludeUserInfo(includeUserInfo).Execute() @@ -1413,7 +1413,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetFeedPostsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPostsPublic`: PublicFeedPostsResponse + // response from `GetFeedPostsPublic`: GetFeedPostsPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetFeedPostsPublic`: %v\n", resp) } ``` @@ -1443,7 +1443,7 @@ Name | Type | Description | Notes ### Return type -[**PublicFeedPostsResponse**](PublicFeedPostsResponse.md) +[**GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) ### Authorization @@ -1461,7 +1461,7 @@ No authorization required ## GetFeedPostsStats -> FeedPostsStatsResponse GetFeedPostsStats(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() +> GetFeedPostsStatsResponse GetFeedPostsStats(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() @@ -1489,7 +1489,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetFeedPostsStats``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPostsStats`: FeedPostsStatsResponse + // response from `GetFeedPostsStats`: GetFeedPostsStatsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetFeedPostsStats`: %v\n", resp) } ``` @@ -1515,7 +1515,7 @@ Name | Type | Description | Notes ### Return type -[**FeedPostsStatsResponse**](FeedPostsStatsResponse.md) +[**GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) ### Authorization @@ -1533,7 +1533,7 @@ No authorization required ## GetGifLarge -> GifGetLargeResponse GetGifLarge(ctx, tenantId).LargeInternalURLSanitized(largeInternalURLSanitized).Execute() +> GetGifLargeResponse GetGifLarge(ctx, tenantId).LargeInternalURLSanitized(largeInternalURLSanitized).Execute() @@ -1560,7 +1560,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetGifLarge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetGifLarge`: GifGetLargeResponse + // response from `GetGifLarge`: GetGifLargeResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetGifLarge`: %v\n", resp) } ``` @@ -1585,7 +1585,7 @@ Name | Type | Description | Notes ### Return type -[**GifGetLargeResponse**](GifGetLargeResponse.md) +[**GetGifLargeResponse**](GetGifLargeResponse.md) ### Authorization @@ -1753,7 +1753,7 @@ No authorization required ## GetGlobalEventLog -> GetEventLogResponse GetGlobalEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() +> GetGlobalEventLogResponse GetGlobalEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() @@ -1785,7 +1785,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetGlobalEventLog``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetGlobalEventLog`: GetEventLogResponse + // response from `GetGlobalEventLog`: GetGlobalEventLogResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetGlobalEventLog`: %v\n", resp) } ``` @@ -1813,7 +1813,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse**](GetEventLogResponse.md) +[**GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) ### Authorization @@ -1831,7 +1831,7 @@ No authorization required ## GetOfflineUsers -> PageUsersOfflineResponse GetOfflineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() +> GetOfflineUsersResponse GetOfflineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() @@ -1862,7 +1862,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetOfflineUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetOfflineUsers`: PageUsersOfflineResponse + // response from `GetOfflineUsers`: GetOfflineUsersResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetOfflineUsers`: %v\n", resp) } ``` @@ -1889,7 +1889,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersOfflineResponse**](PageUsersOfflineResponse.md) +[**GetOfflineUsersResponse**](GetOfflineUsersResponse.md) ### Authorization @@ -1907,7 +1907,7 @@ No authorization required ## GetOnlineUsers -> PageUsersOnlineResponse GetOnlineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() +> GetOnlineUsersResponse GetOnlineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() @@ -1938,7 +1938,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetOnlineUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetOnlineUsers`: PageUsersOnlineResponse + // response from `GetOnlineUsers`: GetOnlineUsersResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetOnlineUsers`: %v\n", resp) } ``` @@ -1965,7 +1965,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersOnlineResponse**](PageUsersOnlineResponse.md) +[**GetOnlineUsersResponse**](GetOnlineUsersResponse.md) ### Authorization @@ -1983,7 +1983,7 @@ No authorization required ## GetPagesPublic -> GetPublicPagesResponse GetPagesPublic(ctx, tenantId).Cursor(cursor).Limit(limit).Q(q).SortBy(sortBy).HasComments(hasComments).Execute() +> GetPagesPublicResponse GetPagesPublic(ctx, tenantId).Cursor(cursor).Limit(limit).Q(q).SortBy(sortBy).HasComments(hasComments).Execute() @@ -2016,7 +2016,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetPagesPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPagesPublic`: GetPublicPagesResponse + // response from `GetPagesPublic`: GetPagesPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetPagesPublic`: %v\n", resp) } ``` @@ -2045,7 +2045,7 @@ Name | Type | Description | Notes ### Return type -[**GetPublicPagesResponse**](GetPublicPagesResponse.md) +[**GetPagesPublicResponse**](GetPagesPublicResponse.md) ### Authorization @@ -2063,7 +2063,7 @@ No authorization required ## GetTranslations -> GetTranslationsResponse GetTranslations(ctx, namespace, component).Locale(locale).UseFullTranslationIds(useFullTranslationIds).Execute() +> GetTranslationsResponse1 GetTranslations(ctx, namespace, component).Locale(locale).UseFullTranslationIds(useFullTranslationIds).Execute() @@ -2092,7 +2092,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetTranslations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTranslations`: GetTranslationsResponse + // response from `GetTranslations`: GetTranslationsResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetTranslations`: %v\n", resp) } ``` @@ -2120,7 +2120,7 @@ Name | Type | Description | Notes ### Return type -[**GetTranslationsResponse**](GetTranslationsResponse.md) +[**GetTranslationsResponse1**](GetTranslationsResponse1.md) ### Authorization @@ -2138,7 +2138,7 @@ No authorization required ## GetUserNotificationCount -> GetUserNotificationCountResponse GetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() +> GetUserNotificationCountResponse1 GetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -2165,7 +2165,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserNotificationCount`: GetUserNotificationCountResponse + // response from `GetUserNotificationCount`: GetUserNotificationCountResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserNotificationCount`: %v\n", resp) } ``` @@ -2186,7 +2186,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) +[**GetUserNotificationCountResponse1**](GetUserNotificationCountResponse1.md) ### Authorization @@ -2204,7 +2204,7 @@ No authorization required ## GetUserNotifications -> GetMyNotificationsResponse GetUserNotifications(ctx).TenantId(tenantId).UrlId(urlId).PageSize(pageSize).AfterId(afterId).IncludeContext(includeContext).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).IncludeTranslations(includeTranslations).IncludeTenantNotifications(includeTenantNotifications).Sso(sso).Execute() +> GetUserNotificationsResponse GetUserNotifications(ctx).TenantId(tenantId).UrlId(urlId).PageSize(pageSize).AfterId(afterId).IncludeContext(includeContext).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).IncludeTranslations(includeTranslations).IncludeTenantNotifications(includeTenantNotifications).Sso(sso).Execute() @@ -2241,7 +2241,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserNotifications`: GetMyNotificationsResponse + // response from `GetUserNotifications`: GetUserNotificationsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserNotifications`: %v\n", resp) } ``` @@ -2272,7 +2272,7 @@ Name | Type | Description | Notes ### Return type -[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md) +[**GetUserNotificationsResponse**](GetUserNotificationsResponse.md) ### Authorization @@ -2290,7 +2290,7 @@ No authorization required ## GetUserPresenceStatuses -> GetUserPresenceStatusesResponse GetUserPresenceStatuses(ctx).TenantId(tenantId).UrlIdWS(urlIdWS).UserIds(userIds).Execute() +> GetUserPresenceStatusesResponse1 GetUserPresenceStatuses(ctx).TenantId(tenantId).UrlIdWS(urlIdWS).UserIds(userIds).Execute() @@ -2318,7 +2318,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserPresenceStatuses``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserPresenceStatuses`: GetUserPresenceStatusesResponse + // response from `GetUserPresenceStatuses`: GetUserPresenceStatusesResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserPresenceStatuses`: %v\n", resp) } ``` @@ -2340,7 +2340,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) +[**GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse1.md) ### Authorization @@ -2358,7 +2358,7 @@ No authorization required ## GetUserReactsPublic -> UserReactsResponse GetUserReactsPublic(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() +> GetUserReactsPublicResponse GetUserReactsPublic(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() @@ -2386,7 +2386,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserReactsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserReactsPublic`: UserReactsResponse + // response from `GetUserReactsPublic`: GetUserReactsPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserReactsPublic`: %v\n", resp) } ``` @@ -2412,7 +2412,7 @@ Name | Type | Description | Notes ### Return type -[**UserReactsResponse**](UserReactsResponse.md) +[**GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) ### Authorization @@ -2430,7 +2430,7 @@ No authorization required ## GetUsersInfo -> PageUsersInfoResponse GetUsersInfo(ctx, tenantId).Ids(ids).Execute() +> GetUsersInfoResponse GetUsersInfo(ctx, tenantId).Ids(ids).Execute() @@ -2459,7 +2459,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUsersInfo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUsersInfo`: PageUsersInfoResponse + // response from `GetUsersInfo`: GetUsersInfoResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUsersInfo`: %v\n", resp) } ``` @@ -2484,7 +2484,7 @@ Name | Type | Description | Notes ### Return type -[**PageUsersInfoResponse**](PageUsersInfoResponse.md) +[**GetUsersInfoResponse**](GetUsersInfoResponse.md) ### Authorization @@ -2502,7 +2502,7 @@ No authorization required ## GetV1PageLikes -> GetV1PageLikes GetV1PageLikes(ctx, tenantId).UrlId(urlId).Execute() +> GetV1PageLikesResponse GetV1PageLikes(ctx, tenantId).UrlId(urlId).Execute() @@ -2529,7 +2529,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV1PageLikes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV1PageLikes`: GetV1PageLikes + // response from `GetV1PageLikes`: GetV1PageLikesResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV1PageLikes`: %v\n", resp) } ``` @@ -2554,7 +2554,7 @@ Name | Type | Description | Notes ### Return type -[**GetV1PageLikes**](GetV1PageLikes.md) +[**GetV1PageLikesResponse**](GetV1PageLikesResponse.md) ### Authorization @@ -2572,7 +2572,7 @@ No authorization required ## GetV2PageReactUsers -> GetV2PageReactUsersResponse GetV2PageReactUsers(ctx, tenantId).UrlId(urlId).Id(id).Execute() +> GetV2PageReactUsersResponse1 GetV2PageReactUsers(ctx, tenantId).UrlId(urlId).Id(id).Execute() @@ -2600,7 +2600,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV2PageReactUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV2PageReactUsers`: GetV2PageReactUsersResponse + // response from `GetV2PageReactUsers`: GetV2PageReactUsersResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV2PageReactUsers`: %v\n", resp) } ``` @@ -2626,7 +2626,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) +[**GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse1.md) ### Authorization @@ -2644,7 +2644,7 @@ No authorization required ## GetV2PageReacts -> GetV2PageReacts GetV2PageReacts(ctx, tenantId).UrlId(urlId).Execute() +> GetV2PageReactsResponse GetV2PageReacts(ctx, tenantId).UrlId(urlId).Execute() @@ -2671,7 +2671,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV2PageReacts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV2PageReacts`: GetV2PageReacts + // response from `GetV2PageReacts`: GetV2PageReactsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV2PageReacts`: %v\n", resp) } ``` @@ -2696,7 +2696,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReacts**](GetV2PageReacts.md) +[**GetV2PageReactsResponse**](GetV2PageReactsResponse.md) ### Authorization @@ -2714,7 +2714,7 @@ No authorization required ## LockComment -> APIEmptyResponse LockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> LockCommentResponse LockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2743,7 +2743,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.LockComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `LockComment`: APIEmptyResponse + // response from `LockComment`: LockCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.LockComment`: %v\n", resp) } ``` @@ -2771,7 +2771,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**LockCommentResponse**](LockCommentResponse.md) ### Authorization @@ -2848,7 +2848,7 @@ No authorization required ## PinComment -> ChangeCommentPinStatusResponse PinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> PinCommentResponse PinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2877,7 +2877,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.PinComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PinComment`: ChangeCommentPinStatusResponse + // response from `PinComment`: PinCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.PinComment`: %v\n", resp) } ``` @@ -2905,7 +2905,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**PinCommentResponse**](PinCommentResponse.md) ### Authorization @@ -2923,7 +2923,7 @@ No authorization required ## ReactFeedPostPublic -> ReactFeedPostResponse ReactFeedPostPublic(ctx, tenantId, postId).ReactBodyParams(reactBodyParams).IsUndo(isUndo).BroadcastId(broadcastId).Sso(sso).Execute() +> ReactFeedPostPublicResponse ReactFeedPostPublic(ctx, tenantId, postId).ReactBodyParams(reactBodyParams).IsUndo(isUndo).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2954,7 +2954,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ReactFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReactFeedPostPublic`: ReactFeedPostResponse + // response from `ReactFeedPostPublic`: ReactFeedPostPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ReactFeedPostPublic`: %v\n", resp) } ``` @@ -2984,7 +2984,7 @@ Name | Type | Description | Notes ### Return type -[**ReactFeedPostResponse**](ReactFeedPostResponse.md) +[**ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) ### Authorization @@ -3002,7 +3002,7 @@ No authorization required ## ResetUserNotificationCount -> ResetUserNotificationsResponse ResetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() +> ResetUserNotificationCountResponse ResetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -3029,7 +3029,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ResetUserNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ResetUserNotificationCount`: ResetUserNotificationsResponse + // response from `ResetUserNotificationCount`: ResetUserNotificationCountResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ResetUserNotificationCount`: %v\n", resp) } ``` @@ -3050,7 +3050,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) ### Authorization @@ -3068,7 +3068,7 @@ No authorization required ## ResetUserNotifications -> ResetUserNotificationsResponse ResetUserNotifications(ctx).TenantId(tenantId).AfterId(afterId).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).Sso(sso).Execute() +> ResetUserNotificationsResponse1 ResetUserNotifications(ctx).TenantId(tenantId).AfterId(afterId).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).Sso(sso).Execute() @@ -3100,7 +3100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ResetUserNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ResetUserNotifications`: ResetUserNotificationsResponse + // response from `ResetUserNotifications`: ResetUserNotificationsResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ResetUserNotifications`: %v\n", resp) } ``` @@ -3126,7 +3126,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) +[**ResetUserNotificationsResponse1**](ResetUserNotificationsResponse1.md) ### Authorization @@ -3144,7 +3144,7 @@ No authorization required ## SearchUsers -> SearchUsersResult SearchUsers(ctx, tenantId).UrlId(urlId).UsernameStartsWith(usernameStartsWith).MentionGroupIds(mentionGroupIds).Sso(sso).SearchSection(searchSection).Execute() +> SearchUsersResponse1 SearchUsers(ctx, tenantId).UrlId(urlId).UsernameStartsWith(usernameStartsWith).MentionGroupIds(mentionGroupIds).Sso(sso).SearchSection(searchSection).Execute() @@ -3175,7 +3175,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.SearchUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SearchUsers`: SearchUsersResult + // response from `SearchUsers`: SearchUsersResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.SearchUsers`: %v\n", resp) } ``` @@ -3204,7 +3204,7 @@ Name | Type | Description | Notes ### Return type -[**SearchUsersResult**](SearchUsersResult.md) +[**SearchUsersResponse1**](SearchUsersResponse1.md) ### Authorization @@ -3222,7 +3222,7 @@ No authorization required ## SetCommentText -> PublicAPISetCommentTextResponse SetCommentText(ctx, tenantId, commentId).BroadcastId(broadcastId).CommentTextUpdateRequest(commentTextUpdateRequest).EditKey(editKey).Sso(sso).Execute() +> SetCommentTextResponse1 SetCommentText(ctx, tenantId, commentId).BroadcastId(broadcastId).CommentTextUpdateRequest(commentTextUpdateRequest).EditKey(editKey).Sso(sso).Execute() @@ -3253,7 +3253,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.SetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SetCommentText`: PublicAPISetCommentTextResponse + // response from `SetCommentText`: SetCommentTextResponse1 fmt.Fprintf(os.Stdout, "Response from `PublicAPI.SetCommentText`: %v\n", resp) } ``` @@ -3283,7 +3283,7 @@ Name | Type | Description | Notes ### Return type -[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md) +[**SetCommentTextResponse1**](SetCommentTextResponse1.md) ### Authorization @@ -3301,7 +3301,7 @@ No authorization required ## UnBlockCommentPublic -> UnblockSuccess UnBlockCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() +> UnBlockCommentPublicResponse UnBlockCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() @@ -3330,7 +3330,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnBlockCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnBlockCommentPublic`: UnblockSuccess + // response from `UnBlockCommentPublic`: UnBlockCommentPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnBlockCommentPublic`: %v\n", resp) } ``` @@ -3357,7 +3357,7 @@ Name | Type | Description | Notes ### Return type -[**UnblockSuccess**](UnblockSuccess.md) +[**UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) ### Authorization @@ -3375,7 +3375,7 @@ No authorization required ## UnLockComment -> APIEmptyResponse UnLockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> UnLockCommentResponse UnLockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3404,7 +3404,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnLockComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnLockComment`: APIEmptyResponse + // response from `UnLockComment`: UnLockCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnLockComment`: %v\n", resp) } ``` @@ -3432,7 +3432,7 @@ Name | Type | Description | Notes ### Return type -[**APIEmptyResponse**](APIEmptyResponse.md) +[**UnLockCommentResponse**](UnLockCommentResponse.md) ### Authorization @@ -3450,7 +3450,7 @@ No authorization required ## UnPinComment -> ChangeCommentPinStatusResponse UnPinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> UnPinCommentResponse UnPinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3479,7 +3479,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnPinComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnPinComment`: ChangeCommentPinStatusResponse + // response from `UnPinComment`: UnPinCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnPinComment`: %v\n", resp) } ``` @@ -3507,7 +3507,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) +[**UnPinCommentResponse**](UnPinCommentResponse.md) ### Authorization @@ -3525,7 +3525,7 @@ No authorization required ## UpdateFeedPostPublic -> CreateFeedPostResponse UpdateFeedPostPublic(ctx, tenantId, postId).UpdateFeedPostParams(updateFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() +> UpdateFeedPostPublicResponse UpdateFeedPostPublic(ctx, tenantId, postId).UpdateFeedPostParams(updateFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3555,7 +3555,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UpdateFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateFeedPostPublic`: CreateFeedPostResponse + // response from `UpdateFeedPostPublic`: UpdateFeedPostPublicResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UpdateFeedPostPublic`: %v\n", resp) } ``` @@ -3584,7 +3584,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse**](CreateFeedPostResponse.md) +[**UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) ### Authorization @@ -3912,7 +3912,7 @@ No authorization required ## VoteComment -> VoteResponse VoteComment(ctx, tenantId, commentId).UrlId(urlId).BroadcastId(broadcastId).VoteBodyParams(voteBodyParams).SessionId(sessionId).Sso(sso).Execute() +> VoteCommentResponse VoteComment(ctx, tenantId, commentId).UrlId(urlId).BroadcastId(broadcastId).VoteBodyParams(voteBodyParams).SessionId(sessionId).Sso(sso).Execute() @@ -3944,7 +3944,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.VoteComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VoteComment`: VoteResponse + // response from `VoteComment`: VoteCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.VoteComment`: %v\n", resp) } ``` @@ -3975,7 +3975,7 @@ Name | Type | Description | Notes ### Return type -[**VoteResponse**](VoteResponse.md) +[**VoteCommentResponse**](VoteCommentResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md new file mode 100644 index 0000000..d6b8240 --- /dev/null +++ b/client/docs/PutAwardBadgeResponse.md @@ -0,0 +1,275 @@ +# PutAwardBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Notes** | Pointer to **[]string** | | [optional] +**Badges** | Pointer to [**[]CommentUserBadgeInfo**](CommentUserBadgeInfo.md) | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPutAwardBadgeResponse + +`func NewPutAwardBadgeResponse(status APIStatus, reason string, code string, ) *PutAwardBadgeResponse` + +NewPutAwardBadgeResponse instantiates a new PutAwardBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPutAwardBadgeResponseWithDefaults + +`func NewPutAwardBadgeResponseWithDefaults() *PutAwardBadgeResponse` + +NewPutAwardBadgeResponseWithDefaults instantiates a new PutAwardBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNotes + +`func (o *PutAwardBadgeResponse) GetNotes() []string` + +GetNotes returns the Notes field if non-nil, zero value otherwise. + +### GetNotesOk + +`func (o *PutAwardBadgeResponse) GetNotesOk() (*[]string, bool)` + +GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotes + +`func (o *PutAwardBadgeResponse) SetNotes(v []string)` + +SetNotes sets Notes field to given value. + +### HasNotes + +`func (o *PutAwardBadgeResponse) HasNotes() bool` + +HasNotes returns a boolean if a field has been set. + +### GetBadges + +`func (o *PutAwardBadgeResponse) GetBadges() []CommentUserBadgeInfo` + +GetBadges returns the Badges field if non-nil, zero value otherwise. + +### GetBadgesOk + +`func (o *PutAwardBadgeResponse) GetBadgesOk() (*[]CommentUserBadgeInfo, bool)` + +GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBadges + +`func (o *PutAwardBadgeResponse) SetBadges(v []CommentUserBadgeInfo)` + +SetBadges sets Badges field to given value. + +### HasBadges + +`func (o *PutAwardBadgeResponse) HasBadges() bool` + +HasBadges returns a boolean if a field has been set. + +### GetStatus + +`func (o *PutAwardBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PutAwardBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PutAwardBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PutAwardBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PutAwardBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PutAwardBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PutAwardBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PutAwardBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PutAwardBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PutAwardBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PutAwardBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PutAwardBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PutAwardBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PutAwardBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PutAwardBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PutAwardBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PutAwardBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PutAwardBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PutAwardBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PutAwardBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PutAwardBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PutAwardBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PutAwardBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PutAwardBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PutAwardBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PutAwardBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PutAwardBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PutAwardBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PutAwardBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md new file mode 100644 index 0000000..2f1716c --- /dev/null +++ b/client/docs/PutCloseThreadResponse.md @@ -0,0 +1,223 @@ +# PutCloseThreadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPutCloseThreadResponse + +`func NewPutCloseThreadResponse(status APIStatus, reason string, code string, ) *PutCloseThreadResponse` + +NewPutCloseThreadResponse instantiates a new PutCloseThreadResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPutCloseThreadResponseWithDefaults + +`func NewPutCloseThreadResponseWithDefaults() *PutCloseThreadResponse` + +NewPutCloseThreadResponseWithDefaults instantiates a new PutCloseThreadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PutCloseThreadResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PutCloseThreadResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PutCloseThreadResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PutCloseThreadResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PutCloseThreadResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PutCloseThreadResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PutCloseThreadResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PutCloseThreadResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PutCloseThreadResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PutCloseThreadResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PutCloseThreadResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PutCloseThreadResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PutCloseThreadResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PutCloseThreadResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PutCloseThreadResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PutCloseThreadResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PutCloseThreadResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PutCloseThreadResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PutCloseThreadResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PutCloseThreadResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PutCloseThreadResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PutCloseThreadResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PutCloseThreadResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PutCloseThreadResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PutCloseThreadResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PutCloseThreadResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PutCloseThreadResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PutCloseThreadResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PutCloseThreadResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md new file mode 100644 index 0000000..0f7b4a4 --- /dev/null +++ b/client/docs/PutRemoveBadgeResponse.md @@ -0,0 +1,249 @@ +# PutRemoveBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Badges** | Pointer to [**[]CommentUserBadgeInfo**](CommentUserBadgeInfo.md) | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPutRemoveBadgeResponse + +`func NewPutRemoveBadgeResponse(status APIStatus, reason string, code string, ) *PutRemoveBadgeResponse` + +NewPutRemoveBadgeResponse instantiates a new PutRemoveBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPutRemoveBadgeResponseWithDefaults + +`func NewPutRemoveBadgeResponseWithDefaults() *PutRemoveBadgeResponse` + +NewPutRemoveBadgeResponseWithDefaults instantiates a new PutRemoveBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBadges + +`func (o *PutRemoveBadgeResponse) GetBadges() []CommentUserBadgeInfo` + +GetBadges returns the Badges field if non-nil, zero value otherwise. + +### GetBadgesOk + +`func (o *PutRemoveBadgeResponse) GetBadgesOk() (*[]CommentUserBadgeInfo, bool)` + +GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBadges + +`func (o *PutRemoveBadgeResponse) SetBadges(v []CommentUserBadgeInfo)` + +SetBadges sets Badges field to given value. + +### HasBadges + +`func (o *PutRemoveBadgeResponse) HasBadges() bool` + +HasBadges returns a boolean if a field has been set. + +### GetStatus + +`func (o *PutRemoveBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PutRemoveBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PutRemoveBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PutRemoveBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PutRemoveBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PutRemoveBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PutRemoveBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PutRemoveBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PutRemoveBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PutRemoveBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PutRemoveBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PutRemoveBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PutRemoveBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PutRemoveBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PutRemoveBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PutRemoveBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PutRemoveBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PutRemoveBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PutRemoveBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PutRemoveBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PutRemoveBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PutRemoveBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PutRemoveBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PutRemoveBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PutRemoveBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PutRemoveBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PutRemoveBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PutRemoveBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PutRemoveBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md new file mode 100644 index 0000000..243433b --- /dev/null +++ b/client/docs/PutReopenThreadResponse.md @@ -0,0 +1,223 @@ +# PutReopenThreadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewPutReopenThreadResponse + +`func NewPutReopenThreadResponse(status APIStatus, reason string, code string, ) *PutReopenThreadResponse` + +NewPutReopenThreadResponse instantiates a new PutReopenThreadResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPutReopenThreadResponseWithDefaults + +`func NewPutReopenThreadResponseWithDefaults() *PutReopenThreadResponse` + +NewPutReopenThreadResponseWithDefaults instantiates a new PutReopenThreadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *PutReopenThreadResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PutReopenThreadResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PutReopenThreadResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *PutReopenThreadResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *PutReopenThreadResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *PutReopenThreadResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *PutReopenThreadResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *PutReopenThreadResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *PutReopenThreadResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *PutReopenThreadResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *PutReopenThreadResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *PutReopenThreadResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *PutReopenThreadResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *PutReopenThreadResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *PutReopenThreadResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *PutReopenThreadResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *PutReopenThreadResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *PutReopenThreadResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *PutReopenThreadResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *PutReopenThreadResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *PutReopenThreadResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *PutReopenThreadResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *PutReopenThreadResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *PutReopenThreadResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *PutReopenThreadResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *PutReopenThreadResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *PutReopenThreadResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *PutReopenThreadResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *PutReopenThreadResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md new file mode 100644 index 0000000..f9fb38c --- /dev/null +++ b/client/docs/ReactFeedPostPublicResponse.md @@ -0,0 +1,265 @@ +# ReactFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**ReactType** | **string** | | +**IsUndo** | **bool** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewReactFeedPostPublicResponse + +`func NewReactFeedPostPublicResponse(status APIStatus, reactType string, isUndo bool, reason string, code string, ) *ReactFeedPostPublicResponse` + +NewReactFeedPostPublicResponse instantiates a new ReactFeedPostPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReactFeedPostPublicResponseWithDefaults + +`func NewReactFeedPostPublicResponseWithDefaults() *ReactFeedPostPublicResponse` + +NewReactFeedPostPublicResponseWithDefaults instantiates a new ReactFeedPostPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ReactFeedPostPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ReactFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ReactFeedPostPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReactType + +`func (o *ReactFeedPostPublicResponse) GetReactType() string` + +GetReactType returns the ReactType field if non-nil, zero value otherwise. + +### GetReactTypeOk + +`func (o *ReactFeedPostPublicResponse) GetReactTypeOk() (*string, bool)` + +GetReactTypeOk returns a tuple with the ReactType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReactType + +`func (o *ReactFeedPostPublicResponse) SetReactType(v string)` + +SetReactType sets ReactType field to given value. + + +### GetIsUndo + +`func (o *ReactFeedPostPublicResponse) GetIsUndo() bool` + +GetIsUndo returns the IsUndo field if non-nil, zero value otherwise. + +### GetIsUndoOk + +`func (o *ReactFeedPostPublicResponse) GetIsUndoOk() (*bool, bool)` + +GetIsUndoOk returns a tuple with the IsUndo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsUndo + +`func (o *ReactFeedPostPublicResponse) SetIsUndo(v bool)` + +SetIsUndo sets IsUndo field to given value. + + +### GetReason + +`func (o *ReactFeedPostPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ReactFeedPostPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ReactFeedPostPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *ReactFeedPostPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ReactFeedPostPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ReactFeedPostPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *ReactFeedPostPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ReactFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ReactFeedPostPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ReactFeedPostPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ReactFeedPostPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ReactFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ReactFeedPostPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ReactFeedPostPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ReactFeedPostPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ReactFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ReactFeedPostPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ReactFeedPostPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ReactFeedPostPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ReactFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ReactFeedPostPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ReactFeedPostPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ReactFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ReactFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ReactFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ReactFeedPostPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md new file mode 100644 index 0000000..a2a39ea --- /dev/null +++ b/client/docs/RenderEmailTemplateResponse1.md @@ -0,0 +1,244 @@ +# RenderEmailTemplateResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Html** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewRenderEmailTemplateResponse1 + +`func NewRenderEmailTemplateResponse1(status APIStatus, html string, reason string, code string, ) *RenderEmailTemplateResponse1` + +NewRenderEmailTemplateResponse1 instantiates a new RenderEmailTemplateResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRenderEmailTemplateResponse1WithDefaults + +`func NewRenderEmailTemplateResponse1WithDefaults() *RenderEmailTemplateResponse1` + +NewRenderEmailTemplateResponse1WithDefaults instantiates a new RenderEmailTemplateResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *RenderEmailTemplateResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *RenderEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *RenderEmailTemplateResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetHtml + +`func (o *RenderEmailTemplateResponse1) GetHtml() string` + +GetHtml returns the Html field if non-nil, zero value otherwise. + +### GetHtmlOk + +`func (o *RenderEmailTemplateResponse1) GetHtmlOk() (*string, bool)` + +GetHtmlOk returns a tuple with the Html field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHtml + +`func (o *RenderEmailTemplateResponse1) SetHtml(v string)` + +SetHtml sets Html field to given value. + + +### GetReason + +`func (o *RenderEmailTemplateResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *RenderEmailTemplateResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *RenderEmailTemplateResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *RenderEmailTemplateResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *RenderEmailTemplateResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *RenderEmailTemplateResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *RenderEmailTemplateResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *RenderEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *RenderEmailTemplateResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *RenderEmailTemplateResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *RenderEmailTemplateResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *RenderEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *RenderEmailTemplateResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *RenderEmailTemplateResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *RenderEmailTemplateResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *RenderEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *RenderEmailTemplateResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *RenderEmailTemplateResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *RenderEmailTemplateResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *RenderEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *RenderEmailTemplateResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *RenderEmailTemplateResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *RenderEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *RenderEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *RenderEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *RenderEmailTemplateResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md new file mode 100644 index 0000000..4c71c0d --- /dev/null +++ b/client/docs/ReplaceTenantPackageResponse.md @@ -0,0 +1,223 @@ +# ReplaceTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewReplaceTenantPackageResponse + +`func NewReplaceTenantPackageResponse(status APIStatus, reason string, code string, ) *ReplaceTenantPackageResponse` + +NewReplaceTenantPackageResponse instantiates a new ReplaceTenantPackageResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReplaceTenantPackageResponseWithDefaults + +`func NewReplaceTenantPackageResponseWithDefaults() *ReplaceTenantPackageResponse` + +NewReplaceTenantPackageResponseWithDefaults instantiates a new ReplaceTenantPackageResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ReplaceTenantPackageResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ReplaceTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ReplaceTenantPackageResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *ReplaceTenantPackageResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ReplaceTenantPackageResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ReplaceTenantPackageResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *ReplaceTenantPackageResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ReplaceTenantPackageResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ReplaceTenantPackageResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *ReplaceTenantPackageResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ReplaceTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ReplaceTenantPackageResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ReplaceTenantPackageResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ReplaceTenantPackageResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ReplaceTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ReplaceTenantPackageResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ReplaceTenantPackageResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ReplaceTenantPackageResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ReplaceTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ReplaceTenantPackageResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ReplaceTenantPackageResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ReplaceTenantPackageResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ReplaceTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ReplaceTenantPackageResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ReplaceTenantPackageResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ReplaceTenantPackageResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ReplaceTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ReplaceTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ReplaceTenantPackageResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md new file mode 100644 index 0000000..ea04901 --- /dev/null +++ b/client/docs/ReplaceTenantUserResponse.md @@ -0,0 +1,223 @@ +# ReplaceTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewReplaceTenantUserResponse + +`func NewReplaceTenantUserResponse(status APIStatus, reason string, code string, ) *ReplaceTenantUserResponse` + +NewReplaceTenantUserResponse instantiates a new ReplaceTenantUserResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReplaceTenantUserResponseWithDefaults + +`func NewReplaceTenantUserResponseWithDefaults() *ReplaceTenantUserResponse` + +NewReplaceTenantUserResponseWithDefaults instantiates a new ReplaceTenantUserResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ReplaceTenantUserResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ReplaceTenantUserResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ReplaceTenantUserResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *ReplaceTenantUserResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ReplaceTenantUserResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ReplaceTenantUserResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *ReplaceTenantUserResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ReplaceTenantUserResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ReplaceTenantUserResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *ReplaceTenantUserResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ReplaceTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ReplaceTenantUserResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ReplaceTenantUserResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ReplaceTenantUserResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ReplaceTenantUserResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ReplaceTenantUserResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ReplaceTenantUserResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ReplaceTenantUserResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ReplaceTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ReplaceTenantUserResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ReplaceTenantUserResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ReplaceTenantUserResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ReplaceTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ReplaceTenantUserResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ReplaceTenantUserResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ReplaceTenantUserResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ReplaceTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ReplaceTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ReplaceTenantUserResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md new file mode 100644 index 0000000..b2af2dd --- /dev/null +++ b/client/docs/ResetUserNotificationCountResponse.md @@ -0,0 +1,223 @@ +# ResetUserNotificationCountResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Code** | **string** | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewResetUserNotificationCountResponse + +`func NewResetUserNotificationCountResponse(status APIStatus, code string, reason string, ) *ResetUserNotificationCountResponse` + +NewResetUserNotificationCountResponse instantiates a new ResetUserNotificationCountResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewResetUserNotificationCountResponseWithDefaults + +`func NewResetUserNotificationCountResponseWithDefaults() *ResetUserNotificationCountResponse` + +NewResetUserNotificationCountResponseWithDefaults instantiates a new ResetUserNotificationCountResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ResetUserNotificationCountResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ResetUserNotificationCountResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ResetUserNotificationCountResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCode + +`func (o *ResetUserNotificationCountResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ResetUserNotificationCountResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ResetUserNotificationCountResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *ResetUserNotificationCountResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ResetUserNotificationCountResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ResetUserNotificationCountResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *ResetUserNotificationCountResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ResetUserNotificationCountResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ResetUserNotificationCountResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ResetUserNotificationCountResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ResetUserNotificationCountResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ResetUserNotificationCountResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ResetUserNotificationCountResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ResetUserNotificationCountResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ResetUserNotificationCountResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ResetUserNotificationCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ResetUserNotificationCountResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ResetUserNotificationCountResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ResetUserNotificationCountResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ResetUserNotificationCountResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ResetUserNotificationCountResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ResetUserNotificationCountResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ResetUserNotificationCountResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ResetUserNotificationCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ResetUserNotificationCountResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ResetUserNotificationCountResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md new file mode 100644 index 0000000..2d54257 --- /dev/null +++ b/client/docs/ResetUserNotificationsResponse1.md @@ -0,0 +1,223 @@ +# ResetUserNotificationsResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Code** | **string** | | +**Reason** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewResetUserNotificationsResponse1 + +`func NewResetUserNotificationsResponse1(status APIStatus, code string, reason string, ) *ResetUserNotificationsResponse1` + +NewResetUserNotificationsResponse1 instantiates a new ResetUserNotificationsResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewResetUserNotificationsResponse1WithDefaults + +`func NewResetUserNotificationsResponse1WithDefaults() *ResetUserNotificationsResponse1` + +NewResetUserNotificationsResponse1WithDefaults instantiates a new ResetUserNotificationsResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *ResetUserNotificationsResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ResetUserNotificationsResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ResetUserNotificationsResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCode + +`func (o *ResetUserNotificationsResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ResetUserNotificationsResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ResetUserNotificationsResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *ResetUserNotificationsResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *ResetUserNotificationsResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *ResetUserNotificationsResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetSecondaryCode + +`func (o *ResetUserNotificationsResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *ResetUserNotificationsResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *ResetUserNotificationsResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *ResetUserNotificationsResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *ResetUserNotificationsResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *ResetUserNotificationsResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *ResetUserNotificationsResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *ResetUserNotificationsResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *ResetUserNotificationsResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *ResetUserNotificationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *ResetUserNotificationsResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *ResetUserNotificationsResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *ResetUserNotificationsResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *ResetUserNotificationsResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *ResetUserNotificationsResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *ResetUserNotificationsResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *ResetUserNotificationsResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *ResetUserNotificationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *ResetUserNotificationsResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *ResetUserNotificationsResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md new file mode 100644 index 0000000..bfe01b6 --- /dev/null +++ b/client/docs/SaveCommentResponse.md @@ -0,0 +1,301 @@ +# SaveCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Comment** | [**APIComment**](APIComment.md) | | +**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | +**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSaveCommentResponse + +`func NewSaveCommentResponse(status APIStatus, comment APIComment, user NullableUserSessionInfo, reason string, code string, ) *SaveCommentResponse` + +NewSaveCommentResponse instantiates a new SaveCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSaveCommentResponseWithDefaults + +`func NewSaveCommentResponseWithDefaults() *SaveCommentResponse` + +NewSaveCommentResponseWithDefaults instantiates a new SaveCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *SaveCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SaveCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SaveCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetComment + +`func (o *SaveCommentResponse) GetComment() APIComment` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *SaveCommentResponse) GetCommentOk() (*APIComment, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *SaveCommentResponse) SetComment(v APIComment)` + +SetComment sets Comment field to given value. + + +### GetUser + +`func (o *SaveCommentResponse) GetUser() UserSessionInfo` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *SaveCommentResponse) GetUserOk() (*UserSessionInfo, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *SaveCommentResponse) SetUser(v UserSessionInfo)` + +SetUser sets User field to given value. + + +### SetUserNil + +`func (o *SaveCommentResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *SaveCommentResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetModuleData + +`func (o *SaveCommentResponse) GetModuleData() map[string]map[string]interface{}` + +GetModuleData returns the ModuleData field if non-nil, zero value otherwise. + +### GetModuleDataOk + +`func (o *SaveCommentResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` + +GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModuleData + +`func (o *SaveCommentResponse) SetModuleData(v map[string]map[string]interface{})` + +SetModuleData sets ModuleData field to given value. + +### HasModuleData + +`func (o *SaveCommentResponse) HasModuleData() bool` + +HasModuleData returns a boolean if a field has been set. + +### GetReason + +`func (o *SaveCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SaveCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SaveCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SaveCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SaveCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SaveCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SaveCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SaveCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SaveCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SaveCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SaveCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SaveCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SaveCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SaveCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SaveCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SaveCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SaveCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SaveCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SaveCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SaveCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SaveCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SaveCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SaveCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SaveCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SaveCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SaveCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md new file mode 100644 index 0000000..fdb82fe --- /dev/null +++ b/client/docs/SearchUsersResponse1.md @@ -0,0 +1,265 @@ +# SearchUsersResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Sections** | [**[]UserSearchSectionResult**](UserSearchSectionResult.md) | | +**Users** | [**[]UserSearchResult**](UserSearchResult.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSearchUsersResponse1 + +`func NewSearchUsersResponse1(status APIStatus, sections []UserSearchSectionResult, users []UserSearchResult, reason string, code string, ) *SearchUsersResponse1` + +NewSearchUsersResponse1 instantiates a new SearchUsersResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSearchUsersResponse1WithDefaults + +`func NewSearchUsersResponse1WithDefaults() *SearchUsersResponse1` + +NewSearchUsersResponse1WithDefaults instantiates a new SearchUsersResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *SearchUsersResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SearchUsersResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SearchUsersResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetSections + +`func (o *SearchUsersResponse1) GetSections() []UserSearchSectionResult` + +GetSections returns the Sections field if non-nil, zero value otherwise. + +### GetSectionsOk + +`func (o *SearchUsersResponse1) GetSectionsOk() (*[]UserSearchSectionResult, bool)` + +GetSectionsOk returns a tuple with the Sections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSections + +`func (o *SearchUsersResponse1) SetSections(v []UserSearchSectionResult)` + +SetSections sets Sections field to given value. + + +### GetUsers + +`func (o *SearchUsersResponse1) GetUsers() []UserSearchResult` + +GetUsers returns the Users field if non-nil, zero value otherwise. + +### GetUsersOk + +`func (o *SearchUsersResponse1) GetUsersOk() (*[]UserSearchResult, bool)` + +GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsers + +`func (o *SearchUsersResponse1) SetUsers(v []UserSearchResult)` + +SetUsers sets Users field to given value. + + +### GetReason + +`func (o *SearchUsersResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SearchUsersResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SearchUsersResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SearchUsersResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SearchUsersResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SearchUsersResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SearchUsersResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SearchUsersResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SearchUsersResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SearchUsersResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SearchUsersResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SearchUsersResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SearchUsersResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SearchUsersResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SearchUsersResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SearchUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SearchUsersResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SearchUsersResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SearchUsersResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SearchUsersResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SearchUsersResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SearchUsersResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SearchUsersResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SearchUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SearchUsersResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SearchUsersResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md new file mode 100644 index 0000000..b66a610 --- /dev/null +++ b/client/docs/SendInviteResponse.md @@ -0,0 +1,223 @@ +# SendInviteResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSendInviteResponse + +`func NewSendInviteResponse(status APIStatus, reason string, code string, ) *SendInviteResponse` + +NewSendInviteResponse instantiates a new SendInviteResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSendInviteResponseWithDefaults + +`func NewSendInviteResponseWithDefaults() *SendInviteResponse` + +NewSendInviteResponseWithDefaults instantiates a new SendInviteResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *SendInviteResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SendInviteResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SendInviteResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *SendInviteResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SendInviteResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SendInviteResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SendInviteResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SendInviteResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SendInviteResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SendInviteResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SendInviteResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SendInviteResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SendInviteResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SendInviteResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SendInviteResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SendInviteResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SendInviteResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SendInviteResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SendInviteResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SendInviteResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SendInviteResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SendInviteResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SendInviteResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SendInviteResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SendInviteResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SendInviteResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SendInviteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SendInviteResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SendInviteResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md new file mode 100644 index 0000000..b2a312d --- /dev/null +++ b/client/docs/SendLoginLinkResponse.md @@ -0,0 +1,223 @@ +# SendLoginLinkResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSendLoginLinkResponse + +`func NewSendLoginLinkResponse(status APIStatus, reason string, code string, ) *SendLoginLinkResponse` + +NewSendLoginLinkResponse instantiates a new SendLoginLinkResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSendLoginLinkResponseWithDefaults + +`func NewSendLoginLinkResponseWithDefaults() *SendLoginLinkResponse` + +NewSendLoginLinkResponseWithDefaults instantiates a new SendLoginLinkResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *SendLoginLinkResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SendLoginLinkResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SendLoginLinkResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *SendLoginLinkResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SendLoginLinkResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SendLoginLinkResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SendLoginLinkResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SendLoginLinkResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SendLoginLinkResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SendLoginLinkResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SendLoginLinkResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SendLoginLinkResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SendLoginLinkResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SendLoginLinkResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SendLoginLinkResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SendLoginLinkResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SendLoginLinkResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SendLoginLinkResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SendLoginLinkResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SendLoginLinkResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SendLoginLinkResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SendLoginLinkResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SendLoginLinkResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SendLoginLinkResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SendLoginLinkResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SendLoginLinkResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SendLoginLinkResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SendLoginLinkResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SendLoginLinkResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md new file mode 100644 index 0000000..76ef03d --- /dev/null +++ b/client/docs/SetCommentTextResponse1.md @@ -0,0 +1,244 @@ +# SetCommentTextResponse1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSetCommentTextResponse1 + +`func NewSetCommentTextResponse1(comment SetCommentTextResult, status APIStatus, reason string, code string, ) *SetCommentTextResponse1` + +NewSetCommentTextResponse1 instantiates a new SetCommentTextResponse1 object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSetCommentTextResponse1WithDefaults + +`func NewSetCommentTextResponse1WithDefaults() *SetCommentTextResponse1` + +NewSetCommentTextResponse1WithDefaults instantiates a new SetCommentTextResponse1 object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetComment + +`func (o *SetCommentTextResponse1) GetComment() SetCommentTextResult` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *SetCommentTextResponse1) GetCommentOk() (*SetCommentTextResult, bool)` + +GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetComment + +`func (o *SetCommentTextResponse1) SetComment(v SetCommentTextResult)` + +SetComment sets Comment field to given value. + + +### GetStatus + +`func (o *SetCommentTextResponse1) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SetCommentTextResponse1) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SetCommentTextResponse1) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *SetCommentTextResponse1) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SetCommentTextResponse1) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SetCommentTextResponse1) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SetCommentTextResponse1) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SetCommentTextResponse1) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SetCommentTextResponse1) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SetCommentTextResponse1) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SetCommentTextResponse1) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SetCommentTextResponse1) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SetCommentTextResponse1) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SetCommentTextResponse1) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SetCommentTextResponse1) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SetCommentTextResponse1) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SetCommentTextResponse1) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SetCommentTextResponse1) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SetCommentTextResponse1) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SetCommentTextResponse1) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SetCommentTextResponse1) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SetCommentTextResponse1) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SetCommentTextResponse1) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SetCommentTextResponse1) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SetCommentTextResponse1) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SetCommentTextResponse1) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SetCommentTextResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SetCommentTextResponse1) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SetCommentTextResponse1) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md new file mode 100644 index 0000000..e7869db --- /dev/null +++ b/client/docs/SetTrustFactorResponse.md @@ -0,0 +1,249 @@ +# SetTrustFactorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PreviousManualTrustFactor** | Pointer to **float64** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewSetTrustFactorResponse + +`func NewSetTrustFactorResponse(status APIStatus, reason string, code string, ) *SetTrustFactorResponse` + +NewSetTrustFactorResponse instantiates a new SetTrustFactorResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSetTrustFactorResponseWithDefaults + +`func NewSetTrustFactorResponseWithDefaults() *SetTrustFactorResponse` + +NewSetTrustFactorResponseWithDefaults instantiates a new SetTrustFactorResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPreviousManualTrustFactor + +`func (o *SetTrustFactorResponse) GetPreviousManualTrustFactor() float64` + +GetPreviousManualTrustFactor returns the PreviousManualTrustFactor field if non-nil, zero value otherwise. + +### GetPreviousManualTrustFactorOk + +`func (o *SetTrustFactorResponse) GetPreviousManualTrustFactorOk() (*float64, bool)` + +GetPreviousManualTrustFactorOk returns a tuple with the PreviousManualTrustFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreviousManualTrustFactor + +`func (o *SetTrustFactorResponse) SetPreviousManualTrustFactor(v float64)` + +SetPreviousManualTrustFactor sets PreviousManualTrustFactor field to given value. + +### HasPreviousManualTrustFactor + +`func (o *SetTrustFactorResponse) HasPreviousManualTrustFactor() bool` + +HasPreviousManualTrustFactor returns a boolean if a field has been set. + +### GetStatus + +`func (o *SetTrustFactorResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SetTrustFactorResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SetTrustFactorResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *SetTrustFactorResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *SetTrustFactorResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *SetTrustFactorResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *SetTrustFactorResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *SetTrustFactorResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *SetTrustFactorResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *SetTrustFactorResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *SetTrustFactorResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *SetTrustFactorResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *SetTrustFactorResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *SetTrustFactorResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *SetTrustFactorResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *SetTrustFactorResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *SetTrustFactorResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *SetTrustFactorResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *SetTrustFactorResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *SetTrustFactorResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *SetTrustFactorResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *SetTrustFactorResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *SetTrustFactorResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *SetTrustFactorResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *SetTrustFactorResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *SetTrustFactorResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *SetTrustFactorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *SetTrustFactorResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *SetTrustFactorResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md new file mode 100644 index 0000000..b2264e8 --- /dev/null +++ b/client/docs/UnBlockCommentPublicResponse.md @@ -0,0 +1,244 @@ +# UnBlockCommentPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUnBlockCommentPublicResponse + +`func NewUnBlockCommentPublicResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *UnBlockCommentPublicResponse` + +NewUnBlockCommentPublicResponse instantiates a new UnBlockCommentPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnBlockCommentPublicResponseWithDefaults + +`func NewUnBlockCommentPublicResponseWithDefaults() *UnBlockCommentPublicResponse` + +NewUnBlockCommentPublicResponseWithDefaults instantiates a new UnBlockCommentPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UnBlockCommentPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnBlockCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnBlockCommentPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCommentStatuses + +`func (o *UnBlockCommentPublicResponse) GetCommentStatuses() map[string]bool` + +GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. + +### GetCommentStatusesOk + +`func (o *UnBlockCommentPublicResponse) GetCommentStatusesOk() (*map[string]bool, bool)` + +GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentStatuses + +`func (o *UnBlockCommentPublicResponse) SetCommentStatuses(v map[string]bool)` + +SetCommentStatuses sets CommentStatuses field to given value. + + +### GetReason + +`func (o *UnBlockCommentPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UnBlockCommentPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UnBlockCommentPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UnBlockCommentPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UnBlockCommentPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UnBlockCommentPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UnBlockCommentPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UnBlockCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UnBlockCommentPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UnBlockCommentPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UnBlockCommentPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UnBlockCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UnBlockCommentPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UnBlockCommentPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UnBlockCommentPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UnBlockCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UnBlockCommentPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UnBlockCommentPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UnBlockCommentPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UnBlockCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UnBlockCommentPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UnBlockCommentPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UnBlockCommentPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UnBlockCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UnBlockCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UnBlockCommentPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md new file mode 100644 index 0000000..4568bcd --- /dev/null +++ b/client/docs/UnBlockUserFromCommentResponse.md @@ -0,0 +1,244 @@ +# UnBlockUserFromCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUnBlockUserFromCommentResponse + +`func NewUnBlockUserFromCommentResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *UnBlockUserFromCommentResponse` + +NewUnBlockUserFromCommentResponse instantiates a new UnBlockUserFromCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnBlockUserFromCommentResponseWithDefaults + +`func NewUnBlockUserFromCommentResponseWithDefaults() *UnBlockUserFromCommentResponse` + +NewUnBlockUserFromCommentResponseWithDefaults instantiates a new UnBlockUserFromCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UnBlockUserFromCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnBlockUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnBlockUserFromCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCommentStatuses + +`func (o *UnBlockUserFromCommentResponse) GetCommentStatuses() map[string]bool` + +GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. + +### GetCommentStatusesOk + +`func (o *UnBlockUserFromCommentResponse) GetCommentStatusesOk() (*map[string]bool, bool)` + +GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentStatuses + +`func (o *UnBlockUserFromCommentResponse) SetCommentStatuses(v map[string]bool)` + +SetCommentStatuses sets CommentStatuses field to given value. + + +### GetReason + +`func (o *UnBlockUserFromCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UnBlockUserFromCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UnBlockUserFromCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UnBlockUserFromCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UnBlockUserFromCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UnBlockUserFromCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UnBlockUserFromCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UnBlockUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UnBlockUserFromCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UnBlockUserFromCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UnBlockUserFromCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UnBlockUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UnBlockUserFromCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UnBlockUserFromCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UnBlockUserFromCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UnBlockUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UnBlockUserFromCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UnBlockUserFromCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UnBlockUserFromCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UnBlockUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UnBlockUserFromCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UnBlockUserFromCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UnBlockUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UnBlockUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UnBlockUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UnBlockUserFromCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md new file mode 100644 index 0000000..cd42254 --- /dev/null +++ b/client/docs/UnFlagCommentResponse.md @@ -0,0 +1,275 @@ +# UnFlagCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StatusCode** | Pointer to **int32** | | [optional] +**Status** | [**APIStatus**](APIStatus.md) | | +**Code** | **string** | | +**Reason** | **string** | | +**WasUnapproved** | Pointer to **bool** | | [optional] +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUnFlagCommentResponse + +`func NewUnFlagCommentResponse(status APIStatus, code string, reason string, ) *UnFlagCommentResponse` + +NewUnFlagCommentResponse instantiates a new UnFlagCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnFlagCommentResponseWithDefaults + +`func NewUnFlagCommentResponseWithDefaults() *UnFlagCommentResponse` + +NewUnFlagCommentResponseWithDefaults instantiates a new UnFlagCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatusCode + +`func (o *UnFlagCommentResponse) GetStatusCode() int32` + +GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. + +### GetStatusCodeOk + +`func (o *UnFlagCommentResponse) GetStatusCodeOk() (*int32, bool)` + +GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusCode + +`func (o *UnFlagCommentResponse) SetStatusCode(v int32)` + +SetStatusCode sets StatusCode field to given value. + +### HasStatusCode + +`func (o *UnFlagCommentResponse) HasStatusCode() bool` + +HasStatusCode returns a boolean if a field has been set. + +### GetStatus + +`func (o *UnFlagCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnFlagCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetCode + +`func (o *UnFlagCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UnFlagCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UnFlagCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetReason + +`func (o *UnFlagCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UnFlagCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UnFlagCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetWasUnapproved + +`func (o *UnFlagCommentResponse) GetWasUnapproved() bool` + +GetWasUnapproved returns the WasUnapproved field if non-nil, zero value otherwise. + +### GetWasUnapprovedOk + +`func (o *UnFlagCommentResponse) GetWasUnapprovedOk() (*bool, bool)` + +GetWasUnapprovedOk returns a tuple with the WasUnapproved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWasUnapproved + +`func (o *UnFlagCommentResponse) SetWasUnapproved(v bool)` + +SetWasUnapproved sets WasUnapproved field to given value. + +### HasWasUnapproved + +`func (o *UnFlagCommentResponse) HasWasUnapproved() bool` + +HasWasUnapproved returns a boolean if a field has been set. + +### GetSecondaryCode + +`func (o *UnFlagCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UnFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UnFlagCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UnFlagCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UnFlagCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UnFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UnFlagCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UnFlagCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UnFlagCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UnFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UnFlagCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UnFlagCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UnFlagCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UnFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UnFlagCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UnFlagCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UnFlagCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UnFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UnFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UnFlagCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md new file mode 100644 index 0000000..9633fd5 --- /dev/null +++ b/client/docs/UnLockCommentResponse.md @@ -0,0 +1,223 @@ +# UnLockCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUnLockCommentResponse + +`func NewUnLockCommentResponse(status APIStatus, reason string, code string, ) *UnLockCommentResponse` + +NewUnLockCommentResponse instantiates a new UnLockCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnLockCommentResponseWithDefaults + +`func NewUnLockCommentResponseWithDefaults() *UnLockCommentResponse` + +NewUnLockCommentResponseWithDefaults instantiates a new UnLockCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UnLockCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnLockCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnLockCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UnLockCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UnLockCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UnLockCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UnLockCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UnLockCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UnLockCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UnLockCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UnLockCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UnLockCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UnLockCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UnLockCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UnLockCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UnLockCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UnLockCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UnLockCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UnLockCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UnLockCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UnLockCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UnLockCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UnLockCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UnLockCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UnLockCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UnLockCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UnLockCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UnLockCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UnLockCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md new file mode 100644 index 0000000..9252bf7 --- /dev/null +++ b/client/docs/UnPinCommentResponse.md @@ -0,0 +1,244 @@ +# UnPinCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CommentPositions** | [**map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md) | Construct a type with a set of properties K of type T | +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUnPinCommentResponse + +`func NewUnPinCommentResponse(commentPositions map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, status APIStatus, reason string, code string, ) *UnPinCommentResponse` + +NewUnPinCommentResponse instantiates a new UnPinCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUnPinCommentResponseWithDefaults + +`func NewUnPinCommentResponseWithDefaults() *UnPinCommentResponse` + +NewUnPinCommentResponseWithDefaults instantiates a new UnPinCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCommentPositions + +`func (o *UnPinCommentResponse) GetCommentPositions() map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue` + +GetCommentPositions returns the CommentPositions field if non-nil, zero value otherwise. + +### GetCommentPositionsOk + +`func (o *UnPinCommentResponse) GetCommentPositionsOk() (*map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, bool)` + +GetCommentPositionsOk returns a tuple with the CommentPositions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentPositions + +`func (o *UnPinCommentResponse) SetCommentPositions(v map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue)` + +SetCommentPositions sets CommentPositions field to given value. + + +### GetStatus + +`func (o *UnPinCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UnPinCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UnPinCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UnPinCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UnPinCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UnPinCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UnPinCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UnPinCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UnPinCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UnPinCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UnPinCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UnPinCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UnPinCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UnPinCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UnPinCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UnPinCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UnPinCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UnPinCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UnPinCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UnPinCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UnPinCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UnPinCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UnPinCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UnPinCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UnPinCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UnPinCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UnPinCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UnPinCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UnPinCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md new file mode 100644 index 0000000..c9a2c25 --- /dev/null +++ b/client/docs/UpdateCommentResponse.md @@ -0,0 +1,223 @@ +# UpdateCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateCommentResponse + +`func NewUpdateCommentResponse(status APIStatus, reason string, code string, ) *UpdateCommentResponse` + +NewUpdateCommentResponse instantiates a new UpdateCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateCommentResponseWithDefaults + +`func NewUpdateCommentResponseWithDefaults() *UpdateCommentResponse` + +NewUpdateCommentResponseWithDefaults instantiates a new UpdateCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md new file mode 100644 index 0000000..5abdc5a --- /dev/null +++ b/client/docs/UpdateEmailTemplateResponse.md @@ -0,0 +1,223 @@ +# UpdateEmailTemplateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateEmailTemplateResponse + +`func NewUpdateEmailTemplateResponse(status APIStatus, reason string, code string, ) *UpdateEmailTemplateResponse` + +NewUpdateEmailTemplateResponse instantiates a new UpdateEmailTemplateResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateEmailTemplateResponseWithDefaults + +`func NewUpdateEmailTemplateResponseWithDefaults() *UpdateEmailTemplateResponse` + +NewUpdateEmailTemplateResponseWithDefaults instantiates a new UpdateEmailTemplateResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateEmailTemplateResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateEmailTemplateResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateEmailTemplateResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateEmailTemplateResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateEmailTemplateResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateEmailTemplateResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateEmailTemplateResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateEmailTemplateResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateEmailTemplateResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateEmailTemplateResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateEmailTemplateResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateEmailTemplateResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateEmailTemplateResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateEmailTemplateResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateEmailTemplateResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateEmailTemplateResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateEmailTemplateResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateEmailTemplateResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateEmailTemplateResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateEmailTemplateResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateEmailTemplateResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateEmailTemplateResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateEmailTemplateResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateEmailTemplateResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateEmailTemplateResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateEmailTemplateResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateEmailTemplateResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateEmailTemplateResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateEmailTemplateResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md new file mode 100644 index 0000000..3c225fd --- /dev/null +++ b/client/docs/UpdateFeedPostPublicResponse.md @@ -0,0 +1,244 @@ +# UpdateFeedPostPublicResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**FeedPost** | [**FeedPost**](FeedPost.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateFeedPostPublicResponse + +`func NewUpdateFeedPostPublicResponse(status APIStatus, feedPost FeedPost, reason string, code string, ) *UpdateFeedPostPublicResponse` + +NewUpdateFeedPostPublicResponse instantiates a new UpdateFeedPostPublicResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateFeedPostPublicResponseWithDefaults + +`func NewUpdateFeedPostPublicResponseWithDefaults() *UpdateFeedPostPublicResponse` + +NewUpdateFeedPostPublicResponseWithDefaults instantiates a new UpdateFeedPostPublicResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateFeedPostPublicResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateFeedPostPublicResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetFeedPost + +`func (o *UpdateFeedPostPublicResponse) GetFeedPost() FeedPost` + +GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. + +### GetFeedPostOk + +`func (o *UpdateFeedPostPublicResponse) GetFeedPostOk() (*FeedPost, bool)` + +GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFeedPost + +`func (o *UpdateFeedPostPublicResponse) SetFeedPost(v FeedPost)` + +SetFeedPost sets FeedPost field to given value. + + +### GetReason + +`func (o *UpdateFeedPostPublicResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateFeedPostPublicResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateFeedPostPublicResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateFeedPostPublicResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateFeedPostPublicResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateFeedPostPublicResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateFeedPostPublicResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateFeedPostPublicResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateFeedPostPublicResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateFeedPostPublicResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateFeedPostPublicResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateFeedPostPublicResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateFeedPostPublicResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateFeedPostPublicResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateFeedPostPublicResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateFeedPostPublicResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateFeedPostPublicResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateFeedPostPublicResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateFeedPostPublicResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md new file mode 100644 index 0000000..2b068d4 --- /dev/null +++ b/client/docs/UpdateFeedPostResponse.md @@ -0,0 +1,223 @@ +# UpdateFeedPostResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateFeedPostResponse + +`func NewUpdateFeedPostResponse(status APIStatus, reason string, code string, ) *UpdateFeedPostResponse` + +NewUpdateFeedPostResponse instantiates a new UpdateFeedPostResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateFeedPostResponseWithDefaults + +`func NewUpdateFeedPostResponseWithDefaults() *UpdateFeedPostResponse` + +NewUpdateFeedPostResponseWithDefaults instantiates a new UpdateFeedPostResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateFeedPostResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateFeedPostResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateFeedPostResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateFeedPostResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateFeedPostResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateFeedPostResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateFeedPostResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateFeedPostResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateFeedPostResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateFeedPostResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateFeedPostResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateFeedPostResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateFeedPostResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateFeedPostResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateFeedPostResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateFeedPostResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateFeedPostResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateFeedPostResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateFeedPostResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateFeedPostResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateFeedPostResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateFeedPostResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateFeedPostResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateFeedPostResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateFeedPostResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateFeedPostResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateFeedPostResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateFeedPostResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateFeedPostResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md new file mode 100644 index 0000000..f5d725e --- /dev/null +++ b/client/docs/UpdateModeratorResponse.md @@ -0,0 +1,223 @@ +# UpdateModeratorResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateModeratorResponse + +`func NewUpdateModeratorResponse(status APIStatus, reason string, code string, ) *UpdateModeratorResponse` + +NewUpdateModeratorResponse instantiates a new UpdateModeratorResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateModeratorResponseWithDefaults + +`func NewUpdateModeratorResponseWithDefaults() *UpdateModeratorResponse` + +NewUpdateModeratorResponseWithDefaults instantiates a new UpdateModeratorResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateModeratorResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateModeratorResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateModeratorResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateModeratorResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateModeratorResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateModeratorResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateModeratorResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateModeratorResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateModeratorResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateModeratorResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateModeratorResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateModeratorResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateModeratorResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateModeratorResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateModeratorResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateModeratorResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateModeratorResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateModeratorResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateModeratorResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateModeratorResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateModeratorResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateModeratorResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateModeratorResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateModeratorResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateModeratorResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateModeratorResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateModeratorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateModeratorResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateModeratorResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md new file mode 100644 index 0000000..6fc8cdf --- /dev/null +++ b/client/docs/UpdateNotificationResponse.md @@ -0,0 +1,223 @@ +# UpdateNotificationResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateNotificationResponse + +`func NewUpdateNotificationResponse(status APIStatus, reason string, code string, ) *UpdateNotificationResponse` + +NewUpdateNotificationResponse instantiates a new UpdateNotificationResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateNotificationResponseWithDefaults + +`func NewUpdateNotificationResponseWithDefaults() *UpdateNotificationResponse` + +NewUpdateNotificationResponseWithDefaults instantiates a new UpdateNotificationResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateNotificationResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateNotificationResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateNotificationResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateNotificationResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateNotificationResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateNotificationResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateNotificationResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateNotificationResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateNotificationResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateNotificationResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateNotificationResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateNotificationResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateNotificationResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateNotificationResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateNotificationResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateNotificationResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateNotificationResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateNotificationResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateNotificationResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateNotificationResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateNotificationResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateNotificationResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateNotificationResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateNotificationResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateNotificationResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateNotificationResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateNotificationResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateNotificationResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateNotificationResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md new file mode 100644 index 0000000..f6517fc --- /dev/null +++ b/client/docs/UpdateQuestionConfigResponse.md @@ -0,0 +1,223 @@ +# UpdateQuestionConfigResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateQuestionConfigResponse + +`func NewUpdateQuestionConfigResponse(status APIStatus, reason string, code string, ) *UpdateQuestionConfigResponse` + +NewUpdateQuestionConfigResponse instantiates a new UpdateQuestionConfigResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateQuestionConfigResponseWithDefaults + +`func NewUpdateQuestionConfigResponseWithDefaults() *UpdateQuestionConfigResponse` + +NewUpdateQuestionConfigResponseWithDefaults instantiates a new UpdateQuestionConfigResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateQuestionConfigResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateQuestionConfigResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateQuestionConfigResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateQuestionConfigResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateQuestionConfigResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateQuestionConfigResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateQuestionConfigResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateQuestionConfigResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateQuestionConfigResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateQuestionConfigResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateQuestionConfigResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateQuestionConfigResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateQuestionConfigResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateQuestionConfigResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateQuestionConfigResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateQuestionConfigResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateQuestionConfigResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateQuestionConfigResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateQuestionConfigResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateQuestionConfigResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateQuestionConfigResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateQuestionConfigResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateQuestionConfigResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateQuestionConfigResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateQuestionConfigResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateQuestionConfigResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateQuestionConfigResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateQuestionConfigResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateQuestionConfigResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md new file mode 100644 index 0000000..4a449e6 --- /dev/null +++ b/client/docs/UpdateQuestionResultResponse.md @@ -0,0 +1,223 @@ +# UpdateQuestionResultResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateQuestionResultResponse + +`func NewUpdateQuestionResultResponse(status APIStatus, reason string, code string, ) *UpdateQuestionResultResponse` + +NewUpdateQuestionResultResponse instantiates a new UpdateQuestionResultResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateQuestionResultResponseWithDefaults + +`func NewUpdateQuestionResultResponseWithDefaults() *UpdateQuestionResultResponse` + +NewUpdateQuestionResultResponseWithDefaults instantiates a new UpdateQuestionResultResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateQuestionResultResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateQuestionResultResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateQuestionResultResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateQuestionResultResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateQuestionResultResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateQuestionResultResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateQuestionResultResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateQuestionResultResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateQuestionResultResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateQuestionResultResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateQuestionResultResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateQuestionResultResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateQuestionResultResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateQuestionResultResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateQuestionResultResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateQuestionResultResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateQuestionResultResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateQuestionResultResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateQuestionResultResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateQuestionResultResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateQuestionResultResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateQuestionResultResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateQuestionResultResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateQuestionResultResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateQuestionResultResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateQuestionResultResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateQuestionResultResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateQuestionResultResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateQuestionResultResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md new file mode 100644 index 0000000..a841638 --- /dev/null +++ b/client/docs/UpdateTenantPackageResponse.md @@ -0,0 +1,223 @@ +# UpdateTenantPackageResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateTenantPackageResponse + +`func NewUpdateTenantPackageResponse(status APIStatus, reason string, code string, ) *UpdateTenantPackageResponse` + +NewUpdateTenantPackageResponse instantiates a new UpdateTenantPackageResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateTenantPackageResponseWithDefaults + +`func NewUpdateTenantPackageResponseWithDefaults() *UpdateTenantPackageResponse` + +NewUpdateTenantPackageResponseWithDefaults instantiates a new UpdateTenantPackageResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateTenantPackageResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateTenantPackageResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateTenantPackageResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateTenantPackageResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateTenantPackageResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateTenantPackageResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateTenantPackageResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateTenantPackageResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateTenantPackageResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateTenantPackageResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateTenantPackageResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateTenantPackageResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateTenantPackageResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateTenantPackageResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateTenantPackageResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateTenantPackageResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateTenantPackageResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateTenantPackageResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateTenantPackageResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateTenantPackageResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateTenantPackageResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateTenantPackageResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md new file mode 100644 index 0000000..a64bec1 --- /dev/null +++ b/client/docs/UpdateTenantResponse.md @@ -0,0 +1,223 @@ +# UpdateTenantResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateTenantResponse + +`func NewUpdateTenantResponse(status APIStatus, reason string, code string, ) *UpdateTenantResponse` + +NewUpdateTenantResponse instantiates a new UpdateTenantResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateTenantResponseWithDefaults + +`func NewUpdateTenantResponseWithDefaults() *UpdateTenantResponse` + +NewUpdateTenantResponseWithDefaults instantiates a new UpdateTenantResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateTenantResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateTenantResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateTenantResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateTenantResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateTenantResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateTenantResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateTenantResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateTenantResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateTenantResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateTenantResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateTenantResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateTenantResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateTenantResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateTenantResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateTenantResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateTenantResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateTenantResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateTenantResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateTenantResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateTenantResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateTenantResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateTenantResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateTenantResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateTenantResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateTenantResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateTenantResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateTenantResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateTenantResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateTenantResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md new file mode 100644 index 0000000..3d7f66c --- /dev/null +++ b/client/docs/UpdateTenantUserResponse.md @@ -0,0 +1,223 @@ +# UpdateTenantUserResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateTenantUserResponse + +`func NewUpdateTenantUserResponse(status APIStatus, reason string, code string, ) *UpdateTenantUserResponse` + +NewUpdateTenantUserResponse instantiates a new UpdateTenantUserResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateTenantUserResponseWithDefaults + +`func NewUpdateTenantUserResponseWithDefaults() *UpdateTenantUserResponse` + +NewUpdateTenantUserResponseWithDefaults instantiates a new UpdateTenantUserResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateTenantUserResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateTenantUserResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateTenantUserResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateTenantUserResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateTenantUserResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateTenantUserResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateTenantUserResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateTenantUserResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateTenantUserResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateTenantUserResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateTenantUserResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateTenantUserResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateTenantUserResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateTenantUserResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateTenantUserResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateTenantUserResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateTenantUserResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateTenantUserResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateTenantUserResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateTenantUserResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateTenantUserResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateTenantUserResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateTenantUserResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateTenantUserResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md new file mode 100644 index 0000000..a50e8c5 --- /dev/null +++ b/client/docs/UpdateUserBadgeResponse.md @@ -0,0 +1,223 @@ +# UpdateUserBadgeResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewUpdateUserBadgeResponse + +`func NewUpdateUserBadgeResponse(status APIStatus, reason string, code string, ) *UpdateUserBadgeResponse` + +NewUpdateUserBadgeResponse instantiates a new UpdateUserBadgeResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateUserBadgeResponseWithDefaults + +`func NewUpdateUserBadgeResponseWithDefaults() *UpdateUserBadgeResponse` + +NewUpdateUserBadgeResponseWithDefaults instantiates a new UpdateUserBadgeResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *UpdateUserBadgeResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *UpdateUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *UpdateUserBadgeResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetReason + +`func (o *UpdateUserBadgeResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateUserBadgeResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateUserBadgeResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateUserBadgeResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateUserBadgeResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateUserBadgeResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateUserBadgeResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateUserBadgeResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateUserBadgeResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateUserBadgeResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateUserBadgeResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateUserBadgeResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateUserBadgeResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateUserBadgeResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateUserBadgeResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateUserBadgeResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateUserBadgeResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateUserBadgeResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateUserBadgeResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateUserBadgeResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index bc0f6c8..47f1be3 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -8,12 +8,19 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationCommentSubscriptionStatusResponse -`func NewUpdateUserNotificationCommentSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationCommentSubscriptionStatusResponse` +`func NewUpdateUserNotificationCommentSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationCommentSubscriptionStatusResponse` NewUpdateUserNotificationCommentSubscriptionStatusResponse instantiates a new UpdateUserNotificationCommentSubscriptionStatusResponse object This constructor will assign default values to properties that have it defined, @@ -108,6 +115,171 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. +### GetReason + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index d882a63..f3efbec 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -8,12 +8,19 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationPageSubscriptionStatusResponse -`func NewUpdateUserNotificationPageSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationPageSubscriptionStatusResponse` +`func NewUpdateUserNotificationPageSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationPageSubscriptionStatusResponse` NewUpdateUserNotificationPageSubscriptionStatusResponse instantiates a new UpdateUserNotificationPageSubscriptionStatusResponse object This constructor will assign default values to properties that have it defined, @@ -108,6 +115,171 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. +### GetReason + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index 9dd4ff9..c33bd04 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -8,12 +8,19 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationStatusResponse -`func NewUpdateUserNotificationStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationStatusResponse` +`func NewUpdateUserNotificationStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationStatusResponse` NewUpdateUserNotificationStatusResponse instantiates a new UpdateUserNotificationStatusResponse object This constructor will assign default values to properties that have it defined, @@ -108,6 +115,171 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. +### GetReason + +`func (o *UpdateUserNotificationStatusResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *UpdateUserNotificationStatusResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *UpdateUserNotificationStatusResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *UpdateUserNotificationStatusResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *UpdateUserNotificationStatusResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *UpdateUserNotificationStatusResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *UpdateUserNotificationStatusResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *UpdateUserNotificationStatusResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *UpdateUserNotificationStatusResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *UpdateUserNotificationStatusResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *UpdateUserNotificationStatusResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *UpdateUserNotificationStatusResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *UpdateUserNotificationStatusResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *UpdateUserNotificationStatusResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *UpdateUserNotificationStatusResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *UpdateUserNotificationStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *UpdateUserNotificationStatusResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *UpdateUserNotificationStatusResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *UpdateUserNotificationStatusResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *UpdateUserNotificationStatusResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *UpdateUserNotificationStatusResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *UpdateUserNotificationStatusResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *UpdateUserNotificationStatusResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *UpdateUserNotificationStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *UpdateUserNotificationStatusResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *UpdateUserNotificationStatusResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md new file mode 100644 index 0000000..472ff3e --- /dev/null +++ b/client/docs/VoteCommentResponse.md @@ -0,0 +1,327 @@ +# VoteCommentResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Status** | [**APIStatus**](APIStatus.md) | | +**VoteId** | Pointer to **string** | | [optional] +**IsVerified** | Pointer to **bool** | | [optional] +**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] +**EditKey** | Pointer to **string** | | [optional] +**Reason** | **string** | | +**Code** | **string** | | +**SecondaryCode** | Pointer to **string** | | [optional] +**BannedUntil** | Pointer to **int64** | | [optional] +**MaxCharacterLength** | Pointer to **int32** | | [optional] +**TranslatedError** | Pointer to **string** | | [optional] +**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] + +## Methods + +### NewVoteCommentResponse + +`func NewVoteCommentResponse(status APIStatus, reason string, code string, ) *VoteCommentResponse` + +NewVoteCommentResponse instantiates a new VoteCommentResponse object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewVoteCommentResponseWithDefaults + +`func NewVoteCommentResponseWithDefaults() *VoteCommentResponse` + +NewVoteCommentResponseWithDefaults instantiates a new VoteCommentResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetStatus + +`func (o *VoteCommentResponse) GetStatus() APIStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *VoteCommentResponse) GetStatusOk() (*APIStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *VoteCommentResponse) SetStatus(v APIStatus)` + +SetStatus sets Status field to given value. + + +### GetVoteId + +`func (o *VoteCommentResponse) GetVoteId() string` + +GetVoteId returns the VoteId field if non-nil, zero value otherwise. + +### GetVoteIdOk + +`func (o *VoteCommentResponse) GetVoteIdOk() (*string, bool)` + +GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVoteId + +`func (o *VoteCommentResponse) SetVoteId(v string)` + +SetVoteId sets VoteId field to given value. + +### HasVoteId + +`func (o *VoteCommentResponse) HasVoteId() bool` + +HasVoteId returns a boolean if a field has been set. + +### GetIsVerified + +`func (o *VoteCommentResponse) GetIsVerified() bool` + +GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. + +### GetIsVerifiedOk + +`func (o *VoteCommentResponse) GetIsVerifiedOk() (*bool, bool)` + +GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsVerified + +`func (o *VoteCommentResponse) SetIsVerified(v bool)` + +SetIsVerified sets IsVerified field to given value. + +### HasIsVerified + +`func (o *VoteCommentResponse) HasIsVerified() bool` + +HasIsVerified returns a boolean if a field has been set. + +### GetUser + +`func (o *VoteCommentResponse) GetUser() VoteResponseUser` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *VoteCommentResponse) GetUserOk() (*VoteResponseUser, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *VoteCommentResponse) SetUser(v VoteResponseUser)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *VoteCommentResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetEditKey + +`func (o *VoteCommentResponse) GetEditKey() string` + +GetEditKey returns the EditKey field if non-nil, zero value otherwise. + +### GetEditKeyOk + +`func (o *VoteCommentResponse) GetEditKeyOk() (*string, bool)` + +GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEditKey + +`func (o *VoteCommentResponse) SetEditKey(v string)` + +SetEditKey sets EditKey field to given value. + +### HasEditKey + +`func (o *VoteCommentResponse) HasEditKey() bool` + +HasEditKey returns a boolean if a field has been set. + +### GetReason + +`func (o *VoteCommentResponse) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *VoteCommentResponse) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *VoteCommentResponse) SetReason(v string)` + +SetReason sets Reason field to given value. + + +### GetCode + +`func (o *VoteCommentResponse) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *VoteCommentResponse) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *VoteCommentResponse) SetCode(v string)` + +SetCode sets Code field to given value. + + +### GetSecondaryCode + +`func (o *VoteCommentResponse) GetSecondaryCode() string` + +GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. + +### GetSecondaryCodeOk + +`func (o *VoteCommentResponse) GetSecondaryCodeOk() (*string, bool)` + +GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryCode + +`func (o *VoteCommentResponse) SetSecondaryCode(v string)` + +SetSecondaryCode sets SecondaryCode field to given value. + +### HasSecondaryCode + +`func (o *VoteCommentResponse) HasSecondaryCode() bool` + +HasSecondaryCode returns a boolean if a field has been set. + +### GetBannedUntil + +`func (o *VoteCommentResponse) GetBannedUntil() int64` + +GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. + +### GetBannedUntilOk + +`func (o *VoteCommentResponse) GetBannedUntilOk() (*int64, bool)` + +GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBannedUntil + +`func (o *VoteCommentResponse) SetBannedUntil(v int64)` + +SetBannedUntil sets BannedUntil field to given value. + +### HasBannedUntil + +`func (o *VoteCommentResponse) HasBannedUntil() bool` + +HasBannedUntil returns a boolean if a field has been set. + +### GetMaxCharacterLength + +`func (o *VoteCommentResponse) GetMaxCharacterLength() int32` + +GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. + +### GetMaxCharacterLengthOk + +`func (o *VoteCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` + +GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxCharacterLength + +`func (o *VoteCommentResponse) SetMaxCharacterLength(v int32)` + +SetMaxCharacterLength sets MaxCharacterLength field to given value. + +### HasMaxCharacterLength + +`func (o *VoteCommentResponse) HasMaxCharacterLength() bool` + +HasMaxCharacterLength returns a boolean if a field has been set. + +### GetTranslatedError + +`func (o *VoteCommentResponse) GetTranslatedError() string` + +GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. + +### GetTranslatedErrorOk + +`func (o *VoteCommentResponse) GetTranslatedErrorOk() (*string, bool)` + +GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTranslatedError + +`func (o *VoteCommentResponse) SetTranslatedError(v string)` + +SetTranslatedError sets TranslatedError field to given value. + +### HasTranslatedError + +`func (o *VoteCommentResponse) HasTranslatedError() bool` + +HasTranslatedError returns a boolean if a field has been set. + +### GetCustomConfig + +`func (o *VoteCommentResponse) GetCustomConfig() CustomConfigParameters` + +GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. + +### GetCustomConfigOk + +`func (o *VoteCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` + +GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCustomConfig + +`func (o *VoteCommentResponse) SetCustomConfig(v CustomConfigParameters)` + +SetCustomConfig sets CustomConfig field to given value. + +### HasCustomConfig + +`func (o *VoteCommentResponse) HasCustomConfig() bool` + +HasCustomConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/client/model_add_hash_tag_response.go b/client/model_add_hash_tag_response.go new file mode 100644 index 0000000..b293c5b --- /dev/null +++ b/client/model_add_hash_tag_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// AddHashTagResponse struct for AddHashTagResponse +type AddHashTagResponse struct { + APIError *APIError + CreateHashTagResponse *CreateHashTagResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *AddHashTagResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateHashTagResponse + err = json.Unmarshal(data, &dst.CreateHashTagResponse); + if err == nil { + jsonCreateHashTagResponse, _ := json.Marshal(dst.CreateHashTagResponse) + if string(jsonCreateHashTagResponse) == "{}" { // empty struct + dst.CreateHashTagResponse = nil + } else { + return nil // data stored in dst.CreateHashTagResponse, return on the first match + } + } else { + dst.CreateHashTagResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(AddHashTagResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src AddHashTagResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateHashTagResponse != nil { + return json.Marshal(&src.CreateHashTagResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableAddHashTagResponse struct { + value *AddHashTagResponse + isSet bool +} + +func (v NullableAddHashTagResponse) Get() *AddHashTagResponse { + return v.value +} + +func (v *NullableAddHashTagResponse) Set(val *AddHashTagResponse) { + v.value = val + v.isSet = true +} + +func (v NullableAddHashTagResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableAddHashTagResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAddHashTagResponse(val *AddHashTagResponse) *NullableAddHashTagResponse { + return &NullableAddHashTagResponse{value: val, isSet: true} +} + +func (v NullableAddHashTagResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAddHashTagResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_add_hash_tags_bulk_response.go b/client/model_add_hash_tags_bulk_response.go new file mode 100644 index 0000000..7b8e442 --- /dev/null +++ b/client/model_add_hash_tags_bulk_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// AddHashTagsBulkResponse struct for AddHashTagsBulkResponse +type AddHashTagsBulkResponse struct { + APIError *APIError + BulkCreateHashTagsResponse *BulkCreateHashTagsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *AddHashTagsBulkResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BulkCreateHashTagsResponse + err = json.Unmarshal(data, &dst.BulkCreateHashTagsResponse); + if err == nil { + jsonBulkCreateHashTagsResponse, _ := json.Marshal(dst.BulkCreateHashTagsResponse) + if string(jsonBulkCreateHashTagsResponse) == "{}" { // empty struct + dst.BulkCreateHashTagsResponse = nil + } else { + return nil // data stored in dst.BulkCreateHashTagsResponse, return on the first match + } + } else { + dst.BulkCreateHashTagsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(AddHashTagsBulkResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src AddHashTagsBulkResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BulkCreateHashTagsResponse != nil { + return json.Marshal(&src.BulkCreateHashTagsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableAddHashTagsBulkResponse struct { + value *AddHashTagsBulkResponse + isSet bool +} + +func (v NullableAddHashTagsBulkResponse) Get() *AddHashTagsBulkResponse { + return v.value +} + +func (v *NullableAddHashTagsBulkResponse) Set(val *AddHashTagsBulkResponse) { + v.value = val + v.isSet = true +} + +func (v NullableAddHashTagsBulkResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableAddHashTagsBulkResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAddHashTagsBulkResponse(val *AddHashTagsBulkResponse) *NullableAddHashTagsBulkResponse { + return &NullableAddHashTagsBulkResponse{value: val, isSet: true} +} + +func (v NullableAddHashTagsBulkResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAddHashTagsBulkResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_aggregate_question_results_response_1.go b/client/model_aggregate_question_results_response_1.go new file mode 100644 index 0000000..dc4a105 --- /dev/null +++ b/client/model_aggregate_question_results_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// AggregateQuestionResultsResponse1 struct for AggregateQuestionResultsResponse1 +type AggregateQuestionResultsResponse1 struct { + APIError *APIError + AggregateQuestionResultsResponse *AggregateQuestionResultsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *AggregateQuestionResultsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into AggregateQuestionResultsResponse + err = json.Unmarshal(data, &dst.AggregateQuestionResultsResponse); + if err == nil { + jsonAggregateQuestionResultsResponse, _ := json.Marshal(dst.AggregateQuestionResultsResponse) + if string(jsonAggregateQuestionResultsResponse) == "{}" { // empty struct + dst.AggregateQuestionResultsResponse = nil + } else { + return nil // data stored in dst.AggregateQuestionResultsResponse, return on the first match + } + } else { + dst.AggregateQuestionResultsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(AggregateQuestionResultsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src AggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.AggregateQuestionResultsResponse != nil { + return json.Marshal(&src.AggregateQuestionResultsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableAggregateQuestionResultsResponse1 struct { + value *AggregateQuestionResultsResponse1 + isSet bool +} + +func (v NullableAggregateQuestionResultsResponse1) Get() *AggregateQuestionResultsResponse1 { + return v.value +} + +func (v *NullableAggregateQuestionResultsResponse1) Set(val *AggregateQuestionResultsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableAggregateQuestionResultsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableAggregateQuestionResultsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAggregateQuestionResultsResponse1(val *AggregateQuestionResultsResponse1) *NullableAggregateQuestionResultsResponse1 { + return &NullableAggregateQuestionResultsResponse1{value: val, isSet: true} +} + +func (v NullableAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAggregateQuestionResultsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_block_from_comment_public_response.go b/client/model_block_from_comment_public_response.go new file mode 100644 index 0000000..9141900 --- /dev/null +++ b/client/model_block_from_comment_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// BlockFromCommentPublicResponse struct for BlockFromCommentPublicResponse +type BlockFromCommentPublicResponse struct { + APIError *APIError + BlockSuccess *BlockSuccess +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *BlockFromCommentPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BlockSuccess + err = json.Unmarshal(data, &dst.BlockSuccess); + if err == nil { + jsonBlockSuccess, _ := json.Marshal(dst.BlockSuccess) + if string(jsonBlockSuccess) == "{}" { // empty struct + dst.BlockSuccess = nil + } else { + return nil // data stored in dst.BlockSuccess, return on the first match + } + } else { + dst.BlockSuccess = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(BlockFromCommentPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src BlockFromCommentPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BlockSuccess != nil { + return json.Marshal(&src.BlockSuccess) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableBlockFromCommentPublicResponse struct { + value *BlockFromCommentPublicResponse + isSet bool +} + +func (v NullableBlockFromCommentPublicResponse) Get() *BlockFromCommentPublicResponse { + return v.value +} + +func (v *NullableBlockFromCommentPublicResponse) Set(val *BlockFromCommentPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableBlockFromCommentPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableBlockFromCommentPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlockFromCommentPublicResponse(val *BlockFromCommentPublicResponse) *NullableBlockFromCommentPublicResponse { + return &NullableBlockFromCommentPublicResponse{value: val, isSet: true} +} + +func (v NullableBlockFromCommentPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlockFromCommentPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_block_user_from_comment_response.go b/client/model_block_user_from_comment_response.go new file mode 100644 index 0000000..d18f6b6 --- /dev/null +++ b/client/model_block_user_from_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// BlockUserFromCommentResponse struct for BlockUserFromCommentResponse +type BlockUserFromCommentResponse struct { + APIError *APIError + BlockSuccess *BlockSuccess +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *BlockUserFromCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BlockSuccess + err = json.Unmarshal(data, &dst.BlockSuccess); + if err == nil { + jsonBlockSuccess, _ := json.Marshal(dst.BlockSuccess) + if string(jsonBlockSuccess) == "{}" { // empty struct + dst.BlockSuccess = nil + } else { + return nil // data stored in dst.BlockSuccess, return on the first match + } + } else { + dst.BlockSuccess = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(BlockUserFromCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src BlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BlockSuccess != nil { + return json.Marshal(&src.BlockSuccess) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableBlockUserFromCommentResponse struct { + value *BlockUserFromCommentResponse + isSet bool +} + +func (v NullableBlockUserFromCommentResponse) Get() *BlockUserFromCommentResponse { + return v.value +} + +func (v *NullableBlockUserFromCommentResponse) Set(val *BlockUserFromCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableBlockUserFromCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableBlockUserFromCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlockUserFromCommentResponse(val *BlockUserFromCommentResponse) *NullableBlockUserFromCommentResponse { + return &NullableBlockUserFromCommentResponse{value: val, isSet: true} +} + +func (v NullableBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlockUserFromCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_bulk_aggregate_question_results_response_1.go b/client/model_bulk_aggregate_question_results_response_1.go new file mode 100644 index 0000000..5df4818 --- /dev/null +++ b/client/model_bulk_aggregate_question_results_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// BulkAggregateQuestionResultsResponse1 struct for BulkAggregateQuestionResultsResponse1 +type BulkAggregateQuestionResultsResponse1 struct { + APIError *APIError + BulkAggregateQuestionResultsResponse *BulkAggregateQuestionResultsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *BulkAggregateQuestionResultsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BulkAggregateQuestionResultsResponse + err = json.Unmarshal(data, &dst.BulkAggregateQuestionResultsResponse); + if err == nil { + jsonBulkAggregateQuestionResultsResponse, _ := json.Marshal(dst.BulkAggregateQuestionResultsResponse) + if string(jsonBulkAggregateQuestionResultsResponse) == "{}" { // empty struct + dst.BulkAggregateQuestionResultsResponse = nil + } else { + return nil // data stored in dst.BulkAggregateQuestionResultsResponse, return on the first match + } + } else { + dst.BulkAggregateQuestionResultsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(BulkAggregateQuestionResultsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src BulkAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BulkAggregateQuestionResultsResponse != nil { + return json.Marshal(&src.BulkAggregateQuestionResultsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableBulkAggregateQuestionResultsResponse1 struct { + value *BulkAggregateQuestionResultsResponse1 + isSet bool +} + +func (v NullableBulkAggregateQuestionResultsResponse1) Get() *BulkAggregateQuestionResultsResponse1 { + return v.value +} + +func (v *NullableBulkAggregateQuestionResultsResponse1) Set(val *BulkAggregateQuestionResultsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableBulkAggregateQuestionResultsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableBulkAggregateQuestionResultsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBulkAggregateQuestionResultsResponse1(val *BulkAggregateQuestionResultsResponse1) *NullableBulkAggregateQuestionResultsResponse1 { + return &NullableBulkAggregateQuestionResultsResponse1{value: val, isSet: true} +} + +func (v NullableBulkAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBulkAggregateQuestionResultsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_change_ticket_state_response_1.go b/client/model_change_ticket_state_response_1.go new file mode 100644 index 0000000..d3a324c --- /dev/null +++ b/client/model_change_ticket_state_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ChangeTicketStateResponse1 struct for ChangeTicketStateResponse1 +type ChangeTicketStateResponse1 struct { + APIError *APIError + ChangeTicketStateResponse *ChangeTicketStateResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ChangeTicketStateResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ChangeTicketStateResponse + err = json.Unmarshal(data, &dst.ChangeTicketStateResponse); + if err == nil { + jsonChangeTicketStateResponse, _ := json.Marshal(dst.ChangeTicketStateResponse) + if string(jsonChangeTicketStateResponse) == "{}" { // empty struct + dst.ChangeTicketStateResponse = nil + } else { + return nil // data stored in dst.ChangeTicketStateResponse, return on the first match + } + } else { + dst.ChangeTicketStateResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ChangeTicketStateResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ChangeTicketStateResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ChangeTicketStateResponse != nil { + return json.Marshal(&src.ChangeTicketStateResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableChangeTicketStateResponse1 struct { + value *ChangeTicketStateResponse1 + isSet bool +} + +func (v NullableChangeTicketStateResponse1) Get() *ChangeTicketStateResponse1 { + return v.value +} + +func (v *NullableChangeTicketStateResponse1) Set(val *ChangeTicketStateResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableChangeTicketStateResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableChangeTicketStateResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableChangeTicketStateResponse1(val *ChangeTicketStateResponse1) *NullableChangeTicketStateResponse1 { + return &NullableChangeTicketStateResponse1{value: val, isSet: true} +} + +func (v NullableChangeTicketStateResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableChangeTicketStateResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_checked_comments_for_blocked_response.go b/client/model_checked_comments_for_blocked_response.go new file mode 100644 index 0000000..2125d1c --- /dev/null +++ b/client/model_checked_comments_for_blocked_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CheckedCommentsForBlockedResponse struct for CheckedCommentsForBlockedResponse +type CheckedCommentsForBlockedResponse struct { + APIError *APIError + CheckBlockedCommentsResponse *CheckBlockedCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CheckedCommentsForBlockedResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CheckBlockedCommentsResponse + err = json.Unmarshal(data, &dst.CheckBlockedCommentsResponse); + if err == nil { + jsonCheckBlockedCommentsResponse, _ := json.Marshal(dst.CheckBlockedCommentsResponse) + if string(jsonCheckBlockedCommentsResponse) == "{}" { // empty struct + dst.CheckBlockedCommentsResponse = nil + } else { + return nil // data stored in dst.CheckBlockedCommentsResponse, return on the first match + } + } else { + dst.CheckBlockedCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CheckedCommentsForBlockedResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CheckedCommentsForBlockedResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CheckBlockedCommentsResponse != nil { + return json.Marshal(&src.CheckBlockedCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCheckedCommentsForBlockedResponse struct { + value *CheckedCommentsForBlockedResponse + isSet bool +} + +func (v NullableCheckedCommentsForBlockedResponse) Get() *CheckedCommentsForBlockedResponse { + return v.value +} + +func (v *NullableCheckedCommentsForBlockedResponse) Set(val *CheckedCommentsForBlockedResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCheckedCommentsForBlockedResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCheckedCommentsForBlockedResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCheckedCommentsForBlockedResponse(val *CheckedCommentsForBlockedResponse) *NullableCheckedCommentsForBlockedResponse { + return &NullableCheckedCommentsForBlockedResponse{value: val, isSet: true} +} + +func (v NullableCheckedCommentsForBlockedResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCheckedCommentsForBlockedResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_combine_comments_with_question_results_response.go b/client/model_combine_comments_with_question_results_response.go new file mode 100644 index 0000000..221c11d --- /dev/null +++ b/client/model_combine_comments_with_question_results_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CombineCommentsWithQuestionResultsResponse struct for CombineCommentsWithQuestionResultsResponse +type CombineCommentsWithQuestionResultsResponse struct { + APIError *APIError + CombineQuestionResultsWithCommentsResponse *CombineQuestionResultsWithCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CombineCommentsWithQuestionResultsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CombineQuestionResultsWithCommentsResponse + err = json.Unmarshal(data, &dst.CombineQuestionResultsWithCommentsResponse); + if err == nil { + jsonCombineQuestionResultsWithCommentsResponse, _ := json.Marshal(dst.CombineQuestionResultsWithCommentsResponse) + if string(jsonCombineQuestionResultsWithCommentsResponse) == "{}" { // empty struct + dst.CombineQuestionResultsWithCommentsResponse = nil + } else { + return nil // data stored in dst.CombineQuestionResultsWithCommentsResponse, return on the first match + } + } else { + dst.CombineQuestionResultsWithCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CombineCommentsWithQuestionResultsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CombineCommentsWithQuestionResultsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CombineQuestionResultsWithCommentsResponse != nil { + return json.Marshal(&src.CombineQuestionResultsWithCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCombineCommentsWithQuestionResultsResponse struct { + value *CombineCommentsWithQuestionResultsResponse + isSet bool +} + +func (v NullableCombineCommentsWithQuestionResultsResponse) Get() *CombineCommentsWithQuestionResultsResponse { + return v.value +} + +func (v *NullableCombineCommentsWithQuestionResultsResponse) Set(val *CombineCommentsWithQuestionResultsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCombineCommentsWithQuestionResultsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCombineCommentsWithQuestionResultsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCombineCommentsWithQuestionResultsResponse(val *CombineCommentsWithQuestionResultsResponse) *NullableCombineCommentsWithQuestionResultsResponse { + return &NullableCombineCommentsWithQuestionResultsResponse{value: val, isSet: true} +} + +func (v NullableCombineCommentsWithQuestionResultsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCombineCommentsWithQuestionResultsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_comment_public_response.go b/client/model_create_comment_public_response.go new file mode 100644 index 0000000..f067b14 --- /dev/null +++ b/client/model_create_comment_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateCommentPublicResponse struct for CreateCommentPublicResponse +type CreateCommentPublicResponse struct { + APIError *APIError + SaveCommentsResponseWithPresence *SaveCommentsResponseWithPresence +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateCommentPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into SaveCommentsResponseWithPresence + err = json.Unmarshal(data, &dst.SaveCommentsResponseWithPresence); + if err == nil { + jsonSaveCommentsResponseWithPresence, _ := json.Marshal(dst.SaveCommentsResponseWithPresence) + if string(jsonSaveCommentsResponseWithPresence) == "{}" { // empty struct + dst.SaveCommentsResponseWithPresence = nil + } else { + return nil // data stored in dst.SaveCommentsResponseWithPresence, return on the first match + } + } else { + dst.SaveCommentsResponseWithPresence = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateCommentPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateCommentPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.SaveCommentsResponseWithPresence != nil { + return json.Marshal(&src.SaveCommentsResponseWithPresence) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateCommentPublicResponse struct { + value *CreateCommentPublicResponse + isSet bool +} + +func (v NullableCreateCommentPublicResponse) Get() *CreateCommentPublicResponse { + return v.value +} + +func (v *NullableCreateCommentPublicResponse) Set(val *CreateCommentPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateCommentPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateCommentPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateCommentPublicResponse(val *CreateCommentPublicResponse) *NullableCreateCommentPublicResponse { + return &NullableCreateCommentPublicResponse{value: val, isSet: true} +} + +func (v NullableCreateCommentPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateCommentPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_email_template_response_1.go b/client/model_create_email_template_response_1.go new file mode 100644 index 0000000..fc0c3cf --- /dev/null +++ b/client/model_create_email_template_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateEmailTemplateResponse1 struct for CreateEmailTemplateResponse1 +type CreateEmailTemplateResponse1 struct { + APIError *APIError + CreateEmailTemplateResponse *CreateEmailTemplateResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateEmailTemplateResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateEmailTemplateResponse + err = json.Unmarshal(data, &dst.CreateEmailTemplateResponse); + if err == nil { + jsonCreateEmailTemplateResponse, _ := json.Marshal(dst.CreateEmailTemplateResponse) + if string(jsonCreateEmailTemplateResponse) == "{}" { // empty struct + dst.CreateEmailTemplateResponse = nil + } else { + return nil // data stored in dst.CreateEmailTemplateResponse, return on the first match + } + } else { + dst.CreateEmailTemplateResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateEmailTemplateResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateEmailTemplateResponse != nil { + return json.Marshal(&src.CreateEmailTemplateResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateEmailTemplateResponse1 struct { + value *CreateEmailTemplateResponse1 + isSet bool +} + +func (v NullableCreateEmailTemplateResponse1) Get() *CreateEmailTemplateResponse1 { + return v.value +} + +func (v *NullableCreateEmailTemplateResponse1) Set(val *CreateEmailTemplateResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateEmailTemplateResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateEmailTemplateResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateEmailTemplateResponse1(val *CreateEmailTemplateResponse1) *NullableCreateEmailTemplateResponse1 { + return &NullableCreateEmailTemplateResponse1{value: val, isSet: true} +} + +func (v NullableCreateEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateEmailTemplateResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_feed_post_public_response.go b/client/model_create_feed_post_public_response.go new file mode 100644 index 0000000..ca42840 --- /dev/null +++ b/client/model_create_feed_post_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateFeedPostPublicResponse struct for CreateFeedPostPublicResponse +type CreateFeedPostPublicResponse struct { + APIError *APIError + CreateFeedPostResponse *CreateFeedPostResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateFeedPostPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateFeedPostResponse + err = json.Unmarshal(data, &dst.CreateFeedPostResponse); + if err == nil { + jsonCreateFeedPostResponse, _ := json.Marshal(dst.CreateFeedPostResponse) + if string(jsonCreateFeedPostResponse) == "{}" { // empty struct + dst.CreateFeedPostResponse = nil + } else { + return nil // data stored in dst.CreateFeedPostResponse, return on the first match + } + } else { + dst.CreateFeedPostResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateFeedPostPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateFeedPostResponse != nil { + return json.Marshal(&src.CreateFeedPostResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateFeedPostPublicResponse struct { + value *CreateFeedPostPublicResponse + isSet bool +} + +func (v NullableCreateFeedPostPublicResponse) Get() *CreateFeedPostPublicResponse { + return v.value +} + +func (v *NullableCreateFeedPostPublicResponse) Set(val *CreateFeedPostPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateFeedPostPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateFeedPostPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateFeedPostPublicResponse(val *CreateFeedPostPublicResponse) *NullableCreateFeedPostPublicResponse { + return &NullableCreateFeedPostPublicResponse{value: val, isSet: true} +} + +func (v NullableCreateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateFeedPostPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_feed_post_response_1.go b/client/model_create_feed_post_response_1.go new file mode 100644 index 0000000..739392e --- /dev/null +++ b/client/model_create_feed_post_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateFeedPostResponse1 struct for CreateFeedPostResponse1 +type CreateFeedPostResponse1 struct { + APIError *APIError + CreateFeedPostsResponse *CreateFeedPostsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateFeedPostResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateFeedPostsResponse + err = json.Unmarshal(data, &dst.CreateFeedPostsResponse); + if err == nil { + jsonCreateFeedPostsResponse, _ := json.Marshal(dst.CreateFeedPostsResponse) + if string(jsonCreateFeedPostsResponse) == "{}" { // empty struct + dst.CreateFeedPostsResponse = nil + } else { + return nil // data stored in dst.CreateFeedPostsResponse, return on the first match + } + } else { + dst.CreateFeedPostsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateFeedPostResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateFeedPostResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateFeedPostsResponse != nil { + return json.Marshal(&src.CreateFeedPostsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateFeedPostResponse1 struct { + value *CreateFeedPostResponse1 + isSet bool +} + +func (v NullableCreateFeedPostResponse1) Get() *CreateFeedPostResponse1 { + return v.value +} + +func (v *NullableCreateFeedPostResponse1) Set(val *CreateFeedPostResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateFeedPostResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateFeedPostResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateFeedPostResponse1(val *CreateFeedPostResponse1) *NullableCreateFeedPostResponse1 { + return &NullableCreateFeedPostResponse1{value: val, isSet: true} +} + +func (v NullableCreateFeedPostResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateFeedPostResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_moderator_response_1.go b/client/model_create_moderator_response_1.go new file mode 100644 index 0000000..3ed3706 --- /dev/null +++ b/client/model_create_moderator_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateModeratorResponse1 struct for CreateModeratorResponse1 +type CreateModeratorResponse1 struct { + APIError *APIError + CreateModeratorResponse *CreateModeratorResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateModeratorResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateModeratorResponse + err = json.Unmarshal(data, &dst.CreateModeratorResponse); + if err == nil { + jsonCreateModeratorResponse, _ := json.Marshal(dst.CreateModeratorResponse) + if string(jsonCreateModeratorResponse) == "{}" { // empty struct + dst.CreateModeratorResponse = nil + } else { + return nil // data stored in dst.CreateModeratorResponse, return on the first match + } + } else { + dst.CreateModeratorResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateModeratorResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateModeratorResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateModeratorResponse != nil { + return json.Marshal(&src.CreateModeratorResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateModeratorResponse1 struct { + value *CreateModeratorResponse1 + isSet bool +} + +func (v NullableCreateModeratorResponse1) Get() *CreateModeratorResponse1 { + return v.value +} + +func (v *NullableCreateModeratorResponse1) Set(val *CreateModeratorResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateModeratorResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateModeratorResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateModeratorResponse1(val *CreateModeratorResponse1) *NullableCreateModeratorResponse1 { + return &NullableCreateModeratorResponse1{value: val, isSet: true} +} + +func (v NullableCreateModeratorResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateModeratorResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_question_config_response_1.go b/client/model_create_question_config_response_1.go new file mode 100644 index 0000000..17055d2 --- /dev/null +++ b/client/model_create_question_config_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateQuestionConfigResponse1 struct for CreateQuestionConfigResponse1 +type CreateQuestionConfigResponse1 struct { + APIError *APIError + CreateQuestionConfigResponse *CreateQuestionConfigResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateQuestionConfigResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateQuestionConfigResponse + err = json.Unmarshal(data, &dst.CreateQuestionConfigResponse); + if err == nil { + jsonCreateQuestionConfigResponse, _ := json.Marshal(dst.CreateQuestionConfigResponse) + if string(jsonCreateQuestionConfigResponse) == "{}" { // empty struct + dst.CreateQuestionConfigResponse = nil + } else { + return nil // data stored in dst.CreateQuestionConfigResponse, return on the first match + } + } else { + dst.CreateQuestionConfigResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateQuestionConfigResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateQuestionConfigResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateQuestionConfigResponse != nil { + return json.Marshal(&src.CreateQuestionConfigResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateQuestionConfigResponse1 struct { + value *CreateQuestionConfigResponse1 + isSet bool +} + +func (v NullableCreateQuestionConfigResponse1) Get() *CreateQuestionConfigResponse1 { + return v.value +} + +func (v *NullableCreateQuestionConfigResponse1) Set(val *CreateQuestionConfigResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateQuestionConfigResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateQuestionConfigResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateQuestionConfigResponse1(val *CreateQuestionConfigResponse1) *NullableCreateQuestionConfigResponse1 { + return &NullableCreateQuestionConfigResponse1{value: val, isSet: true} +} + +func (v NullableCreateQuestionConfigResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateQuestionConfigResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_question_result_response_1.go b/client/model_create_question_result_response_1.go new file mode 100644 index 0000000..aa952d2 --- /dev/null +++ b/client/model_create_question_result_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateQuestionResultResponse1 struct for CreateQuestionResultResponse1 +type CreateQuestionResultResponse1 struct { + APIError *APIError + CreateQuestionResultResponse *CreateQuestionResultResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateQuestionResultResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateQuestionResultResponse + err = json.Unmarshal(data, &dst.CreateQuestionResultResponse); + if err == nil { + jsonCreateQuestionResultResponse, _ := json.Marshal(dst.CreateQuestionResultResponse) + if string(jsonCreateQuestionResultResponse) == "{}" { // empty struct + dst.CreateQuestionResultResponse = nil + } else { + return nil // data stored in dst.CreateQuestionResultResponse, return on the first match + } + } else { + dst.CreateQuestionResultResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateQuestionResultResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateQuestionResultResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateQuestionResultResponse != nil { + return json.Marshal(&src.CreateQuestionResultResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateQuestionResultResponse1 struct { + value *CreateQuestionResultResponse1 + isSet bool +} + +func (v NullableCreateQuestionResultResponse1) Get() *CreateQuestionResultResponse1 { + return v.value +} + +func (v *NullableCreateQuestionResultResponse1) Set(val *CreateQuestionResultResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateQuestionResultResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateQuestionResultResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateQuestionResultResponse1(val *CreateQuestionResultResponse1) *NullableCreateQuestionResultResponse1 { + return &NullableCreateQuestionResultResponse1{value: val, isSet: true} +} + +func (v NullableCreateQuestionResultResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateQuestionResultResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_tenant_package_response_1.go b/client/model_create_tenant_package_response_1.go new file mode 100644 index 0000000..6b6ea50 --- /dev/null +++ b/client/model_create_tenant_package_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateTenantPackageResponse1 struct for CreateTenantPackageResponse1 +type CreateTenantPackageResponse1 struct { + APIError *APIError + CreateTenantPackageResponse *CreateTenantPackageResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateTenantPackageResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateTenantPackageResponse + err = json.Unmarshal(data, &dst.CreateTenantPackageResponse); + if err == nil { + jsonCreateTenantPackageResponse, _ := json.Marshal(dst.CreateTenantPackageResponse) + if string(jsonCreateTenantPackageResponse) == "{}" { // empty struct + dst.CreateTenantPackageResponse = nil + } else { + return nil // data stored in dst.CreateTenantPackageResponse, return on the first match + } + } else { + dst.CreateTenantPackageResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantPackageResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateTenantPackageResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateTenantPackageResponse != nil { + return json.Marshal(&src.CreateTenantPackageResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateTenantPackageResponse1 struct { + value *CreateTenantPackageResponse1 + isSet bool +} + +func (v NullableCreateTenantPackageResponse1) Get() *CreateTenantPackageResponse1 { + return v.value +} + +func (v *NullableCreateTenantPackageResponse1) Set(val *CreateTenantPackageResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateTenantPackageResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateTenantPackageResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateTenantPackageResponse1(val *CreateTenantPackageResponse1) *NullableCreateTenantPackageResponse1 { + return &NullableCreateTenantPackageResponse1{value: val, isSet: true} +} + +func (v NullableCreateTenantPackageResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateTenantPackageResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_tenant_response_1.go b/client/model_create_tenant_response_1.go new file mode 100644 index 0000000..4bcde0e --- /dev/null +++ b/client/model_create_tenant_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateTenantResponse1 struct for CreateTenantResponse1 +type CreateTenantResponse1 struct { + APIError *APIError + CreateTenantResponse *CreateTenantResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateTenantResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateTenantResponse + err = json.Unmarshal(data, &dst.CreateTenantResponse); + if err == nil { + jsonCreateTenantResponse, _ := json.Marshal(dst.CreateTenantResponse) + if string(jsonCreateTenantResponse) == "{}" { // empty struct + dst.CreateTenantResponse = nil + } else { + return nil // data stored in dst.CreateTenantResponse, return on the first match + } + } else { + dst.CreateTenantResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateTenantResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateTenantResponse != nil { + return json.Marshal(&src.CreateTenantResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateTenantResponse1 struct { + value *CreateTenantResponse1 + isSet bool +} + +func (v NullableCreateTenantResponse1) Get() *CreateTenantResponse1 { + return v.value +} + +func (v *NullableCreateTenantResponse1) Set(val *CreateTenantResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateTenantResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateTenantResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateTenantResponse1(val *CreateTenantResponse1) *NullableCreateTenantResponse1 { + return &NullableCreateTenantResponse1{value: val, isSet: true} +} + +func (v NullableCreateTenantResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateTenantResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_tenant_user_response_1.go b/client/model_create_tenant_user_response_1.go new file mode 100644 index 0000000..b45ef09 --- /dev/null +++ b/client/model_create_tenant_user_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateTenantUserResponse1 struct for CreateTenantUserResponse1 +type CreateTenantUserResponse1 struct { + APIError *APIError + CreateTenantUserResponse *CreateTenantUserResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateTenantUserResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateTenantUserResponse + err = json.Unmarshal(data, &dst.CreateTenantUserResponse); + if err == nil { + jsonCreateTenantUserResponse, _ := json.Marshal(dst.CreateTenantUserResponse) + if string(jsonCreateTenantUserResponse) == "{}" { // empty struct + dst.CreateTenantUserResponse = nil + } else { + return nil // data stored in dst.CreateTenantUserResponse, return on the first match + } + } else { + dst.CreateTenantUserResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantUserResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateTenantUserResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateTenantUserResponse != nil { + return json.Marshal(&src.CreateTenantUserResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateTenantUserResponse1 struct { + value *CreateTenantUserResponse1 + isSet bool +} + +func (v NullableCreateTenantUserResponse1) Get() *CreateTenantUserResponse1 { + return v.value +} + +func (v *NullableCreateTenantUserResponse1) Set(val *CreateTenantUserResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateTenantUserResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateTenantUserResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateTenantUserResponse1(val *CreateTenantUserResponse1) *NullableCreateTenantUserResponse1 { + return &NullableCreateTenantUserResponse1{value: val, isSet: true} +} + +func (v NullableCreateTenantUserResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateTenantUserResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_ticket_response_1.go b/client/model_create_ticket_response_1.go new file mode 100644 index 0000000..2c7a4d0 --- /dev/null +++ b/client/model_create_ticket_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateTicketResponse1 struct for CreateTicketResponse1 +type CreateTicketResponse1 struct { + APIError *APIError + CreateTicketResponse *CreateTicketResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateTicketResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateTicketResponse + err = json.Unmarshal(data, &dst.CreateTicketResponse); + if err == nil { + jsonCreateTicketResponse, _ := json.Marshal(dst.CreateTicketResponse) + if string(jsonCreateTicketResponse) == "{}" { // empty struct + dst.CreateTicketResponse = nil + } else { + return nil // data stored in dst.CreateTicketResponse, return on the first match + } + } else { + dst.CreateTicketResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateTicketResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateTicketResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateTicketResponse != nil { + return json.Marshal(&src.CreateTicketResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateTicketResponse1 struct { + value *CreateTicketResponse1 + isSet bool +} + +func (v NullableCreateTicketResponse1) Get() *CreateTicketResponse1 { + return v.value +} + +func (v *NullableCreateTicketResponse1) Set(val *CreateTicketResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableCreateTicketResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateTicketResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateTicketResponse1(val *CreateTicketResponse1) *NullableCreateTicketResponse1 { + return &NullableCreateTicketResponse1{value: val, isSet: true} +} + +func (v NullableCreateTicketResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateTicketResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_user_badge_response.go b/client/model_create_user_badge_response.go new file mode 100644 index 0000000..904b817 --- /dev/null +++ b/client/model_create_user_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateUserBadgeResponse struct for CreateUserBadgeResponse +type CreateUserBadgeResponse struct { + APICreateUserBadgeResponse *APICreateUserBadgeResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateUserBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APICreateUserBadgeResponse + err = json.Unmarshal(data, &dst.APICreateUserBadgeResponse); + if err == nil { + jsonAPICreateUserBadgeResponse, _ := json.Marshal(dst.APICreateUserBadgeResponse) + if string(jsonAPICreateUserBadgeResponse) == "{}" { // empty struct + dst.APICreateUserBadgeResponse = nil + } else { + return nil // data stored in dst.APICreateUserBadgeResponse, return on the first match + } + } else { + dst.APICreateUserBadgeResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateUserBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateUserBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APICreateUserBadgeResponse != nil { + return json.Marshal(&src.APICreateUserBadgeResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateUserBadgeResponse struct { + value *CreateUserBadgeResponse + isSet bool +} + +func (v NullableCreateUserBadgeResponse) Get() *CreateUserBadgeResponse { + return v.value +} + +func (v *NullableCreateUserBadgeResponse) Set(val *CreateUserBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateUserBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateUserBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateUserBadgeResponse(val *CreateUserBadgeResponse) *NullableCreateUserBadgeResponse { + return &NullableCreateUserBadgeResponse{value: val, isSet: true} +} + +func (v NullableCreateUserBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateUserBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_v1_page_react_response.go b/client/model_create_v1_page_react_response.go new file mode 100644 index 0000000..d51c50f --- /dev/null +++ b/client/model_create_v1_page_react_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateV1PageReactResponse struct for CreateV1PageReactResponse +type CreateV1PageReactResponse struct { + APIError *APIError + CreateV1PageReact *CreateV1PageReact +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateV1PageReactResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateV1PageReact + err = json.Unmarshal(data, &dst.CreateV1PageReact); + if err == nil { + jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) + if string(jsonCreateV1PageReact) == "{}" { // empty struct + dst.CreateV1PageReact = nil + } else { + return nil // data stored in dst.CreateV1PageReact, return on the first match + } + } else { + dst.CreateV1PageReact = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateV1PageReactResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateV1PageReactResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateV1PageReact != nil { + return json.Marshal(&src.CreateV1PageReact) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateV1PageReactResponse struct { + value *CreateV1PageReactResponse + isSet bool +} + +func (v NullableCreateV1PageReactResponse) Get() *CreateV1PageReactResponse { + return v.value +} + +func (v *NullableCreateV1PageReactResponse) Set(val *CreateV1PageReactResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateV1PageReactResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateV1PageReactResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateV1PageReactResponse(val *CreateV1PageReactResponse) *NullableCreateV1PageReactResponse { + return &NullableCreateV1PageReactResponse{value: val, isSet: true} +} + +func (v NullableCreateV1PageReactResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateV1PageReactResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_v2_page_react_response.go b/client/model_create_v2_page_react_response.go new file mode 100644 index 0000000..354b08a --- /dev/null +++ b/client/model_create_v2_page_react_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateV2PageReactResponse struct for CreateV2PageReactResponse +type CreateV2PageReactResponse struct { + APIError *APIError + CreateV1PageReact *CreateV1PageReact +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateV2PageReactResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateV1PageReact + err = json.Unmarshal(data, &dst.CreateV1PageReact); + if err == nil { + jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) + if string(jsonCreateV1PageReact) == "{}" { // empty struct + dst.CreateV1PageReact = nil + } else { + return nil // data stored in dst.CreateV1PageReact, return on the first match + } + } else { + dst.CreateV1PageReact = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateV2PageReactResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateV2PageReactResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateV1PageReact != nil { + return json.Marshal(&src.CreateV1PageReact) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateV2PageReactResponse struct { + value *CreateV2PageReactResponse + isSet bool +} + +func (v NullableCreateV2PageReactResponse) Get() *CreateV2PageReactResponse { + return v.value +} + +func (v *NullableCreateV2PageReactResponse) Set(val *CreateV2PageReactResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateV2PageReactResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateV2PageReactResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateV2PageReactResponse(val *CreateV2PageReactResponse) *NullableCreateV2PageReactResponse { + return &NullableCreateV2PageReactResponse{value: val, isSet: true} +} + +func (v NullableCreateV2PageReactResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateV2PageReactResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_create_vote_response.go b/client/model_create_vote_response.go new file mode 100644 index 0000000..46d0e21 --- /dev/null +++ b/client/model_create_vote_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// CreateVoteResponse struct for CreateVoteResponse +type CreateVoteResponse struct { + APIError *APIError + VoteResponse *VoteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *CreateVoteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteResponse + err = json.Unmarshal(data, &dst.VoteResponse); + if err == nil { + jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) + if string(jsonVoteResponse) == "{}" { // empty struct + dst.VoteResponse = nil + } else { + return nil // data stored in dst.VoteResponse, return on the first match + } + } else { + dst.VoteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(CreateVoteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src CreateVoteResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteResponse != nil { + return json.Marshal(&src.VoteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableCreateVoteResponse struct { + value *CreateVoteResponse + isSet bool +} + +func (v NullableCreateVoteResponse) Get() *CreateVoteResponse { + return v.value +} + +func (v *NullableCreateVoteResponse) Set(val *CreateVoteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCreateVoteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCreateVoteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCreateVoteResponse(val *CreateVoteResponse) *NullableCreateVoteResponse { + return &NullableCreateVoteResponse{value: val, isSet: true} +} + +func (v NullableCreateVoteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCreateVoteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_comment_public_response.go b/client/model_delete_comment_public_response.go new file mode 100644 index 0000000..27de2d5 --- /dev/null +++ b/client/model_delete_comment_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteCommentPublicResponse struct for DeleteCommentPublicResponse +type DeleteCommentPublicResponse struct { + APIError *APIError + PublicAPIDeleteCommentResponse *PublicAPIDeleteCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteCommentPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PublicAPIDeleteCommentResponse + err = json.Unmarshal(data, &dst.PublicAPIDeleteCommentResponse); + if err == nil { + jsonPublicAPIDeleteCommentResponse, _ := json.Marshal(dst.PublicAPIDeleteCommentResponse) + if string(jsonPublicAPIDeleteCommentResponse) == "{}" { // empty struct + dst.PublicAPIDeleteCommentResponse = nil + } else { + return nil // data stored in dst.PublicAPIDeleteCommentResponse, return on the first match + } + } else { + dst.PublicAPIDeleteCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteCommentPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PublicAPIDeleteCommentResponse != nil { + return json.Marshal(&src.PublicAPIDeleteCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteCommentPublicResponse struct { + value *DeleteCommentPublicResponse + isSet bool +} + +func (v NullableDeleteCommentPublicResponse) Get() *DeleteCommentPublicResponse { + return v.value +} + +func (v *NullableDeleteCommentPublicResponse) Set(val *DeleteCommentPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteCommentPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteCommentPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteCommentPublicResponse(val *DeleteCommentPublicResponse) *NullableDeleteCommentPublicResponse { + return &NullableDeleteCommentPublicResponse{value: val, isSet: true} +} + +func (v NullableDeleteCommentPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteCommentPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_comment_response.go b/client/model_delete_comment_response.go new file mode 100644 index 0000000..e96d4a5 --- /dev/null +++ b/client/model_delete_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteCommentResponse struct for DeleteCommentResponse +type DeleteCommentResponse struct { + APIError *APIError + DeleteCommentResult *DeleteCommentResult +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into DeleteCommentResult + err = json.Unmarshal(data, &dst.DeleteCommentResult); + if err == nil { + jsonDeleteCommentResult, _ := json.Marshal(dst.DeleteCommentResult) + if string(jsonDeleteCommentResult) == "{}" { // empty struct + dst.DeleteCommentResult = nil + } else { + return nil // data stored in dst.DeleteCommentResult, return on the first match + } + } else { + dst.DeleteCommentResult = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.DeleteCommentResult != nil { + return json.Marshal(&src.DeleteCommentResult) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteCommentResponse struct { + value *DeleteCommentResponse + isSet bool +} + +func (v NullableDeleteCommentResponse) Get() *DeleteCommentResponse { + return v.value +} + +func (v *NullableDeleteCommentResponse) Set(val *DeleteCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteCommentResponse(val *DeleteCommentResponse) *NullableDeleteCommentResponse { + return &NullableDeleteCommentResponse{value: val, isSet: true} +} + +func (v NullableDeleteCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_comment_vote_response.go b/client/model_delete_comment_vote_response.go new file mode 100644 index 0000000..ff1f27e --- /dev/null +++ b/client/model_delete_comment_vote_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteCommentVoteResponse struct for DeleteCommentVoteResponse +type DeleteCommentVoteResponse struct { + APIError *APIError + VoteDeleteResponse *VoteDeleteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteCommentVoteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteDeleteResponse + err = json.Unmarshal(data, &dst.VoteDeleteResponse); + if err == nil { + jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) + if string(jsonVoteDeleteResponse) == "{}" { // empty struct + dst.VoteDeleteResponse = nil + } else { + return nil // data stored in dst.VoteDeleteResponse, return on the first match + } + } else { + dst.VoteDeleteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentVoteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteCommentVoteResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteDeleteResponse != nil { + return json.Marshal(&src.VoteDeleteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteCommentVoteResponse struct { + value *DeleteCommentVoteResponse + isSet bool +} + +func (v NullableDeleteCommentVoteResponse) Get() *DeleteCommentVoteResponse { + return v.value +} + +func (v *NullableDeleteCommentVoteResponse) Set(val *DeleteCommentVoteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteCommentVoteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteCommentVoteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteCommentVoteResponse(val *DeleteCommentVoteResponse) *NullableDeleteCommentVoteResponse { + return &NullableDeleteCommentVoteResponse{value: val, isSet: true} +} + +func (v NullableDeleteCommentVoteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteCommentVoteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_email_template_render_error_response.go b/client/model_delete_email_template_render_error_response.go new file mode 100644 index 0000000..74ee805 --- /dev/null +++ b/client/model_delete_email_template_render_error_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteEmailTemplateRenderErrorResponse struct for DeleteEmailTemplateRenderErrorResponse +type DeleteEmailTemplateRenderErrorResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteEmailTemplateRenderErrorResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteEmailTemplateRenderErrorResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteEmailTemplateRenderErrorResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteEmailTemplateRenderErrorResponse struct { + value *DeleteEmailTemplateRenderErrorResponse + isSet bool +} + +func (v NullableDeleteEmailTemplateRenderErrorResponse) Get() *DeleteEmailTemplateRenderErrorResponse { + return v.value +} + +func (v *NullableDeleteEmailTemplateRenderErrorResponse) Set(val *DeleteEmailTemplateRenderErrorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteEmailTemplateRenderErrorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteEmailTemplateRenderErrorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteEmailTemplateRenderErrorResponse(val *DeleteEmailTemplateRenderErrorResponse) *NullableDeleteEmailTemplateRenderErrorResponse { + return &NullableDeleteEmailTemplateRenderErrorResponse{value: val, isSet: true} +} + +func (v NullableDeleteEmailTemplateRenderErrorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteEmailTemplateRenderErrorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_email_template_response.go b/client/model_delete_email_template_response.go new file mode 100644 index 0000000..dacdc48 --- /dev/null +++ b/client/model_delete_email_template_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteEmailTemplateResponse struct for DeleteEmailTemplateResponse +type DeleteEmailTemplateResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteEmailTemplateResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteEmailTemplateResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteEmailTemplateResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteEmailTemplateResponse struct { + value *DeleteEmailTemplateResponse + isSet bool +} + +func (v NullableDeleteEmailTemplateResponse) Get() *DeleteEmailTemplateResponse { + return v.value +} + +func (v *NullableDeleteEmailTemplateResponse) Set(val *DeleteEmailTemplateResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteEmailTemplateResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteEmailTemplateResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteEmailTemplateResponse(val *DeleteEmailTemplateResponse) *NullableDeleteEmailTemplateResponse { + return &NullableDeleteEmailTemplateResponse{value: val, isSet: true} +} + +func (v NullableDeleteEmailTemplateResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteEmailTemplateResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_feed_post_public_response.go b/client/model_delete_feed_post_public_response.go index c4cd91a..3d9bd9e 100644 --- a/client/model_delete_feed_post_public_response.go +++ b/client/model_delete_feed_post_public_response.go @@ -12,113 +12,62 @@ package client import ( "encoding/json" - "bytes" "fmt" ) -// checks if the DeleteFeedPostPublicResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &DeleteFeedPostPublicResponse{} // DeleteFeedPostPublicResponse struct for DeleteFeedPostPublicResponse type DeleteFeedPostPublicResponse struct { - Status APIStatus `json:"status"` -} - -type _DeleteFeedPostPublicResponse DeleteFeedPostPublicResponse - -// NewDeleteFeedPostPublicResponse instantiates a new DeleteFeedPostPublicResponse object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewDeleteFeedPostPublicResponse(status APIStatus) *DeleteFeedPostPublicResponse { - this := DeleteFeedPostPublicResponse{} - this.Status = status - return &this -} - -// NewDeleteFeedPostPublicResponseWithDefaults instantiates a new DeleteFeedPostPublicResponse object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewDeleteFeedPostPublicResponseWithDefaults() *DeleteFeedPostPublicResponse { - this := DeleteFeedPostPublicResponse{} - return &this -} - -// GetStatus returns the Status field value -func (o *DeleteFeedPostPublicResponse) GetStatus() APIStatus { - if o == nil { - var ret APIStatus - return ret - } - - return o.Status -} - -// GetStatusOk returns a tuple with the Status field value -// and a boolean to check if the value has been set. -func (o *DeleteFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool) { - if o == nil { - return nil, false + APIError *APIError + DeleteFeedPostPublicResponseAnyOf *DeleteFeedPostPublicResponseAnyOf +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteFeedPostPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil } - return &o.Status, true -} - -// SetStatus sets field value -func (o *DeleteFeedPostPublicResponse) SetStatus(v APIStatus) { - o.Status = v -} -func (o DeleteFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err + // try to unmarshal JSON data into DeleteFeedPostPublicResponseAnyOf + err = json.Unmarshal(data, &dst.DeleteFeedPostPublicResponseAnyOf); + if err == nil { + jsonDeleteFeedPostPublicResponseAnyOf, _ := json.Marshal(dst.DeleteFeedPostPublicResponseAnyOf) + if string(jsonDeleteFeedPostPublicResponseAnyOf) == "{}" { // empty struct + dst.DeleteFeedPostPublicResponseAnyOf = nil + } else { + return nil // data stored in dst.DeleteFeedPostPublicResponseAnyOf, return on the first match + } + } else { + dst.DeleteFeedPostPublicResponseAnyOf = nil } - return json.Marshal(toSerialize) -} -func (o DeleteFeedPostPublicResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["status"] = o.Status - return toSerialize, nil + return fmt.Errorf("data failed to match schemas in anyOf(DeleteFeedPostPublicResponse)") } -func (o *DeleteFeedPostPublicResponse) UnmarshalJSON(data []byte) (err error) { - // This validates that all required properties are included in the JSON object - // by unmarshalling the object into a generic map with string keys and checking - // that every required field exists as a key in the generic map. - requiredProperties := []string{ - "status", - } - - allProperties := make(map[string]interface{}) - - err = json.Unmarshal(data, &allProperties) - - if err != nil { - return err; +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) } - for _, requiredProperty := range(requiredProperties) { - if _, exists := allProperties[requiredProperty]; !exists { - return fmt.Errorf("no value given for required property %v", requiredProperty) - } + if src.DeleteFeedPostPublicResponseAnyOf != nil { + return json.Marshal(&src.DeleteFeedPostPublicResponseAnyOf) } - varDeleteFeedPostPublicResponse := _DeleteFeedPostPublicResponse{} - - decoder := json.NewDecoder(bytes.NewReader(data)) - decoder.DisallowUnknownFields() - err = decoder.Decode(&varDeleteFeedPostPublicResponse) - - if err != nil { - return err - } - - *o = DeleteFeedPostPublicResponse(varDeleteFeedPostPublicResponse) - - return err + return nil, nil // no data in anyOf schemas } + type NullableDeleteFeedPostPublicResponse struct { value *DeleteFeedPostPublicResponse isSet bool diff --git a/client/model_delete_feed_post_public_response_any_of.go b/client/model_delete_feed_post_public_response_any_of.go new file mode 100644 index 0000000..4913de2 --- /dev/null +++ b/client/model_delete_feed_post_public_response_any_of.go @@ -0,0 +1,158 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "bytes" + "fmt" +) + +// checks if the DeleteFeedPostPublicResponseAnyOf type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteFeedPostPublicResponseAnyOf{} + +// DeleteFeedPostPublicResponseAnyOf struct for DeleteFeedPostPublicResponseAnyOf +type DeleteFeedPostPublicResponseAnyOf struct { + Status APIStatus `json:"status"` +} + +type _DeleteFeedPostPublicResponseAnyOf DeleteFeedPostPublicResponseAnyOf + +// NewDeleteFeedPostPublicResponseAnyOf instantiates a new DeleteFeedPostPublicResponseAnyOf object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteFeedPostPublicResponseAnyOf(status APIStatus) *DeleteFeedPostPublicResponseAnyOf { + this := DeleteFeedPostPublicResponseAnyOf{} + this.Status = status + return &this +} + +// NewDeleteFeedPostPublicResponseAnyOfWithDefaults instantiates a new DeleteFeedPostPublicResponseAnyOf object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteFeedPostPublicResponseAnyOfWithDefaults() *DeleteFeedPostPublicResponseAnyOf { + this := DeleteFeedPostPublicResponseAnyOf{} + return &this +} + +// GetStatus returns the Status field value +func (o *DeleteFeedPostPublicResponseAnyOf) GetStatus() APIStatus { + if o == nil { + var ret APIStatus + return ret + } + + return o.Status +} + +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *DeleteFeedPostPublicResponseAnyOf) GetStatusOk() (*APIStatus, bool) { + if o == nil { + return nil, false + } + return &o.Status, true +} + +// SetStatus sets field value +func (o *DeleteFeedPostPublicResponseAnyOf) SetStatus(v APIStatus) { + o.Status = v +} + +func (o DeleteFeedPostPublicResponseAnyOf) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o DeleteFeedPostPublicResponseAnyOf) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + return toSerialize, nil +} + +func (o *DeleteFeedPostPublicResponseAnyOf) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "status", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varDeleteFeedPostPublicResponseAnyOf := _DeleteFeedPostPublicResponseAnyOf{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varDeleteFeedPostPublicResponseAnyOf) + + if err != nil { + return err + } + + *o = DeleteFeedPostPublicResponseAnyOf(varDeleteFeedPostPublicResponseAnyOf) + + return err +} + +type NullableDeleteFeedPostPublicResponseAnyOf struct { + value *DeleteFeedPostPublicResponseAnyOf + isSet bool +} + +func (v NullableDeleteFeedPostPublicResponseAnyOf) Get() *DeleteFeedPostPublicResponseAnyOf { + return v.value +} + +func (v *NullableDeleteFeedPostPublicResponseAnyOf) Set(val *DeleteFeedPostPublicResponseAnyOf) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteFeedPostPublicResponseAnyOf) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteFeedPostPublicResponseAnyOf) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteFeedPostPublicResponseAnyOf(val *DeleteFeedPostPublicResponseAnyOf) *NullableDeleteFeedPostPublicResponseAnyOf { + return &NullableDeleteFeedPostPublicResponseAnyOf{value: val, isSet: true} +} + +func (v NullableDeleteFeedPostPublicResponseAnyOf) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteFeedPostPublicResponseAnyOf) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_hash_tag_response.go b/client/model_delete_hash_tag_response.go new file mode 100644 index 0000000..86c8e66 --- /dev/null +++ b/client/model_delete_hash_tag_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteHashTagResponse struct for DeleteHashTagResponse +type DeleteHashTagResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteHashTagResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteHashTagResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteHashTagResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteHashTagResponse struct { + value *DeleteHashTagResponse + isSet bool +} + +func (v NullableDeleteHashTagResponse) Get() *DeleteHashTagResponse { + return v.value +} + +func (v *NullableDeleteHashTagResponse) Set(val *DeleteHashTagResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteHashTagResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteHashTagResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteHashTagResponse(val *DeleteHashTagResponse) *NullableDeleteHashTagResponse { + return &NullableDeleteHashTagResponse{value: val, isSet: true} +} + +func (v NullableDeleteHashTagResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteHashTagResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_moderation_vote_response.go b/client/model_delete_moderation_vote_response.go new file mode 100644 index 0000000..2a6d527 --- /dev/null +++ b/client/model_delete_moderation_vote_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteModerationVoteResponse struct for DeleteModerationVoteResponse +type DeleteModerationVoteResponse struct { + APIError *APIError + VoteDeleteResponse *VoteDeleteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteModerationVoteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteDeleteResponse + err = json.Unmarshal(data, &dst.VoteDeleteResponse); + if err == nil { + jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) + if string(jsonVoteDeleteResponse) == "{}" { // empty struct + dst.VoteDeleteResponse = nil + } else { + return nil // data stored in dst.VoteDeleteResponse, return on the first match + } + } else { + dst.VoteDeleteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteModerationVoteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteModerationVoteResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteDeleteResponse != nil { + return json.Marshal(&src.VoteDeleteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteModerationVoteResponse struct { + value *DeleteModerationVoteResponse + isSet bool +} + +func (v NullableDeleteModerationVoteResponse) Get() *DeleteModerationVoteResponse { + return v.value +} + +func (v *NullableDeleteModerationVoteResponse) Set(val *DeleteModerationVoteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteModerationVoteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteModerationVoteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteModerationVoteResponse(val *DeleteModerationVoteResponse) *NullableDeleteModerationVoteResponse { + return &NullableDeleteModerationVoteResponse{value: val, isSet: true} +} + +func (v NullableDeleteModerationVoteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteModerationVoteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_moderator_response.go b/client/model_delete_moderator_response.go new file mode 100644 index 0000000..8335962 --- /dev/null +++ b/client/model_delete_moderator_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteModeratorResponse struct for DeleteModeratorResponse +type DeleteModeratorResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteModeratorResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteModeratorResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteModeratorResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteModeratorResponse struct { + value *DeleteModeratorResponse + isSet bool +} + +func (v NullableDeleteModeratorResponse) Get() *DeleteModeratorResponse { + return v.value +} + +func (v *NullableDeleteModeratorResponse) Set(val *DeleteModeratorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteModeratorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteModeratorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteModeratorResponse(val *DeleteModeratorResponse) *NullableDeleteModeratorResponse { + return &NullableDeleteModeratorResponse{value: val, isSet: true} +} + +func (v NullableDeleteModeratorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteModeratorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_notification_count_response.go b/client/model_delete_notification_count_response.go new file mode 100644 index 0000000..ab249cc --- /dev/null +++ b/client/model_delete_notification_count_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteNotificationCountResponse struct for DeleteNotificationCountResponse +type DeleteNotificationCountResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteNotificationCountResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteNotificationCountResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteNotificationCountResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteNotificationCountResponse struct { + value *DeleteNotificationCountResponse + isSet bool +} + +func (v NullableDeleteNotificationCountResponse) Get() *DeleteNotificationCountResponse { + return v.value +} + +func (v *NullableDeleteNotificationCountResponse) Set(val *DeleteNotificationCountResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteNotificationCountResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteNotificationCountResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteNotificationCountResponse(val *DeleteNotificationCountResponse) *NullableDeleteNotificationCountResponse { + return &NullableDeleteNotificationCountResponse{value: val, isSet: true} +} + +func (v NullableDeleteNotificationCountResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteNotificationCountResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_pending_webhook_event_response.go b/client/model_delete_pending_webhook_event_response.go new file mode 100644 index 0000000..2b2697d --- /dev/null +++ b/client/model_delete_pending_webhook_event_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeletePendingWebhookEventResponse struct for DeletePendingWebhookEventResponse +type DeletePendingWebhookEventResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeletePendingWebhookEventResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeletePendingWebhookEventResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeletePendingWebhookEventResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeletePendingWebhookEventResponse struct { + value *DeletePendingWebhookEventResponse + isSet bool +} + +func (v NullableDeletePendingWebhookEventResponse) Get() *DeletePendingWebhookEventResponse { + return v.value +} + +func (v *NullableDeletePendingWebhookEventResponse) Set(val *DeletePendingWebhookEventResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeletePendingWebhookEventResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeletePendingWebhookEventResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeletePendingWebhookEventResponse(val *DeletePendingWebhookEventResponse) *NullableDeletePendingWebhookEventResponse { + return &NullableDeletePendingWebhookEventResponse{value: val, isSet: true} +} + +func (v NullableDeletePendingWebhookEventResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeletePendingWebhookEventResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_question_config_response.go b/client/model_delete_question_config_response.go new file mode 100644 index 0000000..89c1444 --- /dev/null +++ b/client/model_delete_question_config_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteQuestionConfigResponse struct for DeleteQuestionConfigResponse +type DeleteQuestionConfigResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteQuestionConfigResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteQuestionConfigResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteQuestionConfigResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteQuestionConfigResponse struct { + value *DeleteQuestionConfigResponse + isSet bool +} + +func (v NullableDeleteQuestionConfigResponse) Get() *DeleteQuestionConfigResponse { + return v.value +} + +func (v *NullableDeleteQuestionConfigResponse) Set(val *DeleteQuestionConfigResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteQuestionConfigResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteQuestionConfigResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteQuestionConfigResponse(val *DeleteQuestionConfigResponse) *NullableDeleteQuestionConfigResponse { + return &NullableDeleteQuestionConfigResponse{value: val, isSet: true} +} + +func (v NullableDeleteQuestionConfigResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteQuestionConfigResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_question_result_response.go b/client/model_delete_question_result_response.go new file mode 100644 index 0000000..b1e83fc --- /dev/null +++ b/client/model_delete_question_result_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteQuestionResultResponse struct for DeleteQuestionResultResponse +type DeleteQuestionResultResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteQuestionResultResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteQuestionResultResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteQuestionResultResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteQuestionResultResponse struct { + value *DeleteQuestionResultResponse + isSet bool +} + +func (v NullableDeleteQuestionResultResponse) Get() *DeleteQuestionResultResponse { + return v.value +} + +func (v *NullableDeleteQuestionResultResponse) Set(val *DeleteQuestionResultResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteQuestionResultResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteQuestionResultResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteQuestionResultResponse(val *DeleteQuestionResultResponse) *NullableDeleteQuestionResultResponse { + return &NullableDeleteQuestionResultResponse{value: val, isSet: true} +} + +func (v NullableDeleteQuestionResultResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteQuestionResultResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_tenant_package_response.go b/client/model_delete_tenant_package_response.go new file mode 100644 index 0000000..4259c73 --- /dev/null +++ b/client/model_delete_tenant_package_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteTenantPackageResponse struct for DeleteTenantPackageResponse +type DeleteTenantPackageResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteTenantPackageResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantPackageResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteTenantPackageResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteTenantPackageResponse struct { + value *DeleteTenantPackageResponse + isSet bool +} + +func (v NullableDeleteTenantPackageResponse) Get() *DeleteTenantPackageResponse { + return v.value +} + +func (v *NullableDeleteTenantPackageResponse) Set(val *DeleteTenantPackageResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteTenantPackageResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteTenantPackageResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteTenantPackageResponse(val *DeleteTenantPackageResponse) *NullableDeleteTenantPackageResponse { + return &NullableDeleteTenantPackageResponse{value: val, isSet: true} +} + +func (v NullableDeleteTenantPackageResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteTenantPackageResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_tenant_response.go b/client/model_delete_tenant_response.go new file mode 100644 index 0000000..4148487 --- /dev/null +++ b/client/model_delete_tenant_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteTenantResponse struct for DeleteTenantResponse +type DeleteTenantResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteTenantResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteTenantResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteTenantResponse struct { + value *DeleteTenantResponse + isSet bool +} + +func (v NullableDeleteTenantResponse) Get() *DeleteTenantResponse { + return v.value +} + +func (v *NullableDeleteTenantResponse) Set(val *DeleteTenantResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteTenantResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteTenantResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteTenantResponse(val *DeleteTenantResponse) *NullableDeleteTenantResponse { + return &NullableDeleteTenantResponse{value: val, isSet: true} +} + +func (v NullableDeleteTenantResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteTenantResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_tenant_user_response.go b/client/model_delete_tenant_user_response.go new file mode 100644 index 0000000..4035b56 --- /dev/null +++ b/client/model_delete_tenant_user_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteTenantUserResponse struct for DeleteTenantUserResponse +type DeleteTenantUserResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteTenantUserResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantUserResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteTenantUserResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteTenantUserResponse struct { + value *DeleteTenantUserResponse + isSet bool +} + +func (v NullableDeleteTenantUserResponse) Get() *DeleteTenantUserResponse { + return v.value +} + +func (v *NullableDeleteTenantUserResponse) Set(val *DeleteTenantUserResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteTenantUserResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteTenantUserResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteTenantUserResponse(val *DeleteTenantUserResponse) *NullableDeleteTenantUserResponse { + return &NullableDeleteTenantUserResponse{value: val, isSet: true} +} + +func (v NullableDeleteTenantUserResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteTenantUserResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_user_badge_response.go b/client/model_delete_user_badge_response.go new file mode 100644 index 0000000..dfee2b3 --- /dev/null +++ b/client/model_delete_user_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteUserBadgeResponse struct for DeleteUserBadgeResponse +type DeleteUserBadgeResponse struct { + APIEmptySuccessResponse *APIEmptySuccessResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteUserBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptySuccessResponse + err = json.Unmarshal(data, &dst.APIEmptySuccessResponse); + if err == nil { + jsonAPIEmptySuccessResponse, _ := json.Marshal(dst.APIEmptySuccessResponse) + if string(jsonAPIEmptySuccessResponse) == "{}" { // empty struct + dst.APIEmptySuccessResponse = nil + } else { + return nil // data stored in dst.APIEmptySuccessResponse, return on the first match + } + } else { + dst.APIEmptySuccessResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteUserBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteUserBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptySuccessResponse != nil { + return json.Marshal(&src.APIEmptySuccessResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteUserBadgeResponse struct { + value *DeleteUserBadgeResponse + isSet bool +} + +func (v NullableDeleteUserBadgeResponse) Get() *DeleteUserBadgeResponse { + return v.value +} + +func (v *NullableDeleteUserBadgeResponse) Set(val *DeleteUserBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteUserBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteUserBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteUserBadgeResponse(val *DeleteUserBadgeResponse) *NullableDeleteUserBadgeResponse { + return &NullableDeleteUserBadgeResponse{value: val, isSet: true} +} + +func (v NullableDeleteUserBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteUserBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_v1_page_react_response.go b/client/model_delete_v1_page_react_response.go new file mode 100644 index 0000000..5f4d0a1 --- /dev/null +++ b/client/model_delete_v1_page_react_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteV1PageReactResponse struct for DeleteV1PageReactResponse +type DeleteV1PageReactResponse struct { + APIError *APIError + CreateV1PageReact *CreateV1PageReact +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteV1PageReactResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateV1PageReact + err = json.Unmarshal(data, &dst.CreateV1PageReact); + if err == nil { + jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) + if string(jsonCreateV1PageReact) == "{}" { // empty struct + dst.CreateV1PageReact = nil + } else { + return nil // data stored in dst.CreateV1PageReact, return on the first match + } + } else { + dst.CreateV1PageReact = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteV1PageReactResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteV1PageReactResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateV1PageReact != nil { + return json.Marshal(&src.CreateV1PageReact) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteV1PageReactResponse struct { + value *DeleteV1PageReactResponse + isSet bool +} + +func (v NullableDeleteV1PageReactResponse) Get() *DeleteV1PageReactResponse { + return v.value +} + +func (v *NullableDeleteV1PageReactResponse) Set(val *DeleteV1PageReactResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteV1PageReactResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteV1PageReactResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteV1PageReactResponse(val *DeleteV1PageReactResponse) *NullableDeleteV1PageReactResponse { + return &NullableDeleteV1PageReactResponse{value: val, isSet: true} +} + +func (v NullableDeleteV1PageReactResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteV1PageReactResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_v2_page_react_response.go b/client/model_delete_v2_page_react_response.go new file mode 100644 index 0000000..542234e --- /dev/null +++ b/client/model_delete_v2_page_react_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteV2PageReactResponse struct for DeleteV2PageReactResponse +type DeleteV2PageReactResponse struct { + APIError *APIError + CreateV1PageReact *CreateV1PageReact +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteV2PageReactResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateV1PageReact + err = json.Unmarshal(data, &dst.CreateV1PageReact); + if err == nil { + jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) + if string(jsonCreateV1PageReact) == "{}" { // empty struct + dst.CreateV1PageReact = nil + } else { + return nil // data stored in dst.CreateV1PageReact, return on the first match + } + } else { + dst.CreateV1PageReact = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteV2PageReactResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteV2PageReactResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateV1PageReact != nil { + return json.Marshal(&src.CreateV1PageReact) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteV2PageReactResponse struct { + value *DeleteV2PageReactResponse + isSet bool +} + +func (v NullableDeleteV2PageReactResponse) Get() *DeleteV2PageReactResponse { + return v.value +} + +func (v *NullableDeleteV2PageReactResponse) Set(val *DeleteV2PageReactResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteV2PageReactResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteV2PageReactResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteV2PageReactResponse(val *DeleteV2PageReactResponse) *NullableDeleteV2PageReactResponse { + return &NullableDeleteV2PageReactResponse{value: val, isSet: true} +} + +func (v NullableDeleteV2PageReactResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteV2PageReactResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_delete_vote_response.go b/client/model_delete_vote_response.go new file mode 100644 index 0000000..70707cf --- /dev/null +++ b/client/model_delete_vote_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// DeleteVoteResponse struct for DeleteVoteResponse +type DeleteVoteResponse struct { + APIError *APIError + VoteDeleteResponse *VoteDeleteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *DeleteVoteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteDeleteResponse + err = json.Unmarshal(data, &dst.VoteDeleteResponse); + if err == nil { + jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) + if string(jsonVoteDeleteResponse) == "{}" { // empty struct + dst.VoteDeleteResponse = nil + } else { + return nil // data stored in dst.VoteDeleteResponse, return on the first match + } + } else { + dst.VoteDeleteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(DeleteVoteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src DeleteVoteResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteDeleteResponse != nil { + return json.Marshal(&src.VoteDeleteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableDeleteVoteResponse struct { + value *DeleteVoteResponse + isSet bool +} + +func (v NullableDeleteVoteResponse) Get() *DeleteVoteResponse { + return v.value +} + +func (v *NullableDeleteVoteResponse) Set(val *DeleteVoteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDeleteVoteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDeleteVoteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDeleteVoteResponse(val *DeleteVoteResponse) *NullableDeleteVoteResponse { + return &NullableDeleteVoteResponse{value: val, isSet: true} +} + +func (v NullableDeleteVoteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDeleteVoteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_flag_comment_public_response.go b/client/model_flag_comment_public_response.go new file mode 100644 index 0000000..6dda643 --- /dev/null +++ b/client/model_flag_comment_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// FlagCommentPublicResponse struct for FlagCommentPublicResponse +type FlagCommentPublicResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *FlagCommentPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(FlagCommentPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src FlagCommentPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableFlagCommentPublicResponse struct { + value *FlagCommentPublicResponse + isSet bool +} + +func (v NullableFlagCommentPublicResponse) Get() *FlagCommentPublicResponse { + return v.value +} + +func (v *NullableFlagCommentPublicResponse) Set(val *FlagCommentPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableFlagCommentPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableFlagCommentPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFlagCommentPublicResponse(val *FlagCommentPublicResponse) *NullableFlagCommentPublicResponse { + return &NullableFlagCommentPublicResponse{value: val, isSet: true} +} + +func (v NullableFlagCommentPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFlagCommentPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_flag_comment_response_1.go b/client/model_flag_comment_response_1.go new file mode 100644 index 0000000..390d6cc --- /dev/null +++ b/client/model_flag_comment_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// FlagCommentResponse1 struct for FlagCommentResponse1 +type FlagCommentResponse1 struct { + APIError *APIError + FlagCommentResponse *FlagCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *FlagCommentResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into FlagCommentResponse + err = json.Unmarshal(data, &dst.FlagCommentResponse); + if err == nil { + jsonFlagCommentResponse, _ := json.Marshal(dst.FlagCommentResponse) + if string(jsonFlagCommentResponse) == "{}" { // empty struct + dst.FlagCommentResponse = nil + } else { + return nil // data stored in dst.FlagCommentResponse, return on the first match + } + } else { + dst.FlagCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(FlagCommentResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src FlagCommentResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.FlagCommentResponse != nil { + return json.Marshal(&src.FlagCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableFlagCommentResponse1 struct { + value *FlagCommentResponse1 + isSet bool +} + +func (v NullableFlagCommentResponse1) Get() *FlagCommentResponse1 { + return v.value +} + +func (v *NullableFlagCommentResponse1) Set(val *FlagCommentResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableFlagCommentResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableFlagCommentResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFlagCommentResponse1(val *FlagCommentResponse1) *NullableFlagCommentResponse1 { + return &NullableFlagCommentResponse1{value: val, isSet: true} +} + +func (v NullableFlagCommentResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFlagCommentResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_api_comments_response.go b/client/model_get_api_comments_response.go new file mode 100644 index 0000000..e851a13 --- /dev/null +++ b/client/model_get_api_comments_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetApiCommentsResponse struct for GetApiCommentsResponse +type GetApiCommentsResponse struct { + APIError *APIError + ModerationAPIGetCommentsResponse *ModerationAPIGetCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetApiCommentsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPIGetCommentsResponse + err = json.Unmarshal(data, &dst.ModerationAPIGetCommentsResponse); + if err == nil { + jsonModerationAPIGetCommentsResponse, _ := json.Marshal(dst.ModerationAPIGetCommentsResponse) + if string(jsonModerationAPIGetCommentsResponse) == "{}" { // empty struct + dst.ModerationAPIGetCommentsResponse = nil + } else { + return nil // data stored in dst.ModerationAPIGetCommentsResponse, return on the first match + } + } else { + dst.ModerationAPIGetCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetApiCommentsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetApiCommentsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPIGetCommentsResponse != nil { + return json.Marshal(&src.ModerationAPIGetCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetApiCommentsResponse struct { + value *GetApiCommentsResponse + isSet bool +} + +func (v NullableGetApiCommentsResponse) Get() *GetApiCommentsResponse { + return v.value +} + +func (v *NullableGetApiCommentsResponse) Set(val *GetApiCommentsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetApiCommentsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetApiCommentsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetApiCommentsResponse(val *GetApiCommentsResponse) *NullableGetApiCommentsResponse { + return &NullableGetApiCommentsResponse{value: val, isSet: true} +} + +func (v NullableGetApiCommentsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetApiCommentsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_api_export_status_response.go b/client/model_get_api_export_status_response.go new file mode 100644 index 0000000..27bf095 --- /dev/null +++ b/client/model_get_api_export_status_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetApiExportStatusResponse struct for GetApiExportStatusResponse +type GetApiExportStatusResponse struct { + APIError *APIError + ModerationExportStatusResponse *ModerationExportStatusResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetApiExportStatusResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationExportStatusResponse + err = json.Unmarshal(data, &dst.ModerationExportStatusResponse); + if err == nil { + jsonModerationExportStatusResponse, _ := json.Marshal(dst.ModerationExportStatusResponse) + if string(jsonModerationExportStatusResponse) == "{}" { // empty struct + dst.ModerationExportStatusResponse = nil + } else { + return nil // data stored in dst.ModerationExportStatusResponse, return on the first match + } + } else { + dst.ModerationExportStatusResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetApiExportStatusResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetApiExportStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationExportStatusResponse != nil { + return json.Marshal(&src.ModerationExportStatusResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetApiExportStatusResponse struct { + value *GetApiExportStatusResponse + isSet bool +} + +func (v NullableGetApiExportStatusResponse) Get() *GetApiExportStatusResponse { + return v.value +} + +func (v *NullableGetApiExportStatusResponse) Set(val *GetApiExportStatusResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetApiExportStatusResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetApiExportStatusResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetApiExportStatusResponse(val *GetApiExportStatusResponse) *NullableGetApiExportStatusResponse { + return &NullableGetApiExportStatusResponse{value: val, isSet: true} +} + +func (v NullableGetApiExportStatusResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetApiExportStatusResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_api_ids_response.go b/client/model_get_api_ids_response.go new file mode 100644 index 0000000..3682933 --- /dev/null +++ b/client/model_get_api_ids_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetApiIdsResponse struct for GetApiIdsResponse +type GetApiIdsResponse struct { + APIError *APIError + ModerationAPIGetCommentIdsResponse *ModerationAPIGetCommentIdsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetApiIdsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPIGetCommentIdsResponse + err = json.Unmarshal(data, &dst.ModerationAPIGetCommentIdsResponse); + if err == nil { + jsonModerationAPIGetCommentIdsResponse, _ := json.Marshal(dst.ModerationAPIGetCommentIdsResponse) + if string(jsonModerationAPIGetCommentIdsResponse) == "{}" { // empty struct + dst.ModerationAPIGetCommentIdsResponse = nil + } else { + return nil // data stored in dst.ModerationAPIGetCommentIdsResponse, return on the first match + } + } else { + dst.ModerationAPIGetCommentIdsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetApiIdsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetApiIdsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPIGetCommentIdsResponse != nil { + return json.Marshal(&src.ModerationAPIGetCommentIdsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetApiIdsResponse struct { + value *GetApiIdsResponse + isSet bool +} + +func (v NullableGetApiIdsResponse) Get() *GetApiIdsResponse { + return v.value +} + +func (v *NullableGetApiIdsResponse) Set(val *GetApiIdsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetApiIdsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetApiIdsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetApiIdsResponse(val *GetApiIdsResponse) *NullableGetApiIdsResponse { + return &NullableGetApiIdsResponse{value: val, isSet: true} +} + +func (v NullableGetApiIdsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetApiIdsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_audit_logs_response_1.go b/client/model_get_audit_logs_response_1.go new file mode 100644 index 0000000..4c2b0f8 --- /dev/null +++ b/client/model_get_audit_logs_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetAuditLogsResponse1 struct for GetAuditLogsResponse1 +type GetAuditLogsResponse1 struct { + APIError *APIError + GetAuditLogsResponse *GetAuditLogsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetAuditLogsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetAuditLogsResponse + err = json.Unmarshal(data, &dst.GetAuditLogsResponse); + if err == nil { + jsonGetAuditLogsResponse, _ := json.Marshal(dst.GetAuditLogsResponse) + if string(jsonGetAuditLogsResponse) == "{}" { // empty struct + dst.GetAuditLogsResponse = nil + } else { + return nil // data stored in dst.GetAuditLogsResponse, return on the first match + } + } else { + dst.GetAuditLogsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetAuditLogsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetAuditLogsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetAuditLogsResponse != nil { + return json.Marshal(&src.GetAuditLogsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetAuditLogsResponse1 struct { + value *GetAuditLogsResponse1 + isSet bool +} + +func (v NullableGetAuditLogsResponse1) Get() *GetAuditLogsResponse1 { + return v.value +} + +func (v *NullableGetAuditLogsResponse1) Set(val *GetAuditLogsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetAuditLogsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetAuditLogsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetAuditLogsResponse1(val *GetAuditLogsResponse1) *NullableGetAuditLogsResponse1 { + return &NullableGetAuditLogsResponse1{value: val, isSet: true} +} + +func (v NullableGetAuditLogsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetAuditLogsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_ban_users_from_comment_response.go b/client/model_get_ban_users_from_comment_response.go new file mode 100644 index 0000000..4940d89 --- /dev/null +++ b/client/model_get_ban_users_from_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetBanUsersFromCommentResponse struct for GetBanUsersFromCommentResponse +type GetBanUsersFromCommentResponse struct { + APIError *APIError + GetBannedUsersFromCommentResponse *GetBannedUsersFromCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetBanUsersFromCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetBannedUsersFromCommentResponse + err = json.Unmarshal(data, &dst.GetBannedUsersFromCommentResponse); + if err == nil { + jsonGetBannedUsersFromCommentResponse, _ := json.Marshal(dst.GetBannedUsersFromCommentResponse) + if string(jsonGetBannedUsersFromCommentResponse) == "{}" { // empty struct + dst.GetBannedUsersFromCommentResponse = nil + } else { + return nil // data stored in dst.GetBannedUsersFromCommentResponse, return on the first match + } + } else { + dst.GetBannedUsersFromCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetBanUsersFromCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetBanUsersFromCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetBannedUsersFromCommentResponse != nil { + return json.Marshal(&src.GetBannedUsersFromCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetBanUsersFromCommentResponse struct { + value *GetBanUsersFromCommentResponse + isSet bool +} + +func (v NullableGetBanUsersFromCommentResponse) Get() *GetBanUsersFromCommentResponse { + return v.value +} + +func (v *NullableGetBanUsersFromCommentResponse) Set(val *GetBanUsersFromCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetBanUsersFromCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetBanUsersFromCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetBanUsersFromCommentResponse(val *GetBanUsersFromCommentResponse) *NullableGetBanUsersFromCommentResponse { + return &NullableGetBanUsersFromCommentResponse{value: val, isSet: true} +} + +func (v NullableGetBanUsersFromCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetBanUsersFromCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_cached_notification_count_response_1.go b/client/model_get_cached_notification_count_response_1.go new file mode 100644 index 0000000..5fa2c96 --- /dev/null +++ b/client/model_get_cached_notification_count_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCachedNotificationCountResponse1 struct for GetCachedNotificationCountResponse1 +type GetCachedNotificationCountResponse1 struct { + APIError *APIError + GetCachedNotificationCountResponse *GetCachedNotificationCountResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCachedNotificationCountResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCachedNotificationCountResponse + err = json.Unmarshal(data, &dst.GetCachedNotificationCountResponse); + if err == nil { + jsonGetCachedNotificationCountResponse, _ := json.Marshal(dst.GetCachedNotificationCountResponse) + if string(jsonGetCachedNotificationCountResponse) == "{}" { // empty struct + dst.GetCachedNotificationCountResponse = nil + } else { + return nil // data stored in dst.GetCachedNotificationCountResponse, return on the first match + } + } else { + dst.GetCachedNotificationCountResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCachedNotificationCountResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCachedNotificationCountResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCachedNotificationCountResponse != nil { + return json.Marshal(&src.GetCachedNotificationCountResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCachedNotificationCountResponse1 struct { + value *GetCachedNotificationCountResponse1 + isSet bool +} + +func (v NullableGetCachedNotificationCountResponse1) Get() *GetCachedNotificationCountResponse1 { + return v.value +} + +func (v *NullableGetCachedNotificationCountResponse1) Set(val *GetCachedNotificationCountResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetCachedNotificationCountResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCachedNotificationCountResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCachedNotificationCountResponse1(val *GetCachedNotificationCountResponse1) *NullableGetCachedNotificationCountResponse1 { + return &NullableGetCachedNotificationCountResponse1{value: val, isSet: true} +} + +func (v NullableGetCachedNotificationCountResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCachedNotificationCountResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comment_ban_status_response_1.go b/client/model_get_comment_ban_status_response_1.go new file mode 100644 index 0000000..5943ee9 --- /dev/null +++ b/client/model_get_comment_ban_status_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentBanStatusResponse1 struct for GetCommentBanStatusResponse1 +type GetCommentBanStatusResponse1 struct { + APIError *APIError + GetCommentBanStatusResponse *GetCommentBanStatusResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentBanStatusResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCommentBanStatusResponse + err = json.Unmarshal(data, &dst.GetCommentBanStatusResponse); + if err == nil { + jsonGetCommentBanStatusResponse, _ := json.Marshal(dst.GetCommentBanStatusResponse) + if string(jsonGetCommentBanStatusResponse) == "{}" { // empty struct + dst.GetCommentBanStatusResponse = nil + } else { + return nil // data stored in dst.GetCommentBanStatusResponse, return on the first match + } + } else { + dst.GetCommentBanStatusResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentBanStatusResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentBanStatusResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCommentBanStatusResponse != nil { + return json.Marshal(&src.GetCommentBanStatusResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentBanStatusResponse1 struct { + value *GetCommentBanStatusResponse1 + isSet bool +} + +func (v NullableGetCommentBanStatusResponse1) Get() *GetCommentBanStatusResponse1 { + return v.value +} + +func (v *NullableGetCommentBanStatusResponse1) Set(val *GetCommentBanStatusResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentBanStatusResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentBanStatusResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentBanStatusResponse1(val *GetCommentBanStatusResponse1) *NullableGetCommentBanStatusResponse1 { + return &NullableGetCommentBanStatusResponse1{value: val, isSet: true} +} + +func (v NullableGetCommentBanStatusResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentBanStatusResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comment_children_response.go b/client/model_get_comment_children_response.go new file mode 100644 index 0000000..2097fbe --- /dev/null +++ b/client/model_get_comment_children_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentChildrenResponse struct for GetCommentChildrenResponse +type GetCommentChildrenResponse struct { + APIError *APIError + ModerationAPIChildCommentsResponse *ModerationAPIChildCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentChildrenResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPIChildCommentsResponse + err = json.Unmarshal(data, &dst.ModerationAPIChildCommentsResponse); + if err == nil { + jsonModerationAPIChildCommentsResponse, _ := json.Marshal(dst.ModerationAPIChildCommentsResponse) + if string(jsonModerationAPIChildCommentsResponse) == "{}" { // empty struct + dst.ModerationAPIChildCommentsResponse = nil + } else { + return nil // data stored in dst.ModerationAPIChildCommentsResponse, return on the first match + } + } else { + dst.ModerationAPIChildCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentChildrenResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentChildrenResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPIChildCommentsResponse != nil { + return json.Marshal(&src.ModerationAPIChildCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentChildrenResponse struct { + value *GetCommentChildrenResponse + isSet bool +} + +func (v NullableGetCommentChildrenResponse) Get() *GetCommentChildrenResponse { + return v.value +} + +func (v *NullableGetCommentChildrenResponse) Set(val *GetCommentChildrenResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentChildrenResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentChildrenResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentChildrenResponse(val *GetCommentChildrenResponse) *NullableGetCommentChildrenResponse { + return &NullableGetCommentChildrenResponse{value: val, isSet: true} +} + +func (v NullableGetCommentChildrenResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentChildrenResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comment_response.go b/client/model_get_comment_response.go new file mode 100644 index 0000000..cf466eb --- /dev/null +++ b/client/model_get_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentResponse struct for GetCommentResponse +type GetCommentResponse struct { + APIError *APIError + APIGetCommentResponse *APIGetCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetCommentResponse + err = json.Unmarshal(data, &dst.APIGetCommentResponse); + if err == nil { + jsonAPIGetCommentResponse, _ := json.Marshal(dst.APIGetCommentResponse) + if string(jsonAPIGetCommentResponse) == "{}" { // empty struct + dst.APIGetCommentResponse = nil + } else { + return nil // data stored in dst.APIGetCommentResponse, return on the first match + } + } else { + dst.APIGetCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetCommentResponse != nil { + return json.Marshal(&src.APIGetCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentResponse struct { + value *GetCommentResponse + isSet bool +} + +func (v NullableGetCommentResponse) Get() *GetCommentResponse { + return v.value +} + +func (v *NullableGetCommentResponse) Set(val *GetCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentResponse(val *GetCommentResponse) *NullableGetCommentResponse { + return &NullableGetCommentResponse{value: val, isSet: true} +} + +func (v NullableGetCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comment_text_response_1.go b/client/model_get_comment_text_response_1.go new file mode 100644 index 0000000..22ec4f2 --- /dev/null +++ b/client/model_get_comment_text_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentTextResponse1 struct for GetCommentTextResponse1 +type GetCommentTextResponse1 struct { + APIError *APIError + PublicAPIGetCommentTextResponse *PublicAPIGetCommentTextResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentTextResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PublicAPIGetCommentTextResponse + err = json.Unmarshal(data, &dst.PublicAPIGetCommentTextResponse); + if err == nil { + jsonPublicAPIGetCommentTextResponse, _ := json.Marshal(dst.PublicAPIGetCommentTextResponse) + if string(jsonPublicAPIGetCommentTextResponse) == "{}" { // empty struct + dst.PublicAPIGetCommentTextResponse = nil + } else { + return nil // data stored in dst.PublicAPIGetCommentTextResponse, return on the first match + } + } else { + dst.PublicAPIGetCommentTextResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentTextResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentTextResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PublicAPIGetCommentTextResponse != nil { + return json.Marshal(&src.PublicAPIGetCommentTextResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentTextResponse1 struct { + value *GetCommentTextResponse1 + isSet bool +} + +func (v NullableGetCommentTextResponse1) Get() *GetCommentTextResponse1 { + return v.value +} + +func (v *NullableGetCommentTextResponse1) Set(val *GetCommentTextResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentTextResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentTextResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentTextResponse1(val *GetCommentTextResponse1) *NullableGetCommentTextResponse1 { + return &NullableGetCommentTextResponse1{value: val, isSet: true} +} + +func (v NullableGetCommentTextResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentTextResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comment_vote_user_names_response.go b/client/model_get_comment_vote_user_names_response.go new file mode 100644 index 0000000..59f9ee0 --- /dev/null +++ b/client/model_get_comment_vote_user_names_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentVoteUserNamesResponse struct for GetCommentVoteUserNamesResponse +type GetCommentVoteUserNamesResponse struct { + APIError *APIError + GetCommentVoteUserNamesSuccessResponse *GetCommentVoteUserNamesSuccessResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentVoteUserNamesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCommentVoteUserNamesSuccessResponse + err = json.Unmarshal(data, &dst.GetCommentVoteUserNamesSuccessResponse); + if err == nil { + jsonGetCommentVoteUserNamesSuccessResponse, _ := json.Marshal(dst.GetCommentVoteUserNamesSuccessResponse) + if string(jsonGetCommentVoteUserNamesSuccessResponse) == "{}" { // empty struct + dst.GetCommentVoteUserNamesSuccessResponse = nil + } else { + return nil // data stored in dst.GetCommentVoteUserNamesSuccessResponse, return on the first match + } + } else { + dst.GetCommentVoteUserNamesSuccessResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentVoteUserNamesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentVoteUserNamesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCommentVoteUserNamesSuccessResponse != nil { + return json.Marshal(&src.GetCommentVoteUserNamesSuccessResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentVoteUserNamesResponse struct { + value *GetCommentVoteUserNamesResponse + isSet bool +} + +func (v NullableGetCommentVoteUserNamesResponse) Get() *GetCommentVoteUserNamesResponse { + return v.value +} + +func (v *NullableGetCommentVoteUserNamesResponse) Set(val *GetCommentVoteUserNamesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentVoteUserNamesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentVoteUserNamesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentVoteUserNamesResponse(val *GetCommentVoteUserNamesResponse) *NullableGetCommentVoteUserNamesResponse { + return &NullableGetCommentVoteUserNamesResponse{value: val, isSet: true} +} + +func (v NullableGetCommentVoteUserNamesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentVoteUserNamesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comments_for_user_response_1.go b/client/model_get_comments_for_user_response_1.go new file mode 100644 index 0000000..6032741 --- /dev/null +++ b/client/model_get_comments_for_user_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentsForUserResponse1 struct for GetCommentsForUserResponse1 +type GetCommentsForUserResponse1 struct { + APIError *APIError + GetCommentsForUserResponse *GetCommentsForUserResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentsForUserResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCommentsForUserResponse + err = json.Unmarshal(data, &dst.GetCommentsForUserResponse); + if err == nil { + jsonGetCommentsForUserResponse, _ := json.Marshal(dst.GetCommentsForUserResponse) + if string(jsonGetCommentsForUserResponse) == "{}" { // empty struct + dst.GetCommentsForUserResponse = nil + } else { + return nil // data stored in dst.GetCommentsForUserResponse, return on the first match + } + } else { + dst.GetCommentsForUserResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsForUserResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentsForUserResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCommentsForUserResponse != nil { + return json.Marshal(&src.GetCommentsForUserResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentsForUserResponse1 struct { + value *GetCommentsForUserResponse1 + isSet bool +} + +func (v NullableGetCommentsForUserResponse1) Get() *GetCommentsForUserResponse1 { + return v.value +} + +func (v *NullableGetCommentsForUserResponse1) Set(val *GetCommentsForUserResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentsForUserResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentsForUserResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentsForUserResponse1(val *GetCommentsForUserResponse1) *NullableGetCommentsForUserResponse1 { + return &NullableGetCommentsForUserResponse1{value: val, isSet: true} +} + +func (v NullableGetCommentsForUserResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentsForUserResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comments_public_response.go b/client/model_get_comments_public_response.go new file mode 100644 index 0000000..ff05075 --- /dev/null +++ b/client/model_get_comments_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentsPublicResponse struct for GetCommentsPublicResponse +type GetCommentsPublicResponse struct { + APIError *APIError + GetCommentsResponseWithPresencePublicComment *GetCommentsResponseWithPresencePublicComment +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentsPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCommentsResponseWithPresencePublicComment + err = json.Unmarshal(data, &dst.GetCommentsResponseWithPresencePublicComment); + if err == nil { + jsonGetCommentsResponseWithPresencePublicComment, _ := json.Marshal(dst.GetCommentsResponseWithPresencePublicComment) + if string(jsonGetCommentsResponseWithPresencePublicComment) == "{}" { // empty struct + dst.GetCommentsResponseWithPresencePublicComment = nil + } else { + return nil // data stored in dst.GetCommentsResponseWithPresencePublicComment, return on the first match + } + } else { + dst.GetCommentsResponseWithPresencePublicComment = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentsPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCommentsResponseWithPresencePublicComment != nil { + return json.Marshal(&src.GetCommentsResponseWithPresencePublicComment) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentsPublicResponse struct { + value *GetCommentsPublicResponse + isSet bool +} + +func (v NullableGetCommentsPublicResponse) Get() *GetCommentsPublicResponse { + return v.value +} + +func (v *NullableGetCommentsPublicResponse) Set(val *GetCommentsPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentsPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentsPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentsPublicResponse(val *GetCommentsPublicResponse) *NullableGetCommentsPublicResponse { + return &NullableGetCommentsPublicResponse{value: val, isSet: true} +} + +func (v NullableGetCommentsPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentsPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_comments_response.go b/client/model_get_comments_response.go new file mode 100644 index 0000000..c78ec62 --- /dev/null +++ b/client/model_get_comments_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCommentsResponse struct for GetCommentsResponse +type GetCommentsResponse struct { + APIError *APIError + APIGetCommentsResponse *APIGetCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCommentsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetCommentsResponse + err = json.Unmarshal(data, &dst.APIGetCommentsResponse); + if err == nil { + jsonAPIGetCommentsResponse, _ := json.Marshal(dst.APIGetCommentsResponse) + if string(jsonAPIGetCommentsResponse) == "{}" { // empty struct + dst.APIGetCommentsResponse = nil + } else { + return nil // data stored in dst.APIGetCommentsResponse, return on the first match + } + } else { + dst.APIGetCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCommentsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetCommentsResponse != nil { + return json.Marshal(&src.APIGetCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCommentsResponse struct { + value *GetCommentsResponse + isSet bool +} + +func (v NullableGetCommentsResponse) Get() *GetCommentsResponse { + return v.value +} + +func (v *NullableGetCommentsResponse) Set(val *GetCommentsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCommentsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCommentsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCommentsResponse(val *GetCommentsResponse) *NullableGetCommentsResponse { + return &NullableGetCommentsResponse{value: val, isSet: true} +} + +func (v NullableGetCommentsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCommentsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_count_response.go b/client/model_get_count_response.go new file mode 100644 index 0000000..9deb8c8 --- /dev/null +++ b/client/model_get_count_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCountResponse struct for GetCountResponse +type GetCountResponse struct { + APIError *APIError + ModerationAPICountCommentsResponse *ModerationAPICountCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCountResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPICountCommentsResponse + err = json.Unmarshal(data, &dst.ModerationAPICountCommentsResponse); + if err == nil { + jsonModerationAPICountCommentsResponse, _ := json.Marshal(dst.ModerationAPICountCommentsResponse) + if string(jsonModerationAPICountCommentsResponse) == "{}" { // empty struct + dst.ModerationAPICountCommentsResponse = nil + } else { + return nil // data stored in dst.ModerationAPICountCommentsResponse, return on the first match + } + } else { + dst.ModerationAPICountCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCountResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCountResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPICountCommentsResponse != nil { + return json.Marshal(&src.ModerationAPICountCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCountResponse struct { + value *GetCountResponse + isSet bool +} + +func (v NullableGetCountResponse) Get() *GetCountResponse { + return v.value +} + +func (v *NullableGetCountResponse) Set(val *GetCountResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCountResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCountResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCountResponse(val *GetCountResponse) *NullableGetCountResponse { + return &NullableGetCountResponse{value: val, isSet: true} +} + +func (v NullableGetCountResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCountResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_counts_response.go b/client/model_get_counts_response.go new file mode 100644 index 0000000..0b113ee --- /dev/null +++ b/client/model_get_counts_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetCountsResponse struct for GetCountsResponse +type GetCountsResponse struct { + APIError *APIError + GetBannedUsersCountResponse *GetBannedUsersCountResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetCountsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetBannedUsersCountResponse + err = json.Unmarshal(data, &dst.GetBannedUsersCountResponse); + if err == nil { + jsonGetBannedUsersCountResponse, _ := json.Marshal(dst.GetBannedUsersCountResponse) + if string(jsonGetBannedUsersCountResponse) == "{}" { // empty struct + dst.GetBannedUsersCountResponse = nil + } else { + return nil // data stored in dst.GetBannedUsersCountResponse, return on the first match + } + } else { + dst.GetBannedUsersCountResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetCountsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetCountsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetBannedUsersCountResponse != nil { + return json.Marshal(&src.GetBannedUsersCountResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetCountsResponse struct { + value *GetCountsResponse + isSet bool +} + +func (v NullableGetCountsResponse) Get() *GetCountsResponse { + return v.value +} + +func (v *NullableGetCountsResponse) Set(val *GetCountsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetCountsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetCountsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetCountsResponse(val *GetCountsResponse) *NullableGetCountsResponse { + return &NullableGetCountsResponse{value: val, isSet: true} +} + +func (v NullableGetCountsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetCountsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_email_template_definitions_response_1.go b/client/model_get_email_template_definitions_response_1.go new file mode 100644 index 0000000..86723cf --- /dev/null +++ b/client/model_get_email_template_definitions_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetEmailTemplateDefinitionsResponse1 struct for GetEmailTemplateDefinitionsResponse1 +type GetEmailTemplateDefinitionsResponse1 struct { + APIError *APIError + GetEmailTemplateDefinitionsResponse *GetEmailTemplateDefinitionsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetEmailTemplateDefinitionsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEmailTemplateDefinitionsResponse + err = json.Unmarshal(data, &dst.GetEmailTemplateDefinitionsResponse); + if err == nil { + jsonGetEmailTemplateDefinitionsResponse, _ := json.Marshal(dst.GetEmailTemplateDefinitionsResponse) + if string(jsonGetEmailTemplateDefinitionsResponse) == "{}" { // empty struct + dst.GetEmailTemplateDefinitionsResponse = nil + } else { + return nil // data stored in dst.GetEmailTemplateDefinitionsResponse, return on the first match + } + } else { + dst.GetEmailTemplateDefinitionsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateDefinitionsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetEmailTemplateDefinitionsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEmailTemplateDefinitionsResponse != nil { + return json.Marshal(&src.GetEmailTemplateDefinitionsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetEmailTemplateDefinitionsResponse1 struct { + value *GetEmailTemplateDefinitionsResponse1 + isSet bool +} + +func (v NullableGetEmailTemplateDefinitionsResponse1) Get() *GetEmailTemplateDefinitionsResponse1 { + return v.value +} + +func (v *NullableGetEmailTemplateDefinitionsResponse1) Set(val *GetEmailTemplateDefinitionsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetEmailTemplateDefinitionsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetEmailTemplateDefinitionsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetEmailTemplateDefinitionsResponse1(val *GetEmailTemplateDefinitionsResponse1) *NullableGetEmailTemplateDefinitionsResponse1 { + return &NullableGetEmailTemplateDefinitionsResponse1{value: val, isSet: true} +} + +func (v NullableGetEmailTemplateDefinitionsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetEmailTemplateDefinitionsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_email_template_render_errors_response_1.go b/client/model_get_email_template_render_errors_response_1.go new file mode 100644 index 0000000..3467319 --- /dev/null +++ b/client/model_get_email_template_render_errors_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetEmailTemplateRenderErrorsResponse1 struct for GetEmailTemplateRenderErrorsResponse1 +type GetEmailTemplateRenderErrorsResponse1 struct { + APIError *APIError + GetEmailTemplateRenderErrorsResponse *GetEmailTemplateRenderErrorsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetEmailTemplateRenderErrorsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEmailTemplateRenderErrorsResponse + err = json.Unmarshal(data, &dst.GetEmailTemplateRenderErrorsResponse); + if err == nil { + jsonGetEmailTemplateRenderErrorsResponse, _ := json.Marshal(dst.GetEmailTemplateRenderErrorsResponse) + if string(jsonGetEmailTemplateRenderErrorsResponse) == "{}" { // empty struct + dst.GetEmailTemplateRenderErrorsResponse = nil + } else { + return nil // data stored in dst.GetEmailTemplateRenderErrorsResponse, return on the first match + } + } else { + dst.GetEmailTemplateRenderErrorsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateRenderErrorsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetEmailTemplateRenderErrorsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEmailTemplateRenderErrorsResponse != nil { + return json.Marshal(&src.GetEmailTemplateRenderErrorsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetEmailTemplateRenderErrorsResponse1 struct { + value *GetEmailTemplateRenderErrorsResponse1 + isSet bool +} + +func (v NullableGetEmailTemplateRenderErrorsResponse1) Get() *GetEmailTemplateRenderErrorsResponse1 { + return v.value +} + +func (v *NullableGetEmailTemplateRenderErrorsResponse1) Set(val *GetEmailTemplateRenderErrorsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetEmailTemplateRenderErrorsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetEmailTemplateRenderErrorsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetEmailTemplateRenderErrorsResponse1(val *GetEmailTemplateRenderErrorsResponse1) *NullableGetEmailTemplateRenderErrorsResponse1 { + return &NullableGetEmailTemplateRenderErrorsResponse1{value: val, isSet: true} +} + +func (v NullableGetEmailTemplateRenderErrorsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetEmailTemplateRenderErrorsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_email_template_response_1.go b/client/model_get_email_template_response_1.go new file mode 100644 index 0000000..e00e087 --- /dev/null +++ b/client/model_get_email_template_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetEmailTemplateResponse1 struct for GetEmailTemplateResponse1 +type GetEmailTemplateResponse1 struct { + APIError *APIError + GetEmailTemplateResponse *GetEmailTemplateResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetEmailTemplateResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEmailTemplateResponse + err = json.Unmarshal(data, &dst.GetEmailTemplateResponse); + if err == nil { + jsonGetEmailTemplateResponse, _ := json.Marshal(dst.GetEmailTemplateResponse) + if string(jsonGetEmailTemplateResponse) == "{}" { // empty struct + dst.GetEmailTemplateResponse = nil + } else { + return nil // data stored in dst.GetEmailTemplateResponse, return on the first match + } + } else { + dst.GetEmailTemplateResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEmailTemplateResponse != nil { + return json.Marshal(&src.GetEmailTemplateResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetEmailTemplateResponse1 struct { + value *GetEmailTemplateResponse1 + isSet bool +} + +func (v NullableGetEmailTemplateResponse1) Get() *GetEmailTemplateResponse1 { + return v.value +} + +func (v *NullableGetEmailTemplateResponse1) Set(val *GetEmailTemplateResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetEmailTemplateResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetEmailTemplateResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetEmailTemplateResponse1(val *GetEmailTemplateResponse1) *NullableGetEmailTemplateResponse1 { + return &NullableGetEmailTemplateResponse1{value: val, isSet: true} +} + +func (v NullableGetEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetEmailTemplateResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_email_templates_response_1.go b/client/model_get_email_templates_response_1.go new file mode 100644 index 0000000..0cc62d8 --- /dev/null +++ b/client/model_get_email_templates_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetEmailTemplatesResponse1 struct for GetEmailTemplatesResponse1 +type GetEmailTemplatesResponse1 struct { + APIError *APIError + GetEmailTemplatesResponse *GetEmailTemplatesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetEmailTemplatesResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEmailTemplatesResponse + err = json.Unmarshal(data, &dst.GetEmailTemplatesResponse); + if err == nil { + jsonGetEmailTemplatesResponse, _ := json.Marshal(dst.GetEmailTemplatesResponse) + if string(jsonGetEmailTemplatesResponse) == "{}" { // empty struct + dst.GetEmailTemplatesResponse = nil + } else { + return nil // data stored in dst.GetEmailTemplatesResponse, return on the first match + } + } else { + dst.GetEmailTemplatesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplatesResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetEmailTemplatesResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEmailTemplatesResponse != nil { + return json.Marshal(&src.GetEmailTemplatesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetEmailTemplatesResponse1 struct { + value *GetEmailTemplatesResponse1 + isSet bool +} + +func (v NullableGetEmailTemplatesResponse1) Get() *GetEmailTemplatesResponse1 { + return v.value +} + +func (v *NullableGetEmailTemplatesResponse1) Set(val *GetEmailTemplatesResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetEmailTemplatesResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetEmailTemplatesResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetEmailTemplatesResponse1(val *GetEmailTemplatesResponse1) *NullableGetEmailTemplatesResponse1 { + return &NullableGetEmailTemplatesResponse1{value: val, isSet: true} +} + +func (v NullableGetEmailTemplatesResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetEmailTemplatesResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_event_log_response_1.go b/client/model_get_event_log_response_1.go new file mode 100644 index 0000000..747e4c3 --- /dev/null +++ b/client/model_get_event_log_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetEventLogResponse1 struct for GetEventLogResponse1 +type GetEventLogResponse1 struct { + APIError *APIError + GetEventLogResponse *GetEventLogResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetEventLogResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEventLogResponse + err = json.Unmarshal(data, &dst.GetEventLogResponse); + if err == nil { + jsonGetEventLogResponse, _ := json.Marshal(dst.GetEventLogResponse) + if string(jsonGetEventLogResponse) == "{}" { // empty struct + dst.GetEventLogResponse = nil + } else { + return nil // data stored in dst.GetEventLogResponse, return on the first match + } + } else { + dst.GetEventLogResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetEventLogResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetEventLogResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEventLogResponse != nil { + return json.Marshal(&src.GetEventLogResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetEventLogResponse1 struct { + value *GetEventLogResponse1 + isSet bool +} + +func (v NullableGetEventLogResponse1) Get() *GetEventLogResponse1 { + return v.value +} + +func (v *NullableGetEventLogResponse1) Set(val *GetEventLogResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetEventLogResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetEventLogResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetEventLogResponse1(val *GetEventLogResponse1) *NullableGetEventLogResponse1 { + return &NullableGetEventLogResponse1{value: val, isSet: true} +} + +func (v NullableGetEventLogResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetEventLogResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_feed_posts_public_response.go b/client/model_get_feed_posts_public_response.go new file mode 100644 index 0000000..b14630f --- /dev/null +++ b/client/model_get_feed_posts_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetFeedPostsPublicResponse struct for GetFeedPostsPublicResponse +type GetFeedPostsPublicResponse struct { + APIError *APIError + PublicFeedPostsResponse *PublicFeedPostsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetFeedPostsPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PublicFeedPostsResponse + err = json.Unmarshal(data, &dst.PublicFeedPostsResponse); + if err == nil { + jsonPublicFeedPostsResponse, _ := json.Marshal(dst.PublicFeedPostsResponse) + if string(jsonPublicFeedPostsResponse) == "{}" { // empty struct + dst.PublicFeedPostsResponse = nil + } else { + return nil // data stored in dst.PublicFeedPostsResponse, return on the first match + } + } else { + dst.PublicFeedPostsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetFeedPostsPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PublicFeedPostsResponse != nil { + return json.Marshal(&src.PublicFeedPostsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetFeedPostsPublicResponse struct { + value *GetFeedPostsPublicResponse + isSet bool +} + +func (v NullableGetFeedPostsPublicResponse) Get() *GetFeedPostsPublicResponse { + return v.value +} + +func (v *NullableGetFeedPostsPublicResponse) Set(val *GetFeedPostsPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetFeedPostsPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetFeedPostsPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetFeedPostsPublicResponse(val *GetFeedPostsPublicResponse) *NullableGetFeedPostsPublicResponse { + return &NullableGetFeedPostsPublicResponse{value: val, isSet: true} +} + +func (v NullableGetFeedPostsPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetFeedPostsPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_feed_posts_response_1.go b/client/model_get_feed_posts_response_1.go new file mode 100644 index 0000000..10616fb --- /dev/null +++ b/client/model_get_feed_posts_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetFeedPostsResponse1 struct for GetFeedPostsResponse1 +type GetFeedPostsResponse1 struct { + APIError *APIError + GetFeedPostsResponse *GetFeedPostsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetFeedPostsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetFeedPostsResponse + err = json.Unmarshal(data, &dst.GetFeedPostsResponse); + if err == nil { + jsonGetFeedPostsResponse, _ := json.Marshal(dst.GetFeedPostsResponse) + if string(jsonGetFeedPostsResponse) == "{}" { // empty struct + dst.GetFeedPostsResponse = nil + } else { + return nil // data stored in dst.GetFeedPostsResponse, return on the first match + } + } else { + dst.GetFeedPostsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetFeedPostsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetFeedPostsResponse != nil { + return json.Marshal(&src.GetFeedPostsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetFeedPostsResponse1 struct { + value *GetFeedPostsResponse1 + isSet bool +} + +func (v NullableGetFeedPostsResponse1) Get() *GetFeedPostsResponse1 { + return v.value +} + +func (v *NullableGetFeedPostsResponse1) Set(val *GetFeedPostsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetFeedPostsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetFeedPostsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetFeedPostsResponse1(val *GetFeedPostsResponse1) *NullableGetFeedPostsResponse1 { + return &NullableGetFeedPostsResponse1{value: val, isSet: true} +} + +func (v NullableGetFeedPostsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetFeedPostsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_feed_posts_stats_response.go b/client/model_get_feed_posts_stats_response.go new file mode 100644 index 0000000..69013bd --- /dev/null +++ b/client/model_get_feed_posts_stats_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetFeedPostsStatsResponse struct for GetFeedPostsStatsResponse +type GetFeedPostsStatsResponse struct { + APIError *APIError + FeedPostsStatsResponse *FeedPostsStatsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetFeedPostsStatsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into FeedPostsStatsResponse + err = json.Unmarshal(data, &dst.FeedPostsStatsResponse); + if err == nil { + jsonFeedPostsStatsResponse, _ := json.Marshal(dst.FeedPostsStatsResponse) + if string(jsonFeedPostsStatsResponse) == "{}" { // empty struct + dst.FeedPostsStatsResponse = nil + } else { + return nil // data stored in dst.FeedPostsStatsResponse, return on the first match + } + } else { + dst.FeedPostsStatsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsStatsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetFeedPostsStatsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.FeedPostsStatsResponse != nil { + return json.Marshal(&src.FeedPostsStatsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetFeedPostsStatsResponse struct { + value *GetFeedPostsStatsResponse + isSet bool +} + +func (v NullableGetFeedPostsStatsResponse) Get() *GetFeedPostsStatsResponse { + return v.value +} + +func (v *NullableGetFeedPostsStatsResponse) Set(val *GetFeedPostsStatsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetFeedPostsStatsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetFeedPostsStatsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetFeedPostsStatsResponse(val *GetFeedPostsStatsResponse) *NullableGetFeedPostsStatsResponse { + return &NullableGetFeedPostsStatsResponse{value: val, isSet: true} +} + +func (v NullableGetFeedPostsStatsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetFeedPostsStatsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_gif_large_response.go b/client/model_get_gif_large_response.go new file mode 100644 index 0000000..951a360 --- /dev/null +++ b/client/model_get_gif_large_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetGifLargeResponse struct for GetGifLargeResponse +type GetGifLargeResponse struct { + APIError *APIError + GifGetLargeResponse *GifGetLargeResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetGifLargeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GifGetLargeResponse + err = json.Unmarshal(data, &dst.GifGetLargeResponse); + if err == nil { + jsonGifGetLargeResponse, _ := json.Marshal(dst.GifGetLargeResponse) + if string(jsonGifGetLargeResponse) == "{}" { // empty struct + dst.GifGetLargeResponse = nil + } else { + return nil // data stored in dst.GifGetLargeResponse, return on the first match + } + } else { + dst.GifGetLargeResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetGifLargeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetGifLargeResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GifGetLargeResponse != nil { + return json.Marshal(&src.GifGetLargeResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetGifLargeResponse struct { + value *GetGifLargeResponse + isSet bool +} + +func (v NullableGetGifLargeResponse) Get() *GetGifLargeResponse { + return v.value +} + +func (v *NullableGetGifLargeResponse) Set(val *GetGifLargeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetGifLargeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetGifLargeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetGifLargeResponse(val *GetGifLargeResponse) *NullableGetGifLargeResponse { + return &NullableGetGifLargeResponse{value: val, isSet: true} +} + +func (v NullableGetGifLargeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetGifLargeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_gifs_search_response.go b/client/model_get_gifs_search_response.go index 25494c2..394f6dc 100644 --- a/client/model_get_gifs_search_response.go +++ b/client/model_get_gifs_search_response.go @@ -18,6 +18,7 @@ import ( // GetGifsSearchResponse struct for GetGifsSearchResponse type GetGifsSearchResponse struct { + APIError *APIError GifSearchInternalError *GifSearchInternalError GifSearchResponse *GifSearchResponse } @@ -25,6 +26,19 @@ type GetGifsSearchResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *GetGifsSearchResponse) UnmarshalJSON(data []byte) error { var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + // try to unmarshal JSON data into GifSearchInternalError err = json.Unmarshal(data, &dst.GifSearchInternalError); if err == nil { @@ -56,6 +70,10 @@ func (dst *GetGifsSearchResponse) UnmarshalJSON(data []byte) error { // Marshal data from the first non-nil pointers in the struct to JSON func (src GetGifsSearchResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + if src.GifSearchInternalError != nil { return json.Marshal(&src.GifSearchInternalError) } diff --git a/client/model_get_global_event_log_response.go b/client/model_get_global_event_log_response.go new file mode 100644 index 0000000..dee0603 --- /dev/null +++ b/client/model_get_global_event_log_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetGlobalEventLogResponse struct for GetGlobalEventLogResponse +type GetGlobalEventLogResponse struct { + APIError *APIError + GetEventLogResponse *GetEventLogResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetGlobalEventLogResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetEventLogResponse + err = json.Unmarshal(data, &dst.GetEventLogResponse); + if err == nil { + jsonGetEventLogResponse, _ := json.Marshal(dst.GetEventLogResponse) + if string(jsonGetEventLogResponse) == "{}" { // empty struct + dst.GetEventLogResponse = nil + } else { + return nil // data stored in dst.GetEventLogResponse, return on the first match + } + } else { + dst.GetEventLogResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetGlobalEventLogResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetGlobalEventLogResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetEventLogResponse != nil { + return json.Marshal(&src.GetEventLogResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetGlobalEventLogResponse struct { + value *GetGlobalEventLogResponse + isSet bool +} + +func (v NullableGetGlobalEventLogResponse) Get() *GetGlobalEventLogResponse { + return v.value +} + +func (v *NullableGetGlobalEventLogResponse) Set(val *GetGlobalEventLogResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetGlobalEventLogResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetGlobalEventLogResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetGlobalEventLogResponse(val *GetGlobalEventLogResponse) *NullableGetGlobalEventLogResponse { + return &NullableGetGlobalEventLogResponse{value: val, isSet: true} +} + +func (v NullableGetGlobalEventLogResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetGlobalEventLogResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_hash_tags_response_1.go b/client/model_get_hash_tags_response_1.go new file mode 100644 index 0000000..cd7cfea --- /dev/null +++ b/client/model_get_hash_tags_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetHashTagsResponse1 struct for GetHashTagsResponse1 +type GetHashTagsResponse1 struct { + APIError *APIError + GetHashTagsResponse *GetHashTagsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetHashTagsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetHashTagsResponse + err = json.Unmarshal(data, &dst.GetHashTagsResponse); + if err == nil { + jsonGetHashTagsResponse, _ := json.Marshal(dst.GetHashTagsResponse) + if string(jsonGetHashTagsResponse) == "{}" { // empty struct + dst.GetHashTagsResponse = nil + } else { + return nil // data stored in dst.GetHashTagsResponse, return on the first match + } + } else { + dst.GetHashTagsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetHashTagsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetHashTagsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetHashTagsResponse != nil { + return json.Marshal(&src.GetHashTagsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetHashTagsResponse1 struct { + value *GetHashTagsResponse1 + isSet bool +} + +func (v NullableGetHashTagsResponse1) Get() *GetHashTagsResponse1 { + return v.value +} + +func (v *NullableGetHashTagsResponse1) Set(val *GetHashTagsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetHashTagsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetHashTagsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetHashTagsResponse1(val *GetHashTagsResponse1) *NullableGetHashTagsResponse1 { + return &NullableGetHashTagsResponse1{value: val, isSet: true} +} + +func (v NullableGetHashTagsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetHashTagsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_logs_response.go b/client/model_get_logs_response.go new file mode 100644 index 0000000..e1468bc --- /dev/null +++ b/client/model_get_logs_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetLogsResponse struct for GetLogsResponse +type GetLogsResponse struct { + APIError *APIError + ModerationAPIGetLogsResponse *ModerationAPIGetLogsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetLogsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPIGetLogsResponse + err = json.Unmarshal(data, &dst.ModerationAPIGetLogsResponse); + if err == nil { + jsonModerationAPIGetLogsResponse, _ := json.Marshal(dst.ModerationAPIGetLogsResponse) + if string(jsonModerationAPIGetLogsResponse) == "{}" { // empty struct + dst.ModerationAPIGetLogsResponse = nil + } else { + return nil // data stored in dst.ModerationAPIGetLogsResponse, return on the first match + } + } else { + dst.ModerationAPIGetLogsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetLogsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetLogsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPIGetLogsResponse != nil { + return json.Marshal(&src.ModerationAPIGetLogsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetLogsResponse struct { + value *GetLogsResponse + isSet bool +} + +func (v NullableGetLogsResponse) Get() *GetLogsResponse { + return v.value +} + +func (v *NullableGetLogsResponse) Set(val *GetLogsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetLogsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetLogsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetLogsResponse(val *GetLogsResponse) *NullableGetLogsResponse { + return &NullableGetLogsResponse{value: val, isSet: true} +} + +func (v NullableGetLogsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetLogsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_manual_badges_for_user_response.go b/client/model_get_manual_badges_for_user_response.go new file mode 100644 index 0000000..fea8f2d --- /dev/null +++ b/client/model_get_manual_badges_for_user_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetManualBadgesForUserResponse struct for GetManualBadgesForUserResponse +type GetManualBadgesForUserResponse struct { + APIError *APIError + GetUserManualBadgesResponse *GetUserManualBadgesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetManualBadgesForUserResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserManualBadgesResponse + err = json.Unmarshal(data, &dst.GetUserManualBadgesResponse); + if err == nil { + jsonGetUserManualBadgesResponse, _ := json.Marshal(dst.GetUserManualBadgesResponse) + if string(jsonGetUserManualBadgesResponse) == "{}" { // empty struct + dst.GetUserManualBadgesResponse = nil + } else { + return nil // data stored in dst.GetUserManualBadgesResponse, return on the first match + } + } else { + dst.GetUserManualBadgesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetManualBadgesForUserResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetManualBadgesForUserResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserManualBadgesResponse != nil { + return json.Marshal(&src.GetUserManualBadgesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetManualBadgesForUserResponse struct { + value *GetManualBadgesForUserResponse + isSet bool +} + +func (v NullableGetManualBadgesForUserResponse) Get() *GetManualBadgesForUserResponse { + return v.value +} + +func (v *NullableGetManualBadgesForUserResponse) Set(val *GetManualBadgesForUserResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetManualBadgesForUserResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetManualBadgesForUserResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetManualBadgesForUserResponse(val *GetManualBadgesForUserResponse) *NullableGetManualBadgesForUserResponse { + return &NullableGetManualBadgesForUserResponse{value: val, isSet: true} +} + +func (v NullableGetManualBadgesForUserResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetManualBadgesForUserResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_manual_badges_response.go b/client/model_get_manual_badges_response.go new file mode 100644 index 0000000..8c9a069 --- /dev/null +++ b/client/model_get_manual_badges_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetManualBadgesResponse struct for GetManualBadgesResponse +type GetManualBadgesResponse struct { + APIError *APIError + GetTenantManualBadgesResponse *GetTenantManualBadgesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetManualBadgesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantManualBadgesResponse + err = json.Unmarshal(data, &dst.GetTenantManualBadgesResponse); + if err == nil { + jsonGetTenantManualBadgesResponse, _ := json.Marshal(dst.GetTenantManualBadgesResponse) + if string(jsonGetTenantManualBadgesResponse) == "{}" { // empty struct + dst.GetTenantManualBadgesResponse = nil + } else { + return nil // data stored in dst.GetTenantManualBadgesResponse, return on the first match + } + } else { + dst.GetTenantManualBadgesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetManualBadgesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetManualBadgesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantManualBadgesResponse != nil { + return json.Marshal(&src.GetTenantManualBadgesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetManualBadgesResponse struct { + value *GetManualBadgesResponse + isSet bool +} + +func (v NullableGetManualBadgesResponse) Get() *GetManualBadgesResponse { + return v.value +} + +func (v *NullableGetManualBadgesResponse) Set(val *GetManualBadgesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetManualBadgesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetManualBadgesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetManualBadgesResponse(val *GetManualBadgesResponse) *NullableGetManualBadgesResponse { + return &NullableGetManualBadgesResponse{value: val, isSet: true} +} + +func (v NullableGetManualBadgesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetManualBadgesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_moderation_comment_response.go b/client/model_get_moderation_comment_response.go new file mode 100644 index 0000000..cefa4ea --- /dev/null +++ b/client/model_get_moderation_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetModerationCommentResponse struct for GetModerationCommentResponse +type GetModerationCommentResponse struct { + APIError *APIError + ModerationAPICommentResponse *ModerationAPICommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetModerationCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPICommentResponse + err = json.Unmarshal(data, &dst.ModerationAPICommentResponse); + if err == nil { + jsonModerationAPICommentResponse, _ := json.Marshal(dst.ModerationAPICommentResponse) + if string(jsonModerationAPICommentResponse) == "{}" { // empty struct + dst.ModerationAPICommentResponse = nil + } else { + return nil // data stored in dst.ModerationAPICommentResponse, return on the first match + } + } else { + dst.ModerationAPICommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetModerationCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetModerationCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPICommentResponse != nil { + return json.Marshal(&src.ModerationAPICommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetModerationCommentResponse struct { + value *GetModerationCommentResponse + isSet bool +} + +func (v NullableGetModerationCommentResponse) Get() *GetModerationCommentResponse { + return v.value +} + +func (v *NullableGetModerationCommentResponse) Set(val *GetModerationCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetModerationCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetModerationCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetModerationCommentResponse(val *GetModerationCommentResponse) *NullableGetModerationCommentResponse { + return &NullableGetModerationCommentResponse{value: val, isSet: true} +} + +func (v NullableGetModerationCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetModerationCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_moderation_comment_text_response.go b/client/model_get_moderation_comment_text_response.go new file mode 100644 index 0000000..cd21bce --- /dev/null +++ b/client/model_get_moderation_comment_text_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetModerationCommentTextResponse struct for GetModerationCommentTextResponse +type GetModerationCommentTextResponse struct { + APIError *APIError + GetCommentTextResponse *GetCommentTextResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetModerationCommentTextResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetCommentTextResponse + err = json.Unmarshal(data, &dst.GetCommentTextResponse); + if err == nil { + jsonGetCommentTextResponse, _ := json.Marshal(dst.GetCommentTextResponse) + if string(jsonGetCommentTextResponse) == "{}" { // empty struct + dst.GetCommentTextResponse = nil + } else { + return nil // data stored in dst.GetCommentTextResponse, return on the first match + } + } else { + dst.GetCommentTextResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetModerationCommentTextResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetModerationCommentTextResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetCommentTextResponse != nil { + return json.Marshal(&src.GetCommentTextResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetModerationCommentTextResponse struct { + value *GetModerationCommentTextResponse + isSet bool +} + +func (v NullableGetModerationCommentTextResponse) Get() *GetModerationCommentTextResponse { + return v.value +} + +func (v *NullableGetModerationCommentTextResponse) Set(val *GetModerationCommentTextResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetModerationCommentTextResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetModerationCommentTextResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetModerationCommentTextResponse(val *GetModerationCommentTextResponse) *NullableGetModerationCommentTextResponse { + return &NullableGetModerationCommentTextResponse{value: val, isSet: true} +} + +func (v NullableGetModerationCommentTextResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetModerationCommentTextResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_moderator_response_1.go b/client/model_get_moderator_response_1.go new file mode 100644 index 0000000..b385f1c --- /dev/null +++ b/client/model_get_moderator_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetModeratorResponse1 struct for GetModeratorResponse1 +type GetModeratorResponse1 struct { + APIError *APIError + GetModeratorResponse *GetModeratorResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetModeratorResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetModeratorResponse + err = json.Unmarshal(data, &dst.GetModeratorResponse); + if err == nil { + jsonGetModeratorResponse, _ := json.Marshal(dst.GetModeratorResponse) + if string(jsonGetModeratorResponse) == "{}" { // empty struct + dst.GetModeratorResponse = nil + } else { + return nil // data stored in dst.GetModeratorResponse, return on the first match + } + } else { + dst.GetModeratorResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetModeratorResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetModeratorResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetModeratorResponse != nil { + return json.Marshal(&src.GetModeratorResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetModeratorResponse1 struct { + value *GetModeratorResponse1 + isSet bool +} + +func (v NullableGetModeratorResponse1) Get() *GetModeratorResponse1 { + return v.value +} + +func (v *NullableGetModeratorResponse1) Set(val *GetModeratorResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetModeratorResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetModeratorResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetModeratorResponse1(val *GetModeratorResponse1) *NullableGetModeratorResponse1 { + return &NullableGetModeratorResponse1{value: val, isSet: true} +} + +func (v NullableGetModeratorResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetModeratorResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_moderators_response_1.go b/client/model_get_moderators_response_1.go new file mode 100644 index 0000000..91e7cdc --- /dev/null +++ b/client/model_get_moderators_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetModeratorsResponse1 struct for GetModeratorsResponse1 +type GetModeratorsResponse1 struct { + APIError *APIError + GetModeratorsResponse *GetModeratorsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetModeratorsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetModeratorsResponse + err = json.Unmarshal(data, &dst.GetModeratorsResponse); + if err == nil { + jsonGetModeratorsResponse, _ := json.Marshal(dst.GetModeratorsResponse) + if string(jsonGetModeratorsResponse) == "{}" { // empty struct + dst.GetModeratorsResponse = nil + } else { + return nil // data stored in dst.GetModeratorsResponse, return on the first match + } + } else { + dst.GetModeratorsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetModeratorsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetModeratorsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetModeratorsResponse != nil { + return json.Marshal(&src.GetModeratorsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetModeratorsResponse1 struct { + value *GetModeratorsResponse1 + isSet bool +} + +func (v NullableGetModeratorsResponse1) Get() *GetModeratorsResponse1 { + return v.value +} + +func (v *NullableGetModeratorsResponse1) Set(val *GetModeratorsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetModeratorsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetModeratorsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetModeratorsResponse1(val *GetModeratorsResponse1) *NullableGetModeratorsResponse1 { + return &NullableGetModeratorsResponse1{value: val, isSet: true} +} + +func (v NullableGetModeratorsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetModeratorsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_notification_count_response_1.go b/client/model_get_notification_count_response_1.go new file mode 100644 index 0000000..3356697 --- /dev/null +++ b/client/model_get_notification_count_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetNotificationCountResponse1 struct for GetNotificationCountResponse1 +type GetNotificationCountResponse1 struct { + APIError *APIError + GetNotificationCountResponse *GetNotificationCountResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetNotificationCountResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetNotificationCountResponse + err = json.Unmarshal(data, &dst.GetNotificationCountResponse); + if err == nil { + jsonGetNotificationCountResponse, _ := json.Marshal(dst.GetNotificationCountResponse) + if string(jsonGetNotificationCountResponse) == "{}" { // empty struct + dst.GetNotificationCountResponse = nil + } else { + return nil // data stored in dst.GetNotificationCountResponse, return on the first match + } + } else { + dst.GetNotificationCountResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetNotificationCountResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetNotificationCountResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetNotificationCountResponse != nil { + return json.Marshal(&src.GetNotificationCountResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetNotificationCountResponse1 struct { + value *GetNotificationCountResponse1 + isSet bool +} + +func (v NullableGetNotificationCountResponse1) Get() *GetNotificationCountResponse1 { + return v.value +} + +func (v *NullableGetNotificationCountResponse1) Set(val *GetNotificationCountResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetNotificationCountResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNotificationCountResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNotificationCountResponse1(val *GetNotificationCountResponse1) *NullableGetNotificationCountResponse1 { + return &NullableGetNotificationCountResponse1{value: val, isSet: true} +} + +func (v NullableGetNotificationCountResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNotificationCountResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_notifications_response_1.go b/client/model_get_notifications_response_1.go new file mode 100644 index 0000000..c60ca7a --- /dev/null +++ b/client/model_get_notifications_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetNotificationsResponse1 struct for GetNotificationsResponse1 +type GetNotificationsResponse1 struct { + APIError *APIError + GetNotificationsResponse *GetNotificationsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetNotificationsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetNotificationsResponse + err = json.Unmarshal(data, &dst.GetNotificationsResponse); + if err == nil { + jsonGetNotificationsResponse, _ := json.Marshal(dst.GetNotificationsResponse) + if string(jsonGetNotificationsResponse) == "{}" { // empty struct + dst.GetNotificationsResponse = nil + } else { + return nil // data stored in dst.GetNotificationsResponse, return on the first match + } + } else { + dst.GetNotificationsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetNotificationsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetNotificationsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetNotificationsResponse != nil { + return json.Marshal(&src.GetNotificationsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetNotificationsResponse1 struct { + value *GetNotificationsResponse1 + isSet bool +} + +func (v NullableGetNotificationsResponse1) Get() *GetNotificationsResponse1 { + return v.value +} + +func (v *NullableGetNotificationsResponse1) Set(val *GetNotificationsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetNotificationsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetNotificationsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetNotificationsResponse1(val *GetNotificationsResponse1) *NullableGetNotificationsResponse1 { + return &NullableGetNotificationsResponse1{value: val, isSet: true} +} + +func (v NullableGetNotificationsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetNotificationsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_offline_users_response.go b/client/model_get_offline_users_response.go new file mode 100644 index 0000000..01d200e --- /dev/null +++ b/client/model_get_offline_users_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetOfflineUsersResponse struct for GetOfflineUsersResponse +type GetOfflineUsersResponse struct { + APIError *APIError + PageUsersOfflineResponse *PageUsersOfflineResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetOfflineUsersResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PageUsersOfflineResponse + err = json.Unmarshal(data, &dst.PageUsersOfflineResponse); + if err == nil { + jsonPageUsersOfflineResponse, _ := json.Marshal(dst.PageUsersOfflineResponse) + if string(jsonPageUsersOfflineResponse) == "{}" { // empty struct + dst.PageUsersOfflineResponse = nil + } else { + return nil // data stored in dst.PageUsersOfflineResponse, return on the first match + } + } else { + dst.PageUsersOfflineResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetOfflineUsersResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetOfflineUsersResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PageUsersOfflineResponse != nil { + return json.Marshal(&src.PageUsersOfflineResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetOfflineUsersResponse struct { + value *GetOfflineUsersResponse + isSet bool +} + +func (v NullableGetOfflineUsersResponse) Get() *GetOfflineUsersResponse { + return v.value +} + +func (v *NullableGetOfflineUsersResponse) Set(val *GetOfflineUsersResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetOfflineUsersResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetOfflineUsersResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetOfflineUsersResponse(val *GetOfflineUsersResponse) *NullableGetOfflineUsersResponse { + return &NullableGetOfflineUsersResponse{value: val, isSet: true} +} + +func (v NullableGetOfflineUsersResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetOfflineUsersResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_online_users_response.go b/client/model_get_online_users_response.go new file mode 100644 index 0000000..437700f --- /dev/null +++ b/client/model_get_online_users_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetOnlineUsersResponse struct for GetOnlineUsersResponse +type GetOnlineUsersResponse struct { + APIError *APIError + PageUsersOnlineResponse *PageUsersOnlineResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetOnlineUsersResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PageUsersOnlineResponse + err = json.Unmarshal(data, &dst.PageUsersOnlineResponse); + if err == nil { + jsonPageUsersOnlineResponse, _ := json.Marshal(dst.PageUsersOnlineResponse) + if string(jsonPageUsersOnlineResponse) == "{}" { // empty struct + dst.PageUsersOnlineResponse = nil + } else { + return nil // data stored in dst.PageUsersOnlineResponse, return on the first match + } + } else { + dst.PageUsersOnlineResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetOnlineUsersResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetOnlineUsersResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PageUsersOnlineResponse != nil { + return json.Marshal(&src.PageUsersOnlineResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetOnlineUsersResponse struct { + value *GetOnlineUsersResponse + isSet bool +} + +func (v NullableGetOnlineUsersResponse) Get() *GetOnlineUsersResponse { + return v.value +} + +func (v *NullableGetOnlineUsersResponse) Set(val *GetOnlineUsersResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetOnlineUsersResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetOnlineUsersResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetOnlineUsersResponse(val *GetOnlineUsersResponse) *NullableGetOnlineUsersResponse { + return &NullableGetOnlineUsersResponse{value: val, isSet: true} +} + +func (v NullableGetOnlineUsersResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetOnlineUsersResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_pages_public_response.go b/client/model_get_pages_public_response.go new file mode 100644 index 0000000..81ad12b --- /dev/null +++ b/client/model_get_pages_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetPagesPublicResponse struct for GetPagesPublicResponse +type GetPagesPublicResponse struct { + APIError *APIError + GetPublicPagesResponse *GetPublicPagesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetPagesPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetPublicPagesResponse + err = json.Unmarshal(data, &dst.GetPublicPagesResponse); + if err == nil { + jsonGetPublicPagesResponse, _ := json.Marshal(dst.GetPublicPagesResponse) + if string(jsonGetPublicPagesResponse) == "{}" { // empty struct + dst.GetPublicPagesResponse = nil + } else { + return nil // data stored in dst.GetPublicPagesResponse, return on the first match + } + } else { + dst.GetPublicPagesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetPagesPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetPagesPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetPublicPagesResponse != nil { + return json.Marshal(&src.GetPublicPagesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetPagesPublicResponse struct { + value *GetPagesPublicResponse + isSet bool +} + +func (v NullableGetPagesPublicResponse) Get() *GetPagesPublicResponse { + return v.value +} + +func (v *NullableGetPagesPublicResponse) Set(val *GetPagesPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetPagesPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPagesPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPagesPublicResponse(val *GetPagesPublicResponse) *NullableGetPagesPublicResponse { + return &NullableGetPagesPublicResponse{value: val, isSet: true} +} + +func (v NullableGetPagesPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPagesPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_pending_webhook_event_count_response_1.go b/client/model_get_pending_webhook_event_count_response_1.go new file mode 100644 index 0000000..9be85e5 --- /dev/null +++ b/client/model_get_pending_webhook_event_count_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetPendingWebhookEventCountResponse1 struct for GetPendingWebhookEventCountResponse1 +type GetPendingWebhookEventCountResponse1 struct { + APIError *APIError + GetPendingWebhookEventCountResponse *GetPendingWebhookEventCountResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetPendingWebhookEventCountResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetPendingWebhookEventCountResponse + err = json.Unmarshal(data, &dst.GetPendingWebhookEventCountResponse); + if err == nil { + jsonGetPendingWebhookEventCountResponse, _ := json.Marshal(dst.GetPendingWebhookEventCountResponse) + if string(jsonGetPendingWebhookEventCountResponse) == "{}" { // empty struct + dst.GetPendingWebhookEventCountResponse = nil + } else { + return nil // data stored in dst.GetPendingWebhookEventCountResponse, return on the first match + } + } else { + dst.GetPendingWebhookEventCountResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetPendingWebhookEventCountResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetPendingWebhookEventCountResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetPendingWebhookEventCountResponse != nil { + return json.Marshal(&src.GetPendingWebhookEventCountResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetPendingWebhookEventCountResponse1 struct { + value *GetPendingWebhookEventCountResponse1 + isSet bool +} + +func (v NullableGetPendingWebhookEventCountResponse1) Get() *GetPendingWebhookEventCountResponse1 { + return v.value +} + +func (v *NullableGetPendingWebhookEventCountResponse1) Set(val *GetPendingWebhookEventCountResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetPendingWebhookEventCountResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPendingWebhookEventCountResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPendingWebhookEventCountResponse1(val *GetPendingWebhookEventCountResponse1) *NullableGetPendingWebhookEventCountResponse1 { + return &NullableGetPendingWebhookEventCountResponse1{value: val, isSet: true} +} + +func (v NullableGetPendingWebhookEventCountResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPendingWebhookEventCountResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_pending_webhook_events_response_1.go b/client/model_get_pending_webhook_events_response_1.go new file mode 100644 index 0000000..ea9af8c --- /dev/null +++ b/client/model_get_pending_webhook_events_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetPendingWebhookEventsResponse1 struct for GetPendingWebhookEventsResponse1 +type GetPendingWebhookEventsResponse1 struct { + APIError *APIError + GetPendingWebhookEventsResponse *GetPendingWebhookEventsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetPendingWebhookEventsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetPendingWebhookEventsResponse + err = json.Unmarshal(data, &dst.GetPendingWebhookEventsResponse); + if err == nil { + jsonGetPendingWebhookEventsResponse, _ := json.Marshal(dst.GetPendingWebhookEventsResponse) + if string(jsonGetPendingWebhookEventsResponse) == "{}" { // empty struct + dst.GetPendingWebhookEventsResponse = nil + } else { + return nil // data stored in dst.GetPendingWebhookEventsResponse, return on the first match + } + } else { + dst.GetPendingWebhookEventsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetPendingWebhookEventsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetPendingWebhookEventsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetPendingWebhookEventsResponse != nil { + return json.Marshal(&src.GetPendingWebhookEventsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetPendingWebhookEventsResponse1 struct { + value *GetPendingWebhookEventsResponse1 + isSet bool +} + +func (v NullableGetPendingWebhookEventsResponse1) Get() *GetPendingWebhookEventsResponse1 { + return v.value +} + +func (v *NullableGetPendingWebhookEventsResponse1) Set(val *GetPendingWebhookEventsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetPendingWebhookEventsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPendingWebhookEventsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPendingWebhookEventsResponse1(val *GetPendingWebhookEventsResponse1) *NullableGetPendingWebhookEventsResponse1 { + return &NullableGetPendingWebhookEventsResponse1{value: val, isSet: true} +} + +func (v NullableGetPendingWebhookEventsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPendingWebhookEventsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_pre_ban_summary_response.go b/client/model_get_pre_ban_summary_response.go new file mode 100644 index 0000000..0e80c0f --- /dev/null +++ b/client/model_get_pre_ban_summary_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetPreBanSummaryResponse struct for GetPreBanSummaryResponse +type GetPreBanSummaryResponse struct { + APIError *APIError + PreBanSummary *PreBanSummary +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetPreBanSummaryResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PreBanSummary + err = json.Unmarshal(data, &dst.PreBanSummary); + if err == nil { + jsonPreBanSummary, _ := json.Marshal(dst.PreBanSummary) + if string(jsonPreBanSummary) == "{}" { // empty struct + dst.PreBanSummary = nil + } else { + return nil // data stored in dst.PreBanSummary, return on the first match + } + } else { + dst.PreBanSummary = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetPreBanSummaryResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetPreBanSummaryResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PreBanSummary != nil { + return json.Marshal(&src.PreBanSummary) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetPreBanSummaryResponse struct { + value *GetPreBanSummaryResponse + isSet bool +} + +func (v NullableGetPreBanSummaryResponse) Get() *GetPreBanSummaryResponse { + return v.value +} + +func (v *NullableGetPreBanSummaryResponse) Set(val *GetPreBanSummaryResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetPreBanSummaryResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetPreBanSummaryResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetPreBanSummaryResponse(val *GetPreBanSummaryResponse) *NullableGetPreBanSummaryResponse { + return &NullableGetPreBanSummaryResponse{value: val, isSet: true} +} + +func (v NullableGetPreBanSummaryResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetPreBanSummaryResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_question_config_response_1.go b/client/model_get_question_config_response_1.go new file mode 100644 index 0000000..c064097 --- /dev/null +++ b/client/model_get_question_config_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetQuestionConfigResponse1 struct for GetQuestionConfigResponse1 +type GetQuestionConfigResponse1 struct { + APIError *APIError + GetQuestionConfigResponse *GetQuestionConfigResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetQuestionConfigResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetQuestionConfigResponse + err = json.Unmarshal(data, &dst.GetQuestionConfigResponse); + if err == nil { + jsonGetQuestionConfigResponse, _ := json.Marshal(dst.GetQuestionConfigResponse) + if string(jsonGetQuestionConfigResponse) == "{}" { // empty struct + dst.GetQuestionConfigResponse = nil + } else { + return nil // data stored in dst.GetQuestionConfigResponse, return on the first match + } + } else { + dst.GetQuestionConfigResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionConfigResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetQuestionConfigResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetQuestionConfigResponse != nil { + return json.Marshal(&src.GetQuestionConfigResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetQuestionConfigResponse1 struct { + value *GetQuestionConfigResponse1 + isSet bool +} + +func (v NullableGetQuestionConfigResponse1) Get() *GetQuestionConfigResponse1 { + return v.value +} + +func (v *NullableGetQuestionConfigResponse1) Set(val *GetQuestionConfigResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetQuestionConfigResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetQuestionConfigResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetQuestionConfigResponse1(val *GetQuestionConfigResponse1) *NullableGetQuestionConfigResponse1 { + return &NullableGetQuestionConfigResponse1{value: val, isSet: true} +} + +func (v NullableGetQuestionConfigResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetQuestionConfigResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_question_configs_response_1.go b/client/model_get_question_configs_response_1.go new file mode 100644 index 0000000..61ae08a --- /dev/null +++ b/client/model_get_question_configs_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetQuestionConfigsResponse1 struct for GetQuestionConfigsResponse1 +type GetQuestionConfigsResponse1 struct { + APIError *APIError + GetQuestionConfigsResponse *GetQuestionConfigsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetQuestionConfigsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetQuestionConfigsResponse + err = json.Unmarshal(data, &dst.GetQuestionConfigsResponse); + if err == nil { + jsonGetQuestionConfigsResponse, _ := json.Marshal(dst.GetQuestionConfigsResponse) + if string(jsonGetQuestionConfigsResponse) == "{}" { // empty struct + dst.GetQuestionConfigsResponse = nil + } else { + return nil // data stored in dst.GetQuestionConfigsResponse, return on the first match + } + } else { + dst.GetQuestionConfigsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionConfigsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetQuestionConfigsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetQuestionConfigsResponse != nil { + return json.Marshal(&src.GetQuestionConfigsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetQuestionConfigsResponse1 struct { + value *GetQuestionConfigsResponse1 + isSet bool +} + +func (v NullableGetQuestionConfigsResponse1) Get() *GetQuestionConfigsResponse1 { + return v.value +} + +func (v *NullableGetQuestionConfigsResponse1) Set(val *GetQuestionConfigsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetQuestionConfigsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetQuestionConfigsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetQuestionConfigsResponse1(val *GetQuestionConfigsResponse1) *NullableGetQuestionConfigsResponse1 { + return &NullableGetQuestionConfigsResponse1{value: val, isSet: true} +} + +func (v NullableGetQuestionConfigsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetQuestionConfigsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_question_result_response_1.go b/client/model_get_question_result_response_1.go new file mode 100644 index 0000000..37f1688 --- /dev/null +++ b/client/model_get_question_result_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetQuestionResultResponse1 struct for GetQuestionResultResponse1 +type GetQuestionResultResponse1 struct { + APIError *APIError + GetQuestionResultResponse *GetQuestionResultResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetQuestionResultResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetQuestionResultResponse + err = json.Unmarshal(data, &dst.GetQuestionResultResponse); + if err == nil { + jsonGetQuestionResultResponse, _ := json.Marshal(dst.GetQuestionResultResponse) + if string(jsonGetQuestionResultResponse) == "{}" { // empty struct + dst.GetQuestionResultResponse = nil + } else { + return nil // data stored in dst.GetQuestionResultResponse, return on the first match + } + } else { + dst.GetQuestionResultResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionResultResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetQuestionResultResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetQuestionResultResponse != nil { + return json.Marshal(&src.GetQuestionResultResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetQuestionResultResponse1 struct { + value *GetQuestionResultResponse1 + isSet bool +} + +func (v NullableGetQuestionResultResponse1) Get() *GetQuestionResultResponse1 { + return v.value +} + +func (v *NullableGetQuestionResultResponse1) Set(val *GetQuestionResultResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetQuestionResultResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetQuestionResultResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetQuestionResultResponse1(val *GetQuestionResultResponse1) *NullableGetQuestionResultResponse1 { + return &NullableGetQuestionResultResponse1{value: val, isSet: true} +} + +func (v NullableGetQuestionResultResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetQuestionResultResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_question_results_response_1.go b/client/model_get_question_results_response_1.go new file mode 100644 index 0000000..353dcef --- /dev/null +++ b/client/model_get_question_results_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetQuestionResultsResponse1 struct for GetQuestionResultsResponse1 +type GetQuestionResultsResponse1 struct { + APIError *APIError + GetQuestionResultsResponse *GetQuestionResultsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetQuestionResultsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetQuestionResultsResponse + err = json.Unmarshal(data, &dst.GetQuestionResultsResponse); + if err == nil { + jsonGetQuestionResultsResponse, _ := json.Marshal(dst.GetQuestionResultsResponse) + if string(jsonGetQuestionResultsResponse) == "{}" { // empty struct + dst.GetQuestionResultsResponse = nil + } else { + return nil // data stored in dst.GetQuestionResultsResponse, return on the first match + } + } else { + dst.GetQuestionResultsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionResultsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetQuestionResultsResponse != nil { + return json.Marshal(&src.GetQuestionResultsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetQuestionResultsResponse1 struct { + value *GetQuestionResultsResponse1 + isSet bool +} + +func (v NullableGetQuestionResultsResponse1) Get() *GetQuestionResultsResponse1 { + return v.value +} + +func (v *NullableGetQuestionResultsResponse1) Set(val *GetQuestionResultsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetQuestionResultsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetQuestionResultsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetQuestionResultsResponse1(val *GetQuestionResultsResponse1) *NullableGetQuestionResultsResponse1 { + return &NullableGetQuestionResultsResponse1{value: val, isSet: true} +} + +func (v NullableGetQuestionResultsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetQuestionResultsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_search_comments_summary_response.go b/client/model_get_search_comments_summary_response.go new file mode 100644 index 0000000..a62ecc0 --- /dev/null +++ b/client/model_get_search_comments_summary_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetSearchCommentsSummaryResponse struct for GetSearchCommentsSummaryResponse +type GetSearchCommentsSummaryResponse struct { + APIError *APIError + ModerationCommentSearchResponse *ModerationCommentSearchResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetSearchCommentsSummaryResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationCommentSearchResponse + err = json.Unmarshal(data, &dst.ModerationCommentSearchResponse); + if err == nil { + jsonModerationCommentSearchResponse, _ := json.Marshal(dst.ModerationCommentSearchResponse) + if string(jsonModerationCommentSearchResponse) == "{}" { // empty struct + dst.ModerationCommentSearchResponse = nil + } else { + return nil // data stored in dst.ModerationCommentSearchResponse, return on the first match + } + } else { + dst.ModerationCommentSearchResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetSearchCommentsSummaryResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetSearchCommentsSummaryResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationCommentSearchResponse != nil { + return json.Marshal(&src.ModerationCommentSearchResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetSearchCommentsSummaryResponse struct { + value *GetSearchCommentsSummaryResponse + isSet bool +} + +func (v NullableGetSearchCommentsSummaryResponse) Get() *GetSearchCommentsSummaryResponse { + return v.value +} + +func (v *NullableGetSearchCommentsSummaryResponse) Set(val *GetSearchCommentsSummaryResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetSearchCommentsSummaryResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSearchCommentsSummaryResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSearchCommentsSummaryResponse(val *GetSearchCommentsSummaryResponse) *NullableGetSearchCommentsSummaryResponse { + return &NullableGetSearchCommentsSummaryResponse{value: val, isSet: true} +} + +func (v NullableGetSearchCommentsSummaryResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSearchCommentsSummaryResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_search_pages_response.go b/client/model_get_search_pages_response.go new file mode 100644 index 0000000..7ab576b --- /dev/null +++ b/client/model_get_search_pages_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetSearchPagesResponse struct for GetSearchPagesResponse +type GetSearchPagesResponse struct { + APIError *APIError + ModerationPageSearchResponse *ModerationPageSearchResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetSearchPagesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationPageSearchResponse + err = json.Unmarshal(data, &dst.ModerationPageSearchResponse); + if err == nil { + jsonModerationPageSearchResponse, _ := json.Marshal(dst.ModerationPageSearchResponse) + if string(jsonModerationPageSearchResponse) == "{}" { // empty struct + dst.ModerationPageSearchResponse = nil + } else { + return nil // data stored in dst.ModerationPageSearchResponse, return on the first match + } + } else { + dst.ModerationPageSearchResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetSearchPagesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetSearchPagesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationPageSearchResponse != nil { + return json.Marshal(&src.ModerationPageSearchResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetSearchPagesResponse struct { + value *GetSearchPagesResponse + isSet bool +} + +func (v NullableGetSearchPagesResponse) Get() *GetSearchPagesResponse { + return v.value +} + +func (v *NullableGetSearchPagesResponse) Set(val *GetSearchPagesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetSearchPagesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSearchPagesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSearchPagesResponse(val *GetSearchPagesResponse) *NullableGetSearchPagesResponse { + return &NullableGetSearchPagesResponse{value: val, isSet: true} +} + +func (v NullableGetSearchPagesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSearchPagesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_search_sites_response.go b/client/model_get_search_sites_response.go new file mode 100644 index 0000000..d200cf5 --- /dev/null +++ b/client/model_get_search_sites_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetSearchSitesResponse struct for GetSearchSitesResponse +type GetSearchSitesResponse struct { + APIError *APIError + ModerationSiteSearchResponse *ModerationSiteSearchResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetSearchSitesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationSiteSearchResponse + err = json.Unmarshal(data, &dst.ModerationSiteSearchResponse); + if err == nil { + jsonModerationSiteSearchResponse, _ := json.Marshal(dst.ModerationSiteSearchResponse) + if string(jsonModerationSiteSearchResponse) == "{}" { // empty struct + dst.ModerationSiteSearchResponse = nil + } else { + return nil // data stored in dst.ModerationSiteSearchResponse, return on the first match + } + } else { + dst.ModerationSiteSearchResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetSearchSitesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetSearchSitesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationSiteSearchResponse != nil { + return json.Marshal(&src.ModerationSiteSearchResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetSearchSitesResponse struct { + value *GetSearchSitesResponse + isSet bool +} + +func (v NullableGetSearchSitesResponse) Get() *GetSearchSitesResponse { + return v.value +} + +func (v *NullableGetSearchSitesResponse) Set(val *GetSearchSitesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetSearchSitesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSearchSitesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSearchSitesResponse(val *GetSearchSitesResponse) *NullableGetSearchSitesResponse { + return &NullableGetSearchSitesResponse{value: val, isSet: true} +} + +func (v NullableGetSearchSitesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSearchSitesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_search_suggest_response.go b/client/model_get_search_suggest_response.go new file mode 100644 index 0000000..0053309 --- /dev/null +++ b/client/model_get_search_suggest_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetSearchSuggestResponse struct for GetSearchSuggestResponse +type GetSearchSuggestResponse struct { + APIError *APIError + ModerationSuggestResponse *ModerationSuggestResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetSearchSuggestResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationSuggestResponse + err = json.Unmarshal(data, &dst.ModerationSuggestResponse); + if err == nil { + jsonModerationSuggestResponse, _ := json.Marshal(dst.ModerationSuggestResponse) + if string(jsonModerationSuggestResponse) == "{}" { // empty struct + dst.ModerationSuggestResponse = nil + } else { + return nil // data stored in dst.ModerationSuggestResponse, return on the first match + } + } else { + dst.ModerationSuggestResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetSearchSuggestResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetSearchSuggestResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationSuggestResponse != nil { + return json.Marshal(&src.ModerationSuggestResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetSearchSuggestResponse struct { + value *GetSearchSuggestResponse + isSet bool +} + +func (v NullableGetSearchSuggestResponse) Get() *GetSearchSuggestResponse { + return v.value +} + +func (v *NullableGetSearchSuggestResponse) Set(val *GetSearchSuggestResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetSearchSuggestResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSearchSuggestResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSearchSuggestResponse(val *GetSearchSuggestResponse) *NullableGetSearchSuggestResponse { + return &NullableGetSearchSuggestResponse{value: val, isSet: true} +} + +func (v NullableGetSearchSuggestResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSearchSuggestResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_search_users_response.go b/client/model_get_search_users_response.go new file mode 100644 index 0000000..1c34553 --- /dev/null +++ b/client/model_get_search_users_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetSearchUsersResponse struct for GetSearchUsersResponse +type GetSearchUsersResponse struct { + APIError *APIError + ModerationUserSearchResponse *ModerationUserSearchResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetSearchUsersResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationUserSearchResponse + err = json.Unmarshal(data, &dst.ModerationUserSearchResponse); + if err == nil { + jsonModerationUserSearchResponse, _ := json.Marshal(dst.ModerationUserSearchResponse) + if string(jsonModerationUserSearchResponse) == "{}" { // empty struct + dst.ModerationUserSearchResponse = nil + } else { + return nil // data stored in dst.ModerationUserSearchResponse, return on the first match + } + } else { + dst.ModerationUserSearchResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetSearchUsersResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetSearchUsersResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationUserSearchResponse != nil { + return json.Marshal(&src.ModerationUserSearchResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetSearchUsersResponse struct { + value *GetSearchUsersResponse + isSet bool +} + +func (v NullableGetSearchUsersResponse) Get() *GetSearchUsersResponse { + return v.value +} + +func (v *NullableGetSearchUsersResponse) Set(val *GetSearchUsersResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetSearchUsersResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetSearchUsersResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetSearchUsersResponse(val *GetSearchUsersResponse) *NullableGetSearchUsersResponse { + return &NullableGetSearchUsersResponse{value: val, isSet: true} +} + +func (v NullableGetSearchUsersResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetSearchUsersResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_daily_usages_response_1.go b/client/model_get_tenant_daily_usages_response_1.go new file mode 100644 index 0000000..358283d --- /dev/null +++ b/client/model_get_tenant_daily_usages_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantDailyUsagesResponse1 struct for GetTenantDailyUsagesResponse1 +type GetTenantDailyUsagesResponse1 struct { + APIError *APIError + GetTenantDailyUsagesResponse *GetTenantDailyUsagesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantDailyUsagesResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantDailyUsagesResponse + err = json.Unmarshal(data, &dst.GetTenantDailyUsagesResponse); + if err == nil { + jsonGetTenantDailyUsagesResponse, _ := json.Marshal(dst.GetTenantDailyUsagesResponse) + if string(jsonGetTenantDailyUsagesResponse) == "{}" { // empty struct + dst.GetTenantDailyUsagesResponse = nil + } else { + return nil // data stored in dst.GetTenantDailyUsagesResponse, return on the first match + } + } else { + dst.GetTenantDailyUsagesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantDailyUsagesResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantDailyUsagesResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantDailyUsagesResponse != nil { + return json.Marshal(&src.GetTenantDailyUsagesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantDailyUsagesResponse1 struct { + value *GetTenantDailyUsagesResponse1 + isSet bool +} + +func (v NullableGetTenantDailyUsagesResponse1) Get() *GetTenantDailyUsagesResponse1 { + return v.value +} + +func (v *NullableGetTenantDailyUsagesResponse1) Set(val *GetTenantDailyUsagesResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantDailyUsagesResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantDailyUsagesResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantDailyUsagesResponse1(val *GetTenantDailyUsagesResponse1) *NullableGetTenantDailyUsagesResponse1 { + return &NullableGetTenantDailyUsagesResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantDailyUsagesResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantDailyUsagesResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_package_response_1.go b/client/model_get_tenant_package_response_1.go new file mode 100644 index 0000000..e4f3314 --- /dev/null +++ b/client/model_get_tenant_package_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantPackageResponse1 struct for GetTenantPackageResponse1 +type GetTenantPackageResponse1 struct { + APIError *APIError + GetTenantPackageResponse *GetTenantPackageResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantPackageResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantPackageResponse + err = json.Unmarshal(data, &dst.GetTenantPackageResponse); + if err == nil { + jsonGetTenantPackageResponse, _ := json.Marshal(dst.GetTenantPackageResponse) + if string(jsonGetTenantPackageResponse) == "{}" { // empty struct + dst.GetTenantPackageResponse = nil + } else { + return nil // data stored in dst.GetTenantPackageResponse, return on the first match + } + } else { + dst.GetTenantPackageResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantPackageResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantPackageResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantPackageResponse != nil { + return json.Marshal(&src.GetTenantPackageResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantPackageResponse1 struct { + value *GetTenantPackageResponse1 + isSet bool +} + +func (v NullableGetTenantPackageResponse1) Get() *GetTenantPackageResponse1 { + return v.value +} + +func (v *NullableGetTenantPackageResponse1) Set(val *GetTenantPackageResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantPackageResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantPackageResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantPackageResponse1(val *GetTenantPackageResponse1) *NullableGetTenantPackageResponse1 { + return &NullableGetTenantPackageResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantPackageResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantPackageResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_packages_response_1.go b/client/model_get_tenant_packages_response_1.go new file mode 100644 index 0000000..245b9e2 --- /dev/null +++ b/client/model_get_tenant_packages_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantPackagesResponse1 struct for GetTenantPackagesResponse1 +type GetTenantPackagesResponse1 struct { + APIError *APIError + GetTenantPackagesResponse *GetTenantPackagesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantPackagesResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantPackagesResponse + err = json.Unmarshal(data, &dst.GetTenantPackagesResponse); + if err == nil { + jsonGetTenantPackagesResponse, _ := json.Marshal(dst.GetTenantPackagesResponse) + if string(jsonGetTenantPackagesResponse) == "{}" { // empty struct + dst.GetTenantPackagesResponse = nil + } else { + return nil // data stored in dst.GetTenantPackagesResponse, return on the first match + } + } else { + dst.GetTenantPackagesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantPackagesResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantPackagesResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantPackagesResponse != nil { + return json.Marshal(&src.GetTenantPackagesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantPackagesResponse1 struct { + value *GetTenantPackagesResponse1 + isSet bool +} + +func (v NullableGetTenantPackagesResponse1) Get() *GetTenantPackagesResponse1 { + return v.value +} + +func (v *NullableGetTenantPackagesResponse1) Set(val *GetTenantPackagesResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantPackagesResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantPackagesResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantPackagesResponse1(val *GetTenantPackagesResponse1) *NullableGetTenantPackagesResponse1 { + return &NullableGetTenantPackagesResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantPackagesResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantPackagesResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_response_1.go b/client/model_get_tenant_response_1.go new file mode 100644 index 0000000..ac2739b --- /dev/null +++ b/client/model_get_tenant_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantResponse1 struct for GetTenantResponse1 +type GetTenantResponse1 struct { + APIError *APIError + GetTenantResponse *GetTenantResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantResponse + err = json.Unmarshal(data, &dst.GetTenantResponse); + if err == nil { + jsonGetTenantResponse, _ := json.Marshal(dst.GetTenantResponse) + if string(jsonGetTenantResponse) == "{}" { // empty struct + dst.GetTenantResponse = nil + } else { + return nil // data stored in dst.GetTenantResponse, return on the first match + } + } else { + dst.GetTenantResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantResponse != nil { + return json.Marshal(&src.GetTenantResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantResponse1 struct { + value *GetTenantResponse1 + isSet bool +} + +func (v NullableGetTenantResponse1) Get() *GetTenantResponse1 { + return v.value +} + +func (v *NullableGetTenantResponse1) Set(val *GetTenantResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantResponse1(val *GetTenantResponse1) *NullableGetTenantResponse1 { + return &NullableGetTenantResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_user_response_1.go b/client/model_get_tenant_user_response_1.go new file mode 100644 index 0000000..9edd7a2 --- /dev/null +++ b/client/model_get_tenant_user_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantUserResponse1 struct for GetTenantUserResponse1 +type GetTenantUserResponse1 struct { + APIError *APIError + GetTenantUserResponse *GetTenantUserResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantUserResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantUserResponse + err = json.Unmarshal(data, &dst.GetTenantUserResponse); + if err == nil { + jsonGetTenantUserResponse, _ := json.Marshal(dst.GetTenantUserResponse) + if string(jsonGetTenantUserResponse) == "{}" { // empty struct + dst.GetTenantUserResponse = nil + } else { + return nil // data stored in dst.GetTenantUserResponse, return on the first match + } + } else { + dst.GetTenantUserResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantUserResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantUserResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantUserResponse != nil { + return json.Marshal(&src.GetTenantUserResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantUserResponse1 struct { + value *GetTenantUserResponse1 + isSet bool +} + +func (v NullableGetTenantUserResponse1) Get() *GetTenantUserResponse1 { + return v.value +} + +func (v *NullableGetTenantUserResponse1) Set(val *GetTenantUserResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantUserResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantUserResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantUserResponse1(val *GetTenantUserResponse1) *NullableGetTenantUserResponse1 { + return &NullableGetTenantUserResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantUserResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantUserResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenant_users_response_1.go b/client/model_get_tenant_users_response_1.go new file mode 100644 index 0000000..0e35619 --- /dev/null +++ b/client/model_get_tenant_users_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantUsersResponse1 struct for GetTenantUsersResponse1 +type GetTenantUsersResponse1 struct { + APIError *APIError + GetTenantUsersResponse *GetTenantUsersResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantUsersResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantUsersResponse + err = json.Unmarshal(data, &dst.GetTenantUsersResponse); + if err == nil { + jsonGetTenantUsersResponse, _ := json.Marshal(dst.GetTenantUsersResponse) + if string(jsonGetTenantUsersResponse) == "{}" { // empty struct + dst.GetTenantUsersResponse = nil + } else { + return nil // data stored in dst.GetTenantUsersResponse, return on the first match + } + } else { + dst.GetTenantUsersResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantUsersResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantUsersResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantUsersResponse != nil { + return json.Marshal(&src.GetTenantUsersResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantUsersResponse1 struct { + value *GetTenantUsersResponse1 + isSet bool +} + +func (v NullableGetTenantUsersResponse1) Get() *GetTenantUsersResponse1 { + return v.value +} + +func (v *NullableGetTenantUsersResponse1) Set(val *GetTenantUsersResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantUsersResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantUsersResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantUsersResponse1(val *GetTenantUsersResponse1) *NullableGetTenantUsersResponse1 { + return &NullableGetTenantUsersResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantUsersResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantUsersResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tenants_response_1.go b/client/model_get_tenants_response_1.go new file mode 100644 index 0000000..77f3b5a --- /dev/null +++ b/client/model_get_tenants_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTenantsResponse1 struct for GetTenantsResponse1 +type GetTenantsResponse1 struct { + APIError *APIError + GetTenantsResponse *GetTenantsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTenantsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTenantsResponse + err = json.Unmarshal(data, &dst.GetTenantsResponse); + if err == nil { + jsonGetTenantsResponse, _ := json.Marshal(dst.GetTenantsResponse) + if string(jsonGetTenantsResponse) == "{}" { // empty struct + dst.GetTenantsResponse = nil + } else { + return nil // data stored in dst.GetTenantsResponse, return on the first match + } + } else { + dst.GetTenantsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTenantsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTenantsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTenantsResponse != nil { + return json.Marshal(&src.GetTenantsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTenantsResponse1 struct { + value *GetTenantsResponse1 + isSet bool +} + +func (v NullableGetTenantsResponse1) Get() *GetTenantsResponse1 { + return v.value +} + +func (v *NullableGetTenantsResponse1) Set(val *GetTenantsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTenantsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTenantsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTenantsResponse1(val *GetTenantsResponse1) *NullableGetTenantsResponse1 { + return &NullableGetTenantsResponse1{value: val, isSet: true} +} + +func (v NullableGetTenantsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTenantsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_ticket_response_1.go b/client/model_get_ticket_response_1.go new file mode 100644 index 0000000..8d77734 --- /dev/null +++ b/client/model_get_ticket_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTicketResponse1 struct for GetTicketResponse1 +type GetTicketResponse1 struct { + APIError *APIError + GetTicketResponse *GetTicketResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTicketResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTicketResponse + err = json.Unmarshal(data, &dst.GetTicketResponse); + if err == nil { + jsonGetTicketResponse, _ := json.Marshal(dst.GetTicketResponse) + if string(jsonGetTicketResponse) == "{}" { // empty struct + dst.GetTicketResponse = nil + } else { + return nil // data stored in dst.GetTicketResponse, return on the first match + } + } else { + dst.GetTicketResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTicketResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTicketResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTicketResponse != nil { + return json.Marshal(&src.GetTicketResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTicketResponse1 struct { + value *GetTicketResponse1 + isSet bool +} + +func (v NullableGetTicketResponse1) Get() *GetTicketResponse1 { + return v.value +} + +func (v *NullableGetTicketResponse1) Set(val *GetTicketResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTicketResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTicketResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTicketResponse1(val *GetTicketResponse1) *NullableGetTicketResponse1 { + return &NullableGetTicketResponse1{value: val, isSet: true} +} + +func (v NullableGetTicketResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTicketResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_tickets_response_1.go b/client/model_get_tickets_response_1.go new file mode 100644 index 0000000..e9d3d7f --- /dev/null +++ b/client/model_get_tickets_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTicketsResponse1 struct for GetTicketsResponse1 +type GetTicketsResponse1 struct { + APIError *APIError + GetTicketsResponse *GetTicketsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTicketsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTicketsResponse + err = json.Unmarshal(data, &dst.GetTicketsResponse); + if err == nil { + jsonGetTicketsResponse, _ := json.Marshal(dst.GetTicketsResponse) + if string(jsonGetTicketsResponse) == "{}" { // empty struct + dst.GetTicketsResponse = nil + } else { + return nil // data stored in dst.GetTicketsResponse, return on the first match + } + } else { + dst.GetTicketsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTicketsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTicketsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTicketsResponse != nil { + return json.Marshal(&src.GetTicketsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTicketsResponse1 struct { + value *GetTicketsResponse1 + isSet bool +} + +func (v NullableGetTicketsResponse1) Get() *GetTicketsResponse1 { + return v.value +} + +func (v *NullableGetTicketsResponse1) Set(val *GetTicketsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTicketsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTicketsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTicketsResponse1(val *GetTicketsResponse1) *NullableGetTicketsResponse1 { + return &NullableGetTicketsResponse1{value: val, isSet: true} +} + +func (v NullableGetTicketsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTicketsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_translations_response_1.go b/client/model_get_translations_response_1.go new file mode 100644 index 0000000..f42e006 --- /dev/null +++ b/client/model_get_translations_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTranslationsResponse1 struct for GetTranslationsResponse1 +type GetTranslationsResponse1 struct { + APIError *APIError + GetTranslationsResponse *GetTranslationsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTranslationsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetTranslationsResponse + err = json.Unmarshal(data, &dst.GetTranslationsResponse); + if err == nil { + jsonGetTranslationsResponse, _ := json.Marshal(dst.GetTranslationsResponse) + if string(jsonGetTranslationsResponse) == "{}" { // empty struct + dst.GetTranslationsResponse = nil + } else { + return nil // data stored in dst.GetTranslationsResponse, return on the first match + } + } else { + dst.GetTranslationsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTranslationsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTranslationsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetTranslationsResponse != nil { + return json.Marshal(&src.GetTranslationsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTranslationsResponse1 struct { + value *GetTranslationsResponse1 + isSet bool +} + +func (v NullableGetTranslationsResponse1) Get() *GetTranslationsResponse1 { + return v.value +} + +func (v *NullableGetTranslationsResponse1) Set(val *GetTranslationsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetTranslationsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTranslationsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTranslationsResponse1(val *GetTranslationsResponse1) *NullableGetTranslationsResponse1 { + return &NullableGetTranslationsResponse1{value: val, isSet: true} +} + +func (v NullableGetTranslationsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTranslationsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_trust_factor_response.go b/client/model_get_trust_factor_response.go new file mode 100644 index 0000000..22a1723 --- /dev/null +++ b/client/model_get_trust_factor_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetTrustFactorResponse struct for GetTrustFactorResponse +type GetTrustFactorResponse struct { + APIError *APIError + GetUserTrustFactorResponse *GetUserTrustFactorResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetTrustFactorResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserTrustFactorResponse + err = json.Unmarshal(data, &dst.GetUserTrustFactorResponse); + if err == nil { + jsonGetUserTrustFactorResponse, _ := json.Marshal(dst.GetUserTrustFactorResponse) + if string(jsonGetUserTrustFactorResponse) == "{}" { // empty struct + dst.GetUserTrustFactorResponse = nil + } else { + return nil // data stored in dst.GetUserTrustFactorResponse, return on the first match + } + } else { + dst.GetUserTrustFactorResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetTrustFactorResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetTrustFactorResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserTrustFactorResponse != nil { + return json.Marshal(&src.GetUserTrustFactorResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetTrustFactorResponse struct { + value *GetTrustFactorResponse + isSet bool +} + +func (v NullableGetTrustFactorResponse) Get() *GetTrustFactorResponse { + return v.value +} + +func (v *NullableGetTrustFactorResponse) Set(val *GetTrustFactorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetTrustFactorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetTrustFactorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetTrustFactorResponse(val *GetTrustFactorResponse) *NullableGetTrustFactorResponse { + return &NullableGetTrustFactorResponse{value: val, isSet: true} +} + +func (v NullableGetTrustFactorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetTrustFactorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_badge_progress_by_id_response.go b/client/model_get_user_badge_progress_by_id_response.go new file mode 100644 index 0000000..32000ba --- /dev/null +++ b/client/model_get_user_badge_progress_by_id_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBadgeProgressByIdResponse struct for GetUserBadgeProgressByIdResponse +type GetUserBadgeProgressByIdResponse struct { + APIError *APIError + APIGetUserBadgeProgressResponse *APIGetUserBadgeProgressResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBadgeProgressByIdResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetUserBadgeProgressResponse + err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressResponse); + if err == nil { + jsonAPIGetUserBadgeProgressResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressResponse) + if string(jsonAPIGetUserBadgeProgressResponse) == "{}" { // empty struct + dst.APIGetUserBadgeProgressResponse = nil + } else { + return nil // data stored in dst.APIGetUserBadgeProgressResponse, return on the first match + } + } else { + dst.APIGetUserBadgeProgressResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressByIdResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBadgeProgressByIdResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetUserBadgeProgressResponse != nil { + return json.Marshal(&src.APIGetUserBadgeProgressResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBadgeProgressByIdResponse struct { + value *GetUserBadgeProgressByIdResponse + isSet bool +} + +func (v NullableGetUserBadgeProgressByIdResponse) Get() *GetUserBadgeProgressByIdResponse { + return v.value +} + +func (v *NullableGetUserBadgeProgressByIdResponse) Set(val *GetUserBadgeProgressByIdResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBadgeProgressByIdResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBadgeProgressByIdResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBadgeProgressByIdResponse(val *GetUserBadgeProgressByIdResponse) *NullableGetUserBadgeProgressByIdResponse { + return &NullableGetUserBadgeProgressByIdResponse{value: val, isSet: true} +} + +func (v NullableGetUserBadgeProgressByIdResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBadgeProgressByIdResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_badge_progress_by_user_id_response.go b/client/model_get_user_badge_progress_by_user_id_response.go new file mode 100644 index 0000000..d38a8ad --- /dev/null +++ b/client/model_get_user_badge_progress_by_user_id_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBadgeProgressByUserIdResponse struct for GetUserBadgeProgressByUserIdResponse +type GetUserBadgeProgressByUserIdResponse struct { + APIError *APIError + APIGetUserBadgeProgressResponse *APIGetUserBadgeProgressResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBadgeProgressByUserIdResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetUserBadgeProgressResponse + err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressResponse); + if err == nil { + jsonAPIGetUserBadgeProgressResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressResponse) + if string(jsonAPIGetUserBadgeProgressResponse) == "{}" { // empty struct + dst.APIGetUserBadgeProgressResponse = nil + } else { + return nil // data stored in dst.APIGetUserBadgeProgressResponse, return on the first match + } + } else { + dst.APIGetUserBadgeProgressResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressByUserIdResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBadgeProgressByUserIdResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetUserBadgeProgressResponse != nil { + return json.Marshal(&src.APIGetUserBadgeProgressResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBadgeProgressByUserIdResponse struct { + value *GetUserBadgeProgressByUserIdResponse + isSet bool +} + +func (v NullableGetUserBadgeProgressByUserIdResponse) Get() *GetUserBadgeProgressByUserIdResponse { + return v.value +} + +func (v *NullableGetUserBadgeProgressByUserIdResponse) Set(val *GetUserBadgeProgressByUserIdResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBadgeProgressByUserIdResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBadgeProgressByUserIdResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBadgeProgressByUserIdResponse(val *GetUserBadgeProgressByUserIdResponse) *NullableGetUserBadgeProgressByUserIdResponse { + return &NullableGetUserBadgeProgressByUserIdResponse{value: val, isSet: true} +} + +func (v NullableGetUserBadgeProgressByUserIdResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBadgeProgressByUserIdResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_badge_progress_list_response.go b/client/model_get_user_badge_progress_list_response.go new file mode 100644 index 0000000..fcf0b32 --- /dev/null +++ b/client/model_get_user_badge_progress_list_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBadgeProgressListResponse struct for GetUserBadgeProgressListResponse +type GetUserBadgeProgressListResponse struct { + APIError *APIError + APIGetUserBadgeProgressListResponse *APIGetUserBadgeProgressListResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBadgeProgressListResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetUserBadgeProgressListResponse + err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressListResponse); + if err == nil { + jsonAPIGetUserBadgeProgressListResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressListResponse) + if string(jsonAPIGetUserBadgeProgressListResponse) == "{}" { // empty struct + dst.APIGetUserBadgeProgressListResponse = nil + } else { + return nil // data stored in dst.APIGetUserBadgeProgressListResponse, return on the first match + } + } else { + dst.APIGetUserBadgeProgressListResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressListResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBadgeProgressListResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetUserBadgeProgressListResponse != nil { + return json.Marshal(&src.APIGetUserBadgeProgressListResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBadgeProgressListResponse struct { + value *GetUserBadgeProgressListResponse + isSet bool +} + +func (v NullableGetUserBadgeProgressListResponse) Get() *GetUserBadgeProgressListResponse { + return v.value +} + +func (v *NullableGetUserBadgeProgressListResponse) Set(val *GetUserBadgeProgressListResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBadgeProgressListResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBadgeProgressListResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBadgeProgressListResponse(val *GetUserBadgeProgressListResponse) *NullableGetUserBadgeProgressListResponse { + return &NullableGetUserBadgeProgressListResponse{value: val, isSet: true} +} + +func (v NullableGetUserBadgeProgressListResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBadgeProgressListResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_badge_response.go b/client/model_get_user_badge_response.go new file mode 100644 index 0000000..d9169b1 --- /dev/null +++ b/client/model_get_user_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBadgeResponse struct for GetUserBadgeResponse +type GetUserBadgeResponse struct { + APIError *APIError + APIGetUserBadgeResponse *APIGetUserBadgeResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetUserBadgeResponse + err = json.Unmarshal(data, &dst.APIGetUserBadgeResponse); + if err == nil { + jsonAPIGetUserBadgeResponse, _ := json.Marshal(dst.APIGetUserBadgeResponse) + if string(jsonAPIGetUserBadgeResponse) == "{}" { // empty struct + dst.APIGetUserBadgeResponse = nil + } else { + return nil // data stored in dst.APIGetUserBadgeResponse, return on the first match + } + } else { + dst.APIGetUserBadgeResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetUserBadgeResponse != nil { + return json.Marshal(&src.APIGetUserBadgeResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBadgeResponse struct { + value *GetUserBadgeResponse + isSet bool +} + +func (v NullableGetUserBadgeResponse) Get() *GetUserBadgeResponse { + return v.value +} + +func (v *NullableGetUserBadgeResponse) Set(val *GetUserBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBadgeResponse(val *GetUserBadgeResponse) *NullableGetUserBadgeResponse { + return &NullableGetUserBadgeResponse{value: val, isSet: true} +} + +func (v NullableGetUserBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_badges_response.go b/client/model_get_user_badges_response.go new file mode 100644 index 0000000..2d8c6a1 --- /dev/null +++ b/client/model_get_user_badges_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBadgesResponse struct for GetUserBadgesResponse +type GetUserBadgesResponse struct { + APIError *APIError + APIGetUserBadgesResponse *APIGetUserBadgesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBadgesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIGetUserBadgesResponse + err = json.Unmarshal(data, &dst.APIGetUserBadgesResponse); + if err == nil { + jsonAPIGetUserBadgesResponse, _ := json.Marshal(dst.APIGetUserBadgesResponse) + if string(jsonAPIGetUserBadgesResponse) == "{}" { // empty struct + dst.APIGetUserBadgesResponse = nil + } else { + return nil // data stored in dst.APIGetUserBadgesResponse, return on the first match + } + } else { + dst.APIGetUserBadgesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBadgesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIGetUserBadgesResponse != nil { + return json.Marshal(&src.APIGetUserBadgesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBadgesResponse struct { + value *GetUserBadgesResponse + isSet bool +} + +func (v NullableGetUserBadgesResponse) Get() *GetUserBadgesResponse { + return v.value +} + +func (v *NullableGetUserBadgesResponse) Set(val *GetUserBadgesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBadgesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBadgesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBadgesResponse(val *GetUserBadgesResponse) *NullableGetUserBadgesResponse { + return &NullableGetUserBadgesResponse{value: val, isSet: true} +} + +func (v NullableGetUserBadgesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBadgesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_ban_preference_response.go b/client/model_get_user_ban_preference_response.go new file mode 100644 index 0000000..e4b651a --- /dev/null +++ b/client/model_get_user_ban_preference_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserBanPreferenceResponse struct for GetUserBanPreferenceResponse +type GetUserBanPreferenceResponse struct { + APIError *APIError + APIModerateGetUserBanPreferencesResponse *APIModerateGetUserBanPreferencesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserBanPreferenceResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APIModerateGetUserBanPreferencesResponse + err = json.Unmarshal(data, &dst.APIModerateGetUserBanPreferencesResponse); + if err == nil { + jsonAPIModerateGetUserBanPreferencesResponse, _ := json.Marshal(dst.APIModerateGetUserBanPreferencesResponse) + if string(jsonAPIModerateGetUserBanPreferencesResponse) == "{}" { // empty struct + dst.APIModerateGetUserBanPreferencesResponse = nil + } else { + return nil // data stored in dst.APIModerateGetUserBanPreferencesResponse, return on the first match + } + } else { + dst.APIModerateGetUserBanPreferencesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserBanPreferenceResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserBanPreferenceResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APIModerateGetUserBanPreferencesResponse != nil { + return json.Marshal(&src.APIModerateGetUserBanPreferencesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserBanPreferenceResponse struct { + value *GetUserBanPreferenceResponse + isSet bool +} + +func (v NullableGetUserBanPreferenceResponse) Get() *GetUserBanPreferenceResponse { + return v.value +} + +func (v *NullableGetUserBanPreferenceResponse) Set(val *GetUserBanPreferenceResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserBanPreferenceResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserBanPreferenceResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserBanPreferenceResponse(val *GetUserBanPreferenceResponse) *NullableGetUserBanPreferenceResponse { + return &NullableGetUserBanPreferenceResponse{value: val, isSet: true} +} + +func (v NullableGetUserBanPreferenceResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserBanPreferenceResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_internal_profile_response_1.go b/client/model_get_user_internal_profile_response_1.go new file mode 100644 index 0000000..e31226b --- /dev/null +++ b/client/model_get_user_internal_profile_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserInternalProfileResponse1 struct for GetUserInternalProfileResponse1 +type GetUserInternalProfileResponse1 struct { + APIError *APIError + GetUserInternalProfileResponse *GetUserInternalProfileResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserInternalProfileResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserInternalProfileResponse + err = json.Unmarshal(data, &dst.GetUserInternalProfileResponse); + if err == nil { + jsonGetUserInternalProfileResponse, _ := json.Marshal(dst.GetUserInternalProfileResponse) + if string(jsonGetUserInternalProfileResponse) == "{}" { // empty struct + dst.GetUserInternalProfileResponse = nil + } else { + return nil // data stored in dst.GetUserInternalProfileResponse, return on the first match + } + } else { + dst.GetUserInternalProfileResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserInternalProfileResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserInternalProfileResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserInternalProfileResponse != nil { + return json.Marshal(&src.GetUserInternalProfileResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserInternalProfileResponse1 struct { + value *GetUserInternalProfileResponse1 + isSet bool +} + +func (v NullableGetUserInternalProfileResponse1) Get() *GetUserInternalProfileResponse1 { + return v.value +} + +func (v *NullableGetUserInternalProfileResponse1) Set(val *GetUserInternalProfileResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserInternalProfileResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserInternalProfileResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserInternalProfileResponse1(val *GetUserInternalProfileResponse1) *NullableGetUserInternalProfileResponse1 { + return &NullableGetUserInternalProfileResponse1{value: val, isSet: true} +} + +func (v NullableGetUserInternalProfileResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserInternalProfileResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_notification_count_response_1.go b/client/model_get_user_notification_count_response_1.go new file mode 100644 index 0000000..f7e8c66 --- /dev/null +++ b/client/model_get_user_notification_count_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserNotificationCountResponse1 struct for GetUserNotificationCountResponse1 +type GetUserNotificationCountResponse1 struct { + APIError *APIError + GetUserNotificationCountResponse *GetUserNotificationCountResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserNotificationCountResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserNotificationCountResponse + err = json.Unmarshal(data, &dst.GetUserNotificationCountResponse); + if err == nil { + jsonGetUserNotificationCountResponse, _ := json.Marshal(dst.GetUserNotificationCountResponse) + if string(jsonGetUserNotificationCountResponse) == "{}" { // empty struct + dst.GetUserNotificationCountResponse = nil + } else { + return nil // data stored in dst.GetUserNotificationCountResponse, return on the first match + } + } else { + dst.GetUserNotificationCountResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserNotificationCountResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserNotificationCountResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserNotificationCountResponse != nil { + return json.Marshal(&src.GetUserNotificationCountResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserNotificationCountResponse1 struct { + value *GetUserNotificationCountResponse1 + isSet bool +} + +func (v NullableGetUserNotificationCountResponse1) Get() *GetUserNotificationCountResponse1 { + return v.value +} + +func (v *NullableGetUserNotificationCountResponse1) Set(val *GetUserNotificationCountResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserNotificationCountResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserNotificationCountResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserNotificationCountResponse1(val *GetUserNotificationCountResponse1) *NullableGetUserNotificationCountResponse1 { + return &NullableGetUserNotificationCountResponse1{value: val, isSet: true} +} + +func (v NullableGetUserNotificationCountResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserNotificationCountResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_notifications_response.go b/client/model_get_user_notifications_response.go new file mode 100644 index 0000000..8bcee8f --- /dev/null +++ b/client/model_get_user_notifications_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserNotificationsResponse struct for GetUserNotificationsResponse +type GetUserNotificationsResponse struct { + APIError *APIError + GetMyNotificationsResponse *GetMyNotificationsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserNotificationsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetMyNotificationsResponse + err = json.Unmarshal(data, &dst.GetMyNotificationsResponse); + if err == nil { + jsonGetMyNotificationsResponse, _ := json.Marshal(dst.GetMyNotificationsResponse) + if string(jsonGetMyNotificationsResponse) == "{}" { // empty struct + dst.GetMyNotificationsResponse = nil + } else { + return nil // data stored in dst.GetMyNotificationsResponse, return on the first match + } + } else { + dst.GetMyNotificationsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserNotificationsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserNotificationsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetMyNotificationsResponse != nil { + return json.Marshal(&src.GetMyNotificationsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserNotificationsResponse struct { + value *GetUserNotificationsResponse + isSet bool +} + +func (v NullableGetUserNotificationsResponse) Get() *GetUserNotificationsResponse { + return v.value +} + +func (v *NullableGetUserNotificationsResponse) Set(val *GetUserNotificationsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserNotificationsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserNotificationsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserNotificationsResponse(val *GetUserNotificationsResponse) *NullableGetUserNotificationsResponse { + return &NullableGetUserNotificationsResponse{value: val, isSet: true} +} + +func (v NullableGetUserNotificationsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserNotificationsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_presence_statuses_response_1.go b/client/model_get_user_presence_statuses_response_1.go new file mode 100644 index 0000000..e57da65 --- /dev/null +++ b/client/model_get_user_presence_statuses_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserPresenceStatusesResponse1 struct for GetUserPresenceStatusesResponse1 +type GetUserPresenceStatusesResponse1 struct { + APIError *APIError + GetUserPresenceStatusesResponse *GetUserPresenceStatusesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserPresenceStatusesResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserPresenceStatusesResponse + err = json.Unmarshal(data, &dst.GetUserPresenceStatusesResponse); + if err == nil { + jsonGetUserPresenceStatusesResponse, _ := json.Marshal(dst.GetUserPresenceStatusesResponse) + if string(jsonGetUserPresenceStatusesResponse) == "{}" { // empty struct + dst.GetUserPresenceStatusesResponse = nil + } else { + return nil // data stored in dst.GetUserPresenceStatusesResponse, return on the first match + } + } else { + dst.GetUserPresenceStatusesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserPresenceStatusesResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserPresenceStatusesResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserPresenceStatusesResponse != nil { + return json.Marshal(&src.GetUserPresenceStatusesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserPresenceStatusesResponse1 struct { + value *GetUserPresenceStatusesResponse1 + isSet bool +} + +func (v NullableGetUserPresenceStatusesResponse1) Get() *GetUserPresenceStatusesResponse1 { + return v.value +} + +func (v *NullableGetUserPresenceStatusesResponse1) Set(val *GetUserPresenceStatusesResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserPresenceStatusesResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserPresenceStatusesResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserPresenceStatusesResponse1(val *GetUserPresenceStatusesResponse1) *NullableGetUserPresenceStatusesResponse1 { + return &NullableGetUserPresenceStatusesResponse1{value: val, isSet: true} +} + +func (v NullableGetUserPresenceStatusesResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserPresenceStatusesResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_reacts_public_response.go b/client/model_get_user_reacts_public_response.go new file mode 100644 index 0000000..277a281 --- /dev/null +++ b/client/model_get_user_reacts_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserReactsPublicResponse struct for GetUserReactsPublicResponse +type GetUserReactsPublicResponse struct { + APIError *APIError + UserReactsResponse *UserReactsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserReactsPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into UserReactsResponse + err = json.Unmarshal(data, &dst.UserReactsResponse); + if err == nil { + jsonUserReactsResponse, _ := json.Marshal(dst.UserReactsResponse) + if string(jsonUserReactsResponse) == "{}" { // empty struct + dst.UserReactsResponse = nil + } else { + return nil // data stored in dst.UserReactsResponse, return on the first match + } + } else { + dst.UserReactsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserReactsPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserReactsPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.UserReactsResponse != nil { + return json.Marshal(&src.UserReactsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserReactsPublicResponse struct { + value *GetUserReactsPublicResponse + isSet bool +} + +func (v NullableGetUserReactsPublicResponse) Get() *GetUserReactsPublicResponse { + return v.value +} + +func (v *NullableGetUserReactsPublicResponse) Set(val *GetUserReactsPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserReactsPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserReactsPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserReactsPublicResponse(val *GetUserReactsPublicResponse) *NullableGetUserReactsPublicResponse { + return &NullableGetUserReactsPublicResponse{value: val, isSet: true} +} + +func (v NullableGetUserReactsPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserReactsPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_user_response_1.go b/client/model_get_user_response_1.go new file mode 100644 index 0000000..48d9fde --- /dev/null +++ b/client/model_get_user_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUserResponse1 struct for GetUserResponse1 +type GetUserResponse1 struct { + APIError *APIError + GetUserResponse *GetUserResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUserResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetUserResponse + err = json.Unmarshal(data, &dst.GetUserResponse); + if err == nil { + jsonGetUserResponse, _ := json.Marshal(dst.GetUserResponse) + if string(jsonGetUserResponse) == "{}" { // empty struct + dst.GetUserResponse = nil + } else { + return nil // data stored in dst.GetUserResponse, return on the first match + } + } else { + dst.GetUserResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUserResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUserResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetUserResponse != nil { + return json.Marshal(&src.GetUserResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUserResponse1 struct { + value *GetUserResponse1 + isSet bool +} + +func (v NullableGetUserResponse1) Get() *GetUserResponse1 { + return v.value +} + +func (v *NullableGetUserResponse1) Set(val *GetUserResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetUserResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUserResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUserResponse1(val *GetUserResponse1) *NullableGetUserResponse1 { + return &NullableGetUserResponse1{value: val, isSet: true} +} + +func (v NullableGetUserResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUserResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_users_info_response.go b/client/model_get_users_info_response.go new file mode 100644 index 0000000..868267a --- /dev/null +++ b/client/model_get_users_info_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetUsersInfoResponse struct for GetUsersInfoResponse +type GetUsersInfoResponse struct { + APIError *APIError + PageUsersInfoResponse *PageUsersInfoResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetUsersInfoResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PageUsersInfoResponse + err = json.Unmarshal(data, &dst.PageUsersInfoResponse); + if err == nil { + jsonPageUsersInfoResponse, _ := json.Marshal(dst.PageUsersInfoResponse) + if string(jsonPageUsersInfoResponse) == "{}" { // empty struct + dst.PageUsersInfoResponse = nil + } else { + return nil // data stored in dst.PageUsersInfoResponse, return on the first match + } + } else { + dst.PageUsersInfoResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetUsersInfoResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetUsersInfoResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PageUsersInfoResponse != nil { + return json.Marshal(&src.PageUsersInfoResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetUsersInfoResponse struct { + value *GetUsersInfoResponse + isSet bool +} + +func (v NullableGetUsersInfoResponse) Get() *GetUsersInfoResponse { + return v.value +} + +func (v *NullableGetUsersInfoResponse) Set(val *GetUsersInfoResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetUsersInfoResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetUsersInfoResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetUsersInfoResponse(val *GetUsersInfoResponse) *NullableGetUsersInfoResponse { + return &NullableGetUsersInfoResponse{value: val, isSet: true} +} + +func (v NullableGetUsersInfoResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetUsersInfoResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_v1_page_likes_response.go b/client/model_get_v1_page_likes_response.go new file mode 100644 index 0000000..f469524 --- /dev/null +++ b/client/model_get_v1_page_likes_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetV1PageLikesResponse struct for GetV1PageLikesResponse +type GetV1PageLikesResponse struct { + APIError *APIError + GetV1PageLikes *GetV1PageLikes +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetV1PageLikesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetV1PageLikes + err = json.Unmarshal(data, &dst.GetV1PageLikes); + if err == nil { + jsonGetV1PageLikes, _ := json.Marshal(dst.GetV1PageLikes) + if string(jsonGetV1PageLikes) == "{}" { // empty struct + dst.GetV1PageLikes = nil + } else { + return nil // data stored in dst.GetV1PageLikes, return on the first match + } + } else { + dst.GetV1PageLikes = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetV1PageLikesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetV1PageLikesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetV1PageLikes != nil { + return json.Marshal(&src.GetV1PageLikes) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetV1PageLikesResponse struct { + value *GetV1PageLikesResponse + isSet bool +} + +func (v NullableGetV1PageLikesResponse) Get() *GetV1PageLikesResponse { + return v.value +} + +func (v *NullableGetV1PageLikesResponse) Set(val *GetV1PageLikesResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetV1PageLikesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetV1PageLikesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetV1PageLikesResponse(val *GetV1PageLikesResponse) *NullableGetV1PageLikesResponse { + return &NullableGetV1PageLikesResponse{value: val, isSet: true} +} + +func (v NullableGetV1PageLikesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetV1PageLikesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_v2_page_react_users_response_1.go b/client/model_get_v2_page_react_users_response_1.go new file mode 100644 index 0000000..c16d6e6 --- /dev/null +++ b/client/model_get_v2_page_react_users_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetV2PageReactUsersResponse1 struct for GetV2PageReactUsersResponse1 +type GetV2PageReactUsersResponse1 struct { + APIError *APIError + GetV2PageReactUsersResponse *GetV2PageReactUsersResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetV2PageReactUsersResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetV2PageReactUsersResponse + err = json.Unmarshal(data, &dst.GetV2PageReactUsersResponse); + if err == nil { + jsonGetV2PageReactUsersResponse, _ := json.Marshal(dst.GetV2PageReactUsersResponse) + if string(jsonGetV2PageReactUsersResponse) == "{}" { // empty struct + dst.GetV2PageReactUsersResponse = nil + } else { + return nil // data stored in dst.GetV2PageReactUsersResponse, return on the first match + } + } else { + dst.GetV2PageReactUsersResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetV2PageReactUsersResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetV2PageReactUsersResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetV2PageReactUsersResponse != nil { + return json.Marshal(&src.GetV2PageReactUsersResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetV2PageReactUsersResponse1 struct { + value *GetV2PageReactUsersResponse1 + isSet bool +} + +func (v NullableGetV2PageReactUsersResponse1) Get() *GetV2PageReactUsersResponse1 { + return v.value +} + +func (v *NullableGetV2PageReactUsersResponse1) Set(val *GetV2PageReactUsersResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetV2PageReactUsersResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetV2PageReactUsersResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetV2PageReactUsersResponse1(val *GetV2PageReactUsersResponse1) *NullableGetV2PageReactUsersResponse1 { + return &NullableGetV2PageReactUsersResponse1{value: val, isSet: true} +} + +func (v NullableGetV2PageReactUsersResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetV2PageReactUsersResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_v2_page_reacts_response.go b/client/model_get_v2_page_reacts_response.go new file mode 100644 index 0000000..ce27dcd --- /dev/null +++ b/client/model_get_v2_page_reacts_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetV2PageReactsResponse struct for GetV2PageReactsResponse +type GetV2PageReactsResponse struct { + APIError *APIError + GetV2PageReacts *GetV2PageReacts +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetV2PageReactsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetV2PageReacts + err = json.Unmarshal(data, &dst.GetV2PageReacts); + if err == nil { + jsonGetV2PageReacts, _ := json.Marshal(dst.GetV2PageReacts) + if string(jsonGetV2PageReacts) == "{}" { // empty struct + dst.GetV2PageReacts = nil + } else { + return nil // data stored in dst.GetV2PageReacts, return on the first match + } + } else { + dst.GetV2PageReacts = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetV2PageReactsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetV2PageReactsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetV2PageReacts != nil { + return json.Marshal(&src.GetV2PageReacts) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetV2PageReactsResponse struct { + value *GetV2PageReactsResponse + isSet bool +} + +func (v NullableGetV2PageReactsResponse) Get() *GetV2PageReactsResponse { + return v.value +} + +func (v *NullableGetV2PageReactsResponse) Set(val *GetV2PageReactsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGetV2PageReactsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGetV2PageReactsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetV2PageReactsResponse(val *GetV2PageReactsResponse) *NullableGetV2PageReactsResponse { + return &NullableGetV2PageReactsResponse{value: val, isSet: true} +} + +func (v NullableGetV2PageReactsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetV2PageReactsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_votes_for_user_response_1.go b/client/model_get_votes_for_user_response_1.go new file mode 100644 index 0000000..0e307dd --- /dev/null +++ b/client/model_get_votes_for_user_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetVotesForUserResponse1 struct for GetVotesForUserResponse1 +type GetVotesForUserResponse1 struct { + APIError *APIError + GetVotesForUserResponse *GetVotesForUserResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetVotesForUserResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetVotesForUserResponse + err = json.Unmarshal(data, &dst.GetVotesForUserResponse); + if err == nil { + jsonGetVotesForUserResponse, _ := json.Marshal(dst.GetVotesForUserResponse) + if string(jsonGetVotesForUserResponse) == "{}" { // empty struct + dst.GetVotesForUserResponse = nil + } else { + return nil // data stored in dst.GetVotesForUserResponse, return on the first match + } + } else { + dst.GetVotesForUserResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetVotesForUserResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetVotesForUserResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetVotesForUserResponse != nil { + return json.Marshal(&src.GetVotesForUserResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetVotesForUserResponse1 struct { + value *GetVotesForUserResponse1 + isSet bool +} + +func (v NullableGetVotesForUserResponse1) Get() *GetVotesForUserResponse1 { + return v.value +} + +func (v *NullableGetVotesForUserResponse1) Set(val *GetVotesForUserResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetVotesForUserResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetVotesForUserResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetVotesForUserResponse1(val *GetVotesForUserResponse1) *NullableGetVotesForUserResponse1 { + return &NullableGetVotesForUserResponse1{value: val, isSet: true} +} + +func (v NullableGetVotesForUserResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetVotesForUserResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_get_votes_response_1.go b/client/model_get_votes_response_1.go new file mode 100644 index 0000000..b9d9a1f --- /dev/null +++ b/client/model_get_votes_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// GetVotesResponse1 struct for GetVotesResponse1 +type GetVotesResponse1 struct { + APIError *APIError + GetVotesResponse *GetVotesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *GetVotesResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into GetVotesResponse + err = json.Unmarshal(data, &dst.GetVotesResponse); + if err == nil { + jsonGetVotesResponse, _ := json.Marshal(dst.GetVotesResponse) + if string(jsonGetVotesResponse) == "{}" { // empty struct + dst.GetVotesResponse = nil + } else { + return nil // data stored in dst.GetVotesResponse, return on the first match + } + } else { + dst.GetVotesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(GetVotesResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src GetVotesResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.GetVotesResponse != nil { + return json.Marshal(&src.GetVotesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableGetVotesResponse1 struct { + value *GetVotesResponse1 + isSet bool +} + +func (v NullableGetVotesResponse1) Get() *GetVotesResponse1 { + return v.value +} + +func (v *NullableGetVotesResponse1) Set(val *GetVotesResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableGetVotesResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableGetVotesResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetVotesResponse1(val *GetVotesResponse1) *NullableGetVotesResponse1 { + return &NullableGetVotesResponse1{value: val, isSet: true} +} + +func (v NullableGetVotesResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetVotesResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_lock_comment_response.go b/client/model_lock_comment_response.go new file mode 100644 index 0000000..83057b7 --- /dev/null +++ b/client/model_lock_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// LockCommentResponse struct for LockCommentResponse +type LockCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *LockCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(LockCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src LockCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableLockCommentResponse struct { + value *LockCommentResponse + isSet bool +} + +func (v NullableLockCommentResponse) Get() *LockCommentResponse { + return v.value +} + +func (v *NullableLockCommentResponse) Set(val *LockCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableLockCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableLockCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLockCommentResponse(val *LockCommentResponse) *NullableLockCommentResponse { + return &NullableLockCommentResponse{value: val, isSet: true} +} + +func (v NullableLockCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLockCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_patch_hash_tag_response.go b/client/model_patch_hash_tag_response.go new file mode 100644 index 0000000..0c98a1e --- /dev/null +++ b/client/model_patch_hash_tag_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PatchHashTagResponse struct for PatchHashTagResponse +type PatchHashTagResponse struct { + APIError *APIError + UpdateHashTagResponse *UpdateHashTagResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PatchHashTagResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into UpdateHashTagResponse + err = json.Unmarshal(data, &dst.UpdateHashTagResponse); + if err == nil { + jsonUpdateHashTagResponse, _ := json.Marshal(dst.UpdateHashTagResponse) + if string(jsonUpdateHashTagResponse) == "{}" { // empty struct + dst.UpdateHashTagResponse = nil + } else { + return nil // data stored in dst.UpdateHashTagResponse, return on the first match + } + } else { + dst.UpdateHashTagResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PatchHashTagResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PatchHashTagResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.UpdateHashTagResponse != nil { + return json.Marshal(&src.UpdateHashTagResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePatchHashTagResponse struct { + value *PatchHashTagResponse + isSet bool +} + +func (v NullablePatchHashTagResponse) Get() *PatchHashTagResponse { + return v.value +} + +func (v *NullablePatchHashTagResponse) Set(val *PatchHashTagResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePatchHashTagResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePatchHashTagResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePatchHashTagResponse(val *PatchHashTagResponse) *NullablePatchHashTagResponse { + return &NullablePatchHashTagResponse{value: val, isSet: true} +} + +func (v NullablePatchHashTagResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePatchHashTagResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_pin_comment_response.go b/client/model_pin_comment_response.go new file mode 100644 index 0000000..529e905 --- /dev/null +++ b/client/model_pin_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PinCommentResponse struct for PinCommentResponse +type PinCommentResponse struct { + APIError *APIError + ChangeCommentPinStatusResponse *ChangeCommentPinStatusResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PinCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ChangeCommentPinStatusResponse + err = json.Unmarshal(data, &dst.ChangeCommentPinStatusResponse); + if err == nil { + jsonChangeCommentPinStatusResponse, _ := json.Marshal(dst.ChangeCommentPinStatusResponse) + if string(jsonChangeCommentPinStatusResponse) == "{}" { // empty struct + dst.ChangeCommentPinStatusResponse = nil + } else { + return nil // data stored in dst.ChangeCommentPinStatusResponse, return on the first match + } + } else { + dst.ChangeCommentPinStatusResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PinCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PinCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ChangeCommentPinStatusResponse != nil { + return json.Marshal(&src.ChangeCommentPinStatusResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePinCommentResponse struct { + value *PinCommentResponse + isSet bool +} + +func (v NullablePinCommentResponse) Get() *PinCommentResponse { + return v.value +} + +func (v *NullablePinCommentResponse) Set(val *PinCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePinCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePinCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePinCommentResponse(val *PinCommentResponse) *NullablePinCommentResponse { + return &NullablePinCommentResponse{value: val, isSet: true} +} + +func (v NullablePinCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePinCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_adjust_comment_votes_response.go b/client/model_post_adjust_comment_votes_response.go new file mode 100644 index 0000000..ade1a1a --- /dev/null +++ b/client/model_post_adjust_comment_votes_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostAdjustCommentVotesResponse struct for PostAdjustCommentVotesResponse +type PostAdjustCommentVotesResponse struct { + APIError *APIError + AdjustVotesResponse *AdjustVotesResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostAdjustCommentVotesResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into AdjustVotesResponse + err = json.Unmarshal(data, &dst.AdjustVotesResponse); + if err == nil { + jsonAdjustVotesResponse, _ := json.Marshal(dst.AdjustVotesResponse) + if string(jsonAdjustVotesResponse) == "{}" { // empty struct + dst.AdjustVotesResponse = nil + } else { + return nil // data stored in dst.AdjustVotesResponse, return on the first match + } + } else { + dst.AdjustVotesResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostAdjustCommentVotesResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostAdjustCommentVotesResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.AdjustVotesResponse != nil { + return json.Marshal(&src.AdjustVotesResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostAdjustCommentVotesResponse struct { + value *PostAdjustCommentVotesResponse + isSet bool +} + +func (v NullablePostAdjustCommentVotesResponse) Get() *PostAdjustCommentVotesResponse { + return v.value +} + +func (v *NullablePostAdjustCommentVotesResponse) Set(val *PostAdjustCommentVotesResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostAdjustCommentVotesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostAdjustCommentVotesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostAdjustCommentVotesResponse(val *PostAdjustCommentVotesResponse) *NullablePostAdjustCommentVotesResponse { + return &NullablePostAdjustCommentVotesResponse{value: val, isSet: true} +} + +func (v NullablePostAdjustCommentVotesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostAdjustCommentVotesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_api_export_response.go b/client/model_post_api_export_response.go new file mode 100644 index 0000000..728fb20 --- /dev/null +++ b/client/model_post_api_export_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostApiExportResponse struct for PostApiExportResponse +type PostApiExportResponse struct { + APIError *APIError + ModerationExportResponse *ModerationExportResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostApiExportResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationExportResponse + err = json.Unmarshal(data, &dst.ModerationExportResponse); + if err == nil { + jsonModerationExportResponse, _ := json.Marshal(dst.ModerationExportResponse) + if string(jsonModerationExportResponse) == "{}" { // empty struct + dst.ModerationExportResponse = nil + } else { + return nil // data stored in dst.ModerationExportResponse, return on the first match + } + } else { + dst.ModerationExportResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostApiExportResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostApiExportResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationExportResponse != nil { + return json.Marshal(&src.ModerationExportResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostApiExportResponse struct { + value *PostApiExportResponse + isSet bool +} + +func (v NullablePostApiExportResponse) Get() *PostApiExportResponse { + return v.value +} + +func (v *NullablePostApiExportResponse) Set(val *PostApiExportResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostApiExportResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostApiExportResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostApiExportResponse(val *PostApiExportResponse) *NullablePostApiExportResponse { + return &NullablePostApiExportResponse{value: val, isSet: true} +} + +func (v NullablePostApiExportResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostApiExportResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_ban_user_from_comment_response.go b/client/model_post_ban_user_from_comment_response.go new file mode 100644 index 0000000..4d73233 --- /dev/null +++ b/client/model_post_ban_user_from_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostBanUserFromCommentResponse struct for PostBanUserFromCommentResponse +type PostBanUserFromCommentResponse struct { + APIError *APIError + BanUserFromCommentResult *BanUserFromCommentResult +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostBanUserFromCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BanUserFromCommentResult + err = json.Unmarshal(data, &dst.BanUserFromCommentResult); + if err == nil { + jsonBanUserFromCommentResult, _ := json.Marshal(dst.BanUserFromCommentResult) + if string(jsonBanUserFromCommentResult) == "{}" { // empty struct + dst.BanUserFromCommentResult = nil + } else { + return nil // data stored in dst.BanUserFromCommentResult, return on the first match + } + } else { + dst.BanUserFromCommentResult = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostBanUserFromCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostBanUserFromCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BanUserFromCommentResult != nil { + return json.Marshal(&src.BanUserFromCommentResult) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostBanUserFromCommentResponse struct { + value *PostBanUserFromCommentResponse + isSet bool +} + +func (v NullablePostBanUserFromCommentResponse) Get() *PostBanUserFromCommentResponse { + return v.value +} + +func (v *NullablePostBanUserFromCommentResponse) Set(val *PostBanUserFromCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostBanUserFromCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostBanUserFromCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostBanUserFromCommentResponse(val *PostBanUserFromCommentResponse) *NullablePostBanUserFromCommentResponse { + return &NullablePostBanUserFromCommentResponse{value: val, isSet: true} +} + +func (v NullablePostBanUserFromCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostBanUserFromCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_ban_user_undo_response.go b/client/model_post_ban_user_undo_response.go new file mode 100644 index 0000000..ad61ec3 --- /dev/null +++ b/client/model_post_ban_user_undo_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostBanUserUndoResponse struct for PostBanUserUndoResponse +type PostBanUserUndoResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostBanUserUndoResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostBanUserUndoResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostBanUserUndoResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostBanUserUndoResponse struct { + value *PostBanUserUndoResponse + isSet bool +} + +func (v NullablePostBanUserUndoResponse) Get() *PostBanUserUndoResponse { + return v.value +} + +func (v *NullablePostBanUserUndoResponse) Set(val *PostBanUserUndoResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostBanUserUndoResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostBanUserUndoResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostBanUserUndoResponse(val *PostBanUserUndoResponse) *NullablePostBanUserUndoResponse { + return &NullablePostBanUserUndoResponse{value: val, isSet: true} +} + +func (v NullablePostBanUserUndoResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostBanUserUndoResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_bulk_pre_ban_summary_response.go b/client/model_post_bulk_pre_ban_summary_response.go new file mode 100644 index 0000000..5f81219 --- /dev/null +++ b/client/model_post_bulk_pre_ban_summary_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostBulkPreBanSummaryResponse struct for PostBulkPreBanSummaryResponse +type PostBulkPreBanSummaryResponse struct { + APIError *APIError + BulkPreBanSummary *BulkPreBanSummary +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostBulkPreBanSummaryResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into BulkPreBanSummary + err = json.Unmarshal(data, &dst.BulkPreBanSummary); + if err == nil { + jsonBulkPreBanSummary, _ := json.Marshal(dst.BulkPreBanSummary) + if string(jsonBulkPreBanSummary) == "{}" { // empty struct + dst.BulkPreBanSummary = nil + } else { + return nil // data stored in dst.BulkPreBanSummary, return on the first match + } + } else { + dst.BulkPreBanSummary = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostBulkPreBanSummaryResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostBulkPreBanSummaryResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.BulkPreBanSummary != nil { + return json.Marshal(&src.BulkPreBanSummary) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostBulkPreBanSummaryResponse struct { + value *PostBulkPreBanSummaryResponse + isSet bool +} + +func (v NullablePostBulkPreBanSummaryResponse) Get() *PostBulkPreBanSummaryResponse { + return v.value +} + +func (v *NullablePostBulkPreBanSummaryResponse) Set(val *PostBulkPreBanSummaryResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostBulkPreBanSummaryResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostBulkPreBanSummaryResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostBulkPreBanSummaryResponse(val *PostBulkPreBanSummaryResponse) *NullablePostBulkPreBanSummaryResponse { + return &NullablePostBulkPreBanSummaryResponse{value: val, isSet: true} +} + +func (v NullablePostBulkPreBanSummaryResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostBulkPreBanSummaryResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_comments_by_ids_response.go b/client/model_post_comments_by_ids_response.go new file mode 100644 index 0000000..6571909 --- /dev/null +++ b/client/model_post_comments_by_ids_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostCommentsByIdsResponse struct for PostCommentsByIdsResponse +type PostCommentsByIdsResponse struct { + APIError *APIError + ModerationAPIChildCommentsResponse *ModerationAPIChildCommentsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostCommentsByIdsResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ModerationAPIChildCommentsResponse + err = json.Unmarshal(data, &dst.ModerationAPIChildCommentsResponse); + if err == nil { + jsonModerationAPIChildCommentsResponse, _ := json.Marshal(dst.ModerationAPIChildCommentsResponse) + if string(jsonModerationAPIChildCommentsResponse) == "{}" { // empty struct + dst.ModerationAPIChildCommentsResponse = nil + } else { + return nil // data stored in dst.ModerationAPIChildCommentsResponse, return on the first match + } + } else { + dst.ModerationAPIChildCommentsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostCommentsByIdsResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostCommentsByIdsResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ModerationAPIChildCommentsResponse != nil { + return json.Marshal(&src.ModerationAPIChildCommentsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostCommentsByIdsResponse struct { + value *PostCommentsByIdsResponse + isSet bool +} + +func (v NullablePostCommentsByIdsResponse) Get() *PostCommentsByIdsResponse { + return v.value +} + +func (v *NullablePostCommentsByIdsResponse) Set(val *PostCommentsByIdsResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostCommentsByIdsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostCommentsByIdsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostCommentsByIdsResponse(val *PostCommentsByIdsResponse) *NullablePostCommentsByIdsResponse { + return &NullablePostCommentsByIdsResponse{value: val, isSet: true} +} + +func (v NullablePostCommentsByIdsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostCommentsByIdsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_flag_comment_response.go b/client/model_post_flag_comment_response.go new file mode 100644 index 0000000..6dd49e8 --- /dev/null +++ b/client/model_post_flag_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostFlagCommentResponse struct for PostFlagCommentResponse +type PostFlagCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostFlagCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostFlagCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostFlagCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostFlagCommentResponse struct { + value *PostFlagCommentResponse + isSet bool +} + +func (v NullablePostFlagCommentResponse) Get() *PostFlagCommentResponse { + return v.value +} + +func (v *NullablePostFlagCommentResponse) Set(val *PostFlagCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostFlagCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostFlagCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostFlagCommentResponse(val *PostFlagCommentResponse) *NullablePostFlagCommentResponse { + return &NullablePostFlagCommentResponse{value: val, isSet: true} +} + +func (v NullablePostFlagCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostFlagCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_remove_comment_response.go b/client/model_post_remove_comment_response.go index fd58ac1..0732edd 100644 --- a/client/model_post_remove_comment_response.go +++ b/client/model_post_remove_comment_response.go @@ -18,6 +18,7 @@ import ( // PostRemoveCommentResponse struct for PostRemoveCommentResponse type PostRemoveCommentResponse struct { + APIError *APIError DeleteCommentResult *DeleteCommentResult RemoveCommentActionResponse *RemoveCommentActionResponse } @@ -25,6 +26,19 @@ type PostRemoveCommentResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + // try to unmarshal JSON data into DeleteCommentResult err = json.Unmarshal(data, &dst.DeleteCommentResult); if err == nil { @@ -56,6 +70,10 @@ func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { // Marshal data from the first non-nil pointers in the struct to JSON func (src PostRemoveCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + if src.DeleteCommentResult != nil { return json.Marshal(&src.DeleteCommentResult) } diff --git a/client/model_post_restore_deleted_comment_response.go b/client/model_post_restore_deleted_comment_response.go new file mode 100644 index 0000000..73fef74 --- /dev/null +++ b/client/model_post_restore_deleted_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostRestoreDeletedCommentResponse struct for PostRestoreDeletedCommentResponse +type PostRestoreDeletedCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostRestoreDeletedCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostRestoreDeletedCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostRestoreDeletedCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostRestoreDeletedCommentResponse struct { + value *PostRestoreDeletedCommentResponse + isSet bool +} + +func (v NullablePostRestoreDeletedCommentResponse) Get() *PostRestoreDeletedCommentResponse { + return v.value +} + +func (v *NullablePostRestoreDeletedCommentResponse) Set(val *PostRestoreDeletedCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostRestoreDeletedCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostRestoreDeletedCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostRestoreDeletedCommentResponse(val *PostRestoreDeletedCommentResponse) *NullablePostRestoreDeletedCommentResponse { + return &NullablePostRestoreDeletedCommentResponse{value: val, isSet: true} +} + +func (v NullablePostRestoreDeletedCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostRestoreDeletedCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_set_comment_approval_status_response.go b/client/model_post_set_comment_approval_status_response.go new file mode 100644 index 0000000..e8026c7 --- /dev/null +++ b/client/model_post_set_comment_approval_status_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostSetCommentApprovalStatusResponse struct for PostSetCommentApprovalStatusResponse +type PostSetCommentApprovalStatusResponse struct { + APIError *APIError + SetCommentApprovedResponse *SetCommentApprovedResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostSetCommentApprovalStatusResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into SetCommentApprovedResponse + err = json.Unmarshal(data, &dst.SetCommentApprovedResponse); + if err == nil { + jsonSetCommentApprovedResponse, _ := json.Marshal(dst.SetCommentApprovedResponse) + if string(jsonSetCommentApprovedResponse) == "{}" { // empty struct + dst.SetCommentApprovedResponse = nil + } else { + return nil // data stored in dst.SetCommentApprovedResponse, return on the first match + } + } else { + dst.SetCommentApprovedResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentApprovalStatusResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostSetCommentApprovalStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.SetCommentApprovedResponse != nil { + return json.Marshal(&src.SetCommentApprovedResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostSetCommentApprovalStatusResponse struct { + value *PostSetCommentApprovalStatusResponse + isSet bool +} + +func (v NullablePostSetCommentApprovalStatusResponse) Get() *PostSetCommentApprovalStatusResponse { + return v.value +} + +func (v *NullablePostSetCommentApprovalStatusResponse) Set(val *PostSetCommentApprovalStatusResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostSetCommentApprovalStatusResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostSetCommentApprovalStatusResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostSetCommentApprovalStatusResponse(val *PostSetCommentApprovalStatusResponse) *NullablePostSetCommentApprovalStatusResponse { + return &NullablePostSetCommentApprovalStatusResponse{value: val, isSet: true} +} + +func (v NullablePostSetCommentApprovalStatusResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostSetCommentApprovalStatusResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_set_comment_review_status_response.go b/client/model_post_set_comment_review_status_response.go new file mode 100644 index 0000000..4d9d3df --- /dev/null +++ b/client/model_post_set_comment_review_status_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostSetCommentReviewStatusResponse struct for PostSetCommentReviewStatusResponse +type PostSetCommentReviewStatusResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostSetCommentReviewStatusResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentReviewStatusResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostSetCommentReviewStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostSetCommentReviewStatusResponse struct { + value *PostSetCommentReviewStatusResponse + isSet bool +} + +func (v NullablePostSetCommentReviewStatusResponse) Get() *PostSetCommentReviewStatusResponse { + return v.value +} + +func (v *NullablePostSetCommentReviewStatusResponse) Set(val *PostSetCommentReviewStatusResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostSetCommentReviewStatusResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostSetCommentReviewStatusResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostSetCommentReviewStatusResponse(val *PostSetCommentReviewStatusResponse) *NullablePostSetCommentReviewStatusResponse { + return &NullablePostSetCommentReviewStatusResponse{value: val, isSet: true} +} + +func (v NullablePostSetCommentReviewStatusResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostSetCommentReviewStatusResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_set_comment_spam_status_response.go b/client/model_post_set_comment_spam_status_response.go new file mode 100644 index 0000000..8c7c667 --- /dev/null +++ b/client/model_post_set_comment_spam_status_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostSetCommentSpamStatusResponse struct for PostSetCommentSpamStatusResponse +type PostSetCommentSpamStatusResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostSetCommentSpamStatusResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentSpamStatusResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostSetCommentSpamStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostSetCommentSpamStatusResponse struct { + value *PostSetCommentSpamStatusResponse + isSet bool +} + +func (v NullablePostSetCommentSpamStatusResponse) Get() *PostSetCommentSpamStatusResponse { + return v.value +} + +func (v *NullablePostSetCommentSpamStatusResponse) Set(val *PostSetCommentSpamStatusResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostSetCommentSpamStatusResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostSetCommentSpamStatusResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostSetCommentSpamStatusResponse(val *PostSetCommentSpamStatusResponse) *NullablePostSetCommentSpamStatusResponse { + return &NullablePostSetCommentSpamStatusResponse{value: val, isSet: true} +} + +func (v NullablePostSetCommentSpamStatusResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostSetCommentSpamStatusResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_set_comment_text_response.go b/client/model_post_set_comment_text_response.go new file mode 100644 index 0000000..d56eb10 --- /dev/null +++ b/client/model_post_set_comment_text_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostSetCommentTextResponse struct for PostSetCommentTextResponse +type PostSetCommentTextResponse struct { + APIError *APIError + SetCommentTextResponse *SetCommentTextResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostSetCommentTextResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into SetCommentTextResponse + err = json.Unmarshal(data, &dst.SetCommentTextResponse); + if err == nil { + jsonSetCommentTextResponse, _ := json.Marshal(dst.SetCommentTextResponse) + if string(jsonSetCommentTextResponse) == "{}" { // empty struct + dst.SetCommentTextResponse = nil + } else { + return nil // data stored in dst.SetCommentTextResponse, return on the first match + } + } else { + dst.SetCommentTextResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentTextResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostSetCommentTextResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.SetCommentTextResponse != nil { + return json.Marshal(&src.SetCommentTextResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostSetCommentTextResponse struct { + value *PostSetCommentTextResponse + isSet bool +} + +func (v NullablePostSetCommentTextResponse) Get() *PostSetCommentTextResponse { + return v.value +} + +func (v *NullablePostSetCommentTextResponse) Set(val *PostSetCommentTextResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostSetCommentTextResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostSetCommentTextResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostSetCommentTextResponse(val *PostSetCommentTextResponse) *NullablePostSetCommentTextResponse { + return &NullablePostSetCommentTextResponse{value: val, isSet: true} +} + +func (v NullablePostSetCommentTextResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostSetCommentTextResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_un_flag_comment_response.go b/client/model_post_un_flag_comment_response.go new file mode 100644 index 0000000..a41a2fd --- /dev/null +++ b/client/model_post_un_flag_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostUnFlagCommentResponse struct for PostUnFlagCommentResponse +type PostUnFlagCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostUnFlagCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostUnFlagCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostUnFlagCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostUnFlagCommentResponse struct { + value *PostUnFlagCommentResponse + isSet bool +} + +func (v NullablePostUnFlagCommentResponse) Get() *PostUnFlagCommentResponse { + return v.value +} + +func (v *NullablePostUnFlagCommentResponse) Set(val *PostUnFlagCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostUnFlagCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostUnFlagCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostUnFlagCommentResponse(val *PostUnFlagCommentResponse) *NullablePostUnFlagCommentResponse { + return &NullablePostUnFlagCommentResponse{value: val, isSet: true} +} + +func (v NullablePostUnFlagCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostUnFlagCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_post_vote_response.go b/client/model_post_vote_response.go new file mode 100644 index 0000000..eb37494 --- /dev/null +++ b/client/model_post_vote_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PostVoteResponse struct for PostVoteResponse +type PostVoteResponse struct { + APIError *APIError + VoteResponse *VoteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PostVoteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteResponse + err = json.Unmarshal(data, &dst.VoteResponse); + if err == nil { + jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) + if string(jsonVoteResponse) == "{}" { // empty struct + dst.VoteResponse = nil + } else { + return nil // data stored in dst.VoteResponse, return on the first match + } + } else { + dst.VoteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PostVoteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PostVoteResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteResponse != nil { + return json.Marshal(&src.VoteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePostVoteResponse struct { + value *PostVoteResponse + isSet bool +} + +func (v NullablePostVoteResponse) Get() *PostVoteResponse { + return v.value +} + +func (v *NullablePostVoteResponse) Set(val *PostVoteResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePostVoteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePostVoteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePostVoteResponse(val *PostVoteResponse) *NullablePostVoteResponse { + return &NullablePostVoteResponse{value: val, isSet: true} +} + +func (v NullablePostVoteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePostVoteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_put_award_badge_response.go b/client/model_put_award_badge_response.go new file mode 100644 index 0000000..2daf757 --- /dev/null +++ b/client/model_put_award_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PutAwardBadgeResponse struct for PutAwardBadgeResponse +type PutAwardBadgeResponse struct { + APIError *APIError + AwardUserBadgeResponse *AwardUserBadgeResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PutAwardBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into AwardUserBadgeResponse + err = json.Unmarshal(data, &dst.AwardUserBadgeResponse); + if err == nil { + jsonAwardUserBadgeResponse, _ := json.Marshal(dst.AwardUserBadgeResponse) + if string(jsonAwardUserBadgeResponse) == "{}" { // empty struct + dst.AwardUserBadgeResponse = nil + } else { + return nil // data stored in dst.AwardUserBadgeResponse, return on the first match + } + } else { + dst.AwardUserBadgeResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PutAwardBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PutAwardBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.AwardUserBadgeResponse != nil { + return json.Marshal(&src.AwardUserBadgeResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePutAwardBadgeResponse struct { + value *PutAwardBadgeResponse + isSet bool +} + +func (v NullablePutAwardBadgeResponse) Get() *PutAwardBadgeResponse { + return v.value +} + +func (v *NullablePutAwardBadgeResponse) Set(val *PutAwardBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePutAwardBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePutAwardBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePutAwardBadgeResponse(val *PutAwardBadgeResponse) *NullablePutAwardBadgeResponse { + return &NullablePutAwardBadgeResponse{value: val, isSet: true} +} + +func (v NullablePutAwardBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePutAwardBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_put_close_thread_response.go b/client/model_put_close_thread_response.go new file mode 100644 index 0000000..bf1d234 --- /dev/null +++ b/client/model_put_close_thread_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PutCloseThreadResponse struct for PutCloseThreadResponse +type PutCloseThreadResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PutCloseThreadResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PutCloseThreadResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PutCloseThreadResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePutCloseThreadResponse struct { + value *PutCloseThreadResponse + isSet bool +} + +func (v NullablePutCloseThreadResponse) Get() *PutCloseThreadResponse { + return v.value +} + +func (v *NullablePutCloseThreadResponse) Set(val *PutCloseThreadResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePutCloseThreadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePutCloseThreadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePutCloseThreadResponse(val *PutCloseThreadResponse) *NullablePutCloseThreadResponse { + return &NullablePutCloseThreadResponse{value: val, isSet: true} +} + +func (v NullablePutCloseThreadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePutCloseThreadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_put_remove_badge_response.go b/client/model_put_remove_badge_response.go new file mode 100644 index 0000000..67cbe5d --- /dev/null +++ b/client/model_put_remove_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PutRemoveBadgeResponse struct for PutRemoveBadgeResponse +type PutRemoveBadgeResponse struct { + APIError *APIError + RemoveUserBadgeResponse *RemoveUserBadgeResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PutRemoveBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into RemoveUserBadgeResponse + err = json.Unmarshal(data, &dst.RemoveUserBadgeResponse); + if err == nil { + jsonRemoveUserBadgeResponse, _ := json.Marshal(dst.RemoveUserBadgeResponse) + if string(jsonRemoveUserBadgeResponse) == "{}" { // empty struct + dst.RemoveUserBadgeResponse = nil + } else { + return nil // data stored in dst.RemoveUserBadgeResponse, return on the first match + } + } else { + dst.RemoveUserBadgeResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PutRemoveBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PutRemoveBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.RemoveUserBadgeResponse != nil { + return json.Marshal(&src.RemoveUserBadgeResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePutRemoveBadgeResponse struct { + value *PutRemoveBadgeResponse + isSet bool +} + +func (v NullablePutRemoveBadgeResponse) Get() *PutRemoveBadgeResponse { + return v.value +} + +func (v *NullablePutRemoveBadgeResponse) Set(val *PutRemoveBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePutRemoveBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePutRemoveBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePutRemoveBadgeResponse(val *PutRemoveBadgeResponse) *NullablePutRemoveBadgeResponse { + return &NullablePutRemoveBadgeResponse{value: val, isSet: true} +} + +func (v NullablePutRemoveBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePutRemoveBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_put_reopen_thread_response.go b/client/model_put_reopen_thread_response.go new file mode 100644 index 0000000..6818ee3 --- /dev/null +++ b/client/model_put_reopen_thread_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// PutReopenThreadResponse struct for PutReopenThreadResponse +type PutReopenThreadResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *PutReopenThreadResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(PutReopenThreadResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src PutReopenThreadResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullablePutReopenThreadResponse struct { + value *PutReopenThreadResponse + isSet bool +} + +func (v NullablePutReopenThreadResponse) Get() *PutReopenThreadResponse { + return v.value +} + +func (v *NullablePutReopenThreadResponse) Set(val *PutReopenThreadResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePutReopenThreadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePutReopenThreadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePutReopenThreadResponse(val *PutReopenThreadResponse) *NullablePutReopenThreadResponse { + return &NullablePutReopenThreadResponse{value: val, isSet: true} +} + +func (v NullablePutReopenThreadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePutReopenThreadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_react_feed_post_public_response.go b/client/model_react_feed_post_public_response.go new file mode 100644 index 0000000..0d80136 --- /dev/null +++ b/client/model_react_feed_post_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ReactFeedPostPublicResponse struct for ReactFeedPostPublicResponse +type ReactFeedPostPublicResponse struct { + APIError *APIError + ReactFeedPostResponse *ReactFeedPostResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ReactFeedPostPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ReactFeedPostResponse + err = json.Unmarshal(data, &dst.ReactFeedPostResponse); + if err == nil { + jsonReactFeedPostResponse, _ := json.Marshal(dst.ReactFeedPostResponse) + if string(jsonReactFeedPostResponse) == "{}" { // empty struct + dst.ReactFeedPostResponse = nil + } else { + return nil // data stored in dst.ReactFeedPostResponse, return on the first match + } + } else { + dst.ReactFeedPostResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ReactFeedPostPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ReactFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ReactFeedPostResponse != nil { + return json.Marshal(&src.ReactFeedPostResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableReactFeedPostPublicResponse struct { + value *ReactFeedPostPublicResponse + isSet bool +} + +func (v NullableReactFeedPostPublicResponse) Get() *ReactFeedPostPublicResponse { + return v.value +} + +func (v *NullableReactFeedPostPublicResponse) Set(val *ReactFeedPostPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableReactFeedPostPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableReactFeedPostPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReactFeedPostPublicResponse(val *ReactFeedPostPublicResponse) *NullableReactFeedPostPublicResponse { + return &NullableReactFeedPostPublicResponse{value: val, isSet: true} +} + +func (v NullableReactFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReactFeedPostPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_render_email_template_response_1.go b/client/model_render_email_template_response_1.go new file mode 100644 index 0000000..2398c49 --- /dev/null +++ b/client/model_render_email_template_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// RenderEmailTemplateResponse1 struct for RenderEmailTemplateResponse1 +type RenderEmailTemplateResponse1 struct { + APIError *APIError + RenderEmailTemplateResponse *RenderEmailTemplateResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *RenderEmailTemplateResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into RenderEmailTemplateResponse + err = json.Unmarshal(data, &dst.RenderEmailTemplateResponse); + if err == nil { + jsonRenderEmailTemplateResponse, _ := json.Marshal(dst.RenderEmailTemplateResponse) + if string(jsonRenderEmailTemplateResponse) == "{}" { // empty struct + dst.RenderEmailTemplateResponse = nil + } else { + return nil // data stored in dst.RenderEmailTemplateResponse, return on the first match + } + } else { + dst.RenderEmailTemplateResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(RenderEmailTemplateResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src RenderEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.RenderEmailTemplateResponse != nil { + return json.Marshal(&src.RenderEmailTemplateResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableRenderEmailTemplateResponse1 struct { + value *RenderEmailTemplateResponse1 + isSet bool +} + +func (v NullableRenderEmailTemplateResponse1) Get() *RenderEmailTemplateResponse1 { + return v.value +} + +func (v *NullableRenderEmailTemplateResponse1) Set(val *RenderEmailTemplateResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableRenderEmailTemplateResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableRenderEmailTemplateResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRenderEmailTemplateResponse1(val *RenderEmailTemplateResponse1) *NullableRenderEmailTemplateResponse1 { + return &NullableRenderEmailTemplateResponse1{value: val, isSet: true} +} + +func (v NullableRenderEmailTemplateResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRenderEmailTemplateResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_replace_tenant_package_response.go b/client/model_replace_tenant_package_response.go new file mode 100644 index 0000000..f6af077 --- /dev/null +++ b/client/model_replace_tenant_package_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ReplaceTenantPackageResponse struct for ReplaceTenantPackageResponse +type ReplaceTenantPackageResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ReplaceTenantPackageResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ReplaceTenantPackageResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ReplaceTenantPackageResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableReplaceTenantPackageResponse struct { + value *ReplaceTenantPackageResponse + isSet bool +} + +func (v NullableReplaceTenantPackageResponse) Get() *ReplaceTenantPackageResponse { + return v.value +} + +func (v *NullableReplaceTenantPackageResponse) Set(val *ReplaceTenantPackageResponse) { + v.value = val + v.isSet = true +} + +func (v NullableReplaceTenantPackageResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableReplaceTenantPackageResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReplaceTenantPackageResponse(val *ReplaceTenantPackageResponse) *NullableReplaceTenantPackageResponse { + return &NullableReplaceTenantPackageResponse{value: val, isSet: true} +} + +func (v NullableReplaceTenantPackageResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReplaceTenantPackageResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_replace_tenant_user_response.go b/client/model_replace_tenant_user_response.go new file mode 100644 index 0000000..29c1c33 --- /dev/null +++ b/client/model_replace_tenant_user_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ReplaceTenantUserResponse struct for ReplaceTenantUserResponse +type ReplaceTenantUserResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ReplaceTenantUserResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ReplaceTenantUserResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ReplaceTenantUserResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableReplaceTenantUserResponse struct { + value *ReplaceTenantUserResponse + isSet bool +} + +func (v NullableReplaceTenantUserResponse) Get() *ReplaceTenantUserResponse { + return v.value +} + +func (v *NullableReplaceTenantUserResponse) Set(val *ReplaceTenantUserResponse) { + v.value = val + v.isSet = true +} + +func (v NullableReplaceTenantUserResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableReplaceTenantUserResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReplaceTenantUserResponse(val *ReplaceTenantUserResponse) *NullableReplaceTenantUserResponse { + return &NullableReplaceTenantUserResponse{value: val, isSet: true} +} + +func (v NullableReplaceTenantUserResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReplaceTenantUserResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_reset_user_notification_count_response.go b/client/model_reset_user_notification_count_response.go new file mode 100644 index 0000000..141d4ce --- /dev/null +++ b/client/model_reset_user_notification_count_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ResetUserNotificationCountResponse struct for ResetUserNotificationCountResponse +type ResetUserNotificationCountResponse struct { + APIError *APIError + ResetUserNotificationsResponse *ResetUserNotificationsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ResetUserNotificationCountResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ResetUserNotificationsResponse + err = json.Unmarshal(data, &dst.ResetUserNotificationsResponse); + if err == nil { + jsonResetUserNotificationsResponse, _ := json.Marshal(dst.ResetUserNotificationsResponse) + if string(jsonResetUserNotificationsResponse) == "{}" { // empty struct + dst.ResetUserNotificationsResponse = nil + } else { + return nil // data stored in dst.ResetUserNotificationsResponse, return on the first match + } + } else { + dst.ResetUserNotificationsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ResetUserNotificationCountResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ResetUserNotificationCountResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ResetUserNotificationsResponse != nil { + return json.Marshal(&src.ResetUserNotificationsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableResetUserNotificationCountResponse struct { + value *ResetUserNotificationCountResponse + isSet bool +} + +func (v NullableResetUserNotificationCountResponse) Get() *ResetUserNotificationCountResponse { + return v.value +} + +func (v *NullableResetUserNotificationCountResponse) Set(val *ResetUserNotificationCountResponse) { + v.value = val + v.isSet = true +} + +func (v NullableResetUserNotificationCountResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableResetUserNotificationCountResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableResetUserNotificationCountResponse(val *ResetUserNotificationCountResponse) *NullableResetUserNotificationCountResponse { + return &NullableResetUserNotificationCountResponse{value: val, isSet: true} +} + +func (v NullableResetUserNotificationCountResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableResetUserNotificationCountResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_reset_user_notifications_response_1.go b/client/model_reset_user_notifications_response_1.go new file mode 100644 index 0000000..27960d0 --- /dev/null +++ b/client/model_reset_user_notifications_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// ResetUserNotificationsResponse1 struct for ResetUserNotificationsResponse1 +type ResetUserNotificationsResponse1 struct { + APIError *APIError + ResetUserNotificationsResponse *ResetUserNotificationsResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *ResetUserNotificationsResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ResetUserNotificationsResponse + err = json.Unmarshal(data, &dst.ResetUserNotificationsResponse); + if err == nil { + jsonResetUserNotificationsResponse, _ := json.Marshal(dst.ResetUserNotificationsResponse) + if string(jsonResetUserNotificationsResponse) == "{}" { // empty struct + dst.ResetUserNotificationsResponse = nil + } else { + return nil // data stored in dst.ResetUserNotificationsResponse, return on the first match + } + } else { + dst.ResetUserNotificationsResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(ResetUserNotificationsResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src ResetUserNotificationsResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ResetUserNotificationsResponse != nil { + return json.Marshal(&src.ResetUserNotificationsResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableResetUserNotificationsResponse1 struct { + value *ResetUserNotificationsResponse1 + isSet bool +} + +func (v NullableResetUserNotificationsResponse1) Get() *ResetUserNotificationsResponse1 { + return v.value +} + +func (v *NullableResetUserNotificationsResponse1) Set(val *ResetUserNotificationsResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableResetUserNotificationsResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableResetUserNotificationsResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableResetUserNotificationsResponse1(val *ResetUserNotificationsResponse1) *NullableResetUserNotificationsResponse1 { + return &NullableResetUserNotificationsResponse1{value: val, isSet: true} +} + +func (v NullableResetUserNotificationsResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableResetUserNotificationsResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_save_comment_response.go b/client/model_save_comment_response.go new file mode 100644 index 0000000..ba08485 --- /dev/null +++ b/client/model_save_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SaveCommentResponse struct for SaveCommentResponse +type SaveCommentResponse struct { + APIError *APIError + APISaveCommentResponse *APISaveCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SaveCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into APISaveCommentResponse + err = json.Unmarshal(data, &dst.APISaveCommentResponse); + if err == nil { + jsonAPISaveCommentResponse, _ := json.Marshal(dst.APISaveCommentResponse) + if string(jsonAPISaveCommentResponse) == "{}" { // empty struct + dst.APISaveCommentResponse = nil + } else { + return nil // data stored in dst.APISaveCommentResponse, return on the first match + } + } else { + dst.APISaveCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SaveCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SaveCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.APISaveCommentResponse != nil { + return json.Marshal(&src.APISaveCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSaveCommentResponse struct { + value *SaveCommentResponse + isSet bool +} + +func (v NullableSaveCommentResponse) Get() *SaveCommentResponse { + return v.value +} + +func (v *NullableSaveCommentResponse) Set(val *SaveCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSaveCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSaveCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSaveCommentResponse(val *SaveCommentResponse) *NullableSaveCommentResponse { + return &NullableSaveCommentResponse{value: val, isSet: true} +} + +func (v NullableSaveCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSaveCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_search_users_response_1.go b/client/model_search_users_response_1.go new file mode 100644 index 0000000..f203510 --- /dev/null +++ b/client/model_search_users_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SearchUsersResponse1 struct for SearchUsersResponse1 +type SearchUsersResponse1 struct { + APIError *APIError + SearchUsersResult *SearchUsersResult +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SearchUsersResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into SearchUsersResult + err = json.Unmarshal(data, &dst.SearchUsersResult); + if err == nil { + jsonSearchUsersResult, _ := json.Marshal(dst.SearchUsersResult) + if string(jsonSearchUsersResult) == "{}" { // empty struct + dst.SearchUsersResult = nil + } else { + return nil // data stored in dst.SearchUsersResult, return on the first match + } + } else { + dst.SearchUsersResult = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SearchUsersResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SearchUsersResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.SearchUsersResult != nil { + return json.Marshal(&src.SearchUsersResult) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSearchUsersResponse1 struct { + value *SearchUsersResponse1 + isSet bool +} + +func (v NullableSearchUsersResponse1) Get() *SearchUsersResponse1 { + return v.value +} + +func (v *NullableSearchUsersResponse1) Set(val *SearchUsersResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableSearchUsersResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableSearchUsersResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSearchUsersResponse1(val *SearchUsersResponse1) *NullableSearchUsersResponse1 { + return &NullableSearchUsersResponse1{value: val, isSet: true} +} + +func (v NullableSearchUsersResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSearchUsersResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_send_invite_response.go b/client/model_send_invite_response.go new file mode 100644 index 0000000..2b8f79a --- /dev/null +++ b/client/model_send_invite_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SendInviteResponse struct for SendInviteResponse +type SendInviteResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SendInviteResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SendInviteResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SendInviteResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSendInviteResponse struct { + value *SendInviteResponse + isSet bool +} + +func (v NullableSendInviteResponse) Get() *SendInviteResponse { + return v.value +} + +func (v *NullableSendInviteResponse) Set(val *SendInviteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSendInviteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSendInviteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSendInviteResponse(val *SendInviteResponse) *NullableSendInviteResponse { + return &NullableSendInviteResponse{value: val, isSet: true} +} + +func (v NullableSendInviteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSendInviteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_send_login_link_response.go b/client/model_send_login_link_response.go new file mode 100644 index 0000000..437692a --- /dev/null +++ b/client/model_send_login_link_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SendLoginLinkResponse struct for SendLoginLinkResponse +type SendLoginLinkResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SendLoginLinkResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SendLoginLinkResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SendLoginLinkResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSendLoginLinkResponse struct { + value *SendLoginLinkResponse + isSet bool +} + +func (v NullableSendLoginLinkResponse) Get() *SendLoginLinkResponse { + return v.value +} + +func (v *NullableSendLoginLinkResponse) Set(val *SendLoginLinkResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSendLoginLinkResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSendLoginLinkResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSendLoginLinkResponse(val *SendLoginLinkResponse) *NullableSendLoginLinkResponse { + return &NullableSendLoginLinkResponse{value: val, isSet: true} +} + +func (v NullableSendLoginLinkResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSendLoginLinkResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_set_comment_text_response_1.go b/client/model_set_comment_text_response_1.go new file mode 100644 index 0000000..dd433e2 --- /dev/null +++ b/client/model_set_comment_text_response_1.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SetCommentTextResponse1 struct for SetCommentTextResponse1 +type SetCommentTextResponse1 struct { + APIError *APIError + PublicAPISetCommentTextResponse *PublicAPISetCommentTextResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SetCommentTextResponse1) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into PublicAPISetCommentTextResponse + err = json.Unmarshal(data, &dst.PublicAPISetCommentTextResponse); + if err == nil { + jsonPublicAPISetCommentTextResponse, _ := json.Marshal(dst.PublicAPISetCommentTextResponse) + if string(jsonPublicAPISetCommentTextResponse) == "{}" { // empty struct + dst.PublicAPISetCommentTextResponse = nil + } else { + return nil // data stored in dst.PublicAPISetCommentTextResponse, return on the first match + } + } else { + dst.PublicAPISetCommentTextResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SetCommentTextResponse1)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SetCommentTextResponse1) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.PublicAPISetCommentTextResponse != nil { + return json.Marshal(&src.PublicAPISetCommentTextResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSetCommentTextResponse1 struct { + value *SetCommentTextResponse1 + isSet bool +} + +func (v NullableSetCommentTextResponse1) Get() *SetCommentTextResponse1 { + return v.value +} + +func (v *NullableSetCommentTextResponse1) Set(val *SetCommentTextResponse1) { + v.value = val + v.isSet = true +} + +func (v NullableSetCommentTextResponse1) IsSet() bool { + return v.isSet +} + +func (v *NullableSetCommentTextResponse1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetCommentTextResponse1(val *SetCommentTextResponse1) *NullableSetCommentTextResponse1 { + return &NullableSetCommentTextResponse1{value: val, isSet: true} +} + +func (v NullableSetCommentTextResponse1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetCommentTextResponse1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_set_trust_factor_response.go b/client/model_set_trust_factor_response.go new file mode 100644 index 0000000..b1e8aa0 --- /dev/null +++ b/client/model_set_trust_factor_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// SetTrustFactorResponse struct for SetTrustFactorResponse +type SetTrustFactorResponse struct { + APIError *APIError + SetUserTrustFactorResponse *SetUserTrustFactorResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *SetTrustFactorResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into SetUserTrustFactorResponse + err = json.Unmarshal(data, &dst.SetUserTrustFactorResponse); + if err == nil { + jsonSetUserTrustFactorResponse, _ := json.Marshal(dst.SetUserTrustFactorResponse) + if string(jsonSetUserTrustFactorResponse) == "{}" { // empty struct + dst.SetUserTrustFactorResponse = nil + } else { + return nil // data stored in dst.SetUserTrustFactorResponse, return on the first match + } + } else { + dst.SetUserTrustFactorResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(SetTrustFactorResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src SetTrustFactorResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.SetUserTrustFactorResponse != nil { + return json.Marshal(&src.SetUserTrustFactorResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableSetTrustFactorResponse struct { + value *SetTrustFactorResponse + isSet bool +} + +func (v NullableSetTrustFactorResponse) Get() *SetTrustFactorResponse { + return v.value +} + +func (v *NullableSetTrustFactorResponse) Set(val *SetTrustFactorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableSetTrustFactorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableSetTrustFactorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSetTrustFactorResponse(val *SetTrustFactorResponse) *NullableSetTrustFactorResponse { + return &NullableSetTrustFactorResponse{value: val, isSet: true} +} + +func (v NullableSetTrustFactorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSetTrustFactorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_un_block_comment_public_response.go b/client/model_un_block_comment_public_response.go new file mode 100644 index 0000000..f5c084b --- /dev/null +++ b/client/model_un_block_comment_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UnBlockCommentPublicResponse struct for UnBlockCommentPublicResponse +type UnBlockCommentPublicResponse struct { + APIError *APIError + UnblockSuccess *UnblockSuccess +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UnBlockCommentPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into UnblockSuccess + err = json.Unmarshal(data, &dst.UnblockSuccess); + if err == nil { + jsonUnblockSuccess, _ := json.Marshal(dst.UnblockSuccess) + if string(jsonUnblockSuccess) == "{}" { // empty struct + dst.UnblockSuccess = nil + } else { + return nil // data stored in dst.UnblockSuccess, return on the first match + } + } else { + dst.UnblockSuccess = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UnBlockCommentPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UnBlockCommentPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.UnblockSuccess != nil { + return json.Marshal(&src.UnblockSuccess) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUnBlockCommentPublicResponse struct { + value *UnBlockCommentPublicResponse + isSet bool +} + +func (v NullableUnBlockCommentPublicResponse) Get() *UnBlockCommentPublicResponse { + return v.value +} + +func (v *NullableUnBlockCommentPublicResponse) Set(val *UnBlockCommentPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUnBlockCommentPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUnBlockCommentPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnBlockCommentPublicResponse(val *UnBlockCommentPublicResponse) *NullableUnBlockCommentPublicResponse { + return &NullableUnBlockCommentPublicResponse{value: val, isSet: true} +} + +func (v NullableUnBlockCommentPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnBlockCommentPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_un_block_user_from_comment_response.go b/client/model_un_block_user_from_comment_response.go new file mode 100644 index 0000000..1eb31a5 --- /dev/null +++ b/client/model_un_block_user_from_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UnBlockUserFromCommentResponse struct for UnBlockUserFromCommentResponse +type UnBlockUserFromCommentResponse struct { + APIError *APIError + UnblockSuccess *UnblockSuccess +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UnBlockUserFromCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into UnblockSuccess + err = json.Unmarshal(data, &dst.UnblockSuccess); + if err == nil { + jsonUnblockSuccess, _ := json.Marshal(dst.UnblockSuccess) + if string(jsonUnblockSuccess) == "{}" { // empty struct + dst.UnblockSuccess = nil + } else { + return nil // data stored in dst.UnblockSuccess, return on the first match + } + } else { + dst.UnblockSuccess = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UnBlockUserFromCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UnBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.UnblockSuccess != nil { + return json.Marshal(&src.UnblockSuccess) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUnBlockUserFromCommentResponse struct { + value *UnBlockUserFromCommentResponse + isSet bool +} + +func (v NullableUnBlockUserFromCommentResponse) Get() *UnBlockUserFromCommentResponse { + return v.value +} + +func (v *NullableUnBlockUserFromCommentResponse) Set(val *UnBlockUserFromCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUnBlockUserFromCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUnBlockUserFromCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnBlockUserFromCommentResponse(val *UnBlockUserFromCommentResponse) *NullableUnBlockUserFromCommentResponse { + return &NullableUnBlockUserFromCommentResponse{value: val, isSet: true} +} + +func (v NullableUnBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnBlockUserFromCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_un_flag_comment_response.go b/client/model_un_flag_comment_response.go new file mode 100644 index 0000000..c3a228e --- /dev/null +++ b/client/model_un_flag_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UnFlagCommentResponse struct for UnFlagCommentResponse +type UnFlagCommentResponse struct { + APIError *APIError + FlagCommentResponse *FlagCommentResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UnFlagCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into FlagCommentResponse + err = json.Unmarshal(data, &dst.FlagCommentResponse); + if err == nil { + jsonFlagCommentResponse, _ := json.Marshal(dst.FlagCommentResponse) + if string(jsonFlagCommentResponse) == "{}" { // empty struct + dst.FlagCommentResponse = nil + } else { + return nil // data stored in dst.FlagCommentResponse, return on the first match + } + } else { + dst.FlagCommentResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UnFlagCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UnFlagCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.FlagCommentResponse != nil { + return json.Marshal(&src.FlagCommentResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUnFlagCommentResponse struct { + value *UnFlagCommentResponse + isSet bool +} + +func (v NullableUnFlagCommentResponse) Get() *UnFlagCommentResponse { + return v.value +} + +func (v *NullableUnFlagCommentResponse) Set(val *UnFlagCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUnFlagCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUnFlagCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnFlagCommentResponse(val *UnFlagCommentResponse) *NullableUnFlagCommentResponse { + return &NullableUnFlagCommentResponse{value: val, isSet: true} +} + +func (v NullableUnFlagCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnFlagCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_un_lock_comment_response.go b/client/model_un_lock_comment_response.go new file mode 100644 index 0000000..8632a3d --- /dev/null +++ b/client/model_un_lock_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UnLockCommentResponse struct for UnLockCommentResponse +type UnLockCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UnLockCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UnLockCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UnLockCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUnLockCommentResponse struct { + value *UnLockCommentResponse + isSet bool +} + +func (v NullableUnLockCommentResponse) Get() *UnLockCommentResponse { + return v.value +} + +func (v *NullableUnLockCommentResponse) Set(val *UnLockCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUnLockCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUnLockCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnLockCommentResponse(val *UnLockCommentResponse) *NullableUnLockCommentResponse { + return &NullableUnLockCommentResponse{value: val, isSet: true} +} + +func (v NullableUnLockCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnLockCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_un_pin_comment_response.go b/client/model_un_pin_comment_response.go new file mode 100644 index 0000000..03b0082 --- /dev/null +++ b/client/model_un_pin_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UnPinCommentResponse struct for UnPinCommentResponse +type UnPinCommentResponse struct { + APIError *APIError + ChangeCommentPinStatusResponse *ChangeCommentPinStatusResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UnPinCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into ChangeCommentPinStatusResponse + err = json.Unmarshal(data, &dst.ChangeCommentPinStatusResponse); + if err == nil { + jsonChangeCommentPinStatusResponse, _ := json.Marshal(dst.ChangeCommentPinStatusResponse) + if string(jsonChangeCommentPinStatusResponse) == "{}" { // empty struct + dst.ChangeCommentPinStatusResponse = nil + } else { + return nil // data stored in dst.ChangeCommentPinStatusResponse, return on the first match + } + } else { + dst.ChangeCommentPinStatusResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UnPinCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UnPinCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.ChangeCommentPinStatusResponse != nil { + return json.Marshal(&src.ChangeCommentPinStatusResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUnPinCommentResponse struct { + value *UnPinCommentResponse + isSet bool +} + +func (v NullableUnPinCommentResponse) Get() *UnPinCommentResponse { + return v.value +} + +func (v *NullableUnPinCommentResponse) Set(val *UnPinCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUnPinCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUnPinCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUnPinCommentResponse(val *UnPinCommentResponse) *NullableUnPinCommentResponse { + return &NullableUnPinCommentResponse{value: val, isSet: true} +} + +func (v NullableUnPinCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUnPinCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_comment_response.go b/client/model_update_comment_response.go new file mode 100644 index 0000000..e27e679 --- /dev/null +++ b/client/model_update_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateCommentResponse struct for UpdateCommentResponse +type UpdateCommentResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateCommentResponse struct { + value *UpdateCommentResponse + isSet bool +} + +func (v NullableUpdateCommentResponse) Get() *UpdateCommentResponse { + return v.value +} + +func (v *NullableUpdateCommentResponse) Set(val *UpdateCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateCommentResponse(val *UpdateCommentResponse) *NullableUpdateCommentResponse { + return &NullableUpdateCommentResponse{value: val, isSet: true} +} + +func (v NullableUpdateCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_email_template_response.go b/client/model_update_email_template_response.go new file mode 100644 index 0000000..0cc8f90 --- /dev/null +++ b/client/model_update_email_template_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateEmailTemplateResponse struct for UpdateEmailTemplateResponse +type UpdateEmailTemplateResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateEmailTemplateResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateEmailTemplateResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateEmailTemplateResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateEmailTemplateResponse struct { + value *UpdateEmailTemplateResponse + isSet bool +} + +func (v NullableUpdateEmailTemplateResponse) Get() *UpdateEmailTemplateResponse { + return v.value +} + +func (v *NullableUpdateEmailTemplateResponse) Set(val *UpdateEmailTemplateResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateEmailTemplateResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateEmailTemplateResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateEmailTemplateResponse(val *UpdateEmailTemplateResponse) *NullableUpdateEmailTemplateResponse { + return &NullableUpdateEmailTemplateResponse{value: val, isSet: true} +} + +func (v NullableUpdateEmailTemplateResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateEmailTemplateResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_feed_post_public_response.go b/client/model_update_feed_post_public_response.go new file mode 100644 index 0000000..2c670d8 --- /dev/null +++ b/client/model_update_feed_post_public_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateFeedPostPublicResponse struct for UpdateFeedPostPublicResponse +type UpdateFeedPostPublicResponse struct { + APIError *APIError + CreateFeedPostResponse *CreateFeedPostResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateFeedPostPublicResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into CreateFeedPostResponse + err = json.Unmarshal(data, &dst.CreateFeedPostResponse); + if err == nil { + jsonCreateFeedPostResponse, _ := json.Marshal(dst.CreateFeedPostResponse) + if string(jsonCreateFeedPostResponse) == "{}" { // empty struct + dst.CreateFeedPostResponse = nil + } else { + return nil // data stored in dst.CreateFeedPostResponse, return on the first match + } + } else { + dst.CreateFeedPostResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateFeedPostPublicResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.CreateFeedPostResponse != nil { + return json.Marshal(&src.CreateFeedPostResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateFeedPostPublicResponse struct { + value *UpdateFeedPostPublicResponse + isSet bool +} + +func (v NullableUpdateFeedPostPublicResponse) Get() *UpdateFeedPostPublicResponse { + return v.value +} + +func (v *NullableUpdateFeedPostPublicResponse) Set(val *UpdateFeedPostPublicResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateFeedPostPublicResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateFeedPostPublicResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateFeedPostPublicResponse(val *UpdateFeedPostPublicResponse) *NullableUpdateFeedPostPublicResponse { + return &NullableUpdateFeedPostPublicResponse{value: val, isSet: true} +} + +func (v NullableUpdateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateFeedPostPublicResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_feed_post_response.go b/client/model_update_feed_post_response.go new file mode 100644 index 0000000..283703b --- /dev/null +++ b/client/model_update_feed_post_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateFeedPostResponse struct for UpdateFeedPostResponse +type UpdateFeedPostResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateFeedPostResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateFeedPostResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateFeedPostResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateFeedPostResponse struct { + value *UpdateFeedPostResponse + isSet bool +} + +func (v NullableUpdateFeedPostResponse) Get() *UpdateFeedPostResponse { + return v.value +} + +func (v *NullableUpdateFeedPostResponse) Set(val *UpdateFeedPostResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateFeedPostResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateFeedPostResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateFeedPostResponse(val *UpdateFeedPostResponse) *NullableUpdateFeedPostResponse { + return &NullableUpdateFeedPostResponse{value: val, isSet: true} +} + +func (v NullableUpdateFeedPostResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateFeedPostResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_moderator_response.go b/client/model_update_moderator_response.go new file mode 100644 index 0000000..ba5750c --- /dev/null +++ b/client/model_update_moderator_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateModeratorResponse struct for UpdateModeratorResponse +type UpdateModeratorResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateModeratorResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateModeratorResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateModeratorResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateModeratorResponse struct { + value *UpdateModeratorResponse + isSet bool +} + +func (v NullableUpdateModeratorResponse) Get() *UpdateModeratorResponse { + return v.value +} + +func (v *NullableUpdateModeratorResponse) Set(val *UpdateModeratorResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateModeratorResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateModeratorResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateModeratorResponse(val *UpdateModeratorResponse) *NullableUpdateModeratorResponse { + return &NullableUpdateModeratorResponse{value: val, isSet: true} +} + +func (v NullableUpdateModeratorResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateModeratorResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_notification_response.go b/client/model_update_notification_response.go new file mode 100644 index 0000000..d06e4ff --- /dev/null +++ b/client/model_update_notification_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateNotificationResponse struct for UpdateNotificationResponse +type UpdateNotificationResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateNotificationResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateNotificationResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateNotificationResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateNotificationResponse struct { + value *UpdateNotificationResponse + isSet bool +} + +func (v NullableUpdateNotificationResponse) Get() *UpdateNotificationResponse { + return v.value +} + +func (v *NullableUpdateNotificationResponse) Set(val *UpdateNotificationResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateNotificationResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateNotificationResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateNotificationResponse(val *UpdateNotificationResponse) *NullableUpdateNotificationResponse { + return &NullableUpdateNotificationResponse{value: val, isSet: true} +} + +func (v NullableUpdateNotificationResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateNotificationResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_question_config_response.go b/client/model_update_question_config_response.go new file mode 100644 index 0000000..3fabd79 --- /dev/null +++ b/client/model_update_question_config_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateQuestionConfigResponse struct for UpdateQuestionConfigResponse +type UpdateQuestionConfigResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateQuestionConfigResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateQuestionConfigResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateQuestionConfigResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateQuestionConfigResponse struct { + value *UpdateQuestionConfigResponse + isSet bool +} + +func (v NullableUpdateQuestionConfigResponse) Get() *UpdateQuestionConfigResponse { + return v.value +} + +func (v *NullableUpdateQuestionConfigResponse) Set(val *UpdateQuestionConfigResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateQuestionConfigResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateQuestionConfigResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateQuestionConfigResponse(val *UpdateQuestionConfigResponse) *NullableUpdateQuestionConfigResponse { + return &NullableUpdateQuestionConfigResponse{value: val, isSet: true} +} + +func (v NullableUpdateQuestionConfigResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateQuestionConfigResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_question_result_response.go b/client/model_update_question_result_response.go new file mode 100644 index 0000000..37171b9 --- /dev/null +++ b/client/model_update_question_result_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateQuestionResultResponse struct for UpdateQuestionResultResponse +type UpdateQuestionResultResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateQuestionResultResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateQuestionResultResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateQuestionResultResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateQuestionResultResponse struct { + value *UpdateQuestionResultResponse + isSet bool +} + +func (v NullableUpdateQuestionResultResponse) Get() *UpdateQuestionResultResponse { + return v.value +} + +func (v *NullableUpdateQuestionResultResponse) Set(val *UpdateQuestionResultResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateQuestionResultResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateQuestionResultResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateQuestionResultResponse(val *UpdateQuestionResultResponse) *NullableUpdateQuestionResultResponse { + return &NullableUpdateQuestionResultResponse{value: val, isSet: true} +} + +func (v NullableUpdateQuestionResultResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateQuestionResultResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_tenant_package_response.go b/client/model_update_tenant_package_response.go new file mode 100644 index 0000000..9ea9f17 --- /dev/null +++ b/client/model_update_tenant_package_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateTenantPackageResponse struct for UpdateTenantPackageResponse +type UpdateTenantPackageResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateTenantPackageResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantPackageResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateTenantPackageResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateTenantPackageResponse struct { + value *UpdateTenantPackageResponse + isSet bool +} + +func (v NullableUpdateTenantPackageResponse) Get() *UpdateTenantPackageResponse { + return v.value +} + +func (v *NullableUpdateTenantPackageResponse) Set(val *UpdateTenantPackageResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateTenantPackageResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateTenantPackageResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateTenantPackageResponse(val *UpdateTenantPackageResponse) *NullableUpdateTenantPackageResponse { + return &NullableUpdateTenantPackageResponse{value: val, isSet: true} +} + +func (v NullableUpdateTenantPackageResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateTenantPackageResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_tenant_response.go b/client/model_update_tenant_response.go new file mode 100644 index 0000000..c7fdd64 --- /dev/null +++ b/client/model_update_tenant_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateTenantResponse struct for UpdateTenantResponse +type UpdateTenantResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateTenantResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateTenantResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateTenantResponse struct { + value *UpdateTenantResponse + isSet bool +} + +func (v NullableUpdateTenantResponse) Get() *UpdateTenantResponse { + return v.value +} + +func (v *NullableUpdateTenantResponse) Set(val *UpdateTenantResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateTenantResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateTenantResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateTenantResponse(val *UpdateTenantResponse) *NullableUpdateTenantResponse { + return &NullableUpdateTenantResponse{value: val, isSet: true} +} + +func (v NullableUpdateTenantResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateTenantResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_tenant_user_response.go b/client/model_update_tenant_user_response.go new file mode 100644 index 0000000..8b2bc21 --- /dev/null +++ b/client/model_update_tenant_user_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateTenantUserResponse struct for UpdateTenantUserResponse +type UpdateTenantUserResponse struct { + APIEmptyResponse *APIEmptyResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateTenantUserResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptyResponse + err = json.Unmarshal(data, &dst.APIEmptyResponse); + if err == nil { + jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) + if string(jsonAPIEmptyResponse) == "{}" { // empty struct + dst.APIEmptyResponse = nil + } else { + return nil // data stored in dst.APIEmptyResponse, return on the first match + } + } else { + dst.APIEmptyResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantUserResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateTenantUserResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptyResponse != nil { + return json.Marshal(&src.APIEmptyResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateTenantUserResponse struct { + value *UpdateTenantUserResponse + isSet bool +} + +func (v NullableUpdateTenantUserResponse) Get() *UpdateTenantUserResponse { + return v.value +} + +func (v *NullableUpdateTenantUserResponse) Set(val *UpdateTenantUserResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateTenantUserResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateTenantUserResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateTenantUserResponse(val *UpdateTenantUserResponse) *NullableUpdateTenantUserResponse { + return &NullableUpdateTenantUserResponse{value: val, isSet: true} +} + +func (v NullableUpdateTenantUserResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateTenantUserResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_user_badge_response.go b/client/model_update_user_badge_response.go new file mode 100644 index 0000000..8b5c8c6 --- /dev/null +++ b/client/model_update_user_badge_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// UpdateUserBadgeResponse struct for UpdateUserBadgeResponse +type UpdateUserBadgeResponse struct { + APIEmptySuccessResponse *APIEmptySuccessResponse + APIError *APIError +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *UpdateUserBadgeResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIEmptySuccessResponse + err = json.Unmarshal(data, &dst.APIEmptySuccessResponse); + if err == nil { + jsonAPIEmptySuccessResponse, _ := json.Marshal(dst.APIEmptySuccessResponse) + if string(jsonAPIEmptySuccessResponse) == "{}" { // empty struct + dst.APIEmptySuccessResponse = nil + } else { + return nil // data stored in dst.APIEmptySuccessResponse, return on the first match + } + } else { + dst.APIEmptySuccessResponse = nil + } + + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(UpdateUserBadgeResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src UpdateUserBadgeResponse) MarshalJSON() ([]byte, error) { + if src.APIEmptySuccessResponse != nil { + return json.Marshal(&src.APIEmptySuccessResponse) + } + + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableUpdateUserBadgeResponse struct { + value *UpdateUserBadgeResponse + isSet bool +} + +func (v NullableUpdateUserBadgeResponse) Get() *UpdateUserBadgeResponse { + return v.value +} + +func (v *NullableUpdateUserBadgeResponse) Set(val *UpdateUserBadgeResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateUserBadgeResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateUserBadgeResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateUserBadgeResponse(val *UpdateUserBadgeResponse) *NullableUpdateUserBadgeResponse { + return &NullableUpdateUserBadgeResponse{value: val, isSet: true} +} + +func (v NullableUpdateUserBadgeResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateUserBadgeResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/client/model_update_user_notification_comment_subscription_status_response.go b/client/model_update_user_notification_comment_subscription_status_response.go index 2afd728..069dbd8 100644 --- a/client/model_update_user_notification_comment_subscription_status_response.go +++ b/client/model_update_user_notification_comment_subscription_status_response.go @@ -18,6 +18,7 @@ import ( // UpdateUserNotificationCommentSubscriptionStatusResponse struct for UpdateUserNotificationCommentSubscriptionStatusResponse type UpdateUserNotificationCommentSubscriptionStatusResponse struct { + APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -25,6 +26,19 @@ type UpdateUserNotificationCommentSubscriptionStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationCommentSubscriptionStatusResponse) UnmarshalJSON(data []byte) error { var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -56,6 +70,10 @@ func (dst *UpdateUserNotificationCommentSubscriptionStatusResponse) UnmarshalJSO // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationCommentSubscriptionStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_update_user_notification_page_subscription_status_response.go b/client/model_update_user_notification_page_subscription_status_response.go index eb72aee..cb601e6 100644 --- a/client/model_update_user_notification_page_subscription_status_response.go +++ b/client/model_update_user_notification_page_subscription_status_response.go @@ -18,6 +18,7 @@ import ( // UpdateUserNotificationPageSubscriptionStatusResponse struct for UpdateUserNotificationPageSubscriptionStatusResponse type UpdateUserNotificationPageSubscriptionStatusResponse struct { + APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -25,6 +26,19 @@ type UpdateUserNotificationPageSubscriptionStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationPageSubscriptionStatusResponse) UnmarshalJSON(data []byte) error { var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -56,6 +70,10 @@ func (dst *UpdateUserNotificationPageSubscriptionStatusResponse) UnmarshalJSON(d // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationPageSubscriptionStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_update_user_notification_status_response.go b/client/model_update_user_notification_status_response.go index 4d08eef..82d04a5 100644 --- a/client/model_update_user_notification_status_response.go +++ b/client/model_update_user_notification_status_response.go @@ -18,6 +18,7 @@ import ( // UpdateUserNotificationStatusResponse struct for UpdateUserNotificationStatusResponse type UpdateUserNotificationStatusResponse struct { + APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -25,6 +26,19 @@ type UpdateUserNotificationStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationStatusResponse) UnmarshalJSON(data []byte) error { var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -56,6 +70,10 @@ func (dst *UpdateUserNotificationStatusResponse) UnmarshalJSON(data []byte) erro // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationStatusResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_vote_comment_response.go b/client/model_vote_comment_response.go new file mode 100644 index 0000000..7a9efdb --- /dev/null +++ b/client/model_vote_comment_response.go @@ -0,0 +1,107 @@ +/* +fastcomments + +No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + +API version: 0.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "fmt" +) + + +// VoteCommentResponse struct for VoteCommentResponse +type VoteCommentResponse struct { + APIError *APIError + VoteResponse *VoteResponse +} + +// Unmarshal JSON data into any of the pointers in the struct +func (dst *VoteCommentResponse) UnmarshalJSON(data []byte) error { + var err error + // try to unmarshal JSON data into APIError + err = json.Unmarshal(data, &dst.APIError); + if err == nil { + jsonAPIError, _ := json.Marshal(dst.APIError) + if string(jsonAPIError) == "{}" { // empty struct + dst.APIError = nil + } else { + return nil // data stored in dst.APIError, return on the first match + } + } else { + dst.APIError = nil + } + + // try to unmarshal JSON data into VoteResponse + err = json.Unmarshal(data, &dst.VoteResponse); + if err == nil { + jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) + if string(jsonVoteResponse) == "{}" { // empty struct + dst.VoteResponse = nil + } else { + return nil // data stored in dst.VoteResponse, return on the first match + } + } else { + dst.VoteResponse = nil + } + + return fmt.Errorf("data failed to match schemas in anyOf(VoteCommentResponse)") +} + +// Marshal data from the first non-nil pointers in the struct to JSON +func (src VoteCommentResponse) MarshalJSON() ([]byte, error) { + if src.APIError != nil { + return json.Marshal(&src.APIError) + } + + if src.VoteResponse != nil { + return json.Marshal(&src.VoteResponse) + } + + return nil, nil // no data in anyOf schemas +} + + +type NullableVoteCommentResponse struct { + value *VoteCommentResponse + isSet bool +} + +func (v NullableVoteCommentResponse) Get() *VoteCommentResponse { + return v.value +} + +func (v *NullableVoteCommentResponse) Set(val *VoteCommentResponse) { + v.value = val + v.isSet = true +} + +func (v NullableVoteCommentResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableVoteCommentResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVoteCommentResponse(val *VoteCommentResponse) *NullableVoteCommentResponse { + return &NullableVoteCommentResponse{value: val, isSet: true} +} + +func (v NullableVoteCommentResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVoteCommentResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/openapi.json b/openapi.json index ca0225c..b02430d 100644 --- a/openapi.json +++ b/openapi.json @@ -11528,17 +11528,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SearchUsersResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SearchUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SearchUsersResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11616,7 +11614,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" + "title": "GetUserPresenceStatusesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11630,16 +11636,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -11683,17 +11679,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetMyNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetMyNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11815,17 +11809,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ResetUserNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11905,17 +11897,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -11954,17 +11944,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ResetUserNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12010,21 +11998,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -12087,21 +12068,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Enable or disable notifications for a specific comment.", @@ -12173,21 +12147,14 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Enable or disable notifications for a page. When users are subscribed to a page, notifications are created\nfor new root comments, and also", @@ -12329,7 +12296,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTranslationsResponse" + "title": "GetTranslationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTranslationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12353,16 +12328,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -12414,17 +12379,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPublicPagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPagesPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPublicPagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12502,7 +12465,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersOnlineResponse" + "title": "GetOnlineUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersOnlineResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12526,16 +12497,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Currently-online viewers of a page: people whose websocket session is subscribed to the page right now.\nReturns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).", @@ -12591,7 +12552,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersOfflineResponse" + "title": "GetOfflineUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersOfflineResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12615,16 +12584,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Past commenters on the page who are NOT currently online. Sorted by displayName.\nUse this after exhausting /users/online to render a \"Members\" section.\nCursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}\nindex from afterName forward via $gt, no $skip cost.", @@ -12680,7 +12639,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageUsersInfoResponse" + "title": "GetUsersInfoResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PageUsersInfoResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12694,16 +12661,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "description": "Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.\nUsed by the comment widget to enrich users that just appeared via a presence event.\nNo page context: privacy is enforced uniformly (private profiles are masked).", @@ -12741,17 +12698,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV1PageLikes" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV1PageLikesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV1PageLikes" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12788,17 +12743,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateV1PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateV1PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateV1PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12843,17 +12796,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteV1PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteV1PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteV1PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12892,17 +12843,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV2PageReactUsersResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV2PageReactUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV2PageReactUsersResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12949,17 +12898,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetV2PageReacts" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetV2PageReactsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetV2PageReacts" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -12996,17 +12943,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateV2PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateV2PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateV2PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13059,17 +13004,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteV2PageReact" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteV2PageReactResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteV2PageReact" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13116,17 +13059,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13177,6 +13118,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13197,17 +13146,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiIdsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13266,6 +13213,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13286,17 +13241,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiCommentsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13373,6 +13326,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13393,17 +13354,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationExportResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostApiExportResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationExportResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13454,6 +13413,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13474,17 +13441,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationExportStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetApiExportStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationExportStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13503,6 +13468,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13523,17 +13496,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationUserSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationUserSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13552,6 +13523,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13572,17 +13551,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationPageSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchPagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationPageSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13601,6 +13578,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13621,17 +13606,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationSiteSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchSitesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationSiteSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13650,6 +13633,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13670,17 +13661,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationCommentSearchResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchCommentsSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationCommentSearchResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13715,6 +13704,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13735,17 +13732,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationSuggestResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetSearchSuggestResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationSuggestResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13764,6 +13759,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13784,17 +13787,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PreBanSummary" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPreBanSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PreBanSummary" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13837,6 +13838,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13857,17 +13866,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkPreBanSummary" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBulkPreBanSummaryResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkPreBanSummary" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -13902,6 +13909,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -13932,17 +13947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BanUserFromCommentResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBanUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BanUserFromCommentResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14025,6 +14038,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14045,17 +14066,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetBanUsersFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14074,6 +14093,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14094,17 +14121,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostBanUserUndoResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14115,6 +14140,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14152,21 +14185,14 @@ }, { "$ref": "#/components/schemas/RemoveCommentActionResponse" + }, + { + "$ref": "#/components/schemas/APIError" } ] } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -14182,6 +14208,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14202,17 +14244,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostRestoreDeletedCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14231,6 +14271,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14251,17 +14307,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14280,6 +14334,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14300,17 +14370,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostUnFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14329,6 +14397,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14349,17 +14433,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentReviewStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14386,6 +14468,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14406,17 +14504,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentSpamStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14451,6 +14547,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14471,17 +14583,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetCommentApprovedResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentApprovalStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetCommentApprovedResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14508,6 +14618,22 @@ "type": "boolean" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14528,17 +14654,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetLogsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14557,6 +14681,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14577,17 +14709,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPICommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModerationCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPICommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14622,6 +14752,14 @@ "type": "boolean" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14642,17 +14780,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostCommentsByIdsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14663,6 +14799,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14693,17 +14837,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentChildrenResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14722,6 +14864,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14742,17 +14892,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModerationCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14771,6 +14919,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14791,17 +14947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostSetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14820,6 +14974,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14850,17 +15020,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AdjustVotesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostAdjustCommentVotesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AdjustVotesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14879,6 +15047,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14909,17 +15093,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PostVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -14946,6 +15128,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -14966,17 +15164,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteModerationVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15003,6 +15199,22 @@ "type": "string" } }, + { + "in": "query", + "name": "broadcastId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15023,17 +15235,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentBanStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentBanStatusResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentBanStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15052,6 +15262,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15072,17 +15290,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBanPreferenceResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15093,6 +15309,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15113,17 +15337,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantManualBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetManualBadgesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantManualBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15134,6 +15356,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15154,17 +15384,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserManualBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetManualBadgesForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserManualBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15191,6 +15419,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15211,17 +15447,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AwardUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutAwardBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AwardUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15264,6 +15498,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15284,17 +15526,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RemoveUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutRemoveBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/RemoveUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15337,6 +15577,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15357,17 +15605,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserTrustFactorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTrustFactorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserTrustFactorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15386,6 +15632,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15406,17 +15660,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SetUserTrustFactorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SetTrustFactorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SetUserTrustFactorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15443,6 +15695,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15463,17 +15723,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserInternalProfileResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserInternalProfileResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserInternalProfileResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15486,7 +15744,15 @@ "parameters": [ { "in": "query", - "name": "commentId", + "name": "commentId", + "required": false, + "schema": { + "type": "string" + } + }, + { + "in": "query", + "name": "tenantId", "required": false, "schema": { "type": "string" @@ -15512,17 +15778,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutReopenThreadResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15541,6 +15805,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15561,17 +15833,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PutCloseThreadResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15590,6 +15860,14 @@ "type": "string" } }, + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15610,17 +15888,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetBannedUsersCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCountsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetBannedUsersCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15631,6 +15907,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": false, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "sso", @@ -15722,6 +16006,9 @@ }, { "$ref": "#/components/schemas/GifSearchInternalError" + }, + { + "$ref": "#/components/schemas/APIError" } ] } @@ -15737,16 +16024,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -15807,7 +16084,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GifGetLargeResponse" + "title": "GetGifLargeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GifGetLargeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15821,16 +16106,6 @@ } } } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" - } - } - } } }, "tags": [ @@ -15866,17 +16141,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "FlagCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -15931,17 +16204,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16023,17 +16294,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16090,17 +16359,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReactFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReactFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ReactFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16173,17 +16440,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserReactsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserReactsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UserReactsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16233,17 +16498,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateFeedPostPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16307,25 +16570,22 @@ "application/json": { "schema": { "title": "DeleteFeedPostPublicResponse", - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" + "anyOf": [ + { + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" + } + }, + "required": [ + "status" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/APIError" } - }, - "required": [ - "status" - ], - "type": "object" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + ] } } } @@ -16380,17 +16640,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FeedPostsStatsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsStatsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FeedPostsStatsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16440,17 +16698,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEventLogResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEventLogResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEventLogResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16516,17 +16772,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEventLogResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetGlobalEventLogResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEventLogResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16592,17 +16846,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16657,17 +16909,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SetCommentTextResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16740,17 +16990,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentsForUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentsForUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -16830,17 +17078,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17095,17 +17341,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17178,17 +17422,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17251,17 +17493,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CheckBlockedCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CheckedCommentsForBlockedResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CheckBlockedCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17309,17 +17549,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "VoteCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17400,17 +17638,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17489,17 +17725,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentVoteUserNamesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17555,17 +17789,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PinCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17620,17 +17852,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnPinCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17685,17 +17915,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "LockCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIError" + }, + { + "$ref": "#/components/schemas/APIEmptyResponse" + } + ] } } } @@ -17750,17 +17978,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnLockCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIError" + }, + { + "$ref": "#/components/schemas/APIEmptyResponse" + } + ] } } } @@ -17815,17 +18041,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BlockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BlockFromCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BlockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -17880,17 +18104,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnblockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnBlockCommentPublicResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UnblockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18698,17 +18920,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetVotesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetVotesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetVotesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18746,17 +18966,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18824,17 +19042,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetVotesForUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetVotesForUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetVotesForUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18890,17 +19106,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VoteDeleteResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteVoteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/VoteDeleteResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18948,17 +19162,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -18998,17 +19210,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19046,17 +19256,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptySuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19104,17 +19312,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptySuccessResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19154,17 +19360,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19245,17 +19449,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APICreateUserBadgeResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateUserBadgeResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APICreateUserBadgeResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19297,17 +19499,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressByIdResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19347,17 +19547,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressListResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19415,17 +19613,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetUserBadgeProgressByUserIdResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19465,17 +19661,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTicketsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTicketsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTicketsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19540,17 +19734,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTicketResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTicketResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTicketResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19600,17 +19792,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTicketResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTicketResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTicketResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19658,17 +19848,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ChangeTicketStateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ChangeTicketStateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/ChangeTicketStateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19726,17 +19914,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19774,17 +19960,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19832,17 +20016,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19883,24 +20065,22 @@ }, "/api/v1/tenants": { "get": { - "operationId": "GetTenants", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetTenantsResponse" - } - } - } - }, - "default": { - "description": "Error", + "operationId": "GetTenants", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19947,17 +20127,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -19999,17 +20177,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20047,17 +20223,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReplaceTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20113,17 +20287,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20179,17 +20351,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20245,17 +20415,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantUsersResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantUsersResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantUsersResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20294,17 +20462,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantUserResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantUserResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantUserResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20346,17 +20512,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SendLoginLinkResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20404,17 +20568,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantPackageResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantPackageResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20452,17 +20614,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "ReplaceTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20510,17 +20670,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20568,17 +20726,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20618,17 +20774,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantPackagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantPackagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantPackagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20667,17 +20821,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateTenantPackageResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateTenantPackageResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateTenantPackageResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20719,17 +20871,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetTenantDailyUsagesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20797,17 +20947,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionResultResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionResultResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20845,17 +20993,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20903,17 +21049,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -20953,17 +21097,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21042,17 +21184,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateQuestionResultResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateQuestionResultResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateQuestionResultResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21094,17 +21234,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AggregateQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AggregateQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/AggregateQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21188,17 +21326,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BulkAggregateQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21248,17 +21384,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CombineCommentsWithQuestionResultsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21361,17 +21495,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionConfigResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionConfigResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21409,17 +21541,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21467,17 +21597,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21517,17 +21645,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetQuestionConfigsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetQuestionConfigsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetQuestionConfigsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21566,17 +21692,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateQuestionConfigResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateQuestionConfigResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateQuestionConfigResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21618,17 +21742,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPendingWebhookEventsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21718,17 +21840,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetPendingWebhookEventCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21809,17 +21929,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeletePendingWebhookEventResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21859,17 +21977,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetNotificationsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetNotificationsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetNotificationsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -21950,17 +22066,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22032,17 +22146,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateNotificationResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22092,25 +22204,23 @@ } }, "/api/v1/notification-count/{id}": { - "get": { - "operationId": "GetCachedNotificationCount", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetCachedNotificationCountResponse" - } - } - } - }, - "default": { - "description": "Error", + "get": { + "operationId": "GetCachedNotificationCount", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCachedNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetCachedNotificationCountResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22148,17 +22258,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteNotificationCountResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22198,17 +22306,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetModeratorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetModeratorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22246,17 +22352,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22304,17 +22408,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22362,17 +22464,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetModeratorsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetModeratorsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetModeratorsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22411,17 +22511,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateModeratorResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateModeratorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateModeratorResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22463,17 +22561,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SendInviteResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22521,17 +22617,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetHashTagsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetHashTagsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetHashTagsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22570,17 +22664,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateHashTagResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AddHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateHashTagResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22622,17 +22714,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BulkCreateHashTagsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "AddHashTagsBulkResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BulkCreateHashTagsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22674,17 +22764,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UpdateHashTagResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "PatchHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UpdateHashTagResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22732,17 +22820,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteHashTagResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22798,17 +22884,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetFeedPostsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22867,17 +22951,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateFeedPostsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateFeedPostResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateFeedPostsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -22951,17 +23033,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateFeedPostResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23011,17 +23091,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateDefinitionsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23044,26 +23122,24 @@ ] } }, - "/api/v1/email-templates/{id}/render-errors": { - "get": { - "operationId": "GetEmailTemplateRenderErrors", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" - } - } - } - }, - "default": { - "description": "Error", + "/api/v1/email-templates/{id}/render-errors": { + "get": { + "operationId": "GetEmailTemplateRenderErrors", + "responses": { + "200": { + "description": "Ok", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateRenderErrorsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23112,17 +23188,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteEmailTemplateRenderErrorResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23170,17 +23244,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23218,17 +23290,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23276,17 +23346,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23326,17 +23394,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetEmailTemplatesResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetEmailTemplatesResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetEmailTemplatesResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23375,17 +23441,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "CreateEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/CreateEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23427,17 +23491,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RenderEmailTemplateResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "RenderEmailTemplateResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/RenderEmailTemplateResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23892,17 +23954,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -23940,17 +24000,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIEmptyResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UpdateCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIEmptyResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24022,17 +24080,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteCommentResult" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "DeleteCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/DeleteCommentResult" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24088,17 +24144,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APIGetCommentsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetCommentsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APIGetCommentsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24264,17 +24318,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/APISaveCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "SaveCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/APISaveCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24436,17 +24488,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FlagCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "FlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FlagCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24502,17 +24552,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FlagCommentResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnFlagCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/FlagCommentResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24568,17 +24616,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BlockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "BlockUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/BlockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24644,17 +24690,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnblockSuccess" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "UnBlockUserFromCommentResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/UnblockSuccess" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } @@ -24720,17 +24764,15 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetAuditLogsResponse" - } - } - } - }, - "default": { - "description": "Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/APIError" + "title": "GetAuditLogsResponse", + "anyOf": [ + { + "$ref": "#/components/schemas/GetAuditLogsResponse" + }, + { + "$ref": "#/components/schemas/APIError" + } + ] } } } From 5f9101efd59ea092dae1c6741c0d0cb5745f54c8 Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 22 Jun 2026 14:41:00 -0700 Subject: [PATCH 2/5] Regenerate against corrected spec (tsoa 6.6.8 splits X | APIError response unions) --- client/.openapi-generator/FILES | 354 -- client/README.md | 177 - client/api/openapi.yaml | 2341 ++++++----- client/api_default.go | 1440 +++++-- client/api_moderation.go | 680 ++- client/api_public.go | 751 +++- client/docs/AddHashTagResponse.md | 244 -- client/docs/AddHashTagsBulkResponse.md | 244 -- .../docs/AggregateQuestionResultsResponse1.md | 244 -- client/docs/BlockFromCommentPublicResponse.md | 244 -- client/docs/BlockUserFromCommentResponse.md | 244 -- .../BulkAggregateQuestionResultsResponse1.md | 244 -- client/docs/ChangeTicketStateResponse1.md | 244 -- .../docs/CheckedCommentsForBlockedResponse.md | 244 -- ...bineCommentsWithQuestionResultsResponse.md | 244 -- client/docs/CreateCommentPublicResponse.md | 327 -- client/docs/CreateEmailTemplateResponse1.md | 244 -- client/docs/CreateFeedPostPublicResponse.md | 244 -- client/docs/CreateFeedPostResponse1.md | 244 -- client/docs/CreateModeratorResponse1.md | 244 -- client/docs/CreateQuestionConfigResponse1.md | 244 -- client/docs/CreateQuestionResultResponse1.md | 244 -- client/docs/CreateTenantPackageResponse1.md | 244 -- client/docs/CreateTenantResponse1.md | 244 -- client/docs/CreateTenantUserResponse1.md | 244 -- client/docs/CreateTicketResponse1.md | 244 -- client/docs/CreateUserBadgeResponse.md | 270 -- client/docs/CreateV1PageReactResponse.md | 223 - client/docs/CreateV2PageReactResponse.md | 223 - client/docs/CreateVoteResponse.md | 327 -- client/docs/DefaultAPI.md | 540 +-- client/docs/DeleteCommentPublicResponse.md | 270 -- client/docs/DeleteCommentResponse.md | 244 -- client/docs/DeleteCommentVoteResponse.md | 249 -- .../DeleteEmailTemplateRenderErrorResponse.md | 223 - client/docs/DeleteEmailTemplateResponse.md | 223 - client/docs/DeleteFeedPostPublicResponse.md | 174 +- .../docs/DeleteFeedPostPublicResponseAnyOf.md | 51 - client/docs/DeleteHashTagResponse.md | 223 - client/docs/DeleteModerationVoteResponse.md | 249 -- client/docs/DeleteModeratorResponse.md | 223 - .../docs/DeleteNotificationCountResponse.md | 223 - .../docs/DeletePendingWebhookEventResponse.md | 223 - client/docs/DeleteQuestionConfigResponse.md | 223 - client/docs/DeleteQuestionResultResponse.md | 223 - client/docs/DeleteTenantPackageResponse.md | 223 - client/docs/DeleteTenantResponse.md | 223 - client/docs/DeleteTenantUserResponse.md | 223 - client/docs/DeleteUserBadgeResponse.md | 223 - client/docs/DeleteV1PageReactResponse.md | 223 - client/docs/DeleteV2PageReactResponse.md | 223 - client/docs/DeleteVoteResponse.md | 249 -- client/docs/FlagCommentPublicResponse.md | 223 - client/docs/FlagCommentResponse1.md | 275 -- client/docs/GetApiCommentsResponse.md | 291 -- client/docs/GetApiExportStatusResponse.md | 291 -- client/docs/GetApiIdsResponse.md | 265 -- client/docs/GetAuditLogsResponse1.md | 244 -- client/docs/GetBanUsersFromCommentResponse.md | 244 -- .../GetCachedNotificationCountResponse1.md | 244 -- client/docs/GetCommentBanStatusResponse1.md | 285 -- client/docs/GetCommentChildrenResponse.md | 244 -- client/docs/GetCommentResponse.md | 244 -- client/docs/GetCommentTextResponse1.md | 265 -- .../docs/GetCommentVoteUserNamesResponse.md | 265 -- client/docs/GetCommentsForUserResponse1.md | 249 -- client/docs/GetCommentsPublicResponse.md | 826 ---- client/docs/GetCommentsResponse.md | 244 -- client/docs/GetCountResponse.md | 244 -- client/docs/GetCountsResponse.md | 244 -- .../GetEmailTemplateDefinitionsResponse1.md | 244 -- .../GetEmailTemplateRenderErrorsResponse1.md | 244 -- client/docs/GetEmailTemplateResponse1.md | 244 -- client/docs/GetEmailTemplatesResponse1.md | 244 -- client/docs/GetEventLogResponse1.md | 244 -- client/docs/GetFeedPostsPublicResponse.md | 384 -- client/docs/GetFeedPostsResponse1.md | 244 -- client/docs/GetFeedPostsStatsResponse.md | 244 -- client/docs/GetGifLargeResponse.md | 244 -- client/docs/GetGifsSearchResponse.md | 153 +- client/docs/GetGlobalEventLogResponse.md | 244 -- client/docs/GetHashTagsResponse1.md | 244 -- client/docs/GetLogsResponse.md | 244 -- client/docs/GetManualBadgesForUserResponse.md | 244 -- client/docs/GetManualBadgesResponse.md | 244 -- client/docs/GetModerationCommentResponse.md | 244 -- .../docs/GetModerationCommentTextResponse.md | 259 -- client/docs/GetModeratorResponse1.md | 244 -- client/docs/GetModeratorsResponse1.md | 244 -- client/docs/GetNotificationCountResponse1.md | 244 -- client/docs/GetNotificationsResponse1.md | 244 -- client/docs/GetOfflineUsersResponse.md | 306 -- client/docs/GetOnlineUsersResponse.md | 348 -- client/docs/GetPagesPublicResponse.md | 275 -- .../GetPendingWebhookEventCountResponse1.md | 244 -- .../docs/GetPendingWebhookEventsResponse1.md | 244 -- client/docs/GetPreBanSummaryResponse.md | 265 -- client/docs/GetQuestionConfigResponse1.md | 244 -- client/docs/GetQuestionConfigsResponse1.md | 244 -- client/docs/GetQuestionResultResponse1.md | 244 -- client/docs/GetQuestionResultsResponse1.md | 244 -- .../docs/GetSearchCommentsSummaryResponse.md | 244 -- client/docs/GetSearchPagesResponse.md | 244 -- client/docs/GetSearchSitesResponse.md | 244 -- client/docs/GetSearchSuggestResponse.md | 275 -- client/docs/GetSearchUsersResponse.md | 244 -- client/docs/GetTenantDailyUsagesResponse1.md | 244 -- client/docs/GetTenantPackageResponse1.md | 244 -- client/docs/GetTenantPackagesResponse1.md | 244 -- client/docs/GetTenantResponse1.md | 244 -- client/docs/GetTenantUserResponse1.md | 244 -- client/docs/GetTenantUsersResponse1.md | 244 -- client/docs/GetTenantsResponse1.md | 244 -- client/docs/GetTicketResponse1.md | 265 -- client/docs/GetTicketsResponse1.md | 244 -- client/docs/GetTranslationsResponse1.md | 244 -- client/docs/GetTrustFactorResponse.md | 275 -- .../docs/GetUserBadgeProgressByIdResponse.md | 244 -- .../GetUserBadgeProgressByUserIdResponse.md | 244 -- .../docs/GetUserBadgeProgressListResponse.md | 244 -- client/docs/GetUserBadgeResponse.md | 244 -- client/docs/GetUserBadgesResponse.md | 244 -- client/docs/GetUserBanPreferenceResponse.md | 254 -- .../docs/GetUserInternalProfileResponse1.md | 244 -- .../docs/GetUserNotificationCountResponse1.md | 244 -- client/docs/GetUserNotificationsResponse.md | 312 -- .../docs/GetUserPresenceStatusesResponse1.md | 244 -- client/docs/GetUserReactsPublicResponse.md | 244 -- client/docs/GetUserResponse1.md | 244 -- client/docs/GetUsersInfoResponse.md | 244 -- client/docs/GetV1PageLikesResponse.md | 307 -- client/docs/GetV2PageReactUsersResponse1.md | 244 -- client/docs/GetV2PageReactsResponse.md | 275 -- client/docs/GetVotesForUserResponse1.md | 286 -- client/docs/GetVotesResponse1.md | 286 -- client/docs/LockCommentResponse.md | 223 - client/docs/ModerationAPI.md | 252 +- client/docs/PatchHashTagResponse.md | 244 -- client/docs/PinCommentResponse.md | 244 -- client/docs/PostAdjustCommentVotesResponse.md | 244 -- client/docs/PostApiExportResponse.md | 244 -- client/docs/PostBanUserFromCommentResponse.md | 249 -- client/docs/PostBanUserUndoResponse.md | 223 - client/docs/PostBulkPreBanSummaryResponse.md | 328 -- client/docs/PostCommentsByIdsResponse.md | 244 -- client/docs/PostFlagCommentResponse.md | 223 - client/docs/PostRemoveCommentResponse.md | 182 +- .../docs/PostRestoreDeletedCommentResponse.md | 223 - .../PostSetCommentApprovalStatusResponse.md | 249 -- .../PostSetCommentReviewStatusResponse.md | 223 - .../docs/PostSetCommentSpamStatusResponse.md | 223 - client/docs/PostSetCommentTextResponse.md | 244 -- client/docs/PostUnFlagCommentResponse.md | 223 - client/docs/PostVoteResponse.md | 327 -- client/docs/PublicAPI.md | 264 +- client/docs/PutAwardBadgeResponse.md | 275 -- client/docs/PutCloseThreadResponse.md | 223 - client/docs/PutRemoveBadgeResponse.md | 249 -- client/docs/PutReopenThreadResponse.md | 223 - client/docs/ReactFeedPostPublicResponse.md | 265 -- client/docs/RenderEmailTemplateResponse1.md | 244 -- client/docs/ReplaceTenantPackageResponse.md | 223 - client/docs/ReplaceTenantUserResponse.md | 223 - .../ResetUserNotificationCountResponse.md | 223 - .../docs/ResetUserNotificationsResponse1.md | 223 - client/docs/SaveCommentResponse.md | 301 -- client/docs/SearchUsersResponse1.md | 265 -- client/docs/SendInviteResponse.md | 223 - client/docs/SendLoginLinkResponse.md | 223 - client/docs/SetCommentTextResponse1.md | 244 -- client/docs/SetTrustFactorResponse.md | 249 -- client/docs/UnBlockCommentPublicResponse.md | 244 -- client/docs/UnBlockUserFromCommentResponse.md | 244 -- client/docs/UnFlagCommentResponse.md | 275 -- client/docs/UnLockCommentResponse.md | 223 - client/docs/UnPinCommentResponse.md | 244 -- client/docs/UpdateCommentResponse.md | 223 - client/docs/UpdateEmailTemplateResponse.md | 223 - client/docs/UpdateFeedPostPublicResponse.md | 244 -- client/docs/UpdateFeedPostResponse.md | 223 - client/docs/UpdateModeratorResponse.md | 223 - client/docs/UpdateNotificationResponse.md | 223 - client/docs/UpdateQuestionConfigResponse.md | 223 - client/docs/UpdateQuestionResultResponse.md | 223 - client/docs/UpdateTenantPackageResponse.md | 223 - client/docs/UpdateTenantResponse.md | 223 - client/docs/UpdateTenantUserResponse.md | 223 - client/docs/UpdateUserBadgeResponse.md | 223 - ...cationCommentSubscriptionStatusResponse.md | 174 +- ...ificationPageSubscriptionStatusResponse.md | 174 +- .../UpdateUserNotificationStatusResponse.md | 174 +- client/docs/VoteCommentResponse.md | 327 -- client/model_add_hash_tag_response.go | 107 - client/model_add_hash_tags_bulk_response.go | 107 - ...l_aggregate_question_results_response_1.go | 107 - ...odel_block_from_comment_public_response.go | 107 - .../model_block_user_from_comment_response.go | 107 - ...k_aggregate_question_results_response_1.go | 107 - .../model_change_ticket_state_response_1.go | 107 - ...l_checked_comments_for_blocked_response.go | 107 - ...comments_with_question_results_response.go | 107 - .../model_create_comment_public_response.go | 107 - .../model_create_email_template_response_1.go | 107 - .../model_create_feed_post_public_response.go | 107 - client/model_create_feed_post_response_1.go | 107 - client/model_create_moderator_response_1.go | 107 - ...model_create_question_config_response_1.go | 107 - ...model_create_question_result_response_1.go | 107 - .../model_create_tenant_package_response_1.go | 107 - client/model_create_tenant_response_1.go | 107 - client/model_create_tenant_user_response_1.go | 107 - client/model_create_ticket_response_1.go | 107 - client/model_create_user_badge_response.go | 107 - client/model_create_v1_page_react_response.go | 107 - client/model_create_v2_page_react_response.go | 107 - client/model_create_vote_response.go | 107 - .../model_delete_comment_public_response.go | 107 - client/model_delete_comment_response.go | 107 - client/model_delete_comment_vote_response.go | 107 - ...te_email_template_render_error_response.go | 107 - .../model_delete_email_template_response.go | 107 - .../model_delete_feed_post_public_response.go | 127 +- ...delete_feed_post_public_response_any_of.go | 158 - client/model_delete_hash_tag_response.go | 107 - .../model_delete_moderation_vote_response.go | 107 - client/model_delete_moderator_response.go | 107 - ...odel_delete_notification_count_response.go | 107 - ...l_delete_pending_webhook_event_response.go | 107 - .../model_delete_question_config_response.go | 107 - .../model_delete_question_result_response.go | 107 - .../model_delete_tenant_package_response.go | 107 - client/model_delete_tenant_response.go | 107 - client/model_delete_tenant_user_response.go | 107 - client/model_delete_user_badge_response.go | 107 - client/model_delete_v1_page_react_response.go | 107 - client/model_delete_v2_page_react_response.go | 107 - client/model_delete_vote_response.go | 107 - client/model_flag_comment_public_response.go | 107 - client/model_flag_comment_response_1.go | 107 - client/model_get_api_comments_response.go | 107 - .../model_get_api_export_status_response.go | 107 - client/model_get_api_ids_response.go | 107 - client/model_get_audit_logs_response_1.go | 107 - ...del_get_ban_users_from_comment_response.go | 107 - ...et_cached_notification_count_response_1.go | 107 - ...model_get_comment_ban_status_response_1.go | 107 - client/model_get_comment_children_response.go | 107 - client/model_get_comment_response.go | 107 - client/model_get_comment_text_response_1.go | 107 - ...el_get_comment_vote_user_names_response.go | 107 - .../model_get_comments_for_user_response_1.go | 107 - client/model_get_comments_public_response.go | 107 - client/model_get_comments_response.go | 107 - client/model_get_count_response.go | 107 - client/model_get_counts_response.go | 107 - ...t_email_template_definitions_response_1.go | 107 - ...email_template_render_errors_response_1.go | 107 - client/model_get_email_template_response_1.go | 107 - .../model_get_email_templates_response_1.go | 107 - client/model_get_event_log_response_1.go | 107 - .../model_get_feed_posts_public_response.go | 107 - client/model_get_feed_posts_response_1.go | 107 - client/model_get_feed_posts_stats_response.go | 107 - client/model_get_gif_large_response.go | 107 - client/model_get_gifs_search_response.go | 18 - client/model_get_global_event_log_response.go | 107 - client/model_get_hash_tags_response_1.go | 107 - client/model_get_logs_response.go | 107 - ...del_get_manual_badges_for_user_response.go | 107 - client/model_get_manual_badges_response.go | 107 - .../model_get_moderation_comment_response.go | 107 - ...el_get_moderation_comment_text_response.go | 107 - client/model_get_moderator_response_1.go | 107 - client/model_get_moderators_response_1.go | 107 - ...model_get_notification_count_response_1.go | 107 - client/model_get_notifications_response_1.go | 107 - client/model_get_offline_users_response.go | 107 - client/model_get_online_users_response.go | 107 - client/model_get_pages_public_response.go | 107 - ..._pending_webhook_event_count_response_1.go | 107 - ...l_get_pending_webhook_events_response_1.go | 107 - client/model_get_pre_ban_summary_response.go | 107 - .../model_get_question_config_response_1.go | 107 - .../model_get_question_configs_response_1.go | 107 - .../model_get_question_result_response_1.go | 107 - .../model_get_question_results_response_1.go | 107 - ...el_get_search_comments_summary_response.go | 107 - client/model_get_search_pages_response.go | 107 - client/model_get_search_sites_response.go | 107 - client/model_get_search_suggest_response.go | 107 - client/model_get_search_users_response.go | 107 - ...odel_get_tenant_daily_usages_response_1.go | 107 - client/model_get_tenant_package_response_1.go | 107 - .../model_get_tenant_packages_response_1.go | 107 - client/model_get_tenant_response_1.go | 107 - client/model_get_tenant_user_response_1.go | 107 - client/model_get_tenant_users_response_1.go | 107 - client/model_get_tenants_response_1.go | 107 - client/model_get_ticket_response_1.go | 107 - client/model_get_tickets_response_1.go | 107 - client/model_get_translations_response_1.go | 107 - client/model_get_trust_factor_response.go | 107 - ..._get_user_badge_progress_by_id_response.go | 107 - ...user_badge_progress_by_user_id_response.go | 107 - ...l_get_user_badge_progress_list_response.go | 107 - client/model_get_user_badge_response.go | 107 - client/model_get_user_badges_response.go | 107 - .../model_get_user_ban_preference_response.go | 107 - ...el_get_user_internal_profile_response_1.go | 107 - ..._get_user_notification_count_response_1.go | 107 - .../model_get_user_notifications_response.go | 107 - ...l_get_user_presence_statuses_response_1.go | 107 - .../model_get_user_reacts_public_response.go | 107 - client/model_get_user_response_1.go | 107 - client/model_get_users_info_response.go | 107 - client/model_get_v1_page_likes_response.go | 107 - ...odel_get_v2_page_react_users_response_1.go | 107 - client/model_get_v2_page_reacts_response.go | 107 - client/model_get_votes_for_user_response_1.go | 107 - client/model_get_votes_response_1.go | 107 - client/model_lock_comment_response.go | 107 - client/model_patch_hash_tag_response.go | 107 - client/model_pin_comment_response.go | 107 - ...odel_post_adjust_comment_votes_response.go | 107 - client/model_post_api_export_response.go | 107 - ...del_post_ban_user_from_comment_response.go | 107 - client/model_post_ban_user_undo_response.go | 107 - ...odel_post_bulk_pre_ban_summary_response.go | 107 - client/model_post_comments_by_ids_response.go | 107 - client/model_post_flag_comment_response.go | 107 - client/model_post_remove_comment_response.go | 18 - ...l_post_restore_deleted_comment_response.go | 107 - ...st_set_comment_approval_status_response.go | 107 - ...post_set_comment_review_status_response.go | 107 - ...l_post_set_comment_spam_status_response.go | 107 - .../model_post_set_comment_text_response.go | 107 - client/model_post_un_flag_comment_response.go | 107 - client/model_post_vote_response.go | 107 - client/model_put_award_badge_response.go | 107 - client/model_put_close_thread_response.go | 107 - client/model_put_remove_badge_response.go | 107 - client/model_put_reopen_thread_response.go | 107 - .../model_react_feed_post_public_response.go | 107 - .../model_render_email_template_response_1.go | 107 - .../model_replace_tenant_package_response.go | 107 - client/model_replace_tenant_user_response.go | 107 - ..._reset_user_notification_count_response.go | 107 - ...del_reset_user_notifications_response_1.go | 107 - client/model_save_comment_response.go | 107 - client/model_search_users_response_1.go | 107 - client/model_send_invite_response.go | 107 - client/model_send_login_link_response.go | 107 - client/model_set_comment_text_response_1.go | 107 - client/model_set_trust_factor_response.go | 107 - .../model_un_block_comment_public_response.go | 107 - ...del_un_block_user_from_comment_response.go | 107 - client/model_un_flag_comment_response.go | 107 - client/model_un_lock_comment_response.go | 107 - client/model_un_pin_comment_response.go | 107 - client/model_update_comment_response.go | 107 - .../model_update_email_template_response.go | 107 - .../model_update_feed_post_public_response.go | 107 - client/model_update_feed_post_response.go | 107 - client/model_update_moderator_response.go | 107 - client/model_update_notification_response.go | 107 - .../model_update_question_config_response.go | 107 - .../model_update_question_result_response.go | 107 - .../model_update_tenant_package_response.go | 107 - client/model_update_tenant_response.go | 107 - client/model_update_tenant_user_response.go | 107 - client/model_update_user_badge_response.go | 107 - ...on_comment_subscription_status_response.go | 18 - ...ation_page_subscription_status_response.go | 18 - ...pdate_user_notification_status_response.go | 18 - client/model_vote_comment_response.go | 107 - openapi.json | 3634 +++++++++-------- 376 files changed, 6078 insertions(+), 68856 deletions(-) delete mode 100644 client/docs/AddHashTagResponse.md delete mode 100644 client/docs/AddHashTagsBulkResponse.md delete mode 100644 client/docs/AggregateQuestionResultsResponse1.md delete mode 100644 client/docs/BlockFromCommentPublicResponse.md delete mode 100644 client/docs/BlockUserFromCommentResponse.md delete mode 100644 client/docs/BulkAggregateQuestionResultsResponse1.md delete mode 100644 client/docs/ChangeTicketStateResponse1.md delete mode 100644 client/docs/CheckedCommentsForBlockedResponse.md delete mode 100644 client/docs/CombineCommentsWithQuestionResultsResponse.md delete mode 100644 client/docs/CreateCommentPublicResponse.md delete mode 100644 client/docs/CreateEmailTemplateResponse1.md delete mode 100644 client/docs/CreateFeedPostPublicResponse.md delete mode 100644 client/docs/CreateFeedPostResponse1.md delete mode 100644 client/docs/CreateModeratorResponse1.md delete mode 100644 client/docs/CreateQuestionConfigResponse1.md delete mode 100644 client/docs/CreateQuestionResultResponse1.md delete mode 100644 client/docs/CreateTenantPackageResponse1.md delete mode 100644 client/docs/CreateTenantResponse1.md delete mode 100644 client/docs/CreateTenantUserResponse1.md delete mode 100644 client/docs/CreateTicketResponse1.md delete mode 100644 client/docs/CreateUserBadgeResponse.md delete mode 100644 client/docs/CreateV1PageReactResponse.md delete mode 100644 client/docs/CreateV2PageReactResponse.md delete mode 100644 client/docs/CreateVoteResponse.md delete mode 100644 client/docs/DeleteCommentPublicResponse.md delete mode 100644 client/docs/DeleteCommentResponse.md delete mode 100644 client/docs/DeleteCommentVoteResponse.md delete mode 100644 client/docs/DeleteEmailTemplateRenderErrorResponse.md delete mode 100644 client/docs/DeleteEmailTemplateResponse.md delete mode 100644 client/docs/DeleteFeedPostPublicResponseAnyOf.md delete mode 100644 client/docs/DeleteHashTagResponse.md delete mode 100644 client/docs/DeleteModerationVoteResponse.md delete mode 100644 client/docs/DeleteModeratorResponse.md delete mode 100644 client/docs/DeleteNotificationCountResponse.md delete mode 100644 client/docs/DeletePendingWebhookEventResponse.md delete mode 100644 client/docs/DeleteQuestionConfigResponse.md delete mode 100644 client/docs/DeleteQuestionResultResponse.md delete mode 100644 client/docs/DeleteTenantPackageResponse.md delete mode 100644 client/docs/DeleteTenantResponse.md delete mode 100644 client/docs/DeleteTenantUserResponse.md delete mode 100644 client/docs/DeleteUserBadgeResponse.md delete mode 100644 client/docs/DeleteV1PageReactResponse.md delete mode 100644 client/docs/DeleteV2PageReactResponse.md delete mode 100644 client/docs/DeleteVoteResponse.md delete mode 100644 client/docs/FlagCommentPublicResponse.md delete mode 100644 client/docs/FlagCommentResponse1.md delete mode 100644 client/docs/GetApiCommentsResponse.md delete mode 100644 client/docs/GetApiExportStatusResponse.md delete mode 100644 client/docs/GetApiIdsResponse.md delete mode 100644 client/docs/GetAuditLogsResponse1.md delete mode 100644 client/docs/GetBanUsersFromCommentResponse.md delete mode 100644 client/docs/GetCachedNotificationCountResponse1.md delete mode 100644 client/docs/GetCommentBanStatusResponse1.md delete mode 100644 client/docs/GetCommentChildrenResponse.md delete mode 100644 client/docs/GetCommentResponse.md delete mode 100644 client/docs/GetCommentTextResponse1.md delete mode 100644 client/docs/GetCommentVoteUserNamesResponse.md delete mode 100644 client/docs/GetCommentsForUserResponse1.md delete mode 100644 client/docs/GetCommentsPublicResponse.md delete mode 100644 client/docs/GetCommentsResponse.md delete mode 100644 client/docs/GetCountResponse.md delete mode 100644 client/docs/GetCountsResponse.md delete mode 100644 client/docs/GetEmailTemplateDefinitionsResponse1.md delete mode 100644 client/docs/GetEmailTemplateRenderErrorsResponse1.md delete mode 100644 client/docs/GetEmailTemplateResponse1.md delete mode 100644 client/docs/GetEmailTemplatesResponse1.md delete mode 100644 client/docs/GetEventLogResponse1.md delete mode 100644 client/docs/GetFeedPostsPublicResponse.md delete mode 100644 client/docs/GetFeedPostsResponse1.md delete mode 100644 client/docs/GetFeedPostsStatsResponse.md delete mode 100644 client/docs/GetGifLargeResponse.md delete mode 100644 client/docs/GetGlobalEventLogResponse.md delete mode 100644 client/docs/GetHashTagsResponse1.md delete mode 100644 client/docs/GetLogsResponse.md delete mode 100644 client/docs/GetManualBadgesForUserResponse.md delete mode 100644 client/docs/GetManualBadgesResponse.md delete mode 100644 client/docs/GetModerationCommentResponse.md delete mode 100644 client/docs/GetModerationCommentTextResponse.md delete mode 100644 client/docs/GetModeratorResponse1.md delete mode 100644 client/docs/GetModeratorsResponse1.md delete mode 100644 client/docs/GetNotificationCountResponse1.md delete mode 100644 client/docs/GetNotificationsResponse1.md delete mode 100644 client/docs/GetOfflineUsersResponse.md delete mode 100644 client/docs/GetOnlineUsersResponse.md delete mode 100644 client/docs/GetPagesPublicResponse.md delete mode 100644 client/docs/GetPendingWebhookEventCountResponse1.md delete mode 100644 client/docs/GetPendingWebhookEventsResponse1.md delete mode 100644 client/docs/GetPreBanSummaryResponse.md delete mode 100644 client/docs/GetQuestionConfigResponse1.md delete mode 100644 client/docs/GetQuestionConfigsResponse1.md delete mode 100644 client/docs/GetQuestionResultResponse1.md delete mode 100644 client/docs/GetQuestionResultsResponse1.md delete mode 100644 client/docs/GetSearchCommentsSummaryResponse.md delete mode 100644 client/docs/GetSearchPagesResponse.md delete mode 100644 client/docs/GetSearchSitesResponse.md delete mode 100644 client/docs/GetSearchSuggestResponse.md delete mode 100644 client/docs/GetSearchUsersResponse.md delete mode 100644 client/docs/GetTenantDailyUsagesResponse1.md delete mode 100644 client/docs/GetTenantPackageResponse1.md delete mode 100644 client/docs/GetTenantPackagesResponse1.md delete mode 100644 client/docs/GetTenantResponse1.md delete mode 100644 client/docs/GetTenantUserResponse1.md delete mode 100644 client/docs/GetTenantUsersResponse1.md delete mode 100644 client/docs/GetTenantsResponse1.md delete mode 100644 client/docs/GetTicketResponse1.md delete mode 100644 client/docs/GetTicketsResponse1.md delete mode 100644 client/docs/GetTranslationsResponse1.md delete mode 100644 client/docs/GetTrustFactorResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressByUserIdResponse.md delete mode 100644 client/docs/GetUserBadgeProgressListResponse.md delete mode 100644 client/docs/GetUserBadgeResponse.md delete mode 100644 client/docs/GetUserBadgesResponse.md delete mode 100644 client/docs/GetUserBanPreferenceResponse.md delete mode 100644 client/docs/GetUserInternalProfileResponse1.md delete mode 100644 client/docs/GetUserNotificationCountResponse1.md delete mode 100644 client/docs/GetUserNotificationsResponse.md delete mode 100644 client/docs/GetUserPresenceStatusesResponse1.md delete mode 100644 client/docs/GetUserReactsPublicResponse.md delete mode 100644 client/docs/GetUserResponse1.md delete mode 100644 client/docs/GetUsersInfoResponse.md delete mode 100644 client/docs/GetV1PageLikesResponse.md delete mode 100644 client/docs/GetV2PageReactUsersResponse1.md delete mode 100644 client/docs/GetV2PageReactsResponse.md delete mode 100644 client/docs/GetVotesForUserResponse1.md delete mode 100644 client/docs/GetVotesResponse1.md delete mode 100644 client/docs/LockCommentResponse.md delete mode 100644 client/docs/PatchHashTagResponse.md delete mode 100644 client/docs/PinCommentResponse.md delete mode 100644 client/docs/PostAdjustCommentVotesResponse.md delete mode 100644 client/docs/PostApiExportResponse.md delete mode 100644 client/docs/PostBanUserFromCommentResponse.md delete mode 100644 client/docs/PostBanUserUndoResponse.md delete mode 100644 client/docs/PostBulkPreBanSummaryResponse.md delete mode 100644 client/docs/PostCommentsByIdsResponse.md delete mode 100644 client/docs/PostFlagCommentResponse.md delete mode 100644 client/docs/PostRestoreDeletedCommentResponse.md delete mode 100644 client/docs/PostSetCommentApprovalStatusResponse.md delete mode 100644 client/docs/PostSetCommentReviewStatusResponse.md delete mode 100644 client/docs/PostSetCommentSpamStatusResponse.md delete mode 100644 client/docs/PostSetCommentTextResponse.md delete mode 100644 client/docs/PostUnFlagCommentResponse.md delete mode 100644 client/docs/PostVoteResponse.md delete mode 100644 client/docs/PutAwardBadgeResponse.md delete mode 100644 client/docs/PutCloseThreadResponse.md delete mode 100644 client/docs/PutRemoveBadgeResponse.md delete mode 100644 client/docs/PutReopenThreadResponse.md delete mode 100644 client/docs/ReactFeedPostPublicResponse.md delete mode 100644 client/docs/RenderEmailTemplateResponse1.md delete mode 100644 client/docs/ReplaceTenantPackageResponse.md delete mode 100644 client/docs/ReplaceTenantUserResponse.md delete mode 100644 client/docs/ResetUserNotificationCountResponse.md delete mode 100644 client/docs/ResetUserNotificationsResponse1.md delete mode 100644 client/docs/SaveCommentResponse.md delete mode 100644 client/docs/SearchUsersResponse1.md delete mode 100644 client/docs/SendInviteResponse.md delete mode 100644 client/docs/SendLoginLinkResponse.md delete mode 100644 client/docs/SetCommentTextResponse1.md delete mode 100644 client/docs/SetTrustFactorResponse.md delete mode 100644 client/docs/UnBlockCommentPublicResponse.md delete mode 100644 client/docs/UnBlockUserFromCommentResponse.md delete mode 100644 client/docs/UnFlagCommentResponse.md delete mode 100644 client/docs/UnLockCommentResponse.md delete mode 100644 client/docs/UnPinCommentResponse.md delete mode 100644 client/docs/UpdateCommentResponse.md delete mode 100644 client/docs/UpdateEmailTemplateResponse.md delete mode 100644 client/docs/UpdateFeedPostPublicResponse.md delete mode 100644 client/docs/UpdateFeedPostResponse.md delete mode 100644 client/docs/UpdateModeratorResponse.md delete mode 100644 client/docs/UpdateNotificationResponse.md delete mode 100644 client/docs/UpdateQuestionConfigResponse.md delete mode 100644 client/docs/UpdateQuestionResultResponse.md delete mode 100644 client/docs/UpdateTenantPackageResponse.md delete mode 100644 client/docs/UpdateTenantResponse.md delete mode 100644 client/docs/UpdateTenantUserResponse.md delete mode 100644 client/docs/UpdateUserBadgeResponse.md delete mode 100644 client/docs/VoteCommentResponse.md delete mode 100644 client/model_add_hash_tag_response.go delete mode 100644 client/model_add_hash_tags_bulk_response.go delete mode 100644 client/model_aggregate_question_results_response_1.go delete mode 100644 client/model_block_from_comment_public_response.go delete mode 100644 client/model_block_user_from_comment_response.go delete mode 100644 client/model_bulk_aggregate_question_results_response_1.go delete mode 100644 client/model_change_ticket_state_response_1.go delete mode 100644 client/model_checked_comments_for_blocked_response.go delete mode 100644 client/model_combine_comments_with_question_results_response.go delete mode 100644 client/model_create_comment_public_response.go delete mode 100644 client/model_create_email_template_response_1.go delete mode 100644 client/model_create_feed_post_public_response.go delete mode 100644 client/model_create_feed_post_response_1.go delete mode 100644 client/model_create_moderator_response_1.go delete mode 100644 client/model_create_question_config_response_1.go delete mode 100644 client/model_create_question_result_response_1.go delete mode 100644 client/model_create_tenant_package_response_1.go delete mode 100644 client/model_create_tenant_response_1.go delete mode 100644 client/model_create_tenant_user_response_1.go delete mode 100644 client/model_create_ticket_response_1.go delete mode 100644 client/model_create_user_badge_response.go delete mode 100644 client/model_create_v1_page_react_response.go delete mode 100644 client/model_create_v2_page_react_response.go delete mode 100644 client/model_create_vote_response.go delete mode 100644 client/model_delete_comment_public_response.go delete mode 100644 client/model_delete_comment_response.go delete mode 100644 client/model_delete_comment_vote_response.go delete mode 100644 client/model_delete_email_template_render_error_response.go delete mode 100644 client/model_delete_email_template_response.go delete mode 100644 client/model_delete_feed_post_public_response_any_of.go delete mode 100644 client/model_delete_hash_tag_response.go delete mode 100644 client/model_delete_moderation_vote_response.go delete mode 100644 client/model_delete_moderator_response.go delete mode 100644 client/model_delete_notification_count_response.go delete mode 100644 client/model_delete_pending_webhook_event_response.go delete mode 100644 client/model_delete_question_config_response.go delete mode 100644 client/model_delete_question_result_response.go delete mode 100644 client/model_delete_tenant_package_response.go delete mode 100644 client/model_delete_tenant_response.go delete mode 100644 client/model_delete_tenant_user_response.go delete mode 100644 client/model_delete_user_badge_response.go delete mode 100644 client/model_delete_v1_page_react_response.go delete mode 100644 client/model_delete_v2_page_react_response.go delete mode 100644 client/model_delete_vote_response.go delete mode 100644 client/model_flag_comment_public_response.go delete mode 100644 client/model_flag_comment_response_1.go delete mode 100644 client/model_get_api_comments_response.go delete mode 100644 client/model_get_api_export_status_response.go delete mode 100644 client/model_get_api_ids_response.go delete mode 100644 client/model_get_audit_logs_response_1.go delete mode 100644 client/model_get_ban_users_from_comment_response.go delete mode 100644 client/model_get_cached_notification_count_response_1.go delete mode 100644 client/model_get_comment_ban_status_response_1.go delete mode 100644 client/model_get_comment_children_response.go delete mode 100644 client/model_get_comment_response.go delete mode 100644 client/model_get_comment_text_response_1.go delete mode 100644 client/model_get_comment_vote_user_names_response.go delete mode 100644 client/model_get_comments_for_user_response_1.go delete mode 100644 client/model_get_comments_public_response.go delete mode 100644 client/model_get_comments_response.go delete mode 100644 client/model_get_count_response.go delete mode 100644 client/model_get_counts_response.go delete mode 100644 client/model_get_email_template_definitions_response_1.go delete mode 100644 client/model_get_email_template_render_errors_response_1.go delete mode 100644 client/model_get_email_template_response_1.go delete mode 100644 client/model_get_email_templates_response_1.go delete mode 100644 client/model_get_event_log_response_1.go delete mode 100644 client/model_get_feed_posts_public_response.go delete mode 100644 client/model_get_feed_posts_response_1.go delete mode 100644 client/model_get_feed_posts_stats_response.go delete mode 100644 client/model_get_gif_large_response.go delete mode 100644 client/model_get_global_event_log_response.go delete mode 100644 client/model_get_hash_tags_response_1.go delete mode 100644 client/model_get_logs_response.go delete mode 100644 client/model_get_manual_badges_for_user_response.go delete mode 100644 client/model_get_manual_badges_response.go delete mode 100644 client/model_get_moderation_comment_response.go delete mode 100644 client/model_get_moderation_comment_text_response.go delete mode 100644 client/model_get_moderator_response_1.go delete mode 100644 client/model_get_moderators_response_1.go delete mode 100644 client/model_get_notification_count_response_1.go delete mode 100644 client/model_get_notifications_response_1.go delete mode 100644 client/model_get_offline_users_response.go delete mode 100644 client/model_get_online_users_response.go delete mode 100644 client/model_get_pages_public_response.go delete mode 100644 client/model_get_pending_webhook_event_count_response_1.go delete mode 100644 client/model_get_pending_webhook_events_response_1.go delete mode 100644 client/model_get_pre_ban_summary_response.go delete mode 100644 client/model_get_question_config_response_1.go delete mode 100644 client/model_get_question_configs_response_1.go delete mode 100644 client/model_get_question_result_response_1.go delete mode 100644 client/model_get_question_results_response_1.go delete mode 100644 client/model_get_search_comments_summary_response.go delete mode 100644 client/model_get_search_pages_response.go delete mode 100644 client/model_get_search_sites_response.go delete mode 100644 client/model_get_search_suggest_response.go delete mode 100644 client/model_get_search_users_response.go delete mode 100644 client/model_get_tenant_daily_usages_response_1.go delete mode 100644 client/model_get_tenant_package_response_1.go delete mode 100644 client/model_get_tenant_packages_response_1.go delete mode 100644 client/model_get_tenant_response_1.go delete mode 100644 client/model_get_tenant_user_response_1.go delete mode 100644 client/model_get_tenant_users_response_1.go delete mode 100644 client/model_get_tenants_response_1.go delete mode 100644 client/model_get_ticket_response_1.go delete mode 100644 client/model_get_tickets_response_1.go delete mode 100644 client/model_get_translations_response_1.go delete mode 100644 client/model_get_trust_factor_response.go delete mode 100644 client/model_get_user_badge_progress_by_id_response.go delete mode 100644 client/model_get_user_badge_progress_by_user_id_response.go delete mode 100644 client/model_get_user_badge_progress_list_response.go delete mode 100644 client/model_get_user_badge_response.go delete mode 100644 client/model_get_user_badges_response.go delete mode 100644 client/model_get_user_ban_preference_response.go delete mode 100644 client/model_get_user_internal_profile_response_1.go delete mode 100644 client/model_get_user_notification_count_response_1.go delete mode 100644 client/model_get_user_notifications_response.go delete mode 100644 client/model_get_user_presence_statuses_response_1.go delete mode 100644 client/model_get_user_reacts_public_response.go delete mode 100644 client/model_get_user_response_1.go delete mode 100644 client/model_get_users_info_response.go delete mode 100644 client/model_get_v1_page_likes_response.go delete mode 100644 client/model_get_v2_page_react_users_response_1.go delete mode 100644 client/model_get_v2_page_reacts_response.go delete mode 100644 client/model_get_votes_for_user_response_1.go delete mode 100644 client/model_get_votes_response_1.go delete mode 100644 client/model_lock_comment_response.go delete mode 100644 client/model_patch_hash_tag_response.go delete mode 100644 client/model_pin_comment_response.go delete mode 100644 client/model_post_adjust_comment_votes_response.go delete mode 100644 client/model_post_api_export_response.go delete mode 100644 client/model_post_ban_user_from_comment_response.go delete mode 100644 client/model_post_ban_user_undo_response.go delete mode 100644 client/model_post_bulk_pre_ban_summary_response.go delete mode 100644 client/model_post_comments_by_ids_response.go delete mode 100644 client/model_post_flag_comment_response.go delete mode 100644 client/model_post_restore_deleted_comment_response.go delete mode 100644 client/model_post_set_comment_approval_status_response.go delete mode 100644 client/model_post_set_comment_review_status_response.go delete mode 100644 client/model_post_set_comment_spam_status_response.go delete mode 100644 client/model_post_set_comment_text_response.go delete mode 100644 client/model_post_un_flag_comment_response.go delete mode 100644 client/model_post_vote_response.go delete mode 100644 client/model_put_award_badge_response.go delete mode 100644 client/model_put_close_thread_response.go delete mode 100644 client/model_put_remove_badge_response.go delete mode 100644 client/model_put_reopen_thread_response.go delete mode 100644 client/model_react_feed_post_public_response.go delete mode 100644 client/model_render_email_template_response_1.go delete mode 100644 client/model_replace_tenant_package_response.go delete mode 100644 client/model_replace_tenant_user_response.go delete mode 100644 client/model_reset_user_notification_count_response.go delete mode 100644 client/model_reset_user_notifications_response_1.go delete mode 100644 client/model_save_comment_response.go delete mode 100644 client/model_search_users_response_1.go delete mode 100644 client/model_send_invite_response.go delete mode 100644 client/model_send_login_link_response.go delete mode 100644 client/model_set_comment_text_response_1.go delete mode 100644 client/model_set_trust_factor_response.go delete mode 100644 client/model_un_block_comment_public_response.go delete mode 100644 client/model_un_block_user_from_comment_response.go delete mode 100644 client/model_un_flag_comment_response.go delete mode 100644 client/model_un_lock_comment_response.go delete mode 100644 client/model_un_pin_comment_response.go delete mode 100644 client/model_update_comment_response.go delete mode 100644 client/model_update_email_template_response.go delete mode 100644 client/model_update_feed_post_public_response.go delete mode 100644 client/model_update_feed_post_response.go delete mode 100644 client/model_update_moderator_response.go delete mode 100644 client/model_update_notification_response.go delete mode 100644 client/model_update_question_config_response.go delete mode 100644 client/model_update_question_result_response.go delete mode 100644 client/model_update_tenant_package_response.go delete mode 100644 client/model_update_tenant_response.go delete mode 100644 client/model_update_tenant_user_response.go delete mode 100644 client/model_update_user_badge_response.go delete mode 100644 client/model_vote_comment_response.go diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 974a32c..38230dd 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -43,14 +43,11 @@ docs/APIUserSubscription.md docs/AddDomainConfigParams.md docs/AddDomainConfigResponse.md docs/AddDomainConfigResponseAnyOf.md -docs/AddHashTagResponse.md -docs/AddHashTagsBulkResponse.md docs/AddPageAPIResponse.md docs/AddSSOUserAPIResponse.md docs/AdjustCommentVotesParams.md docs/AdjustVotesResponse.md docs/AggregateQuestionResultsResponse.md -docs/AggregateQuestionResultsResponse1.md docs/AggregateResponse.md docs/AggregateTimeBucket.md docs/AggregationAPIError.md @@ -70,15 +67,12 @@ docs/BannedUserMatchMatchedOnValue.md docs/BannedUserMatchType.md docs/BillingInfo.md docs/BlockFromCommentParams.md -docs/BlockFromCommentPublicResponse.md docs/BlockSuccess.md -docs/BlockUserFromCommentResponse.md docs/BuildModerationFilterParams.md docs/BuildModerationFilterResponse.md docs/BulkAggregateQuestionItem.md docs/BulkAggregateQuestionResultsRequest.md docs/BulkAggregateQuestionResultsResponse.md -docs/BulkAggregateQuestionResultsResponse1.md docs/BulkCreateHashTagsBody.md docs/BulkCreateHashTagsBodyTagsInner.md docs/BulkCreateHashTagsResponse.md @@ -88,10 +82,7 @@ docs/BulkPreBanSummary.md docs/ChangeCommentPinStatusResponse.md docs/ChangeTicketStateBody.md docs/ChangeTicketStateResponse.md -docs/ChangeTicketStateResponse1.md docs/CheckBlockedCommentsResponse.md -docs/CheckedCommentsForBlockedResponse.md -docs/CombineCommentsWithQuestionResultsResponse.md docs/CombineQuestionResultsWithCommentsResponse.md docs/CommentData.md docs/CommentHTMLRenderingMode.md @@ -111,76 +102,41 @@ docs/CreateAPIPageData.md docs/CreateAPISSOUserData.md docs/CreateAPIUserSubscriptionData.md docs/CreateCommentParams.md -docs/CreateCommentPublicResponse.md docs/CreateEmailTemplateBody.md docs/CreateEmailTemplateResponse.md -docs/CreateEmailTemplateResponse1.md docs/CreateFeedPostParams.md -docs/CreateFeedPostPublicResponse.md docs/CreateFeedPostResponse.md -docs/CreateFeedPostResponse1.md docs/CreateFeedPostsResponse.md docs/CreateHashTagBody.md docs/CreateHashTagResponse.md docs/CreateModeratorBody.md docs/CreateModeratorResponse.md -docs/CreateModeratorResponse1.md docs/CreateQuestionConfigBody.md docs/CreateQuestionConfigResponse.md -docs/CreateQuestionConfigResponse1.md docs/CreateQuestionResultBody.md docs/CreateQuestionResultResponse.md -docs/CreateQuestionResultResponse1.md docs/CreateSubscriptionAPIResponse.md docs/CreateTenantBody.md docs/CreateTenantPackageBody.md docs/CreateTenantPackageResponse.md -docs/CreateTenantPackageResponse1.md docs/CreateTenantResponse.md -docs/CreateTenantResponse1.md docs/CreateTenantUserBody.md docs/CreateTenantUserResponse.md -docs/CreateTenantUserResponse1.md docs/CreateTicketBody.md docs/CreateTicketResponse.md -docs/CreateTicketResponse1.md docs/CreateUserBadgeParams.md -docs/CreateUserBadgeResponse.md docs/CreateV1PageReact.md -docs/CreateV1PageReactResponse.md -docs/CreateV2PageReactResponse.md -docs/CreateVoteResponse.md docs/CustomConfigParameters.md docs/CustomEmailTemplate.md docs/DefaultAPI.md docs/DeleteCommentAction.md -docs/DeleteCommentPublicResponse.md -docs/DeleteCommentResponse.md docs/DeleteCommentResult.md -docs/DeleteCommentVoteResponse.md docs/DeleteDomainConfigResponse.md -docs/DeleteEmailTemplateRenderErrorResponse.md -docs/DeleteEmailTemplateResponse.md docs/DeleteFeedPostPublicResponse.md -docs/DeleteFeedPostPublicResponseAnyOf.md docs/DeleteHashTagRequestBody.md -docs/DeleteHashTagResponse.md -docs/DeleteModerationVoteResponse.md -docs/DeleteModeratorResponse.md -docs/DeleteNotificationCountResponse.md docs/DeletePageAPIResponse.md -docs/DeletePendingWebhookEventResponse.md -docs/DeleteQuestionConfigResponse.md -docs/DeleteQuestionResultResponse.md docs/DeleteSSOUserAPIResponse.md docs/DeleteSubscriptionAPIResponse.md -docs/DeleteTenantPackageResponse.md -docs/DeleteTenantResponse.md -docs/DeleteTenantUserResponse.md -docs/DeleteUserBadgeResponse.md -docs/DeleteV1PageReactResponse.md -docs/DeleteV2PageReactResponse.md -docs/DeleteVoteResponse.md docs/DeletedCommentResultComment.md docs/DigestEmailFrequency.md docs/EmailTemplateDefinition.md @@ -196,154 +152,72 @@ docs/FeedPostStats.md docs/FeedPostsStatsResponse.md docs/FindCommentsByRangeItem.md docs/FindCommentsByRangeResponse.md -docs/FlagCommentPublicResponse.md docs/FlagCommentResponse.md -docs/FlagCommentResponse1.md -docs/GetApiCommentsResponse.md -docs/GetApiExportStatusResponse.md -docs/GetApiIdsResponse.md docs/GetAuditLogsResponse.md -docs/GetAuditLogsResponse1.md -docs/GetBanUsersFromCommentResponse.md docs/GetBannedUsersCountResponse.md docs/GetBannedUsersFromCommentResponse.md docs/GetCachedNotificationCountResponse.md -docs/GetCachedNotificationCountResponse1.md docs/GetCommentBanStatusResponse.md -docs/GetCommentBanStatusResponse1.md -docs/GetCommentChildrenResponse.md -docs/GetCommentResponse.md docs/GetCommentTextResponse.md -docs/GetCommentTextResponse1.md -docs/GetCommentVoteUserNamesResponse.md docs/GetCommentVoteUserNamesSuccessResponse.md docs/GetCommentsForUserResponse.md -docs/GetCommentsForUserResponse1.md -docs/GetCommentsPublicResponse.md -docs/GetCommentsResponse.md docs/GetCommentsResponsePublicComment.md docs/GetCommentsResponseWithPresencePublicComment.md -docs/GetCountResponse.md -docs/GetCountsResponse.md docs/GetDomainConfigResponse.md docs/GetDomainConfigsResponse.md docs/GetDomainConfigsResponseAnyOf.md docs/GetDomainConfigsResponseAnyOf1.md docs/GetEmailTemplateDefinitionsResponse.md -docs/GetEmailTemplateDefinitionsResponse1.md docs/GetEmailTemplateRenderErrorsResponse.md -docs/GetEmailTemplateRenderErrorsResponse1.md docs/GetEmailTemplateResponse.md -docs/GetEmailTemplateResponse1.md docs/GetEmailTemplatesResponse.md -docs/GetEmailTemplatesResponse1.md docs/GetEventLogResponse.md -docs/GetEventLogResponse1.md -docs/GetFeedPostsPublicResponse.md docs/GetFeedPostsResponse.md -docs/GetFeedPostsResponse1.md -docs/GetFeedPostsStatsResponse.md -docs/GetGifLargeResponse.md docs/GetGifsSearchResponse.md docs/GetGifsTrendingResponse.md -docs/GetGlobalEventLogResponse.md docs/GetHashTagsResponse.md -docs/GetHashTagsResponse1.md -docs/GetLogsResponse.md -docs/GetManualBadgesForUserResponse.md -docs/GetManualBadgesResponse.md -docs/GetModerationCommentResponse.md -docs/GetModerationCommentTextResponse.md docs/GetModeratorResponse.md -docs/GetModeratorResponse1.md docs/GetModeratorsResponse.md -docs/GetModeratorsResponse1.md docs/GetMyNotificationsResponse.md docs/GetNotificationCountResponse.md -docs/GetNotificationCountResponse1.md docs/GetNotificationsResponse.md -docs/GetNotificationsResponse1.md -docs/GetOfflineUsersResponse.md -docs/GetOnlineUsersResponse.md docs/GetPageByURLIdAPIResponse.md docs/GetPagesAPIResponse.md -docs/GetPagesPublicResponse.md docs/GetPendingWebhookEventCountResponse.md -docs/GetPendingWebhookEventCountResponse1.md docs/GetPendingWebhookEventsResponse.md -docs/GetPendingWebhookEventsResponse1.md -docs/GetPreBanSummaryResponse.md docs/GetPublicFeedPostsResponse.md docs/GetPublicPagesResponse.md docs/GetQuestionConfigResponse.md -docs/GetQuestionConfigResponse1.md docs/GetQuestionConfigsResponse.md -docs/GetQuestionConfigsResponse1.md docs/GetQuestionResultResponse.md -docs/GetQuestionResultResponse1.md docs/GetQuestionResultsResponse.md -docs/GetQuestionResultsResponse1.md docs/GetSSOUserByEmailAPIResponse.md docs/GetSSOUserByIdAPIResponse.md docs/GetSSOUsersResponse.md -docs/GetSearchCommentsSummaryResponse.md -docs/GetSearchPagesResponse.md -docs/GetSearchSitesResponse.md -docs/GetSearchSuggestResponse.md -docs/GetSearchUsersResponse.md docs/GetSubscriptionsAPIResponse.md docs/GetTenantDailyUsagesResponse.md -docs/GetTenantDailyUsagesResponse1.md docs/GetTenantManualBadgesResponse.md docs/GetTenantPackageResponse.md -docs/GetTenantPackageResponse1.md docs/GetTenantPackagesResponse.md -docs/GetTenantPackagesResponse1.md docs/GetTenantResponse.md -docs/GetTenantResponse1.md docs/GetTenantUserResponse.md -docs/GetTenantUserResponse1.md docs/GetTenantUsersResponse.md -docs/GetTenantUsersResponse1.md docs/GetTenantsResponse.md -docs/GetTenantsResponse1.md docs/GetTicketResponse.md -docs/GetTicketResponse1.md docs/GetTicketsResponse.md -docs/GetTicketsResponse1.md docs/GetTranslationsResponse.md -docs/GetTranslationsResponse1.md -docs/GetTrustFactorResponse.md -docs/GetUserBadgeProgressByIdResponse.md -docs/GetUserBadgeProgressByUserIdResponse.md -docs/GetUserBadgeProgressListResponse.md -docs/GetUserBadgeResponse.md -docs/GetUserBadgesResponse.md -docs/GetUserBanPreferenceResponse.md docs/GetUserInternalProfileResponse.md -docs/GetUserInternalProfileResponse1.md docs/GetUserInternalProfileResponseProfile.md docs/GetUserManualBadgesResponse.md docs/GetUserNotificationCountResponse.md -docs/GetUserNotificationCountResponse1.md -docs/GetUserNotificationsResponse.md docs/GetUserPresenceStatusesResponse.md -docs/GetUserPresenceStatusesResponse1.md -docs/GetUserReactsPublicResponse.md docs/GetUserResponse.md -docs/GetUserResponse1.md docs/GetUserTrustFactorResponse.md -docs/GetUsersInfoResponse.md docs/GetV1PageLikes.md -docs/GetV1PageLikesResponse.md docs/GetV2PageReactUsersResponse.md -docs/GetV2PageReactUsersResponse1.md docs/GetV2PageReacts.md -docs/GetV2PageReactsResponse.md docs/GetVotesForUserResponse.md -docs/GetVotesForUserResponse1.md docs/GetVotesResponse.md -docs/GetVotesResponse1.md docs/GifGetLargeResponse.md docs/GifRating.md docs/GifSearchInternalError.md @@ -358,7 +232,6 @@ docs/ImportedSiteType.md docs/LiveEvent.md docs/LiveEventExtraInfo.md docs/LiveEventType.md -docs/LockCommentResponse.md docs/MediaAsset.md docs/MentionAutoCompleteMode.md docs/MetaItem.md @@ -393,26 +266,10 @@ docs/PageUsersOnlineResponse.md docs/PagesSortBy.md docs/PatchDomainConfigParams.md docs/PatchDomainConfigResponse.md -docs/PatchHashTagResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md -docs/PinCommentResponse.md -docs/PostAdjustCommentVotesResponse.md -docs/PostApiExportResponse.md -docs/PostBanUserFromCommentResponse.md -docs/PostBanUserUndoResponse.md -docs/PostBulkPreBanSummaryResponse.md -docs/PostCommentsByIdsResponse.md -docs/PostFlagCommentResponse.md docs/PostRemoveCommentResponse.md -docs/PostRestoreDeletedCommentResponse.md -docs/PostSetCommentApprovalStatusResponse.md -docs/PostSetCommentReviewStatusResponse.md -docs/PostSetCommentSpamStatusResponse.md -docs/PostSetCommentTextResponse.md -docs/PostUnFlagCommentResponse.md -docs/PostVoteResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -427,11 +284,7 @@ docs/PublicCommentBase.md docs/PublicFeedPostsResponse.md docs/PublicPage.md docs/PublicVote.md -docs/PutAwardBadgeResponse.md -docs/PutCloseThreadResponse.md docs/PutDomainConfigResponse.md -docs/PutRemoveBadgeResponse.md -docs/PutReopenThreadResponse.md docs/PutSSOUserAPIResponse.md docs/QueryPredicate.md docs/QueryPredicateValue.md @@ -444,42 +297,30 @@ docs/QuestionResultAggregationOverall.md docs/QuestionSubQuestionVisibility.md docs/QuestionWhenSave.md docs/ReactBodyParams.md -docs/ReactFeedPostPublicResponse.md docs/ReactFeedPostResponse.md docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md docs/RemoveCommentActionResponse.md docs/RemoveUserBadgeResponse.md docs/RenderEmailTemplateBody.md docs/RenderEmailTemplateResponse.md -docs/RenderEmailTemplateResponse1.md docs/RenderableUserNotification.md docs/RepeatCommentCheckIgnoredReason.md docs/RepeatCommentHandlingAction.md docs/ReplaceTenantPackageBody.md -docs/ReplaceTenantPackageResponse.md docs/ReplaceTenantUserBody.md -docs/ReplaceTenantUserResponse.md -docs/ResetUserNotificationCountResponse.md docs/ResetUserNotificationsResponse.md -docs/ResetUserNotificationsResponse1.md docs/SORTDIR.md docs/SSOSecurityLevel.md -docs/SaveCommentResponse.md docs/SaveCommentResponseOptimized.md docs/SaveCommentsBulkResponse.md docs/SaveCommentsResponseWithPresence.md docs/SearchUsersResponse.md -docs/SearchUsersResponse1.md docs/SearchUsersResult.md docs/SearchUsersSectionedResponse.md -docs/SendInviteResponse.md -docs/SendLoginLinkResponse.md docs/SetCommentApprovedResponse.md docs/SetCommentTextParams.md docs/SetCommentTextResponse.md -docs/SetCommentTextResponse1.md docs/SetCommentTextResult.md -docs/SetTrustFactorResponse.md docs/SetUserTrustFactorResponse.md docs/SizePreset.md docs/SortDirections.md @@ -488,43 +329,26 @@ docs/TOSConfig.md docs/TenantBadge.md docs/TenantHashTag.md docs/TenantPackage.md -docs/UnBlockCommentPublicResponse.md docs/UnBlockFromCommentParams.md -docs/UnBlockUserFromCommentResponse.md -docs/UnFlagCommentResponse.md -docs/UnLockCommentResponse.md -docs/UnPinCommentResponse.md docs/UnblockSuccess.md docs/UpdatableCommentParams.md docs/UpdateAPIPageData.md docs/UpdateAPISSOUserData.md docs/UpdateAPIUserSubscriptionData.md -docs/UpdateCommentResponse.md docs/UpdateDomainConfigParams.md docs/UpdateEmailTemplateBody.md -docs/UpdateEmailTemplateResponse.md docs/UpdateFeedPostParams.md -docs/UpdateFeedPostPublicResponse.md -docs/UpdateFeedPostResponse.md docs/UpdateHashTagBody.md docs/UpdateHashTagResponse.md docs/UpdateModeratorBody.md -docs/UpdateModeratorResponse.md docs/UpdateNotificationBody.md -docs/UpdateNotificationResponse.md docs/UpdateQuestionConfigBody.md -docs/UpdateQuestionConfigResponse.md docs/UpdateQuestionResultBody.md -docs/UpdateQuestionResultResponse.md docs/UpdateSubscriptionAPIResponse.md docs/UpdateTenantBody.md docs/UpdateTenantPackageBody.md -docs/UpdateTenantPackageResponse.md -docs/UpdateTenantResponse.md docs/UpdateTenantUserBody.md -docs/UpdateTenantUserResponse.md docs/UpdateUserBadgeParams.md -docs/UpdateUserBadgeResponse.md docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md docs/UpdateUserNotificationPageSubscriptionStatusResponse.md docs/UpdateUserNotificationStatusResponse.md @@ -543,7 +367,6 @@ docs/UserSearchSectionResult.md docs/UserSessionInfo.md docs/UsersListLocation.md docs/VoteBodyParams.md -docs/VoteCommentResponse.md docs/VoteDeleteResponse.md docs/VoteResponse.md docs/VoteResponseStatus.md @@ -555,14 +378,11 @@ go.sum model_add_domain_config_params.go model_add_domain_config_response.go model_add_domain_config_response_any_of.go -model_add_hash_tag_response.go -model_add_hash_tags_bulk_response.go model_add_page_api_response.go model_add_sso_user_api_response.go model_adjust_comment_votes_params.go model_adjust_votes_response.go model_aggregate_question_results_response.go -model_aggregate_question_results_response_1.go model_aggregate_response.go model_aggregate_time_bucket.go model_aggregation_api_error.go @@ -614,15 +434,12 @@ model_banned_user_match_matched_on_value.go model_banned_user_match_type.go model_billing_info.go model_block_from_comment_params.go -model_block_from_comment_public_response.go model_block_success.go -model_block_user_from_comment_response.go model_build_moderation_filter_params.go model_build_moderation_filter_response.go model_bulk_aggregate_question_item.go model_bulk_aggregate_question_results_request.go model_bulk_aggregate_question_results_response.go -model_bulk_aggregate_question_results_response_1.go model_bulk_create_hash_tags_body.go model_bulk_create_hash_tags_body_tags_inner.go model_bulk_create_hash_tags_response.go @@ -632,10 +449,7 @@ model_bulk_pre_ban_summary.go model_change_comment_pin_status_response.go model_change_ticket_state_body.go model_change_ticket_state_response.go -model_change_ticket_state_response_1.go model_check_blocked_comments_response.go -model_checked_comments_for_blocked_response.go -model_combine_comments_with_question_results_response.go model_combine_question_results_with_comments_response.go model_comment_data.go model_comment_html_rendering_mode.go @@ -655,75 +469,40 @@ model_create_api_page_data.go model_create_api_user_subscription_data.go model_create_apisso_user_data.go model_create_comment_params.go -model_create_comment_public_response.go model_create_email_template_body.go model_create_email_template_response.go -model_create_email_template_response_1.go model_create_feed_post_params.go -model_create_feed_post_public_response.go model_create_feed_post_response.go -model_create_feed_post_response_1.go model_create_feed_posts_response.go model_create_hash_tag_body.go model_create_hash_tag_response.go model_create_moderator_body.go model_create_moderator_response.go -model_create_moderator_response_1.go model_create_question_config_body.go model_create_question_config_response.go -model_create_question_config_response_1.go model_create_question_result_body.go model_create_question_result_response.go -model_create_question_result_response_1.go model_create_subscription_api_response.go model_create_tenant_body.go model_create_tenant_package_body.go model_create_tenant_package_response.go -model_create_tenant_package_response_1.go model_create_tenant_response.go -model_create_tenant_response_1.go model_create_tenant_user_body.go model_create_tenant_user_response.go -model_create_tenant_user_response_1.go model_create_ticket_body.go model_create_ticket_response.go -model_create_ticket_response_1.go model_create_user_badge_params.go -model_create_user_badge_response.go model_create_v1_page_react.go -model_create_v1_page_react_response.go -model_create_v2_page_react_response.go -model_create_vote_response.go model_custom_config_parameters.go model_custom_email_template.go model_delete_comment_action.go -model_delete_comment_public_response.go -model_delete_comment_response.go model_delete_comment_result.go -model_delete_comment_vote_response.go model_delete_domain_config_response.go -model_delete_email_template_render_error_response.go -model_delete_email_template_response.go model_delete_feed_post_public_response.go -model_delete_feed_post_public_response_any_of.go model_delete_hash_tag_request_body.go -model_delete_hash_tag_response.go -model_delete_moderation_vote_response.go -model_delete_moderator_response.go -model_delete_notification_count_response.go model_delete_page_api_response.go -model_delete_pending_webhook_event_response.go -model_delete_question_config_response.go -model_delete_question_result_response.go model_delete_sso_user_api_response.go model_delete_subscription_api_response.go -model_delete_tenant_package_response.go -model_delete_tenant_response.go -model_delete_tenant_user_response.go -model_delete_user_badge_response.go -model_delete_v1_page_react_response.go -model_delete_v2_page_react_response.go -model_delete_vote_response.go model_deleted_comment_result_comment.go model_digest_email_frequency.go model_email_template_definition.go @@ -739,154 +518,72 @@ model_feed_post_stats.go model_feed_posts_stats_response.go model_find_comments_by_range_item.go model_find_comments_by_range_response.go -model_flag_comment_public_response.go model_flag_comment_response.go -model_flag_comment_response_1.go -model_get_api_comments_response.go -model_get_api_export_status_response.go -model_get_api_ids_response.go model_get_audit_logs_response.go -model_get_audit_logs_response_1.go -model_get_ban_users_from_comment_response.go model_get_banned_users_count_response.go model_get_banned_users_from_comment_response.go model_get_cached_notification_count_response.go -model_get_cached_notification_count_response_1.go model_get_comment_ban_status_response.go -model_get_comment_ban_status_response_1.go -model_get_comment_children_response.go -model_get_comment_response.go model_get_comment_text_response.go -model_get_comment_text_response_1.go -model_get_comment_vote_user_names_response.go model_get_comment_vote_user_names_success_response.go model_get_comments_for_user_response.go -model_get_comments_for_user_response_1.go -model_get_comments_public_response.go -model_get_comments_response.go model_get_comments_response_public_comment_.go model_get_comments_response_with_presence_public_comment_.go -model_get_count_response.go -model_get_counts_response.go model_get_domain_config_response.go model_get_domain_configs_response.go model_get_domain_configs_response_any_of.go model_get_domain_configs_response_any_of_1.go model_get_email_template_definitions_response.go -model_get_email_template_definitions_response_1.go model_get_email_template_render_errors_response.go -model_get_email_template_render_errors_response_1.go model_get_email_template_response.go -model_get_email_template_response_1.go model_get_email_templates_response.go -model_get_email_templates_response_1.go model_get_event_log_response.go -model_get_event_log_response_1.go -model_get_feed_posts_public_response.go model_get_feed_posts_response.go -model_get_feed_posts_response_1.go -model_get_feed_posts_stats_response.go -model_get_gif_large_response.go model_get_gifs_search_response.go model_get_gifs_trending_response.go -model_get_global_event_log_response.go model_get_hash_tags_response.go -model_get_hash_tags_response_1.go -model_get_logs_response.go -model_get_manual_badges_for_user_response.go -model_get_manual_badges_response.go -model_get_moderation_comment_response.go -model_get_moderation_comment_text_response.go model_get_moderator_response.go -model_get_moderator_response_1.go model_get_moderators_response.go -model_get_moderators_response_1.go model_get_my_notifications_response.go model_get_notification_count_response.go -model_get_notification_count_response_1.go model_get_notifications_response.go -model_get_notifications_response_1.go -model_get_offline_users_response.go -model_get_online_users_response.go model_get_page_by_urlid_api_response.go model_get_pages_api_response.go -model_get_pages_public_response.go model_get_pending_webhook_event_count_response.go -model_get_pending_webhook_event_count_response_1.go model_get_pending_webhook_events_response.go -model_get_pending_webhook_events_response_1.go -model_get_pre_ban_summary_response.go model_get_public_feed_posts_response.go model_get_public_pages_response.go model_get_question_config_response.go -model_get_question_config_response_1.go model_get_question_configs_response.go -model_get_question_configs_response_1.go model_get_question_result_response.go -model_get_question_result_response_1.go model_get_question_results_response.go -model_get_question_results_response_1.go -model_get_search_comments_summary_response.go -model_get_search_pages_response.go -model_get_search_sites_response.go -model_get_search_suggest_response.go -model_get_search_users_response.go model_get_sso_user_by_email_api_response.go model_get_sso_user_by_id_api_response.go model_get_sso_users_response.go model_get_subscriptions_api_response.go model_get_tenant_daily_usages_response.go -model_get_tenant_daily_usages_response_1.go model_get_tenant_manual_badges_response.go model_get_tenant_package_response.go -model_get_tenant_package_response_1.go model_get_tenant_packages_response.go -model_get_tenant_packages_response_1.go model_get_tenant_response.go -model_get_tenant_response_1.go model_get_tenant_user_response.go -model_get_tenant_user_response_1.go model_get_tenant_users_response.go -model_get_tenant_users_response_1.go model_get_tenants_response.go -model_get_tenants_response_1.go model_get_ticket_response.go -model_get_ticket_response_1.go model_get_tickets_response.go -model_get_tickets_response_1.go model_get_translations_response.go -model_get_translations_response_1.go -model_get_trust_factor_response.go -model_get_user_badge_progress_by_id_response.go -model_get_user_badge_progress_by_user_id_response.go -model_get_user_badge_progress_list_response.go -model_get_user_badge_response.go -model_get_user_badges_response.go -model_get_user_ban_preference_response.go model_get_user_internal_profile_response.go -model_get_user_internal_profile_response_1.go model_get_user_internal_profile_response_profile.go model_get_user_manual_badges_response.go model_get_user_notification_count_response.go -model_get_user_notification_count_response_1.go -model_get_user_notifications_response.go model_get_user_presence_statuses_response.go -model_get_user_presence_statuses_response_1.go -model_get_user_reacts_public_response.go model_get_user_response.go -model_get_user_response_1.go model_get_user_trust_factor_response.go -model_get_users_info_response.go model_get_v1_page_likes.go -model_get_v1_page_likes_response.go model_get_v2_page_react_users_response.go -model_get_v2_page_react_users_response_1.go model_get_v2_page_reacts.go -model_get_v2_page_reacts_response.go model_get_votes_for_user_response.go -model_get_votes_for_user_response_1.go model_get_votes_response.go -model_get_votes_response_1.go model_gif_get_large_response.go model_gif_rating.go model_gif_search_internal_error.go @@ -901,7 +598,6 @@ model_imported_site_type.go model_live_event.go model_live_event_extra_info.go model_live_event_type.go -model_lock_comment_response.go model_media_asset.go model_mention_auto_complete_mode.go model_meta_item.go @@ -935,26 +631,10 @@ model_page_users_online_response.go model_pages_sort_by.go model_patch_domain_config_params.go model_patch_domain_config_response.go -model_patch_hash_tag_response.go model_patch_page_api_response.go model_patch_sso_user_api_response.go model_pending_comment_to_sync_outbound.go -model_pin_comment_response.go -model_post_adjust_comment_votes_response.go -model_post_api_export_response.go -model_post_ban_user_from_comment_response.go -model_post_ban_user_undo_response.go -model_post_bulk_pre_ban_summary_response.go -model_post_comments_by_ids_response.go -model_post_flag_comment_response.go model_post_remove_comment_response.go -model_post_restore_deleted_comment_response.go -model_post_set_comment_approval_status_response.go -model_post_set_comment_review_status_response.go -model_post_set_comment_spam_status_response.go -model_post_set_comment_text_response.go -model_post_un_flag_comment_response.go -model_post_vote_response.go model_pre_ban_summary.go model_pub_sub_comment.go model_pub_sub_comment_base.go @@ -968,11 +648,7 @@ model_public_comment_base.go model_public_feed_posts_response.go model_public_page.go model_public_vote.go -model_put_award_badge_response.go -model_put_close_thread_response.go model_put_domain_config_response.go -model_put_remove_badge_response.go -model_put_reopen_thread_response.go model_put_sso_user_api_response.go model_query_predicate.go model_query_predicate_value.go @@ -985,40 +661,28 @@ model_question_result_aggregation_overall.go model_question_sub_question_visibility.go model_question_when_save.go model_react_body_params.go -model_react_feed_post_public_response.go model_react_feed_post_response.go model_record_string__before_string_or_null__after_string_or_null___value.go model_remove_comment_action_response.go model_remove_user_badge_response.go model_render_email_template_body.go model_render_email_template_response.go -model_render_email_template_response_1.go model_renderable_user_notification.go model_repeat_comment_check_ignored_reason.go model_repeat_comment_handling_action.go model_replace_tenant_package_body.go -model_replace_tenant_package_response.go model_replace_tenant_user_body.go -model_replace_tenant_user_response.go -model_reset_user_notification_count_response.go model_reset_user_notifications_response.go -model_reset_user_notifications_response_1.go -model_save_comment_response.go model_save_comment_response_optimized.go model_save_comments_bulk_response.go model_save_comments_response_with_presence.go model_search_users_response.go -model_search_users_response_1.go model_search_users_result.go model_search_users_sectioned_response.go -model_send_invite_response.go -model_send_login_link_response.go model_set_comment_approved_response.go model_set_comment_text_params.go model_set_comment_text_response.go -model_set_comment_text_response_1.go model_set_comment_text_result.go -model_set_trust_factor_response.go model_set_user_trust_factor_response.go model_size_preset.go model_sort_dir.go @@ -1029,43 +693,26 @@ model_tenant_badge.go model_tenant_hash_tag.go model_tenant_package.go model_tos_config.go -model_un_block_comment_public_response.go model_un_block_from_comment_params.go -model_un_block_user_from_comment_response.go -model_un_flag_comment_response.go -model_un_lock_comment_response.go -model_un_pin_comment_response.go model_unblock_success.go model_updatable_comment_params.go model_update_api_page_data.go model_update_api_user_subscription_data.go model_update_apisso_user_data.go -model_update_comment_response.go model_update_domain_config_params.go model_update_email_template_body.go -model_update_email_template_response.go model_update_feed_post_params.go -model_update_feed_post_public_response.go -model_update_feed_post_response.go model_update_hash_tag_body.go model_update_hash_tag_response.go model_update_moderator_body.go -model_update_moderator_response.go model_update_notification_body.go -model_update_notification_response.go model_update_question_config_body.go -model_update_question_config_response.go model_update_question_result_body.go -model_update_question_result_response.go model_update_subscription_api_response.go model_update_tenant_body.go model_update_tenant_package_body.go -model_update_tenant_package_response.go -model_update_tenant_response.go model_update_tenant_user_body.go -model_update_tenant_user_response.go model_update_user_badge_params.go -model_update_user_badge_response.go model_update_user_notification_comment_subscription_status_response.go model_update_user_notification_page_subscription_status_response.go model_update_user_notification_status_response.go @@ -1084,7 +731,6 @@ model_user_search_section_result.go model_user_session_info.go model_users_list_location.go model_vote_body_params.go -model_vote_comment_response.go model_vote_delete_response.go model_vote_response.go model_vote_response_status.go diff --git a/client/README.md b/client/README.md index 9c8d711..354d2a9 100644 --- a/client/README.md +++ b/client/README.md @@ -326,14 +326,11 @@ Class | Method | HTTP request | Description - [AddDomainConfigParams](docs/AddDomainConfigParams.md) - [AddDomainConfigResponse](docs/AddDomainConfigResponse.md) - [AddDomainConfigResponseAnyOf](docs/AddDomainConfigResponseAnyOf.md) - - [AddHashTagResponse](docs/AddHashTagResponse.md) - - [AddHashTagsBulkResponse](docs/AddHashTagsBulkResponse.md) - [AddPageAPIResponse](docs/AddPageAPIResponse.md) - [AddSSOUserAPIResponse](docs/AddSSOUserAPIResponse.md) - [AdjustCommentVotesParams](docs/AdjustCommentVotesParams.md) - [AdjustVotesResponse](docs/AdjustVotesResponse.md) - [AggregateQuestionResultsResponse](docs/AggregateQuestionResultsResponse.md) - - [AggregateQuestionResultsResponse1](docs/AggregateQuestionResultsResponse1.md) - [AggregateResponse](docs/AggregateResponse.md) - [AggregateTimeBucket](docs/AggregateTimeBucket.md) - [AggregationAPIError](docs/AggregationAPIError.md) @@ -353,15 +350,12 @@ Class | Method | HTTP request | Description - [BannedUserMatchType](docs/BannedUserMatchType.md) - [BillingInfo](docs/BillingInfo.md) - [BlockFromCommentParams](docs/BlockFromCommentParams.md) - - [BlockFromCommentPublicResponse](docs/BlockFromCommentPublicResponse.md) - [BlockSuccess](docs/BlockSuccess.md) - - [BlockUserFromCommentResponse](docs/BlockUserFromCommentResponse.md) - [BuildModerationFilterParams](docs/BuildModerationFilterParams.md) - [BuildModerationFilterResponse](docs/BuildModerationFilterResponse.md) - [BulkAggregateQuestionItem](docs/BulkAggregateQuestionItem.md) - [BulkAggregateQuestionResultsRequest](docs/BulkAggregateQuestionResultsRequest.md) - [BulkAggregateQuestionResultsResponse](docs/BulkAggregateQuestionResultsResponse.md) - - [BulkAggregateQuestionResultsResponse1](docs/BulkAggregateQuestionResultsResponse1.md) - [BulkCreateHashTagsBody](docs/BulkCreateHashTagsBody.md) - [BulkCreateHashTagsBodyTagsInner](docs/BulkCreateHashTagsBodyTagsInner.md) - [BulkCreateHashTagsResponse](docs/BulkCreateHashTagsResponse.md) @@ -371,10 +365,7 @@ Class | Method | HTTP request | Description - [ChangeCommentPinStatusResponse](docs/ChangeCommentPinStatusResponse.md) - [ChangeTicketStateBody](docs/ChangeTicketStateBody.md) - [ChangeTicketStateResponse](docs/ChangeTicketStateResponse.md) - - [ChangeTicketStateResponse1](docs/ChangeTicketStateResponse1.md) - [CheckBlockedCommentsResponse](docs/CheckBlockedCommentsResponse.md) - - [CheckedCommentsForBlockedResponse](docs/CheckedCommentsForBlockedResponse.md) - - [CombineCommentsWithQuestionResultsResponse](docs/CombineCommentsWithQuestionResultsResponse.md) - [CombineQuestionResultsWithCommentsResponse](docs/CombineQuestionResultsWithCommentsResponse.md) - [CommentData](docs/CommentData.md) - [CommentHTMLRenderingMode](docs/CommentHTMLRenderingMode.md) @@ -394,75 +385,40 @@ Class | Method | HTTP request | Description - [CreateAPISSOUserData](docs/CreateAPISSOUserData.md) - [CreateAPIUserSubscriptionData](docs/CreateAPIUserSubscriptionData.md) - [CreateCommentParams](docs/CreateCommentParams.md) - - [CreateCommentPublicResponse](docs/CreateCommentPublicResponse.md) - [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md) - [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md) - - [CreateEmailTemplateResponse1](docs/CreateEmailTemplateResponse1.md) - [CreateFeedPostParams](docs/CreateFeedPostParams.md) - - [CreateFeedPostPublicResponse](docs/CreateFeedPostPublicResponse.md) - [CreateFeedPostResponse](docs/CreateFeedPostResponse.md) - - [CreateFeedPostResponse1](docs/CreateFeedPostResponse1.md) - [CreateFeedPostsResponse](docs/CreateFeedPostsResponse.md) - [CreateHashTagBody](docs/CreateHashTagBody.md) - [CreateHashTagResponse](docs/CreateHashTagResponse.md) - [CreateModeratorBody](docs/CreateModeratorBody.md) - [CreateModeratorResponse](docs/CreateModeratorResponse.md) - - [CreateModeratorResponse1](docs/CreateModeratorResponse1.md) - [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md) - [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md) - - [CreateQuestionConfigResponse1](docs/CreateQuestionConfigResponse1.md) - [CreateQuestionResultBody](docs/CreateQuestionResultBody.md) - [CreateQuestionResultResponse](docs/CreateQuestionResultResponse.md) - - [CreateQuestionResultResponse1](docs/CreateQuestionResultResponse1.md) - [CreateSubscriptionAPIResponse](docs/CreateSubscriptionAPIResponse.md) - [CreateTenantBody](docs/CreateTenantBody.md) - [CreateTenantPackageBody](docs/CreateTenantPackageBody.md) - [CreateTenantPackageResponse](docs/CreateTenantPackageResponse.md) - - [CreateTenantPackageResponse1](docs/CreateTenantPackageResponse1.md) - [CreateTenantResponse](docs/CreateTenantResponse.md) - - [CreateTenantResponse1](docs/CreateTenantResponse1.md) - [CreateTenantUserBody](docs/CreateTenantUserBody.md) - [CreateTenantUserResponse](docs/CreateTenantUserResponse.md) - - [CreateTenantUserResponse1](docs/CreateTenantUserResponse1.md) - [CreateTicketBody](docs/CreateTicketBody.md) - [CreateTicketResponse](docs/CreateTicketResponse.md) - - [CreateTicketResponse1](docs/CreateTicketResponse1.md) - [CreateUserBadgeParams](docs/CreateUserBadgeParams.md) - - [CreateUserBadgeResponse](docs/CreateUserBadgeResponse.md) - [CreateV1PageReact](docs/CreateV1PageReact.md) - - [CreateV1PageReactResponse](docs/CreateV1PageReactResponse.md) - - [CreateV2PageReactResponse](docs/CreateV2PageReactResponse.md) - - [CreateVoteResponse](docs/CreateVoteResponse.md) - [CustomConfigParameters](docs/CustomConfigParameters.md) - [CustomEmailTemplate](docs/CustomEmailTemplate.md) - [DeleteCommentAction](docs/DeleteCommentAction.md) - - [DeleteCommentPublicResponse](docs/DeleteCommentPublicResponse.md) - - [DeleteCommentResponse](docs/DeleteCommentResponse.md) - [DeleteCommentResult](docs/DeleteCommentResult.md) - - [DeleteCommentVoteResponse](docs/DeleteCommentVoteResponse.md) - [DeleteDomainConfigResponse](docs/DeleteDomainConfigResponse.md) - - [DeleteEmailTemplateRenderErrorResponse](docs/DeleteEmailTemplateRenderErrorResponse.md) - - [DeleteEmailTemplateResponse](docs/DeleteEmailTemplateResponse.md) - [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md) - - [DeleteFeedPostPublicResponseAnyOf](docs/DeleteFeedPostPublicResponseAnyOf.md) - [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md) - - [DeleteHashTagResponse](docs/DeleteHashTagResponse.md) - - [DeleteModerationVoteResponse](docs/DeleteModerationVoteResponse.md) - - [DeleteModeratorResponse](docs/DeleteModeratorResponse.md) - - [DeleteNotificationCountResponse](docs/DeleteNotificationCountResponse.md) - [DeletePageAPIResponse](docs/DeletePageAPIResponse.md) - - [DeletePendingWebhookEventResponse](docs/DeletePendingWebhookEventResponse.md) - - [DeleteQuestionConfigResponse](docs/DeleteQuestionConfigResponse.md) - - [DeleteQuestionResultResponse](docs/DeleteQuestionResultResponse.md) - [DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md) - [DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md) - - [DeleteTenantPackageResponse](docs/DeleteTenantPackageResponse.md) - - [DeleteTenantResponse](docs/DeleteTenantResponse.md) - - [DeleteTenantUserResponse](docs/DeleteTenantUserResponse.md) - - [DeleteUserBadgeResponse](docs/DeleteUserBadgeResponse.md) - - [DeleteV1PageReactResponse](docs/DeleteV1PageReactResponse.md) - - [DeleteV2PageReactResponse](docs/DeleteV2PageReactResponse.md) - - [DeleteVoteResponse](docs/DeleteVoteResponse.md) - [DeletedCommentResultComment](docs/DeletedCommentResultComment.md) - [DigestEmailFrequency](docs/DigestEmailFrequency.md) - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md) @@ -478,154 +434,72 @@ Class | Method | HTTP request | Description - [FeedPostsStatsResponse](docs/FeedPostsStatsResponse.md) - [FindCommentsByRangeItem](docs/FindCommentsByRangeItem.md) - [FindCommentsByRangeResponse](docs/FindCommentsByRangeResponse.md) - - [FlagCommentPublicResponse](docs/FlagCommentPublicResponse.md) - [FlagCommentResponse](docs/FlagCommentResponse.md) - - [FlagCommentResponse1](docs/FlagCommentResponse1.md) - - [GetApiCommentsResponse](docs/GetApiCommentsResponse.md) - - [GetApiExportStatusResponse](docs/GetApiExportStatusResponse.md) - - [GetApiIdsResponse](docs/GetApiIdsResponse.md) - [GetAuditLogsResponse](docs/GetAuditLogsResponse.md) - - [GetAuditLogsResponse1](docs/GetAuditLogsResponse1.md) - - [GetBanUsersFromCommentResponse](docs/GetBanUsersFromCommentResponse.md) - [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md) - [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md) - [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md) - - [GetCachedNotificationCountResponse1](docs/GetCachedNotificationCountResponse1.md) - [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md) - - [GetCommentBanStatusResponse1](docs/GetCommentBanStatusResponse1.md) - - [GetCommentChildrenResponse](docs/GetCommentChildrenResponse.md) - - [GetCommentResponse](docs/GetCommentResponse.md) - [GetCommentTextResponse](docs/GetCommentTextResponse.md) - - [GetCommentTextResponse1](docs/GetCommentTextResponse1.md) - - [GetCommentVoteUserNamesResponse](docs/GetCommentVoteUserNamesResponse.md) - [GetCommentVoteUserNamesSuccessResponse](docs/GetCommentVoteUserNamesSuccessResponse.md) - [GetCommentsForUserResponse](docs/GetCommentsForUserResponse.md) - - [GetCommentsForUserResponse1](docs/GetCommentsForUserResponse1.md) - - [GetCommentsPublicResponse](docs/GetCommentsPublicResponse.md) - - [GetCommentsResponse](docs/GetCommentsResponse.md) - [GetCommentsResponsePublicComment](docs/GetCommentsResponsePublicComment.md) - [GetCommentsResponseWithPresencePublicComment](docs/GetCommentsResponseWithPresencePublicComment.md) - - [GetCountResponse](docs/GetCountResponse.md) - - [GetCountsResponse](docs/GetCountsResponse.md) - [GetDomainConfigResponse](docs/GetDomainConfigResponse.md) - [GetDomainConfigsResponse](docs/GetDomainConfigsResponse.md) - [GetDomainConfigsResponseAnyOf](docs/GetDomainConfigsResponseAnyOf.md) - [GetDomainConfigsResponseAnyOf1](docs/GetDomainConfigsResponseAnyOf1.md) - [GetEmailTemplateDefinitionsResponse](docs/GetEmailTemplateDefinitionsResponse.md) - - [GetEmailTemplateDefinitionsResponse1](docs/GetEmailTemplateDefinitionsResponse1.md) - [GetEmailTemplateRenderErrorsResponse](docs/GetEmailTemplateRenderErrorsResponse.md) - - [GetEmailTemplateRenderErrorsResponse1](docs/GetEmailTemplateRenderErrorsResponse1.md) - [GetEmailTemplateResponse](docs/GetEmailTemplateResponse.md) - - [GetEmailTemplateResponse1](docs/GetEmailTemplateResponse1.md) - [GetEmailTemplatesResponse](docs/GetEmailTemplatesResponse.md) - - [GetEmailTemplatesResponse1](docs/GetEmailTemplatesResponse1.md) - [GetEventLogResponse](docs/GetEventLogResponse.md) - - [GetEventLogResponse1](docs/GetEventLogResponse1.md) - - [GetFeedPostsPublicResponse](docs/GetFeedPostsPublicResponse.md) - [GetFeedPostsResponse](docs/GetFeedPostsResponse.md) - - [GetFeedPostsResponse1](docs/GetFeedPostsResponse1.md) - - [GetFeedPostsStatsResponse](docs/GetFeedPostsStatsResponse.md) - - [GetGifLargeResponse](docs/GetGifLargeResponse.md) - [GetGifsSearchResponse](docs/GetGifsSearchResponse.md) - [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md) - - [GetGlobalEventLogResponse](docs/GetGlobalEventLogResponse.md) - [GetHashTagsResponse](docs/GetHashTagsResponse.md) - - [GetHashTagsResponse1](docs/GetHashTagsResponse1.md) - - [GetLogsResponse](docs/GetLogsResponse.md) - - [GetManualBadgesForUserResponse](docs/GetManualBadgesForUserResponse.md) - - [GetManualBadgesResponse](docs/GetManualBadgesResponse.md) - - [GetModerationCommentResponse](docs/GetModerationCommentResponse.md) - - [GetModerationCommentTextResponse](docs/GetModerationCommentTextResponse.md) - [GetModeratorResponse](docs/GetModeratorResponse.md) - - [GetModeratorResponse1](docs/GetModeratorResponse1.md) - [GetModeratorsResponse](docs/GetModeratorsResponse.md) - - [GetModeratorsResponse1](docs/GetModeratorsResponse1.md) - [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md) - [GetNotificationCountResponse](docs/GetNotificationCountResponse.md) - - [GetNotificationCountResponse1](docs/GetNotificationCountResponse1.md) - [GetNotificationsResponse](docs/GetNotificationsResponse.md) - - [GetNotificationsResponse1](docs/GetNotificationsResponse1.md) - - [GetOfflineUsersResponse](docs/GetOfflineUsersResponse.md) - - [GetOnlineUsersResponse](docs/GetOnlineUsersResponse.md) - [GetPageByURLIdAPIResponse](docs/GetPageByURLIdAPIResponse.md) - [GetPagesAPIResponse](docs/GetPagesAPIResponse.md) - - [GetPagesPublicResponse](docs/GetPagesPublicResponse.md) - [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md) - - [GetPendingWebhookEventCountResponse1](docs/GetPendingWebhookEventCountResponse1.md) - [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md) - - [GetPendingWebhookEventsResponse1](docs/GetPendingWebhookEventsResponse1.md) - - [GetPreBanSummaryResponse](docs/GetPreBanSummaryResponse.md) - [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md) - [GetPublicPagesResponse](docs/GetPublicPagesResponse.md) - [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md) - - [GetQuestionConfigResponse1](docs/GetQuestionConfigResponse1.md) - [GetQuestionConfigsResponse](docs/GetQuestionConfigsResponse.md) - - [GetQuestionConfigsResponse1](docs/GetQuestionConfigsResponse1.md) - [GetQuestionResultResponse](docs/GetQuestionResultResponse.md) - - [GetQuestionResultResponse1](docs/GetQuestionResultResponse1.md) - [GetQuestionResultsResponse](docs/GetQuestionResultsResponse.md) - - [GetQuestionResultsResponse1](docs/GetQuestionResultsResponse1.md) - [GetSSOUserByEmailAPIResponse](docs/GetSSOUserByEmailAPIResponse.md) - [GetSSOUserByIdAPIResponse](docs/GetSSOUserByIdAPIResponse.md) - [GetSSOUsersResponse](docs/GetSSOUsersResponse.md) - - [GetSearchCommentsSummaryResponse](docs/GetSearchCommentsSummaryResponse.md) - - [GetSearchPagesResponse](docs/GetSearchPagesResponse.md) - - [GetSearchSitesResponse](docs/GetSearchSitesResponse.md) - - [GetSearchSuggestResponse](docs/GetSearchSuggestResponse.md) - - [GetSearchUsersResponse](docs/GetSearchUsersResponse.md) - [GetSubscriptionsAPIResponse](docs/GetSubscriptionsAPIResponse.md) - [GetTenantDailyUsagesResponse](docs/GetTenantDailyUsagesResponse.md) - - [GetTenantDailyUsagesResponse1](docs/GetTenantDailyUsagesResponse1.md) - [GetTenantManualBadgesResponse](docs/GetTenantManualBadgesResponse.md) - [GetTenantPackageResponse](docs/GetTenantPackageResponse.md) - - [GetTenantPackageResponse1](docs/GetTenantPackageResponse1.md) - [GetTenantPackagesResponse](docs/GetTenantPackagesResponse.md) - - [GetTenantPackagesResponse1](docs/GetTenantPackagesResponse1.md) - [GetTenantResponse](docs/GetTenantResponse.md) - - [GetTenantResponse1](docs/GetTenantResponse1.md) - [GetTenantUserResponse](docs/GetTenantUserResponse.md) - - [GetTenantUserResponse1](docs/GetTenantUserResponse1.md) - [GetTenantUsersResponse](docs/GetTenantUsersResponse.md) - - [GetTenantUsersResponse1](docs/GetTenantUsersResponse1.md) - [GetTenantsResponse](docs/GetTenantsResponse.md) - - [GetTenantsResponse1](docs/GetTenantsResponse1.md) - [GetTicketResponse](docs/GetTicketResponse.md) - - [GetTicketResponse1](docs/GetTicketResponse1.md) - [GetTicketsResponse](docs/GetTicketsResponse.md) - - [GetTicketsResponse1](docs/GetTicketsResponse1.md) - [GetTranslationsResponse](docs/GetTranslationsResponse.md) - - [GetTranslationsResponse1](docs/GetTranslationsResponse1.md) - - [GetTrustFactorResponse](docs/GetTrustFactorResponse.md) - - [GetUserBadgeProgressByIdResponse](docs/GetUserBadgeProgressByIdResponse.md) - - [GetUserBadgeProgressByUserIdResponse](docs/GetUserBadgeProgressByUserIdResponse.md) - - [GetUserBadgeProgressListResponse](docs/GetUserBadgeProgressListResponse.md) - - [GetUserBadgeResponse](docs/GetUserBadgeResponse.md) - - [GetUserBadgesResponse](docs/GetUserBadgesResponse.md) - - [GetUserBanPreferenceResponse](docs/GetUserBanPreferenceResponse.md) - [GetUserInternalProfileResponse](docs/GetUserInternalProfileResponse.md) - - [GetUserInternalProfileResponse1](docs/GetUserInternalProfileResponse1.md) - [GetUserInternalProfileResponseProfile](docs/GetUserInternalProfileResponseProfile.md) - [GetUserManualBadgesResponse](docs/GetUserManualBadgesResponse.md) - [GetUserNotificationCountResponse](docs/GetUserNotificationCountResponse.md) - - [GetUserNotificationCountResponse1](docs/GetUserNotificationCountResponse1.md) - - [GetUserNotificationsResponse](docs/GetUserNotificationsResponse.md) - [GetUserPresenceStatusesResponse](docs/GetUserPresenceStatusesResponse.md) - - [GetUserPresenceStatusesResponse1](docs/GetUserPresenceStatusesResponse1.md) - - [GetUserReactsPublicResponse](docs/GetUserReactsPublicResponse.md) - [GetUserResponse](docs/GetUserResponse.md) - - [GetUserResponse1](docs/GetUserResponse1.md) - [GetUserTrustFactorResponse](docs/GetUserTrustFactorResponse.md) - - [GetUsersInfoResponse](docs/GetUsersInfoResponse.md) - [GetV1PageLikes](docs/GetV1PageLikes.md) - - [GetV1PageLikesResponse](docs/GetV1PageLikesResponse.md) - [GetV2PageReactUsersResponse](docs/GetV2PageReactUsersResponse.md) - - [GetV2PageReactUsersResponse1](docs/GetV2PageReactUsersResponse1.md) - [GetV2PageReacts](docs/GetV2PageReacts.md) - - [GetV2PageReactsResponse](docs/GetV2PageReactsResponse.md) - [GetVotesForUserResponse](docs/GetVotesForUserResponse.md) - - [GetVotesForUserResponse1](docs/GetVotesForUserResponse1.md) - [GetVotesResponse](docs/GetVotesResponse.md) - - [GetVotesResponse1](docs/GetVotesResponse1.md) - [GifGetLargeResponse](docs/GifGetLargeResponse.md) - [GifRating](docs/GifRating.md) - [GifSearchInternalError](docs/GifSearchInternalError.md) @@ -640,7 +514,6 @@ Class | Method | HTTP request | Description - [LiveEvent](docs/LiveEvent.md) - [LiveEventExtraInfo](docs/LiveEventExtraInfo.md) - [LiveEventType](docs/LiveEventType.md) - - [LockCommentResponse](docs/LockCommentResponse.md) - [MediaAsset](docs/MediaAsset.md) - [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md) - [MetaItem](docs/MetaItem.md) @@ -674,26 +547,10 @@ Class | Method | HTTP request | Description - [PagesSortBy](docs/PagesSortBy.md) - [PatchDomainConfigParams](docs/PatchDomainConfigParams.md) - [PatchDomainConfigResponse](docs/PatchDomainConfigResponse.md) - - [PatchHashTagResponse](docs/PatchHashTagResponse.md) - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PinCommentResponse](docs/PinCommentResponse.md) - - [PostAdjustCommentVotesResponse](docs/PostAdjustCommentVotesResponse.md) - - [PostApiExportResponse](docs/PostApiExportResponse.md) - - [PostBanUserFromCommentResponse](docs/PostBanUserFromCommentResponse.md) - - [PostBanUserUndoResponse](docs/PostBanUserUndoResponse.md) - - [PostBulkPreBanSummaryResponse](docs/PostBulkPreBanSummaryResponse.md) - - [PostCommentsByIdsResponse](docs/PostCommentsByIdsResponse.md) - - [PostFlagCommentResponse](docs/PostFlagCommentResponse.md) - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) - - [PostRestoreDeletedCommentResponse](docs/PostRestoreDeletedCommentResponse.md) - - [PostSetCommentApprovalStatusResponse](docs/PostSetCommentApprovalStatusResponse.md) - - [PostSetCommentReviewStatusResponse](docs/PostSetCommentReviewStatusResponse.md) - - [PostSetCommentSpamStatusResponse](docs/PostSetCommentSpamStatusResponse.md) - - [PostSetCommentTextResponse](docs/PostSetCommentTextResponse.md) - - [PostUnFlagCommentResponse](docs/PostUnFlagCommentResponse.md) - - [PostVoteResponse](docs/PostVoteResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) @@ -707,11 +564,7 @@ Class | Method | HTTP request | Description - [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md) - [PublicPage](docs/PublicPage.md) - [PublicVote](docs/PublicVote.md) - - [PutAwardBadgeResponse](docs/PutAwardBadgeResponse.md) - - [PutCloseThreadResponse](docs/PutCloseThreadResponse.md) - [PutDomainConfigResponse](docs/PutDomainConfigResponse.md) - - [PutRemoveBadgeResponse](docs/PutRemoveBadgeResponse.md) - - [PutReopenThreadResponse](docs/PutReopenThreadResponse.md) - [PutSSOUserAPIResponse](docs/PutSSOUserAPIResponse.md) - [QueryPredicate](docs/QueryPredicate.md) - [QueryPredicateValue](docs/QueryPredicateValue.md) @@ -724,42 +577,30 @@ Class | Method | HTTP request | Description - [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md) - [QuestionWhenSave](docs/QuestionWhenSave.md) - [ReactBodyParams](docs/ReactBodyParams.md) - - [ReactFeedPostPublicResponse](docs/ReactFeedPostPublicResponse.md) - [ReactFeedPostResponse](docs/ReactFeedPostResponse.md) - [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md) - [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md) - [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md) - [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md) - [RenderEmailTemplateResponse](docs/RenderEmailTemplateResponse.md) - - [RenderEmailTemplateResponse1](docs/RenderEmailTemplateResponse1.md) - [RenderableUserNotification](docs/RenderableUserNotification.md) - [RepeatCommentCheckIgnoredReason](docs/RepeatCommentCheckIgnoredReason.md) - [RepeatCommentHandlingAction](docs/RepeatCommentHandlingAction.md) - [ReplaceTenantPackageBody](docs/ReplaceTenantPackageBody.md) - - [ReplaceTenantPackageResponse](docs/ReplaceTenantPackageResponse.md) - [ReplaceTenantUserBody](docs/ReplaceTenantUserBody.md) - - [ReplaceTenantUserResponse](docs/ReplaceTenantUserResponse.md) - - [ResetUserNotificationCountResponse](docs/ResetUserNotificationCountResponse.md) - [ResetUserNotificationsResponse](docs/ResetUserNotificationsResponse.md) - - [ResetUserNotificationsResponse1](docs/ResetUserNotificationsResponse1.md) - [SORTDIR](docs/SORTDIR.md) - [SSOSecurityLevel](docs/SSOSecurityLevel.md) - - [SaveCommentResponse](docs/SaveCommentResponse.md) - [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md) - [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md) - [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md) - [SearchUsersResponse](docs/SearchUsersResponse.md) - - [SearchUsersResponse1](docs/SearchUsersResponse1.md) - [SearchUsersResult](docs/SearchUsersResult.md) - [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md) - - [SendInviteResponse](docs/SendInviteResponse.md) - - [SendLoginLinkResponse](docs/SendLoginLinkResponse.md) - [SetCommentApprovedResponse](docs/SetCommentApprovedResponse.md) - [SetCommentTextParams](docs/SetCommentTextParams.md) - [SetCommentTextResponse](docs/SetCommentTextResponse.md) - - [SetCommentTextResponse1](docs/SetCommentTextResponse1.md) - [SetCommentTextResult](docs/SetCommentTextResult.md) - - [SetTrustFactorResponse](docs/SetTrustFactorResponse.md) - [SetUserTrustFactorResponse](docs/SetUserTrustFactorResponse.md) - [SizePreset](docs/SizePreset.md) - [SortDirections](docs/SortDirections.md) @@ -768,43 +609,26 @@ Class | Method | HTTP request | Description - [TenantBadge](docs/TenantBadge.md) - [TenantHashTag](docs/TenantHashTag.md) - [TenantPackage](docs/TenantPackage.md) - - [UnBlockCommentPublicResponse](docs/UnBlockCommentPublicResponse.md) - [UnBlockFromCommentParams](docs/UnBlockFromCommentParams.md) - - [UnBlockUserFromCommentResponse](docs/UnBlockUserFromCommentResponse.md) - - [UnFlagCommentResponse](docs/UnFlagCommentResponse.md) - - [UnLockCommentResponse](docs/UnLockCommentResponse.md) - - [UnPinCommentResponse](docs/UnPinCommentResponse.md) - [UnblockSuccess](docs/UnblockSuccess.md) - [UpdatableCommentParams](docs/UpdatableCommentParams.md) - [UpdateAPIPageData](docs/UpdateAPIPageData.md) - [UpdateAPISSOUserData](docs/UpdateAPISSOUserData.md) - [UpdateAPIUserSubscriptionData](docs/UpdateAPIUserSubscriptionData.md) - - [UpdateCommentResponse](docs/UpdateCommentResponse.md) - [UpdateDomainConfigParams](docs/UpdateDomainConfigParams.md) - [UpdateEmailTemplateBody](docs/UpdateEmailTemplateBody.md) - - [UpdateEmailTemplateResponse](docs/UpdateEmailTemplateResponse.md) - [UpdateFeedPostParams](docs/UpdateFeedPostParams.md) - - [UpdateFeedPostPublicResponse](docs/UpdateFeedPostPublicResponse.md) - - [UpdateFeedPostResponse](docs/UpdateFeedPostResponse.md) - [UpdateHashTagBody](docs/UpdateHashTagBody.md) - [UpdateHashTagResponse](docs/UpdateHashTagResponse.md) - [UpdateModeratorBody](docs/UpdateModeratorBody.md) - - [UpdateModeratorResponse](docs/UpdateModeratorResponse.md) - [UpdateNotificationBody](docs/UpdateNotificationBody.md) - - [UpdateNotificationResponse](docs/UpdateNotificationResponse.md) - [UpdateQuestionConfigBody](docs/UpdateQuestionConfigBody.md) - - [UpdateQuestionConfigResponse](docs/UpdateQuestionConfigResponse.md) - [UpdateQuestionResultBody](docs/UpdateQuestionResultBody.md) - - [UpdateQuestionResultResponse](docs/UpdateQuestionResultResponse.md) - [UpdateSubscriptionAPIResponse](docs/UpdateSubscriptionAPIResponse.md) - [UpdateTenantBody](docs/UpdateTenantBody.md) - [UpdateTenantPackageBody](docs/UpdateTenantPackageBody.md) - - [UpdateTenantPackageResponse](docs/UpdateTenantPackageResponse.md) - - [UpdateTenantResponse](docs/UpdateTenantResponse.md) - [UpdateTenantUserBody](docs/UpdateTenantUserBody.md) - - [UpdateTenantUserResponse](docs/UpdateTenantUserResponse.md) - [UpdateUserBadgeParams](docs/UpdateUserBadgeParams.md) - - [UpdateUserBadgeResponse](docs/UpdateUserBadgeResponse.md) - [UpdateUserNotificationCommentSubscriptionStatusResponse](docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md) - [UpdateUserNotificationPageSubscriptionStatusResponse](docs/UpdateUserNotificationPageSubscriptionStatusResponse.md) - [UpdateUserNotificationStatusResponse](docs/UpdateUserNotificationStatusResponse.md) @@ -823,7 +647,6 @@ Class | Method | HTTP request | Description - [UserSessionInfo](docs/UserSessionInfo.md) - [UsersListLocation](docs/UsersListLocation.md) - [VoteBodyParams](docs/VoteBodyParams.md) - - [VoteCommentResponse](docs/VoteCommentResponse.md) - [VoteDeleteResponse](docs/VoteDeleteResponse.md) - [VoteResponse](docs/VoteResponse.md) - [VoteResponseStatus](docs/VoteResponseStatus.md) diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml index ef5690c..8c68073 100644 --- a/client/api/openapi.yaml +++ b/client/api/openapi.yaml @@ -63,8 +63,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SearchUsersResponse_1" + $ref: "#/components/schemas/SearchUsersResult" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -98,7 +104,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserPresenceStatusesResponse_1" + $ref: "#/components/schemas/GetUserPresenceStatusesResponse" description: Ok "422": content: @@ -106,6 +112,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -205,8 +217,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserNotificationsResponse" + $ref: "#/components/schemas/GetMyNotificationsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -269,8 +287,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ResetUserNotificationsResponse_1" + $ref: "#/components/schemas/ResetUserNotificationsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -297,8 +321,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserNotificationCountResponse_1" + $ref: "#/components/schemas/GetUserNotificationCountResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -325,8 +355,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ResetUserNotificationCountResponse" + $ref: "#/components/schemas/ResetUserNotificationsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -372,6 +408,12 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -425,6 +467,12 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationCommentSubscriptionStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -487,6 +535,12 @@ paths: schema: $ref: "#/components/schemas/UpdateUserNotificationPageSubscriptionStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -572,7 +626,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTranslationsResponse_1" + $ref: "#/components/schemas/GetTranslationsResponse" description: Ok "422": content: @@ -586,6 +640,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Internal + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -652,8 +712,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPagesPublicResponse" + $ref: "#/components/schemas/GetPublicPagesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -701,7 +767,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetOnlineUsersResponse" + $ref: "#/components/schemas/PageUsersOnlineResponse" description: Ok "403": content: @@ -715,6 +781,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -764,7 +836,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetOfflineUsersResponse" + $ref: "#/components/schemas/PageUsersOfflineResponse" description: Ok "403": content: @@ -778,6 +850,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -809,7 +887,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUsersInfoResponse" + $ref: "#/components/schemas/PageUsersInfoResponse" description: Ok "422": content: @@ -817,6 +895,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -843,8 +927,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteV1PageReactResponse" + $ref: "#/components/schemas/DeleteV1PageReact" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -870,8 +960,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV1PageLikesResponse" + $ref: "#/components/schemas/GetV1PageLikes" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -904,8 +1000,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateV1PageReactResponse" + $ref: "#/components/schemas/CreateV1PageReact" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -939,8 +1041,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV2PageReactUsersResponse_1" + $ref: "#/components/schemas/GetV2PageReactUsersResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -974,8 +1082,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteV2PageReactResponse" + $ref: "#/components/schemas/DeleteV2PageReact" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -1001,8 +1115,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetV2PageReactsResponse" + $ref: "#/components/schemas/GetV2PageReacts" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -1042,8 +1162,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateV2PageReactResponse" + $ref: "#/components/schemas/CreateV2PageReact" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -1105,8 +1231,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCountResponse" + $ref: "#/components/schemas/ModerationAPICountCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1175,8 +1307,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetApiIdsResponse" + $ref: "#/components/schemas/ModerationAPIGetCommentIdsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1261,8 +1399,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetApiCommentsResponse" + $ref: "#/components/schemas/ModerationAPIGetCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1324,8 +1468,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostApiExportResponse" + $ref: "#/components/schemas/ModerationExportResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1359,8 +1509,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetApiExportStatusResponse" + $ref: "#/components/schemas/ModerationExportStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1394,8 +1550,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetSearchUsersResponse" + $ref: "#/components/schemas/ModerationUserSearchResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1429,8 +1591,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetSearchPagesResponse" + $ref: "#/components/schemas/ModerationPageSearchResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1464,8 +1632,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetSearchSitesResponse" + $ref: "#/components/schemas/ModerationSiteSearchResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1513,8 +1687,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetSearchCommentsSummaryResponse" + $ref: "#/components/schemas/ModerationCommentSearchResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1548,8 +1728,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetSearchSuggestResponse" + $ref: "#/components/schemas/ModerationSuggestResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1604,8 +1790,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPreBanSummaryResponse" + $ref: "#/components/schemas/PreBanSummary" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1659,8 +1851,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostBulkPreBanSummaryResponse" + $ref: "#/components/schemas/BulkPreBanSummary" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1750,8 +1948,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostBanUserFromCommentResponse" + $ref: "#/components/schemas/BanUserFromCommentResult" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1785,8 +1989,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetBanUsersFromCommentResponse" + $ref: "#/components/schemas/GetBannedUsersFromCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1819,8 +2029,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostBanUserUndoResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1863,6 +2079,12 @@ paths: schema: $ref: "#/components/schemas/PostRemoveCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1903,8 +2125,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostRestoreDeletedCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1945,8 +2173,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostFlagCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -1987,8 +2221,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostUnFlagCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2036,8 +2276,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostSetCommentReviewStatusResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2092,8 +2338,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostSetCommentSpamStatusResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2141,8 +2393,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostSetCommentApprovalStatusResponse" + $ref: "#/components/schemas/SetCommentApprovedResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2176,8 +2434,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetLogsResponse" + $ref: "#/components/schemas/ModerationAPIGetLogsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2225,8 +2489,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModerationCommentResponse" + $ref: "#/components/schemas/ModerationAPICommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2259,8 +2529,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostCommentsByIdsResponse" + $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2294,8 +2570,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentChildrenResponse" + $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2329,8 +2611,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModerationCommentTextResponse" + $ref: "#/components/schemas/GetCommentTextResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2377,8 +2665,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostSetCommentTextResponse" + $ref: "#/components/schemas/SetCommentTextResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2425,8 +2719,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostAdjustCommentVotesResponse" + $ref: "#/components/schemas/AdjustVotesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2474,8 +2774,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostVoteResponse" + $ref: "#/components/schemas/VoteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2523,8 +2829,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteModerationVoteResponse" + $ref: "#/components/schemas/VoteDeleteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2558,8 +2870,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentBanStatusResponse_1" + $ref: "#/components/schemas/GetCommentBanStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2586,8 +2904,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBanPreferenceResponse" + $ref: "#/components/schemas/APIModerateGetUserBanPreferencesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2614,8 +2938,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetManualBadgesResponse" + $ref: "#/components/schemas/GetTenantManualBadgesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2656,8 +2986,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetManualBadgesForUserResponse" + $ref: "#/components/schemas/GetUserManualBadgesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2712,8 +3048,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PutAwardBadgeResponse" + $ref: "#/components/schemas/AwardUserBadgeResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2768,8 +3110,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PutRemoveBadgeResponse" + $ref: "#/components/schemas/RemoveUserBadgeResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2803,8 +3151,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTrustFactorResponse" + $ref: "#/components/schemas/GetUserTrustFactorResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2845,8 +3199,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetTrustFactorResponse" + $ref: "#/components/schemas/SetUserTrustFactorResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2880,8 +3240,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserInternalProfileResponse_1" + $ref: "#/components/schemas/GetUserInternalProfileResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2915,8 +3281,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PutReopenThreadResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2950,8 +3322,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PutCloseThreadResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -2978,8 +3356,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCountsResponse" + $ref: "#/components/schemas/GetBannedUsersCountResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Moderation @@ -3079,6 +3463,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3105,7 +3495,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetGifLargeResponse" + $ref: "#/components/schemas/GifGetLargeResponse" description: Ok "422": content: @@ -3113,6 +3503,12 @@ paths: schema: $ref: "#/components/schemas/APIError" description: Validation Failed + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3153,8 +3549,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FlagCommentPublicResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3224,8 +3626,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetFeedPostsPublicResponse" + $ref: "#/components/schemas/PublicFeedPostsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3264,8 +3672,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateFeedPostPublicResponse" + $ref: "#/components/schemas/CreateFeedPostResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3319,8 +3733,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ReactFeedPostPublicResponse" + $ref: "#/components/schemas/ReactFeedPostResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3356,8 +3776,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserReactsPublicResponse" + $ref: "#/components/schemas/UserReactsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3400,6 +3826,12 @@ paths: schema: $ref: "#/components/schemas/DeleteFeedPostPublicResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3445,8 +3877,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateFeedPostPublicResponse" + $ref: "#/components/schemas/CreateFeedPostResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3482,8 +3920,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetFeedPostsStatsResponse" + $ref: "#/components/schemas/FeedPostsStatsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3539,8 +3983,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEventLogResponse_1" + $ref: "#/components/schemas/GetEventLogResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3596,8 +4046,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetGlobalEventLogResponse" + $ref: "#/components/schemas/GetEventLogResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3638,8 +4094,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentTextResponse_1" + $ref: "#/components/schemas/PublicAPIGetCommentTextResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3693,8 +4155,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetCommentTextResponse_1" + $ref: "#/components/schemas/PublicAPISetCommentTextResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3757,8 +4225,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentsForUserResponse_1" + $ref: "#/components/schemas/GetCommentsForUserResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -3980,8 +4454,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentsPublicResponse" + $ref: "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4034,8 +4514,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateCommentPublicResponse" + $ref: "#/components/schemas/SaveCommentsResponseWithPresence" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4083,8 +4569,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteCommentPublicResponse" + $ref: "#/components/schemas/PublicAPIDeleteCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4119,8 +4611,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CheckedCommentsForBlockedResponse" + $ref: "#/components/schemas/CheckBlockedCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4181,8 +4679,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/VoteCommentResponse" + $ref: "#/components/schemas/VoteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4244,8 +4748,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteCommentVoteResponse" + $ref: "#/components/schemas/VoteDeleteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4287,8 +4797,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentVoteUserNamesResponse" + $ref: "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4329,8 +4845,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PinCommentResponse" + $ref: "#/components/schemas/ChangeCommentPinStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4371,8 +4893,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnPinCommentResponse" + $ref: "#/components/schemas/ChangeCommentPinStatusResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4413,8 +4941,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/LockCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4455,8 +4989,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnLockCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4496,8 +5036,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnBlockCommentPublicResponse" + $ref: "#/components/schemas/UnblockSuccess" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -4536,8 +5082,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BlockFromCommentPublicResponse" + $ref: "#/components/schemas/BlockSuccess" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: [] tags: - Public @@ -5060,8 +5612,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetVotesResponse_1" + $ref: "#/components/schemas/GetVotesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -5110,8 +5668,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateVoteResponse" + $ref: "#/components/schemas/VoteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/votes/for-user: @@ -5151,8 +5715,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetVotesForUserResponse_1" + $ref: "#/components/schemas/GetVotesForUserResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/votes/{id}: @@ -5185,8 +5755,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteVoteResponse" + $ref: "#/components/schemas/VoteDeleteResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/users/{id}: @@ -5212,8 +5788,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserResponse_1" + $ref: "#/components/schemas/GetUserResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/user-badges/{id}: @@ -5239,8 +5821,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteUserBadgeResponse" + $ref: "#/components/schemas/APIEmptySuccessResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -5265,8 +5853,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBadgeResponse" + $ref: "#/components/schemas/APIGetUserBadgeResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] put: @@ -5297,8 +5891,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateUserBadgeResponse" + $ref: "#/components/schemas/APIEmptySuccessResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/user-badges: @@ -5362,8 +5962,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBadgesResponse" + $ref: "#/components/schemas/APIGetUserBadgesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -5387,8 +5993,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateUserBadgeResponse" + $ref: "#/components/schemas/APICreateUserBadgeResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/user-badge-progress/{id}: @@ -5414,8 +6026,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBadgeProgressByIdResponse" + $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/user-badge-progress: @@ -5457,8 +6075,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBadgeProgressListResponse" + $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/user-badge-progress/user/{userId}: @@ -5484,8 +6108,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetUserBadgeProgressByUserIdResponse" + $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tickets: @@ -5535,8 +6165,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTicketsResponse_1" + $ref: "#/components/schemas/GetTicketsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -5567,8 +6203,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTicketResponse_1" + $ref: "#/components/schemas/CreateTicketResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tickets/{id}: @@ -5601,8 +6243,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTicketResponse_1" + $ref: "#/components/schemas/GetTicketResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tickets/{id}/state: @@ -5641,8 +6289,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ChangeTicketStateResponse_1" + $ref: "#/components/schemas/ChangeTicketStateResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenants/{id}: @@ -5675,8 +6329,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteTenantResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -5701,8 +6361,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantResponse_1" + $ref: "#/components/schemas/GetTenantResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -5733,8 +6399,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateTenantResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenants: @@ -5768,8 +6440,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantsResponse_1" + $ref: "#/components/schemas/GetTenantsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -5793,8 +6471,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantResponse_1" + $ref: "#/components/schemas/CreateTenantResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-users/{id}: @@ -5834,8 +6518,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteTenantUserResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -5860,8 +6550,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantUserResponse_1" + $ref: "#/components/schemas/GetTenantUserResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -5899,8 +6595,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateTenantUserResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] put: @@ -5938,8 +6640,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ReplaceTenantUserResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-users: @@ -5966,8 +6674,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantUsersResponse_1" + $ref: "#/components/schemas/GetTenantUsersResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -5991,8 +6705,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantUserResponse_1" + $ref: "#/components/schemas/CreateTenantUserResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-users/{id}/send-login-link: @@ -6025,8 +6745,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SendLoginLinkResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-packages/{id}: @@ -6052,8 +6778,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteTenantPackageResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -6078,8 +6810,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantPackageResponse_1" + $ref: "#/components/schemas/GetTenantPackageResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -6110,9 +6848,15 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateTenantPackageResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok - security: + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error + security: - api_key: [] put: operationId: ReplaceTenantPackage @@ -6142,8 +6886,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ReplaceTenantPackageResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-packages: @@ -6170,8 +6920,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantPackagesResponse_1" + $ref: "#/components/schemas/GetTenantPackagesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -6195,8 +6951,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateTenantPackageResponse_1" + $ref: "#/components/schemas/CreateTenantPackageResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/tenant-daily-usage: @@ -6247,8 +7009,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetTenantDailyUsagesResponse_1" + $ref: "#/components/schemas/GetTenantDailyUsagesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-results/{id}: @@ -6274,8 +7042,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteQuestionResultResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -6300,8 +7074,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionResultResponse_1" + $ref: "#/components/schemas/GetQuestionResultResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -6332,8 +7112,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateQuestionResultResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-results: @@ -6395,8 +7181,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionResultsResponse_1" + $ref: "#/components/schemas/GetQuestionResultsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -6420,8 +7212,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateQuestionResultResponse_1" + $ref: "#/components/schemas/CreateQuestionResultResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-results-aggregation: @@ -6485,8 +7283,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AggregateQuestionResultsResponse_1" + $ref: "#/components/schemas/AggregateQuestionResultsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-results-aggregation/bulk: @@ -6518,8 +7322,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse_1" + $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-results-aggregation/combine/comments: @@ -6600,8 +7410,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CombineCommentsWithQuestionResultsResponse" + $ref: "#/components/schemas/CombineQuestionResultsWithCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-configs/{id}: @@ -6627,8 +7443,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteQuestionConfigResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -6653,8 +7475,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionConfigResponse_1" + $ref: "#/components/schemas/GetQuestionConfigResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -6685,8 +7513,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateQuestionConfigResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/question-configs: @@ -6713,8 +7547,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetQuestionConfigsResponse_1" + $ref: "#/components/schemas/GetQuestionConfigsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -6738,8 +7578,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateQuestionConfigResponse_1" + $ref: "#/components/schemas/CreateQuestionConfigResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/pending-webhook-events: @@ -6809,8 +7655,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPendingWebhookEventsResponse_1" + $ref: "#/components/schemas/GetPendingWebhookEventsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/pending-webhook-events/count: @@ -6872,8 +7724,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPendingWebhookEventCountResponse_1" + $ref: "#/components/schemas/GetPendingWebhookEventCountResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/pending-webhook-events/{id}: @@ -6899,8 +7757,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeletePendingWebhookEventResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/notifications: @@ -6962,8 +7826,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetNotificationsResponse_1" + $ref: "#/components/schemas/GetNotificationsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/notifications/count: @@ -7017,8 +7887,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetNotificationCountResponse_1" + $ref: "#/components/schemas/GetNotificationCountResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/notifications/{id}: @@ -7057,8 +7933,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateNotificationResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/notification-count/{id}: @@ -7084,8 +7966,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteNotificationCountResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -7110,8 +7998,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCachedNotificationCountResponse_1" + $ref: "#/components/schemas/GetCachedNotificationCountResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/moderators/{id}: @@ -7144,8 +8038,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteModeratorResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -7170,8 +8070,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModeratorResponse_1" + $ref: "#/components/schemas/GetModeratorResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -7202,8 +8108,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateModeratorResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/moderators: @@ -7230,8 +8142,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetModeratorsResponse_1" + $ref: "#/components/schemas/GetModeratorsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -7255,8 +8173,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateModeratorResponse_1" + $ref: "#/components/schemas/CreateModeratorResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/moderators/{id}/send-invite: @@ -7289,8 +8213,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SendInviteResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/hash-tags: @@ -7317,8 +8247,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetHashTagsResponse_1" + $ref: "#/components/schemas/GetHashTagsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -7342,8 +8278,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddHashTagResponse" + $ref: "#/components/schemas/CreateHashTagResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/hash-tags/bulk: @@ -7368,8 +8310,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddHashTagsBulkResponse" + $ref: "#/components/schemas/BulkCreateHashTagsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/hash-tags/{tag}: @@ -7401,8 +8349,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteHashTagResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -7433,8 +8387,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PatchHashTagResponse" + $ref: "#/components/schemas/UpdateHashTagResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/feed-posts: @@ -7482,8 +8442,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetFeedPostsResponse_1" + $ref: "#/components/schemas/GetFeedPostsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -7535,8 +8501,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateFeedPostResponse_1" + $ref: "#/components/schemas/CreateFeedPostsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/feed-posts/{id}: @@ -7568,8 +8540,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateFeedPostResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates/definitions: @@ -7588,8 +8566,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse_1" + $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates/{id}/render-errors: @@ -7623,8 +8607,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse_1" + $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates/{id}/render-errors/{errorId}: @@ -7657,8 +8647,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteEmailTemplateRenderErrorResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates/{id}: @@ -7684,8 +8680,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteEmailTemplateResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -7710,8 +8712,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplateResponse_1" + $ref: "#/components/schemas/GetEmailTemplateResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -7742,8 +8750,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateEmailTemplateResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates: @@ -7770,8 +8784,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetEmailTemplatesResponse_1" + $ref: "#/components/schemas/GetEmailTemplatesResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -7795,8 +8815,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateEmailTemplateResponse_1" + $ref: "#/components/schemas/CreateEmailTemplateResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/email-templates/render: @@ -7828,8 +8854,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RenderEmailTemplateResponse_1" + $ref: "#/components/schemas/RenderEmailTemplateResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/domain-configs: @@ -8032,8 +9064,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteCommentResponse" + $ref: "#/components/schemas/DeleteCommentResult" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] get: @@ -8058,8 +9096,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentResponse" + $ref: "#/components/schemas/APIGetCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] patch: @@ -8111,8 +9155,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateCommentResponse" + $ref: "#/components/schemas/APIEmptyResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/comments: @@ -8251,8 +9301,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCommentsResponse" + $ref: "#/components/schemas/APIGetCommentsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] post: @@ -8304,8 +9360,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SaveCommentResponse" + $ref: "#/components/schemas/APISaveCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/comments/bulk: @@ -8403,8 +9465,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FlagCommentResponse_1" + $ref: "#/components/schemas/FlagCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/comments/{id}/un-flag: @@ -8444,8 +9512,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnFlagCommentResponse" + $ref: "#/components/schemas/FlagCommentResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/comments/{id}/block: @@ -8491,8 +9565,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/BlockUserFromCommentResponse" + $ref: "#/components/schemas/BlockSuccess" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/comments/{id}/un-block: @@ -8538,8 +9618,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UnBlockUserFromCommentResponse" + $ref: "#/components/schemas/UnblockSuccess" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/audit-logs: @@ -8597,8 +9683,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetAuditLogsResponse_1" + $ref: "#/components/schemas/GetAuditLogsResponse" description: Ok + default: + content: + application/json: + schema: + $ref: "#/components/schemas/APIError" + description: Error security: - api_key: [] /api/v1/aggregate: @@ -24331,53 +25423,20 @@ components: - operations - resourceName type: object - SearchUsersResponse_1: - anyOf: - - $ref: "#/components/schemas/SearchUsersResult" - - $ref: "#/components/schemas/APIError" - title: SearchUsersResponse - GetUserPresenceStatusesResponse_1: - anyOf: - - $ref: "#/components/schemas/GetUserPresenceStatusesResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserPresenceStatusesResponse - GetUserNotificationsResponse: - anyOf: - - $ref: "#/components/schemas/GetMyNotificationsResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserNotificationsResponse - ResetUserNotificationsResponse_1: - anyOf: - - $ref: "#/components/schemas/ResetUserNotificationsResponse" - - $ref: "#/components/schemas/APIError" - title: ResetUserNotificationsResponse - GetUserNotificationCountResponse_1: - anyOf: - - $ref: "#/components/schemas/GetUserNotificationCountResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserNotificationCountResponse - ResetUserNotificationCountResponse: - anyOf: - - $ref: "#/components/schemas/ResetUserNotificationsResponse" - - $ref: "#/components/schemas/APIError" - title: ResetUserNotificationCountResponse - UpdateUserNotificationStatusResponse: + UpdateUserNotificationStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" - - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationStatusResponse UpdateUserNotificationCommentSubscriptionStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" - - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationCommentSubscriptionStatusResponse UpdateUserNotificationPageSubscriptionStatusResponse: anyOf: - $ref: "#/components/schemas/UserNotificationWriteResponse" - $ref: "#/components/schemas/IgnoredResponse" - - $ref: "#/components/schemas/APIError" title: UpdateUserNotificationPageSubscriptionStatusResponse UploadImage_request: properties: @@ -24387,282 +25446,11 @@ components: required: - file type: object - GetTranslationsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTranslationsResponse" - - $ref: "#/components/schemas/APIError" - title: GetTranslationsResponse - GetPagesPublicResponse: - anyOf: - - $ref: "#/components/schemas/GetPublicPagesResponse" - - $ref: "#/components/schemas/APIError" - title: GetPagesPublicResponse - GetOnlineUsersResponse: - anyOf: - - $ref: "#/components/schemas/PageUsersOnlineResponse" - - $ref: "#/components/schemas/APIError" - title: GetOnlineUsersResponse - GetOfflineUsersResponse: - anyOf: - - $ref: "#/components/schemas/PageUsersOfflineResponse" - - $ref: "#/components/schemas/APIError" - title: GetOfflineUsersResponse - GetUsersInfoResponse: - anyOf: - - $ref: "#/components/schemas/PageUsersInfoResponse" - - $ref: "#/components/schemas/APIError" - title: GetUsersInfoResponse - GetV1PageLikesResponse: - anyOf: - - $ref: "#/components/schemas/GetV1PageLikes" - - $ref: "#/components/schemas/APIError" - title: GetV1PageLikesResponse - CreateV1PageReactResponse: - anyOf: - - $ref: "#/components/schemas/CreateV1PageReact" - - $ref: "#/components/schemas/APIError" - title: CreateV1PageReactResponse - DeleteV1PageReactResponse: - anyOf: - - $ref: "#/components/schemas/DeleteV1PageReact" - - $ref: "#/components/schemas/APIError" - title: DeleteV1PageReactResponse - GetV2PageReactUsersResponse_1: - anyOf: - - $ref: "#/components/schemas/GetV2PageReactUsersResponse" - - $ref: "#/components/schemas/APIError" - title: GetV2PageReactUsersResponse - GetV2PageReactsResponse: - anyOf: - - $ref: "#/components/schemas/GetV2PageReacts" - - $ref: "#/components/schemas/APIError" - title: GetV2PageReactsResponse - CreateV2PageReactResponse: - anyOf: - - $ref: "#/components/schemas/CreateV2PageReact" - - $ref: "#/components/schemas/APIError" - title: CreateV2PageReactResponse - DeleteV2PageReactResponse: - anyOf: - - $ref: "#/components/schemas/DeleteV2PageReact" - - $ref: "#/components/schemas/APIError" - title: DeleteV2PageReactResponse - GetCountResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPICountCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: GetCountResponse - GetApiIdsResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPIGetCommentIdsResponse" - - $ref: "#/components/schemas/APIError" - title: GetApiIdsResponse - GetApiCommentsResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPIGetCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: GetApiCommentsResponse - PostApiExportResponse: - anyOf: - - $ref: "#/components/schemas/ModerationExportResponse" - - $ref: "#/components/schemas/APIError" - title: PostApiExportResponse - GetApiExportStatusResponse: - anyOf: - - $ref: "#/components/schemas/ModerationExportStatusResponse" - - $ref: "#/components/schemas/APIError" - title: GetApiExportStatusResponse - GetSearchUsersResponse: - anyOf: - - $ref: "#/components/schemas/ModerationUserSearchResponse" - - $ref: "#/components/schemas/APIError" - title: GetSearchUsersResponse - GetSearchPagesResponse: - anyOf: - - $ref: "#/components/schemas/ModerationPageSearchResponse" - - $ref: "#/components/schemas/APIError" - title: GetSearchPagesResponse - GetSearchSitesResponse: - anyOf: - - $ref: "#/components/schemas/ModerationSiteSearchResponse" - - $ref: "#/components/schemas/APIError" - title: GetSearchSitesResponse - GetSearchCommentsSummaryResponse: - anyOf: - - $ref: "#/components/schemas/ModerationCommentSearchResponse" - - $ref: "#/components/schemas/APIError" - title: GetSearchCommentsSummaryResponse - GetSearchSuggestResponse: - anyOf: - - $ref: "#/components/schemas/ModerationSuggestResponse" - - $ref: "#/components/schemas/APIError" - title: GetSearchSuggestResponse - GetPreBanSummaryResponse: - anyOf: - - $ref: "#/components/schemas/PreBanSummary" - - $ref: "#/components/schemas/APIError" - title: GetPreBanSummaryResponse - PostBulkPreBanSummaryResponse: - anyOf: - - $ref: "#/components/schemas/BulkPreBanSummary" - - $ref: "#/components/schemas/APIError" - title: PostBulkPreBanSummaryResponse - PostBanUserFromCommentResponse: - anyOf: - - $ref: "#/components/schemas/BanUserFromCommentResult" - - $ref: "#/components/schemas/APIError" - title: PostBanUserFromCommentResponse - GetBanUsersFromCommentResponse: - anyOf: - - $ref: "#/components/schemas/GetBannedUsersFromCommentResponse" - - $ref: "#/components/schemas/APIError" - title: GetBanUsersFromCommentResponse - PostBanUserUndoResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostBanUserUndoResponse PostRemoveCommentResponse: anyOf: - $ref: "#/components/schemas/DeleteCommentResult" - $ref: "#/components/schemas/RemoveCommentActionResponse" - - $ref: "#/components/schemas/APIError" title: PostRemoveCommentResponse - PostRestoreDeletedCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostRestoreDeletedCommentResponse - PostFlagCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostFlagCommentResponse - PostUnFlagCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostUnFlagCommentResponse - PostSetCommentReviewStatusResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostSetCommentReviewStatusResponse - PostSetCommentSpamStatusResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PostSetCommentSpamStatusResponse - PostSetCommentApprovalStatusResponse: - anyOf: - - $ref: "#/components/schemas/SetCommentApprovedResponse" - - $ref: "#/components/schemas/APIError" - title: PostSetCommentApprovalStatusResponse - GetLogsResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPIGetLogsResponse" - - $ref: "#/components/schemas/APIError" - title: GetLogsResponse - GetModerationCommentResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPICommentResponse" - - $ref: "#/components/schemas/APIError" - title: GetModerationCommentResponse - PostCommentsByIdsResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: PostCommentsByIdsResponse - GetCommentChildrenResponse: - anyOf: - - $ref: "#/components/schemas/ModerationAPIChildCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentChildrenResponse - GetModerationCommentTextResponse: - anyOf: - - $ref: "#/components/schemas/GetCommentTextResponse" - - $ref: "#/components/schemas/APIError" - title: GetModerationCommentTextResponse - PostSetCommentTextResponse: - anyOf: - - $ref: "#/components/schemas/SetCommentTextResponse" - - $ref: "#/components/schemas/APIError" - title: PostSetCommentTextResponse - PostAdjustCommentVotesResponse: - anyOf: - - $ref: "#/components/schemas/AdjustVotesResponse" - - $ref: "#/components/schemas/APIError" - title: PostAdjustCommentVotesResponse - PostVoteResponse: - anyOf: - - $ref: "#/components/schemas/VoteResponse" - - $ref: "#/components/schemas/APIError" - title: PostVoteResponse - DeleteModerationVoteResponse: - anyOf: - - $ref: "#/components/schemas/VoteDeleteResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteModerationVoteResponse - GetCommentBanStatusResponse_1: - anyOf: - - $ref: "#/components/schemas/GetCommentBanStatusResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentBanStatusResponse - GetUserBanPreferenceResponse: - anyOf: - - $ref: "#/components/schemas/APIModerateGetUserBanPreferencesResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBanPreferenceResponse - GetManualBadgesResponse: - anyOf: - - $ref: "#/components/schemas/GetTenantManualBadgesResponse" - - $ref: "#/components/schemas/APIError" - title: GetManualBadgesResponse - GetManualBadgesForUserResponse: - anyOf: - - $ref: "#/components/schemas/GetUserManualBadgesResponse" - - $ref: "#/components/schemas/APIError" - title: GetManualBadgesForUserResponse - PutAwardBadgeResponse: - anyOf: - - $ref: "#/components/schemas/AwardUserBadgeResponse" - - $ref: "#/components/schemas/APIError" - title: PutAwardBadgeResponse - PutRemoveBadgeResponse: - anyOf: - - $ref: "#/components/schemas/RemoveUserBadgeResponse" - - $ref: "#/components/schemas/APIError" - title: PutRemoveBadgeResponse - GetTrustFactorResponse: - anyOf: - - $ref: "#/components/schemas/GetUserTrustFactorResponse" - - $ref: "#/components/schemas/APIError" - title: GetTrustFactorResponse - SetTrustFactorResponse: - anyOf: - - $ref: "#/components/schemas/SetUserTrustFactorResponse" - - $ref: "#/components/schemas/APIError" - title: SetTrustFactorResponse - GetUserInternalProfileResponse_1: - anyOf: - - $ref: "#/components/schemas/GetUserInternalProfileResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserInternalProfileResponse - PutReopenThreadResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PutReopenThreadResponse - PutCloseThreadResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: PutCloseThreadResponse - GetCountsResponse: - anyOf: - - $ref: "#/components/schemas/GetBannedUsersCountResponse" - - $ref: "#/components/schemas/APIError" - title: GetCountsResponse GetGifsTrendingResponse: anyOf: - $ref: "#/components/schemas/GifSearchResponse" @@ -24672,44 +25460,8 @@ components: anyOf: - $ref: "#/components/schemas/GifSearchResponse" - $ref: "#/components/schemas/GifSearchInternalError" - - $ref: "#/components/schemas/APIError" title: GetGifsSearchResponse - GetGifLargeResponse: - anyOf: - - $ref: "#/components/schemas/GifGetLargeResponse" - - $ref: "#/components/schemas/APIError" - title: GetGifLargeResponse - FlagCommentPublicResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: FlagCommentPublicResponse - GetFeedPostsPublicResponse: - anyOf: - - $ref: "#/components/schemas/PublicFeedPostsResponse" - - $ref: "#/components/schemas/APIError" - title: GetFeedPostsPublicResponse - CreateFeedPostPublicResponse: - anyOf: - - $ref: "#/components/schemas/CreateFeedPostResponse" - - $ref: "#/components/schemas/APIError" - title: CreateFeedPostPublicResponse - ReactFeedPostPublicResponse: - anyOf: - - $ref: "#/components/schemas/ReactFeedPostResponse" - - $ref: "#/components/schemas/APIError" - title: ReactFeedPostPublicResponse - GetUserReactsPublicResponse: - anyOf: - - $ref: "#/components/schemas/UserReactsResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserReactsPublicResponse - UpdateFeedPostPublicResponse: - anyOf: - - $ref: "#/components/schemas/CreateFeedPostResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateFeedPostPublicResponse - DeleteFeedPostPublicResponse_anyOf: + DeleteFeedPostPublicResponse: example: status: success properties: @@ -24717,107 +25469,8 @@ components: $ref: "#/components/schemas/APIStatus" required: - status - type: object - DeleteFeedPostPublicResponse: - anyOf: - - $ref: "#/components/schemas/DeleteFeedPostPublicResponse_anyOf" - - $ref: "#/components/schemas/APIError" title: DeleteFeedPostPublicResponse - GetFeedPostsStatsResponse: - anyOf: - - $ref: "#/components/schemas/FeedPostsStatsResponse" - - $ref: "#/components/schemas/APIError" - title: GetFeedPostsStatsResponse - GetEventLogResponse_1: - anyOf: - - $ref: "#/components/schemas/GetEventLogResponse" - - $ref: "#/components/schemas/APIError" - title: GetEventLogResponse - GetGlobalEventLogResponse: - anyOf: - - $ref: "#/components/schemas/GetEventLogResponse" - - $ref: "#/components/schemas/APIError" - title: GetGlobalEventLogResponse - GetCommentTextResponse_1: - anyOf: - - $ref: "#/components/schemas/PublicAPIGetCommentTextResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentTextResponse - SetCommentTextResponse_1: - anyOf: - - $ref: "#/components/schemas/PublicAPISetCommentTextResponse" - - $ref: "#/components/schemas/APIError" - title: SetCommentTextResponse - GetCommentsForUserResponse_1: - anyOf: - - $ref: "#/components/schemas/GetCommentsForUserResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentsForUserResponse - GetCommentsPublicResponse: - anyOf: - - $ref: "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" - - $ref: "#/components/schemas/APIError" - title: GetCommentsPublicResponse - CreateCommentPublicResponse: - anyOf: - - $ref: "#/components/schemas/SaveCommentsResponseWithPresence" - - $ref: "#/components/schemas/APIError" - title: CreateCommentPublicResponse - DeleteCommentPublicResponse: - anyOf: - - $ref: "#/components/schemas/PublicAPIDeleteCommentResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteCommentPublicResponse - CheckedCommentsForBlockedResponse: - anyOf: - - $ref: "#/components/schemas/CheckBlockedCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: CheckedCommentsForBlockedResponse - VoteCommentResponse: - anyOf: - - $ref: "#/components/schemas/VoteResponse" - - $ref: "#/components/schemas/APIError" - title: VoteCommentResponse - DeleteCommentVoteResponse: - anyOf: - - $ref: "#/components/schemas/VoteDeleteResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteCommentVoteResponse - GetCommentVoteUserNamesResponse: - anyOf: - - $ref: "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentVoteUserNamesResponse - PinCommentResponse: - anyOf: - - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" - - $ref: "#/components/schemas/APIError" - title: PinCommentResponse - UnPinCommentResponse: - anyOf: - - $ref: "#/components/schemas/ChangeCommentPinStatusResponse" - - $ref: "#/components/schemas/APIError" - title: UnPinCommentResponse - LockCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIError" - - $ref: "#/components/schemas/APIEmptyResponse" - title: LockCommentResponse - UnLockCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIError" - - $ref: "#/components/schemas/APIEmptyResponse" - title: UnLockCommentResponse - BlockFromCommentPublicResponse: - anyOf: - - $ref: "#/components/schemas/BlockSuccess" - - $ref: "#/components/schemas/APIError" - title: BlockFromCommentPublicResponse - UnBlockCommentPublicResponse: - anyOf: - - $ref: "#/components/schemas/UnblockSuccess" - - $ref: "#/components/schemas/APIError" - title: UnBlockCommentPublicResponse + type: object GetSSOUsersResponse: example: users: @@ -24878,336 +25531,6 @@ components: - users title: GetSSOUsersResponse type: object - GetVotesResponse_1: - anyOf: - - $ref: "#/components/schemas/GetVotesResponse" - - $ref: "#/components/schemas/APIError" - title: GetVotesResponse - CreateVoteResponse: - anyOf: - - $ref: "#/components/schemas/VoteResponse" - - $ref: "#/components/schemas/APIError" - title: CreateVoteResponse - GetVotesForUserResponse_1: - anyOf: - - $ref: "#/components/schemas/GetVotesForUserResponse" - - $ref: "#/components/schemas/APIError" - title: GetVotesForUserResponse - DeleteVoteResponse: - anyOf: - - $ref: "#/components/schemas/VoteDeleteResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteVoteResponse - GetUserResponse_1: - anyOf: - - $ref: "#/components/schemas/GetUserResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserResponse - GetUserBadgeResponse: - anyOf: - - $ref: "#/components/schemas/APIGetUserBadgeResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBadgeResponse - UpdateUserBadgeResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptySuccessResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateUserBadgeResponse - DeleteUserBadgeResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptySuccessResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteUserBadgeResponse - GetUserBadgesResponse: - anyOf: - - $ref: "#/components/schemas/APIGetUserBadgesResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBadgesResponse - CreateUserBadgeResponse: - anyOf: - - $ref: "#/components/schemas/APICreateUserBadgeResponse" - - $ref: "#/components/schemas/APIError" - title: CreateUserBadgeResponse - GetUserBadgeProgressByIdResponse: - anyOf: - - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBadgeProgressByIdResponse - GetUserBadgeProgressListResponse: - anyOf: - - $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBadgeProgressListResponse - GetUserBadgeProgressByUserIdResponse: - anyOf: - - $ref: "#/components/schemas/APIGetUserBadgeProgressResponse" - - $ref: "#/components/schemas/APIError" - title: GetUserBadgeProgressByUserIdResponse - GetTicketsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTicketsResponse" - - $ref: "#/components/schemas/APIError" - title: GetTicketsResponse - CreateTicketResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateTicketResponse" - - $ref: "#/components/schemas/APIError" - title: CreateTicketResponse - GetTicketResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTicketResponse" - - $ref: "#/components/schemas/APIError" - title: GetTicketResponse - ChangeTicketStateResponse_1: - anyOf: - - $ref: "#/components/schemas/ChangeTicketStateResponse" - - $ref: "#/components/schemas/APIError" - title: ChangeTicketStateResponse - GetTenantResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantResponse - DeleteTenantResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteTenantResponse - UpdateTenantResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateTenantResponse - GetTenantsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantsResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantsResponse - CreateTenantResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateTenantResponse" - - $ref: "#/components/schemas/APIError" - title: CreateTenantResponse - GetTenantUserResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantUserResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantUserResponse - ReplaceTenantUserResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: ReplaceTenantUserResponse - DeleteTenantUserResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteTenantUserResponse - UpdateTenantUserResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateTenantUserResponse - GetTenantUsersResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantUsersResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantUsersResponse - CreateTenantUserResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateTenantUserResponse" - - $ref: "#/components/schemas/APIError" - title: CreateTenantUserResponse - SendLoginLinkResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: SendLoginLinkResponse - GetTenantPackageResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantPackageResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantPackageResponse - ReplaceTenantPackageResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: ReplaceTenantPackageResponse - DeleteTenantPackageResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteTenantPackageResponse - UpdateTenantPackageResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateTenantPackageResponse - GetTenantPackagesResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantPackagesResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantPackagesResponse - CreateTenantPackageResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateTenantPackageResponse" - - $ref: "#/components/schemas/APIError" - title: CreateTenantPackageResponse - GetTenantDailyUsagesResponse_1: - anyOf: - - $ref: "#/components/schemas/GetTenantDailyUsagesResponse" - - $ref: "#/components/schemas/APIError" - title: GetTenantDailyUsagesResponse - GetQuestionResultResponse_1: - anyOf: - - $ref: "#/components/schemas/GetQuestionResultResponse" - - $ref: "#/components/schemas/APIError" - title: GetQuestionResultResponse - DeleteQuestionResultResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteQuestionResultResponse - UpdateQuestionResultResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateQuestionResultResponse - GetQuestionResultsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetQuestionResultsResponse" - - $ref: "#/components/schemas/APIError" - title: GetQuestionResultsResponse - CreateQuestionResultResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateQuestionResultResponse" - - $ref: "#/components/schemas/APIError" - title: CreateQuestionResultResponse - AggregateQuestionResultsResponse_1: - anyOf: - - $ref: "#/components/schemas/AggregateQuestionResultsResponse" - - $ref: "#/components/schemas/APIError" - title: AggregateQuestionResultsResponse - BulkAggregateQuestionResultsResponse_1: - anyOf: - - $ref: "#/components/schemas/BulkAggregateQuestionResultsResponse" - - $ref: "#/components/schemas/APIError" - title: BulkAggregateQuestionResultsResponse - CombineCommentsWithQuestionResultsResponse: - anyOf: - - $ref: "#/components/schemas/CombineQuestionResultsWithCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: CombineCommentsWithQuestionResultsResponse - GetQuestionConfigResponse_1: - anyOf: - - $ref: "#/components/schemas/GetQuestionConfigResponse" - - $ref: "#/components/schemas/APIError" - title: GetQuestionConfigResponse - DeleteQuestionConfigResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteQuestionConfigResponse - UpdateQuestionConfigResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateQuestionConfigResponse - GetQuestionConfigsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetQuestionConfigsResponse" - - $ref: "#/components/schemas/APIError" - title: GetQuestionConfigsResponse - CreateQuestionConfigResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateQuestionConfigResponse" - - $ref: "#/components/schemas/APIError" - title: CreateQuestionConfigResponse - GetPendingWebhookEventsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetPendingWebhookEventsResponse" - - $ref: "#/components/schemas/APIError" - title: GetPendingWebhookEventsResponse - GetPendingWebhookEventCountResponse_1: - anyOf: - - $ref: "#/components/schemas/GetPendingWebhookEventCountResponse" - - $ref: "#/components/schemas/APIError" - title: GetPendingWebhookEventCountResponse - DeletePendingWebhookEventResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeletePendingWebhookEventResponse - GetNotificationsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetNotificationsResponse" - - $ref: "#/components/schemas/APIError" - title: GetNotificationsResponse - GetNotificationCountResponse_1: - anyOf: - - $ref: "#/components/schemas/GetNotificationCountResponse" - - $ref: "#/components/schemas/APIError" - title: GetNotificationCountResponse - UpdateNotificationResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateNotificationResponse - GetCachedNotificationCountResponse_1: - anyOf: - - $ref: "#/components/schemas/GetCachedNotificationCountResponse" - - $ref: "#/components/schemas/APIError" - title: GetCachedNotificationCountResponse - DeleteNotificationCountResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteNotificationCountResponse - GetModeratorResponse_1: - anyOf: - - $ref: "#/components/schemas/GetModeratorResponse" - - $ref: "#/components/schemas/APIError" - title: GetModeratorResponse - DeleteModeratorResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteModeratorResponse - UpdateModeratorResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateModeratorResponse - GetModeratorsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetModeratorsResponse" - - $ref: "#/components/schemas/APIError" - title: GetModeratorsResponse - CreateModeratorResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateModeratorResponse" - - $ref: "#/components/schemas/APIError" - title: CreateModeratorResponse - SendInviteResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: SendInviteResponse - GetHashTagsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetHashTagsResponse" - - $ref: "#/components/schemas/APIError" - title: GetHashTagsResponse - AddHashTagResponse: - anyOf: - - $ref: "#/components/schemas/CreateHashTagResponse" - - $ref: "#/components/schemas/APIError" - title: AddHashTagResponse - AddHashTagsBulkResponse: - anyOf: - - $ref: "#/components/schemas/BulkCreateHashTagsResponse" - - $ref: "#/components/schemas/APIError" - title: AddHashTagsBulkResponse DeleteHashTagRequestBody: example: tenantId: tenantId @@ -25216,76 +25539,6 @@ components: type: string title: DeleteHashTagRequestBody type: object - DeleteHashTagResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteHashTagResponse - PatchHashTagResponse: - anyOf: - - $ref: "#/components/schemas/UpdateHashTagResponse" - - $ref: "#/components/schemas/APIError" - title: PatchHashTagResponse - GetFeedPostsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetFeedPostsResponse" - - $ref: "#/components/schemas/APIError" - title: GetFeedPostsResponse - CreateFeedPostResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateFeedPostsResponse" - - $ref: "#/components/schemas/APIError" - title: CreateFeedPostResponse - UpdateFeedPostResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateFeedPostResponse - GetEmailTemplateDefinitionsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetEmailTemplateDefinitionsResponse" - - $ref: "#/components/schemas/APIError" - title: GetEmailTemplateDefinitionsResponse - GetEmailTemplateRenderErrorsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetEmailTemplateRenderErrorsResponse" - - $ref: "#/components/schemas/APIError" - title: GetEmailTemplateRenderErrorsResponse - DeleteEmailTemplateRenderErrorResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteEmailTemplateRenderErrorResponse - GetEmailTemplateResponse_1: - anyOf: - - $ref: "#/components/schemas/GetEmailTemplateResponse" - - $ref: "#/components/schemas/APIError" - title: GetEmailTemplateResponse - DeleteEmailTemplateResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: DeleteEmailTemplateResponse - UpdateEmailTemplateResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateEmailTemplateResponse - GetEmailTemplatesResponse_1: - anyOf: - - $ref: "#/components/schemas/GetEmailTemplatesResponse" - - $ref: "#/components/schemas/APIError" - title: GetEmailTemplatesResponse - CreateEmailTemplateResponse_1: - anyOf: - - $ref: "#/components/schemas/CreateEmailTemplateResponse" - - $ref: "#/components/schemas/APIError" - title: CreateEmailTemplateResponse - RenderEmailTemplateResponse_1: - anyOf: - - $ref: "#/components/schemas/RenderEmailTemplateResponse" - - $ref: "#/components/schemas/APIError" - title: RenderEmailTemplateResponse GetDomainConfigsResponse_anyOf: example: configurations: "" @@ -25358,61 +25611,11 @@ components: - $ref: "#/components/schemas/AddDomainConfigResponse_anyOf" - $ref: "#/components/schemas/GetDomainConfigsResponse_anyOf_1" title: PatchDomainConfigResponse - GetCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIGetCommentResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentResponse - DeleteCommentResponse: - anyOf: - - $ref: "#/components/schemas/DeleteCommentResult" - - $ref: "#/components/schemas/APIError" - title: DeleteCommentResponse - UpdateCommentResponse: - anyOf: - - $ref: "#/components/schemas/APIEmptyResponse" - - $ref: "#/components/schemas/APIError" - title: UpdateCommentResponse - GetCommentsResponse: - anyOf: - - $ref: "#/components/schemas/APIGetCommentsResponse" - - $ref: "#/components/schemas/APIError" - title: GetCommentsResponse - SaveCommentResponse: - anyOf: - - $ref: "#/components/schemas/APISaveCommentResponse" - - $ref: "#/components/schemas/APIError" - title: SaveCommentResponse SaveCommentsBulkResponse: anyOf: - $ref: "#/components/schemas/APISaveCommentResponse" - $ref: "#/components/schemas/APIError" title: SaveCommentsBulkResponse - FlagCommentResponse_1: - anyOf: - - $ref: "#/components/schemas/FlagCommentResponse" - - $ref: "#/components/schemas/APIError" - title: FlagCommentResponse - UnFlagCommentResponse: - anyOf: - - $ref: "#/components/schemas/FlagCommentResponse" - - $ref: "#/components/schemas/APIError" - title: UnFlagCommentResponse - BlockUserFromCommentResponse: - anyOf: - - $ref: "#/components/schemas/BlockSuccess" - - $ref: "#/components/schemas/APIError" - title: BlockUserFromCommentResponse - UnBlockUserFromCommentResponse: - anyOf: - - $ref: "#/components/schemas/UnblockSuccess" - - $ref: "#/components/schemas/APIError" - title: UnBlockUserFromCommentResponse - GetAuditLogsResponse_1: - anyOf: - - $ref: "#/components/schemas/GetAuditLogsResponse" - - $ref: "#/components/schemas/APIError" - title: GetAuditLogsResponse AggregateResponse: anyOf: - $ref: "#/components/schemas/AggregationResponse" diff --git a/client/api_default.go b/client/api_default.go index c0d263c..9f91816 100644 --- a/client/api_default.go +++ b/client/api_default.go @@ -174,7 +174,7 @@ func (r ApiAddHashTagRequest) CreateHashTagBody(createHashTagBody CreateHashTagB return r } -func (r ApiAddHashTagRequest) Execute() (*AddHashTagResponse, *http.Response, error) { +func (r ApiAddHashTagRequest) Execute() (*CreateHashTagResponse, *http.Response, error) { return r.ApiService.AddHashTagExecute(r) } @@ -192,13 +192,13 @@ func (a *DefaultAPIService) AddHashTag(ctx context.Context) ApiAddHashTagRequest } // Execute executes the request -// @return AddHashTagResponse -func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*AddHashTagResponse, *http.Response, error) { +// @return CreateHashTagResponse +func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*CreateHashTagResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AddHashTagResponse + localVarReturnValue *CreateHashTagResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AddHashTag") @@ -270,6 +270,14 @@ func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*AddHashT body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -302,7 +310,7 @@ func (r ApiAddHashTagsBulkRequest) BulkCreateHashTagsBody(bulkCreateHashTagsBody return r } -func (r ApiAddHashTagsBulkRequest) Execute() (*AddHashTagsBulkResponse, *http.Response, error) { +func (r ApiAddHashTagsBulkRequest) Execute() (*BulkCreateHashTagsResponse, *http.Response, error) { return r.ApiService.AddHashTagsBulkExecute(r) } @@ -320,13 +328,13 @@ func (a *DefaultAPIService) AddHashTagsBulk(ctx context.Context) ApiAddHashTagsB } // Execute executes the request -// @return AddHashTagsBulkResponse -func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) (*AddHashTagsBulkResponse, *http.Response, error) { +// @return BulkCreateHashTagsResponse +func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) (*BulkCreateHashTagsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AddHashTagsBulkResponse + localVarReturnValue *BulkCreateHashTagsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AddHashTagsBulk") @@ -398,6 +406,14 @@ func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -877,7 +893,7 @@ func (r ApiAggregateQuestionResultsRequest) ForceRecalculate(forceRecalculate bo return r } -func (r ApiAggregateQuestionResultsRequest) Execute() (*AggregateQuestionResultsResponse1, *http.Response, error) { +func (r ApiAggregateQuestionResultsRequest) Execute() (*AggregateQuestionResultsResponse, *http.Response, error) { return r.ApiService.AggregateQuestionResultsExecute(r) } @@ -895,13 +911,13 @@ func (a *DefaultAPIService) AggregateQuestionResults(ctx context.Context) ApiAgg } // Execute executes the request -// @return AggregateQuestionResultsResponse1 -func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuestionResultsRequest) (*AggregateQuestionResultsResponse1, *http.Response, error) { +// @return AggregateQuestionResultsResponse +func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuestionResultsRequest) (*AggregateQuestionResultsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AggregateQuestionResultsResponse1 + localVarReturnValue *AggregateQuestionResultsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.AggregateQuestionResults") @@ -998,6 +1014,14 @@ func (a *DefaultAPIService) AggregateQuestionResultsExecute(r ApiAggregateQuesti body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1043,7 +1067,7 @@ func (r ApiBlockUserFromCommentRequest) AnonUserId(anonUserId string) ApiBlockUs return r } -func (r ApiBlockUserFromCommentRequest) Execute() (*BlockUserFromCommentResponse, *http.Response, error) { +func (r ApiBlockUserFromCommentRequest) Execute() (*BlockSuccess, *http.Response, error) { return r.ApiService.BlockUserFromCommentExecute(r) } @@ -1063,13 +1087,13 @@ func (a *DefaultAPIService) BlockUserFromComment(ctx context.Context, id string) } // Execute executes the request -// @return BlockUserFromCommentResponse -func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommentRequest) (*BlockUserFromCommentResponse, *http.Response, error) { +// @return BlockSuccess +func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommentRequest) (*BlockSuccess, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BlockUserFromCommentResponse + localVarReturnValue *BlockSuccess ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.BlockUserFromComment") @@ -1152,6 +1176,14 @@ func (a *DefaultAPIService) BlockUserFromCommentExecute(r ApiBlockUserFromCommen body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1190,7 +1222,7 @@ func (r ApiBulkAggregateQuestionResultsRequest) ForceRecalculate(forceRecalculat return r } -func (r ApiBulkAggregateQuestionResultsRequest) Execute() (*BulkAggregateQuestionResultsResponse1, *http.Response, error) { +func (r ApiBulkAggregateQuestionResultsRequest) Execute() (*BulkAggregateQuestionResultsResponse, *http.Response, error) { return r.ApiService.BulkAggregateQuestionResultsExecute(r) } @@ -1208,13 +1240,13 @@ func (a *DefaultAPIService) BulkAggregateQuestionResults(ctx context.Context) Ap } // Execute executes the request -// @return BulkAggregateQuestionResultsResponse1 -func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggregateQuestionResultsRequest) (*BulkAggregateQuestionResultsResponse1, *http.Response, error) { +// @return BulkAggregateQuestionResultsResponse +func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggregateQuestionResultsRequest) (*BulkAggregateQuestionResultsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BulkAggregateQuestionResultsResponse1 + localVarReturnValue *BulkAggregateQuestionResultsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.BulkAggregateQuestionResults") @@ -1293,6 +1325,14 @@ func (a *DefaultAPIService) BulkAggregateQuestionResultsExecute(r ApiBulkAggrega body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1332,7 +1372,7 @@ func (r ApiChangeTicketStateRequest) ChangeTicketStateBody(changeTicketStateBody return r } -func (r ApiChangeTicketStateRequest) Execute() (*ChangeTicketStateResponse1, *http.Response, error) { +func (r ApiChangeTicketStateRequest) Execute() (*ChangeTicketStateResponse, *http.Response, error) { return r.ApiService.ChangeTicketStateExecute(r) } @@ -1352,13 +1392,13 @@ func (a *DefaultAPIService) ChangeTicketState(ctx context.Context, id string) Ap } // Execute executes the request -// @return ChangeTicketStateResponse1 -func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateRequest) (*ChangeTicketStateResponse1, *http.Response, error) { +// @return ChangeTicketStateResponse +func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateRequest) (*ChangeTicketStateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ChangeTicketStateResponse1 + localVarReturnValue *ChangeTicketStateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ChangeTicketState") @@ -1439,6 +1479,14 @@ func (a *DefaultAPIService) ChangeTicketStateExecute(r ApiChangeTicketStateReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1513,7 +1561,7 @@ func (r ApiCombineCommentsWithQuestionResultsRequest) Limit(limit float64) ApiCo return r } -func (r ApiCombineCommentsWithQuestionResultsRequest) Execute() (*CombineCommentsWithQuestionResultsResponse, *http.Response, error) { +func (r ApiCombineCommentsWithQuestionResultsRequest) Execute() (*CombineQuestionResultsWithCommentsResponse, *http.Response, error) { return r.ApiService.CombineCommentsWithQuestionResultsExecute(r) } @@ -1531,13 +1579,13 @@ func (a *DefaultAPIService) CombineCommentsWithQuestionResults(ctx context.Conte } // Execute executes the request -// @return CombineCommentsWithQuestionResultsResponse -func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombineCommentsWithQuestionResultsRequest) (*CombineCommentsWithQuestionResultsResponse, *http.Response, error) { +// @return CombineQuestionResultsWithCommentsResponse +func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombineCommentsWithQuestionResultsRequest) (*CombineQuestionResultsWithCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CombineCommentsWithQuestionResultsResponse + localVarReturnValue *CombineQuestionResultsWithCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CombineCommentsWithQuestionResults") @@ -1640,6 +1688,14 @@ func (a *DefaultAPIService) CombineCommentsWithQuestionResultsExecute(r ApiCombi body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1672,7 +1728,7 @@ func (r ApiCreateEmailTemplateRequest) CreateEmailTemplateBody(createEmailTempla return r } -func (r ApiCreateEmailTemplateRequest) Execute() (*CreateEmailTemplateResponse1, *http.Response, error) { +func (r ApiCreateEmailTemplateRequest) Execute() (*CreateEmailTemplateResponse, *http.Response, error) { return r.ApiService.CreateEmailTemplateExecute(r) } @@ -1690,13 +1746,13 @@ func (a *DefaultAPIService) CreateEmailTemplate(ctx context.Context) ApiCreateEm } // Execute executes the request -// @return CreateEmailTemplateResponse1 -func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateRequest) (*CreateEmailTemplateResponse1, *http.Response, error) { +// @return CreateEmailTemplateResponse +func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateRequest) (*CreateEmailTemplateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateEmailTemplateResponse1 + localVarReturnValue *CreateEmailTemplateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateEmailTemplate") @@ -1772,6 +1828,14 @@ func (a *DefaultAPIService) CreateEmailTemplateExecute(r ApiCreateEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1828,7 +1892,7 @@ func (r ApiCreateFeedPostRequest) SkipDupCheck(skipDupCheck bool) ApiCreateFeedP return r } -func (r ApiCreateFeedPostRequest) Execute() (*CreateFeedPostResponse1, *http.Response, error) { +func (r ApiCreateFeedPostRequest) Execute() (*CreateFeedPostsResponse, *http.Response, error) { return r.ApiService.CreateFeedPostExecute(r) } @@ -1846,13 +1910,13 @@ func (a *DefaultAPIService) CreateFeedPost(ctx context.Context) ApiCreateFeedPos } // Execute executes the request -// @return CreateFeedPostResponse1 -func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (*CreateFeedPostResponse1, *http.Response, error) { +// @return CreateFeedPostsResponse +func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (*CreateFeedPostsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateFeedPostResponse1 + localVarReturnValue *CreateFeedPostsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateFeedPost") @@ -1940,6 +2004,14 @@ func (a *DefaultAPIService) CreateFeedPostExecute(r ApiCreateFeedPostRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1972,7 +2044,7 @@ func (r ApiCreateModeratorRequest) CreateModeratorBody(createModeratorBody Creat return r } -func (r ApiCreateModeratorRequest) Execute() (*CreateModeratorResponse1, *http.Response, error) { +func (r ApiCreateModeratorRequest) Execute() (*CreateModeratorResponse, *http.Response, error) { return r.ApiService.CreateModeratorExecute(r) } @@ -1990,13 +2062,13 @@ func (a *DefaultAPIService) CreateModerator(ctx context.Context) ApiCreateModera } // Execute executes the request -// @return CreateModeratorResponse1 -func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) (*CreateModeratorResponse1, *http.Response, error) { +// @return CreateModeratorResponse +func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) (*CreateModeratorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateModeratorResponse1 + localVarReturnValue *CreateModeratorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateModerator") @@ -2072,6 +2144,14 @@ func (a *DefaultAPIService) CreateModeratorExecute(r ApiCreateModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2104,7 +2184,7 @@ func (r ApiCreateQuestionConfigRequest) CreateQuestionConfigBody(createQuestionC return r } -func (r ApiCreateQuestionConfigRequest) Execute() (*CreateQuestionConfigResponse1, *http.Response, error) { +func (r ApiCreateQuestionConfigRequest) Execute() (*CreateQuestionConfigResponse, *http.Response, error) { return r.ApiService.CreateQuestionConfigExecute(r) } @@ -2122,13 +2202,13 @@ func (a *DefaultAPIService) CreateQuestionConfig(ctx context.Context) ApiCreateQ } // Execute executes the request -// @return CreateQuestionConfigResponse1 -func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfigRequest) (*CreateQuestionConfigResponse1, *http.Response, error) { +// @return CreateQuestionConfigResponse +func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfigRequest) (*CreateQuestionConfigResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateQuestionConfigResponse1 + localVarReturnValue *CreateQuestionConfigResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateQuestionConfig") @@ -2204,6 +2284,14 @@ func (a *DefaultAPIService) CreateQuestionConfigExecute(r ApiCreateQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2236,7 +2324,7 @@ func (r ApiCreateQuestionResultRequest) CreateQuestionResultBody(createQuestionR return r } -func (r ApiCreateQuestionResultRequest) Execute() (*CreateQuestionResultResponse1, *http.Response, error) { +func (r ApiCreateQuestionResultRequest) Execute() (*CreateQuestionResultResponse, *http.Response, error) { return r.ApiService.CreateQuestionResultExecute(r) } @@ -2254,13 +2342,13 @@ func (a *DefaultAPIService) CreateQuestionResult(ctx context.Context) ApiCreateQ } // Execute executes the request -// @return CreateQuestionResultResponse1 -func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResultRequest) (*CreateQuestionResultResponse1, *http.Response, error) { +// @return CreateQuestionResultResponse +func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResultRequest) (*CreateQuestionResultResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateQuestionResultResponse1 + localVarReturnValue *CreateQuestionResultResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateQuestionResult") @@ -2336,6 +2424,14 @@ func (a *DefaultAPIService) CreateQuestionResultExecute(r ApiCreateQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2500,7 +2596,7 @@ func (r ApiCreateTenantRequest) CreateTenantBody(createTenantBody CreateTenantBo return r } -func (r ApiCreateTenantRequest) Execute() (*CreateTenantResponse1, *http.Response, error) { +func (r ApiCreateTenantRequest) Execute() (*CreateTenantResponse, *http.Response, error) { return r.ApiService.CreateTenantExecute(r) } @@ -2518,13 +2614,13 @@ func (a *DefaultAPIService) CreateTenant(ctx context.Context) ApiCreateTenantReq } // Execute executes the request -// @return CreateTenantResponse1 -func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*CreateTenantResponse1, *http.Response, error) { +// @return CreateTenantResponse +func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*CreateTenantResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantResponse1 + localVarReturnValue *CreateTenantResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenant") @@ -2600,6 +2696,14 @@ func (a *DefaultAPIService) CreateTenantExecute(r ApiCreateTenantRequest) (*Crea body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2632,7 +2736,7 @@ func (r ApiCreateTenantPackageRequest) CreateTenantPackageBody(createTenantPacka return r } -func (r ApiCreateTenantPackageRequest) Execute() (*CreateTenantPackageResponse1, *http.Response, error) { +func (r ApiCreateTenantPackageRequest) Execute() (*CreateTenantPackageResponse, *http.Response, error) { return r.ApiService.CreateTenantPackageExecute(r) } @@ -2650,13 +2754,13 @@ func (a *DefaultAPIService) CreateTenantPackage(ctx context.Context) ApiCreateTe } // Execute executes the request -// @return CreateTenantPackageResponse1 -func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageRequest) (*CreateTenantPackageResponse1, *http.Response, error) { +// @return CreateTenantPackageResponse +func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageRequest) (*CreateTenantPackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantPackageResponse1 + localVarReturnValue *CreateTenantPackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenantPackage") @@ -2732,6 +2836,14 @@ func (a *DefaultAPIService) CreateTenantPackageExecute(r ApiCreateTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2764,7 +2876,7 @@ func (r ApiCreateTenantUserRequest) CreateTenantUserBody(createTenantUserBody Cr return r } -func (r ApiCreateTenantUserRequest) Execute() (*CreateTenantUserResponse1, *http.Response, error) { +func (r ApiCreateTenantUserRequest) Execute() (*CreateTenantUserResponse, *http.Response, error) { return r.ApiService.CreateTenantUserExecute(r) } @@ -2782,13 +2894,13 @@ func (a *DefaultAPIService) CreateTenantUser(ctx context.Context) ApiCreateTenan } // Execute executes the request -// @return CreateTenantUserResponse1 -func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest) (*CreateTenantUserResponse1, *http.Response, error) { +// @return CreateTenantUserResponse +func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest) (*CreateTenantUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTenantUserResponse1 + localVarReturnValue *CreateTenantUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTenantUser") @@ -2864,6 +2976,14 @@ func (a *DefaultAPIService) CreateTenantUserExecute(r ApiCreateTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2902,7 +3022,7 @@ func (r ApiCreateTicketRequest) CreateTicketBody(createTicketBody CreateTicketBo return r } -func (r ApiCreateTicketRequest) Execute() (*CreateTicketResponse1, *http.Response, error) { +func (r ApiCreateTicketRequest) Execute() (*CreateTicketResponse, *http.Response, error) { return r.ApiService.CreateTicketExecute(r) } @@ -2920,13 +3040,13 @@ func (a *DefaultAPIService) CreateTicket(ctx context.Context) ApiCreateTicketReq } // Execute executes the request -// @return CreateTicketResponse1 -func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*CreateTicketResponse1, *http.Response, error) { +// @return CreateTicketResponse +func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*CreateTicketResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateTicketResponse1 + localVarReturnValue *CreateTicketResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateTicket") @@ -3006,6 +3126,14 @@ func (a *DefaultAPIService) CreateTicketExecute(r ApiCreateTicketRequest) (*Crea body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3038,7 +3166,7 @@ func (r ApiCreateUserBadgeRequest) CreateUserBadgeParams(createUserBadgeParams C return r } -func (r ApiCreateUserBadgeRequest) Execute() (*CreateUserBadgeResponse, *http.Response, error) { +func (r ApiCreateUserBadgeRequest) Execute() (*APICreateUserBadgeResponse, *http.Response, error) { return r.ApiService.CreateUserBadgeExecute(r) } @@ -3056,13 +3184,13 @@ func (a *DefaultAPIService) CreateUserBadge(ctx context.Context) ApiCreateUserBa } // Execute executes the request -// @return CreateUserBadgeResponse -func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) (*CreateUserBadgeResponse, *http.Response, error) { +// @return APICreateUserBadgeResponse +func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) (*APICreateUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateUserBadgeResponse + localVarReturnValue *APICreateUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateUserBadge") @@ -3138,6 +3266,14 @@ func (a *DefaultAPIService) CreateUserBadgeExecute(r ApiCreateUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3188,7 +3324,7 @@ func (r ApiCreateVoteRequest) AnonUserId(anonUserId string) ApiCreateVoteRequest return r } -func (r ApiCreateVoteRequest) Execute() (*CreateVoteResponse, *http.Response, error) { +func (r ApiCreateVoteRequest) Execute() (*VoteResponse, *http.Response, error) { return r.ApiService.CreateVoteExecute(r) } @@ -3206,13 +3342,13 @@ func (a *DefaultAPIService) CreateVote(ctx context.Context) ApiCreateVoteRequest } // Execute executes the request -// @return CreateVoteResponse -func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*CreateVoteResponse, *http.Response, error) { +// @return VoteResponse +func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*VoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateVoteResponse + localVarReturnValue *VoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.CreateVote") @@ -3297,6 +3433,14 @@ func (a *DefaultAPIService) CreateVoteExecute(r ApiCreateVoteRequest) (*CreateVo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3336,7 +3480,7 @@ func (r ApiDeleteCommentRequest) IsLive(isLive bool) ApiDeleteCommentRequest { return r } -func (r ApiDeleteCommentRequest) Execute() (*DeleteCommentResponse, *http.Response, error) { +func (r ApiDeleteCommentRequest) Execute() (*DeleteCommentResult, *http.Response, error) { return r.ApiService.DeleteCommentExecute(r) } @@ -3356,13 +3500,13 @@ func (a *DefaultAPIService) DeleteComment(ctx context.Context, id string) ApiDel } // Execute executes the request -// @return DeleteCommentResponse -func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*DeleteCommentResponse, *http.Response, error) { +// @return DeleteCommentResult +func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*DeleteCommentResult, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteCommentResponse + localVarReturnValue *DeleteCommentResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteComment") @@ -3440,6 +3584,14 @@ func (a *DefaultAPIService) DeleteCommentExecute(r ApiDeleteCommentRequest) (*De body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3592,7 +3744,7 @@ func (r ApiDeleteEmailTemplateRequest) TenantId(tenantId string) ApiDeleteEmailT return r } -func (r ApiDeleteEmailTemplateRequest) Execute() (*DeleteEmailTemplateResponse, *http.Response, error) { +func (r ApiDeleteEmailTemplateRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteEmailTemplateExecute(r) } @@ -3612,13 +3764,13 @@ func (a *DefaultAPIService) DeleteEmailTemplate(ctx context.Context, id string) } // Execute executes the request -// @return DeleteEmailTemplateResponse -func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateRequest) (*DeleteEmailTemplateResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteEmailTemplateResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteEmailTemplate") @@ -3690,6 +3842,14 @@ func (a *DefaultAPIService) DeleteEmailTemplateExecute(r ApiDeleteEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3718,7 +3878,7 @@ func (r ApiDeleteEmailTemplateRenderErrorRequest) TenantId(tenantId string) ApiD return r } -func (r ApiDeleteEmailTemplateRenderErrorRequest) Execute() (*DeleteEmailTemplateRenderErrorResponse, *http.Response, error) { +func (r ApiDeleteEmailTemplateRenderErrorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteEmailTemplateRenderErrorExecute(r) } @@ -3740,13 +3900,13 @@ func (a *DefaultAPIService) DeleteEmailTemplateRenderError(ctx context.Context, } // Execute executes the request -// @return DeleteEmailTemplateRenderErrorResponse -func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEmailTemplateRenderErrorRequest) (*DeleteEmailTemplateRenderErrorResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEmailTemplateRenderErrorRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteEmailTemplateRenderErrorResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteEmailTemplateRenderError") @@ -3819,6 +3979,14 @@ func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEma body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3852,7 +4020,7 @@ func (r ApiDeleteHashTagRequest) DeleteHashTagRequestBody(deleteHashTagRequestBo return r } -func (r ApiDeleteHashTagRequest) Execute() (*DeleteHashTagResponse, *http.Response, error) { +func (r ApiDeleteHashTagRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteHashTagExecute(r) } @@ -3872,13 +4040,13 @@ func (a *DefaultAPIService) DeleteHashTag(ctx context.Context, tag string) ApiDe } // Execute executes the request -// @return DeleteHashTagResponse -func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*DeleteHashTagResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteHashTagResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteHashTag") @@ -3951,6 +4119,14 @@ func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*De body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3984,7 +4160,7 @@ func (r ApiDeleteModeratorRequest) SendEmail(sendEmail string) ApiDeleteModerato return r } -func (r ApiDeleteModeratorRequest) Execute() (*DeleteModeratorResponse, *http.Response, error) { +func (r ApiDeleteModeratorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteModeratorExecute(r) } @@ -4004,13 +4180,13 @@ func (a *DefaultAPIService) DeleteModerator(ctx context.Context, id string) ApiD } // Execute executes the request -// @return DeleteModeratorResponse -func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) (*DeleteModeratorResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteModeratorResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteModerator") @@ -4085,6 +4261,14 @@ func (a *DefaultAPIService) DeleteModeratorExecute(r ApiDeleteModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4112,7 +4296,7 @@ func (r ApiDeleteNotificationCountRequest) TenantId(tenantId string) ApiDeleteNo return r } -func (r ApiDeleteNotificationCountRequest) Execute() (*DeleteNotificationCountResponse, *http.Response, error) { +func (r ApiDeleteNotificationCountRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteNotificationCountExecute(r) } @@ -4132,13 +4316,13 @@ func (a *DefaultAPIService) DeleteNotificationCount(ctx context.Context, id stri } // Execute executes the request -// @return DeleteNotificationCountResponse -func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificationCountRequest) (*DeleteNotificationCountResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificationCountRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteNotificationCountResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteNotificationCount") @@ -4210,6 +4394,14 @@ func (a *DefaultAPIService) DeleteNotificationCountExecute(r ApiDeleteNotificati body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4362,7 +4554,7 @@ func (r ApiDeletePendingWebhookEventRequest) TenantId(tenantId string) ApiDelete return r } -func (r ApiDeletePendingWebhookEventRequest) Execute() (*DeletePendingWebhookEventResponse, *http.Response, error) { +func (r ApiDeletePendingWebhookEventRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeletePendingWebhookEventExecute(r) } @@ -4382,13 +4574,13 @@ func (a *DefaultAPIService) DeletePendingWebhookEvent(ctx context.Context, id st } // Execute executes the request -// @return DeletePendingWebhookEventResponse -func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingWebhookEventRequest) (*DeletePendingWebhookEventResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingWebhookEventRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeletePendingWebhookEventResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeletePendingWebhookEvent") @@ -4460,6 +4652,14 @@ func (a *DefaultAPIService) DeletePendingWebhookEventExecute(r ApiDeletePendingW body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4487,7 +4687,7 @@ func (r ApiDeleteQuestionConfigRequest) TenantId(tenantId string) ApiDeleteQuest return r } -func (r ApiDeleteQuestionConfigRequest) Execute() (*DeleteQuestionConfigResponse, *http.Response, error) { +func (r ApiDeleteQuestionConfigRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteQuestionConfigExecute(r) } @@ -4507,13 +4707,13 @@ func (a *DefaultAPIService) DeleteQuestionConfig(ctx context.Context, id string) } // Execute executes the request -// @return DeleteQuestionConfigResponse -func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfigRequest) (*DeleteQuestionConfigResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfigRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteQuestionConfigResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteQuestionConfig") @@ -4585,6 +4785,14 @@ func (a *DefaultAPIService) DeleteQuestionConfigExecute(r ApiDeleteQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4612,7 +4820,7 @@ func (r ApiDeleteQuestionResultRequest) TenantId(tenantId string) ApiDeleteQuest return r } -func (r ApiDeleteQuestionResultRequest) Execute() (*DeleteQuestionResultResponse, *http.Response, error) { +func (r ApiDeleteQuestionResultRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteQuestionResultExecute(r) } @@ -4632,13 +4840,13 @@ func (a *DefaultAPIService) DeleteQuestionResult(ctx context.Context, id string) } // Execute executes the request -// @return DeleteQuestionResultResponse -func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResultRequest) (*DeleteQuestionResultResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResultRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteQuestionResultResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteQuestionResult") @@ -4710,6 +4918,14 @@ func (a *DefaultAPIService) DeleteQuestionResultExecute(r ApiDeleteQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5020,7 +5236,7 @@ func (r ApiDeleteTenantRequest) Sure(sure string) ApiDeleteTenantRequest { return r } -func (r ApiDeleteTenantRequest) Execute() (*DeleteTenantResponse, *http.Response, error) { +func (r ApiDeleteTenantRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteTenantExecute(r) } @@ -5040,13 +5256,13 @@ func (a *DefaultAPIService) DeleteTenant(ctx context.Context, id string) ApiDele } // Execute executes the request -// @return DeleteTenantResponse -func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*DeleteTenantResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteTenantResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenant") @@ -5121,6 +5337,14 @@ func (a *DefaultAPIService) DeleteTenantExecute(r ApiDeleteTenantRequest) (*Dele body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5148,7 +5372,7 @@ func (r ApiDeleteTenantPackageRequest) TenantId(tenantId string) ApiDeleteTenant return r } -func (r ApiDeleteTenantPackageRequest) Execute() (*DeleteTenantPackageResponse, *http.Response, error) { +func (r ApiDeleteTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteTenantPackageExecute(r) } @@ -5168,13 +5392,13 @@ func (a *DefaultAPIService) DeleteTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return DeleteTenantPackageResponse -func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageRequest) (*DeleteTenantPackageResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteTenantPackageResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenantPackage") @@ -5246,6 +5470,14 @@ func (a *DefaultAPIService) DeleteTenantPackageExecute(r ApiDeleteTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5285,7 +5517,7 @@ func (r ApiDeleteTenantUserRequest) CommentDeleteMode(commentDeleteMode string) return r } -func (r ApiDeleteTenantUserRequest) Execute() (*DeleteTenantUserResponse, *http.Response, error) { +func (r ApiDeleteTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.DeleteTenantUserExecute(r) } @@ -5305,13 +5537,13 @@ func (a *DefaultAPIService) DeleteTenantUser(ctx context.Context, id string) Api } // Execute executes the request -// @return DeleteTenantUserResponse -func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*DeleteTenantUserResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteTenantUserResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteTenantUser") @@ -5389,6 +5621,14 @@ func (a *DefaultAPIService) DeleteTenantUserExecute(r ApiDeleteTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5416,7 +5656,7 @@ func (r ApiDeleteUserBadgeRequest) TenantId(tenantId string) ApiDeleteUserBadgeR return r } -func (r ApiDeleteUserBadgeRequest) Execute() (*DeleteUserBadgeResponse, *http.Response, error) { +func (r ApiDeleteUserBadgeRequest) Execute() (*APIEmptySuccessResponse, *http.Response, error) { return r.ApiService.DeleteUserBadgeExecute(r) } @@ -5436,13 +5676,13 @@ func (a *DefaultAPIService) DeleteUserBadge(ctx context.Context, id string) ApiD } // Execute executes the request -// @return DeleteUserBadgeResponse -func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) (*DeleteUserBadgeResponse, *http.Response, error) { +// @return APIEmptySuccessResponse +func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) (*APIEmptySuccessResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteUserBadgeResponse + localVarReturnValue *APIEmptySuccessResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteUserBadge") @@ -5514,6 +5754,14 @@ func (a *DefaultAPIService) DeleteUserBadgeExecute(r ApiDeleteUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5547,7 +5795,7 @@ func (r ApiDeleteVoteRequest) EditKey(editKey string) ApiDeleteVoteRequest { return r } -func (r ApiDeleteVoteRequest) Execute() (*DeleteVoteResponse, *http.Response, error) { +func (r ApiDeleteVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { return r.ApiService.DeleteVoteExecute(r) } @@ -5567,13 +5815,13 @@ func (a *DefaultAPIService) DeleteVote(ctx context.Context, id string) ApiDelete } // Execute executes the request -// @return DeleteVoteResponse -func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*DeleteVoteResponse, *http.Response, error) { +// @return VoteDeleteResponse +func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*VoteDeleteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteVoteResponse + localVarReturnValue *VoteDeleteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DeleteVote") @@ -5648,6 +5896,14 @@ func (a *DefaultAPIService) DeleteVoteExecute(r ApiDeleteVoteRequest) (*DeleteVo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5687,7 +5943,7 @@ func (r ApiFlagCommentRequest) AnonUserId(anonUserId string) ApiFlagCommentReque return r } -func (r ApiFlagCommentRequest) Execute() (*FlagCommentResponse1, *http.Response, error) { +func (r ApiFlagCommentRequest) Execute() (*FlagCommentResponse, *http.Response, error) { return r.ApiService.FlagCommentExecute(r) } @@ -5707,13 +5963,13 @@ func (a *DefaultAPIService) FlagComment(ctx context.Context, id string) ApiFlagC } // Execute executes the request -// @return FlagCommentResponse1 -func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCommentResponse1, *http.Response, error) { +// @return FlagCommentResponse +func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *FlagCommentResponse1 + localVarReturnValue *FlagCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.FlagComment") @@ -5791,6 +6047,14 @@ func (a *DefaultAPIService) FlagCommentExecute(r ApiFlagCommentRequest) (*FlagCo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5847,7 +6111,7 @@ func (r ApiGetAuditLogsRequest) Before(before float64) ApiGetAuditLogsRequest { return r } -func (r ApiGetAuditLogsRequest) Execute() (*GetAuditLogsResponse1, *http.Response, error) { +func (r ApiGetAuditLogsRequest) Execute() (*GetAuditLogsResponse, *http.Response, error) { return r.ApiService.GetAuditLogsExecute(r) } @@ -5865,13 +6129,13 @@ func (a *DefaultAPIService) GetAuditLogs(ctx context.Context) ApiGetAuditLogsReq } // Execute executes the request -// @return GetAuditLogsResponse1 -func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetAuditLogsResponse1, *http.Response, error) { +// @return GetAuditLogsResponse +func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetAuditLogsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetAuditLogsResponse1 + localVarReturnValue *GetAuditLogsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetAuditLogs") @@ -5957,6 +6221,14 @@ func (a *DefaultAPIService) GetAuditLogsExecute(r ApiGetAuditLogsRequest) (*GetA body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5984,7 +6256,7 @@ func (r ApiGetCachedNotificationCountRequest) TenantId(tenantId string) ApiGetCa return r } -func (r ApiGetCachedNotificationCountRequest) Execute() (*GetCachedNotificationCountResponse1, *http.Response, error) { +func (r ApiGetCachedNotificationCountRequest) Execute() (*GetCachedNotificationCountResponse, *http.Response, error) { return r.ApiService.GetCachedNotificationCountExecute(r) } @@ -6004,13 +6276,13 @@ func (a *DefaultAPIService) GetCachedNotificationCount(ctx context.Context, id s } // Execute executes the request -// @return GetCachedNotificationCountResponse1 -func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNotificationCountRequest) (*GetCachedNotificationCountResponse1, *http.Response, error) { +// @return GetCachedNotificationCountResponse +func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNotificationCountRequest) (*GetCachedNotificationCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCachedNotificationCountResponse1 + localVarReturnValue *GetCachedNotificationCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetCachedNotificationCount") @@ -6082,6 +6354,14 @@ func (a *DefaultAPIService) GetCachedNotificationCountExecute(r ApiGetCachedNoti body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6109,7 +6389,7 @@ func (r ApiGetCommentRequest) TenantId(tenantId string) ApiGetCommentRequest { return r } -func (r ApiGetCommentRequest) Execute() (*GetCommentResponse, *http.Response, error) { +func (r ApiGetCommentRequest) Execute() (*APIGetCommentResponse, *http.Response, error) { return r.ApiService.GetCommentExecute(r) } @@ -6129,13 +6409,13 @@ func (a *DefaultAPIService) GetComment(ctx context.Context, id string) ApiGetCom } // Execute executes the request -// @return GetCommentResponse -func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*GetCommentResponse, *http.Response, error) { +// @return APIGetCommentResponse +func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*APIGetCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentResponse + localVarReturnValue *APIGetCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetComment") @@ -6207,6 +6487,14 @@ func (a *DefaultAPIService) GetCommentExecute(r ApiGetCommentRequest) (*GetComme body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6329,7 +6617,7 @@ func (r ApiGetCommentsRequest) ToDate(toDate int64) ApiGetCommentsRequest { return r } -func (r ApiGetCommentsRequest) Execute() (*GetCommentsResponse, *http.Response, error) { +func (r ApiGetCommentsRequest) Execute() (*APIGetCommentsResponse, *http.Response, error) { return r.ApiService.GetCommentsExecute(r) } @@ -6347,13 +6635,13 @@ func (a *DefaultAPIService) GetComments(ctx context.Context) ApiGetCommentsReque } // Execute executes the request -// @return GetCommentsResponse -func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*GetCommentsResponse, *http.Response, error) { +// @return APIGetCommentsResponse +func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*APIGetCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentsResponse + localVarReturnValue *APIGetCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetComments") @@ -6472,6 +6760,14 @@ func (a *DefaultAPIService) GetCommentsExecute(r ApiGetCommentsRequest) (*GetCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6745,7 +7041,7 @@ func (r ApiGetEmailTemplateRequest) TenantId(tenantId string) ApiGetEmailTemplat return r } -func (r ApiGetEmailTemplateRequest) Execute() (*GetEmailTemplateResponse1, *http.Response, error) { +func (r ApiGetEmailTemplateRequest) Execute() (*GetEmailTemplateResponse, *http.Response, error) { return r.ApiService.GetEmailTemplateExecute(r) } @@ -6765,13 +7061,13 @@ func (a *DefaultAPIService) GetEmailTemplate(ctx context.Context, id string) Api } // Execute executes the request -// @return GetEmailTemplateResponse1 -func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest) (*GetEmailTemplateResponse1, *http.Response, error) { +// @return GetEmailTemplateResponse +func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest) (*GetEmailTemplateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateResponse1 + localVarReturnValue *GetEmailTemplateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplate") @@ -6843,6 +7139,14 @@ func (a *DefaultAPIService) GetEmailTemplateExecute(r ApiGetEmailTemplateRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6869,7 +7173,7 @@ func (r ApiGetEmailTemplateDefinitionsRequest) TenantId(tenantId string) ApiGetE return r } -func (r ApiGetEmailTemplateDefinitionsRequest) Execute() (*GetEmailTemplateDefinitionsResponse1, *http.Response, error) { +func (r ApiGetEmailTemplateDefinitionsRequest) Execute() (*GetEmailTemplateDefinitionsResponse, *http.Response, error) { return r.ApiService.GetEmailTemplateDefinitionsExecute(r) } @@ -6887,13 +7191,13 @@ func (a *DefaultAPIService) GetEmailTemplateDefinitions(ctx context.Context) Api } // Execute executes the request -// @return GetEmailTemplateDefinitionsResponse1 -func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemplateDefinitionsRequest) (*GetEmailTemplateDefinitionsResponse1, *http.Response, error) { +// @return GetEmailTemplateDefinitionsResponse +func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemplateDefinitionsRequest) (*GetEmailTemplateDefinitionsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateDefinitionsResponse1 + localVarReturnValue *GetEmailTemplateDefinitionsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplateDefinitions") @@ -6964,6 +7268,14 @@ func (a *DefaultAPIService) GetEmailTemplateDefinitionsExecute(r ApiGetEmailTemp body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6997,7 +7309,7 @@ func (r ApiGetEmailTemplateRenderErrorsRequest) Skip(skip float64) ApiGetEmailTe return r } -func (r ApiGetEmailTemplateRenderErrorsRequest) Execute() (*GetEmailTemplateRenderErrorsResponse1, *http.Response, error) { +func (r ApiGetEmailTemplateRenderErrorsRequest) Execute() (*GetEmailTemplateRenderErrorsResponse, *http.Response, error) { return r.ApiService.GetEmailTemplateRenderErrorsExecute(r) } @@ -7017,13 +7329,13 @@ func (a *DefaultAPIService) GetEmailTemplateRenderErrors(ctx context.Context, id } // Execute executes the request -// @return GetEmailTemplateRenderErrorsResponse1 -func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTemplateRenderErrorsRequest) (*GetEmailTemplateRenderErrorsResponse1, *http.Response, error) { +// @return GetEmailTemplateRenderErrorsResponse +func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTemplateRenderErrorsRequest) (*GetEmailTemplateRenderErrorsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplateRenderErrorsResponse1 + localVarReturnValue *GetEmailTemplateRenderErrorsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplateRenderErrors") @@ -7098,6 +7410,14 @@ func (a *DefaultAPIService) GetEmailTemplateRenderErrorsExecute(r ApiGetEmailTem body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7130,7 +7450,7 @@ func (r ApiGetEmailTemplatesRequest) Skip(skip float64) ApiGetEmailTemplatesRequ return r } -func (r ApiGetEmailTemplatesRequest) Execute() (*GetEmailTemplatesResponse1, *http.Response, error) { +func (r ApiGetEmailTemplatesRequest) Execute() (*GetEmailTemplatesResponse, *http.Response, error) { return r.ApiService.GetEmailTemplatesExecute(r) } @@ -7148,13 +7468,13 @@ func (a *DefaultAPIService) GetEmailTemplates(ctx context.Context) ApiGetEmailTe } // Execute executes the request -// @return GetEmailTemplatesResponse1 -func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesRequest) (*GetEmailTemplatesResponse1, *http.Response, error) { +// @return GetEmailTemplatesResponse +func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesRequest) (*GetEmailTemplatesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEmailTemplatesResponse1 + localVarReturnValue *GetEmailTemplatesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetEmailTemplates") @@ -7228,6 +7548,14 @@ func (a *DefaultAPIService) GetEmailTemplatesExecute(r ApiGetEmailTemplatesReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7272,7 +7600,7 @@ func (r ApiGetFeedPostsRequest) Tags(tags []string) ApiGetFeedPostsRequest { return r } -func (r ApiGetFeedPostsRequest) Execute() (*GetFeedPostsResponse1, *http.Response, error) { +func (r ApiGetFeedPostsRequest) Execute() (*GetFeedPostsResponse, *http.Response, error) { return r.ApiService.GetFeedPostsExecute(r) } @@ -7295,13 +7623,13 @@ func (a *DefaultAPIService) GetFeedPosts(ctx context.Context) ApiGetFeedPostsReq } // Execute executes the request -// @return GetFeedPostsResponse1 -func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetFeedPostsResponse1, *http.Response, error) { +// @return GetFeedPostsResponse +func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetFeedPostsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetFeedPostsResponse1 + localVarReturnValue *GetFeedPostsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetFeedPosts") @@ -7389,6 +7717,14 @@ func (a *DefaultAPIService) GetFeedPostsExecute(r ApiGetFeedPostsRequest) (*GetF body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7421,7 +7757,7 @@ func (r ApiGetHashTagsRequest) Page(page float64) ApiGetHashTagsRequest { return r } -func (r ApiGetHashTagsRequest) Execute() (*GetHashTagsResponse1, *http.Response, error) { +func (r ApiGetHashTagsRequest) Execute() (*GetHashTagsResponse, *http.Response, error) { return r.ApiService.GetHashTagsExecute(r) } @@ -7439,13 +7775,13 @@ func (a *DefaultAPIService) GetHashTags(ctx context.Context) ApiGetHashTagsReque } // Execute executes the request -// @return GetHashTagsResponse1 -func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHashTagsResponse1, *http.Response, error) { +// @return GetHashTagsResponse +func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHashTagsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetHashTagsResponse1 + localVarReturnValue *GetHashTagsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetHashTags") @@ -7519,6 +7855,14 @@ func (a *DefaultAPIService) GetHashTagsExecute(r ApiGetHashTagsRequest) (*GetHas body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7546,7 +7890,7 @@ func (r ApiGetModeratorRequest) TenantId(tenantId string) ApiGetModeratorRequest return r } -func (r ApiGetModeratorRequest) Execute() (*GetModeratorResponse1, *http.Response, error) { +func (r ApiGetModeratorRequest) Execute() (*GetModeratorResponse, *http.Response, error) { return r.ApiService.GetModeratorExecute(r) } @@ -7566,13 +7910,13 @@ func (a *DefaultAPIService) GetModerator(ctx context.Context, id string) ApiGetM } // Execute executes the request -// @return GetModeratorResponse1 -func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetModeratorResponse1, *http.Response, error) { +// @return GetModeratorResponse +func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetModeratorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModeratorResponse1 + localVarReturnValue *GetModeratorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetModerator") @@ -7644,6 +7988,14 @@ func (a *DefaultAPIService) GetModeratorExecute(r ApiGetModeratorRequest) (*GetM body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7676,7 +8028,7 @@ func (r ApiGetModeratorsRequest) Skip(skip float64) ApiGetModeratorsRequest { return r } -func (r ApiGetModeratorsRequest) Execute() (*GetModeratorsResponse1, *http.Response, error) { +func (r ApiGetModeratorsRequest) Execute() (*GetModeratorsResponse, *http.Response, error) { return r.ApiService.GetModeratorsExecute(r) } @@ -7694,13 +8046,13 @@ func (a *DefaultAPIService) GetModerators(ctx context.Context) ApiGetModeratorsR } // Execute executes the request -// @return GetModeratorsResponse1 -func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*GetModeratorsResponse1, *http.Response, error) { +// @return GetModeratorsResponse +func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*GetModeratorsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModeratorsResponse1 + localVarReturnValue *GetModeratorsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetModerators") @@ -7774,6 +8126,14 @@ func (a *DefaultAPIService) GetModeratorsExecute(r ApiGetModeratorsRequest) (*Ge body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7830,7 +8190,7 @@ func (r ApiGetNotificationCountRequest) Type_(type_ string) ApiGetNotificationCo return r } -func (r ApiGetNotificationCountRequest) Execute() (*GetNotificationCountResponse1, *http.Response, error) { +func (r ApiGetNotificationCountRequest) Execute() (*GetNotificationCountResponse, *http.Response, error) { return r.ApiService.GetNotificationCountExecute(r) } @@ -7848,13 +8208,13 @@ func (a *DefaultAPIService) GetNotificationCount(ctx context.Context) ApiGetNoti } // Execute executes the request -// @return GetNotificationCountResponse1 -func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCountRequest) (*GetNotificationCountResponse1, *http.Response, error) { +// @return GetNotificationCountResponse +func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCountRequest) (*GetNotificationCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetNotificationCountResponse1 + localVarReturnValue *GetNotificationCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetNotificationCount") @@ -7940,6 +8300,14 @@ func (a *DefaultAPIService) GetNotificationCountExecute(r ApiGetNotificationCoun body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8002,7 +8370,7 @@ func (r ApiGetNotificationsRequest) Skip(skip float64) ApiGetNotificationsReques return r } -func (r ApiGetNotificationsRequest) Execute() (*GetNotificationsResponse1, *http.Response, error) { +func (r ApiGetNotificationsRequest) Execute() (*GetNotificationsResponse, *http.Response, error) { return r.ApiService.GetNotificationsExecute(r) } @@ -8020,13 +8388,13 @@ func (a *DefaultAPIService) GetNotifications(ctx context.Context) ApiGetNotifica } // Execute executes the request -// @return GetNotificationsResponse1 -func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest) (*GetNotificationsResponse1, *http.Response, error) { +// @return GetNotificationsResponse +func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest) (*GetNotificationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetNotificationsResponse1 + localVarReturnValue *GetNotificationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetNotifications") @@ -8115,6 +8483,14 @@ func (a *DefaultAPIService) GetNotificationsExecute(r ApiGetNotificationsRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8429,7 +8805,7 @@ func (r ApiGetPendingWebhookEventCountRequest) AttemptCountGT(attemptCountGT flo return r } -func (r ApiGetPendingWebhookEventCountRequest) Execute() (*GetPendingWebhookEventCountResponse1, *http.Response, error) { +func (r ApiGetPendingWebhookEventCountRequest) Execute() (*GetPendingWebhookEventCountResponse, *http.Response, error) { return r.ApiService.GetPendingWebhookEventCountExecute(r) } @@ -8447,13 +8823,13 @@ func (a *DefaultAPIService) GetPendingWebhookEventCount(ctx context.Context) Api } // Execute executes the request -// @return GetPendingWebhookEventCountResponse1 -func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWebhookEventCountRequest) (*GetPendingWebhookEventCountResponse1, *http.Response, error) { +// @return GetPendingWebhookEventCountResponse +func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWebhookEventCountRequest) (*GetPendingWebhookEventCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPendingWebhookEventCountResponse1 + localVarReturnValue *GetPendingWebhookEventCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetPendingWebhookEventCount") @@ -8542,6 +8918,14 @@ func (a *DefaultAPIService) GetPendingWebhookEventCountExecute(r ApiGetPendingWe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8610,7 +8994,7 @@ func (r ApiGetPendingWebhookEventsRequest) Skip(skip float64) ApiGetPendingWebho return r } -func (r ApiGetPendingWebhookEventsRequest) Execute() (*GetPendingWebhookEventsResponse1, *http.Response, error) { +func (r ApiGetPendingWebhookEventsRequest) Execute() (*GetPendingWebhookEventsResponse, *http.Response, error) { return r.ApiService.GetPendingWebhookEventsExecute(r) } @@ -8628,13 +9012,13 @@ func (a *DefaultAPIService) GetPendingWebhookEvents(ctx context.Context) ApiGetP } // Execute executes the request -// @return GetPendingWebhookEventsResponse1 -func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhookEventsRequest) (*GetPendingWebhookEventsResponse1, *http.Response, error) { +// @return GetPendingWebhookEventsResponse +func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhookEventsRequest) (*GetPendingWebhookEventsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPendingWebhookEventsResponse1 + localVarReturnValue *GetPendingWebhookEventsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetPendingWebhookEvents") @@ -8726,6 +9110,14 @@ func (a *DefaultAPIService) GetPendingWebhookEventsExecute(r ApiGetPendingWebhoo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8753,7 +9145,7 @@ func (r ApiGetQuestionConfigRequest) TenantId(tenantId string) ApiGetQuestionCon return r } -func (r ApiGetQuestionConfigRequest) Execute() (*GetQuestionConfigResponse1, *http.Response, error) { +func (r ApiGetQuestionConfigRequest) Execute() (*GetQuestionConfigResponse, *http.Response, error) { return r.ApiService.GetQuestionConfigExecute(r) } @@ -8773,13 +9165,13 @@ func (a *DefaultAPIService) GetQuestionConfig(ctx context.Context, id string) Ap } // Execute executes the request -// @return GetQuestionConfigResponse1 -func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigRequest) (*GetQuestionConfigResponse1, *http.Response, error) { +// @return GetQuestionConfigResponse +func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigRequest) (*GetQuestionConfigResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionConfigResponse1 + localVarReturnValue *GetQuestionConfigResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionConfig") @@ -8851,6 +9243,14 @@ func (a *DefaultAPIService) GetQuestionConfigExecute(r ApiGetQuestionConfigReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -8883,7 +9283,7 @@ func (r ApiGetQuestionConfigsRequest) Skip(skip float64) ApiGetQuestionConfigsRe return r } -func (r ApiGetQuestionConfigsRequest) Execute() (*GetQuestionConfigsResponse1, *http.Response, error) { +func (r ApiGetQuestionConfigsRequest) Execute() (*GetQuestionConfigsResponse, *http.Response, error) { return r.ApiService.GetQuestionConfigsExecute(r) } @@ -8901,13 +9301,13 @@ func (a *DefaultAPIService) GetQuestionConfigs(ctx context.Context) ApiGetQuesti } // Execute executes the request -// @return GetQuestionConfigsResponse1 -func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsRequest) (*GetQuestionConfigsResponse1, *http.Response, error) { +// @return GetQuestionConfigsResponse +func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsRequest) (*GetQuestionConfigsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionConfigsResponse1 + localVarReturnValue *GetQuestionConfigsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionConfigs") @@ -8981,6 +9381,14 @@ func (a *DefaultAPIService) GetQuestionConfigsExecute(r ApiGetQuestionConfigsReq body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9008,7 +9416,7 @@ func (r ApiGetQuestionResultRequest) TenantId(tenantId string) ApiGetQuestionRes return r } -func (r ApiGetQuestionResultRequest) Execute() (*GetQuestionResultResponse1, *http.Response, error) { +func (r ApiGetQuestionResultRequest) Execute() (*GetQuestionResultResponse, *http.Response, error) { return r.ApiService.GetQuestionResultExecute(r) } @@ -9028,13 +9436,13 @@ func (a *DefaultAPIService) GetQuestionResult(ctx context.Context, id string) Ap } // Execute executes the request -// @return GetQuestionResultResponse1 -func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultRequest) (*GetQuestionResultResponse1, *http.Response, error) { +// @return GetQuestionResultResponse +func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultRequest) (*GetQuestionResultResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionResultResponse1 + localVarReturnValue *GetQuestionResultResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionResult") @@ -9106,6 +9514,14 @@ func (a *DefaultAPIService) GetQuestionResultExecute(r ApiGetQuestionResultReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9168,7 +9584,7 @@ func (r ApiGetQuestionResultsRequest) Skip(skip float64) ApiGetQuestionResultsRe return r } -func (r ApiGetQuestionResultsRequest) Execute() (*GetQuestionResultsResponse1, *http.Response, error) { +func (r ApiGetQuestionResultsRequest) Execute() (*GetQuestionResultsResponse, *http.Response, error) { return r.ApiService.GetQuestionResultsExecute(r) } @@ -9186,13 +9602,13 @@ func (a *DefaultAPIService) GetQuestionResults(ctx context.Context) ApiGetQuesti } // Execute executes the request -// @return GetQuestionResultsResponse1 -func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsRequest) (*GetQuestionResultsResponse1, *http.Response, error) { +// @return GetQuestionResultsResponse +func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsRequest) (*GetQuestionResultsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetQuestionResultsResponse1 + localVarReturnValue *GetQuestionResultsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetQuestionResults") @@ -9281,6 +9697,14 @@ func (a *DefaultAPIService) GetQuestionResultsExecute(r ApiGetQuestionResultsReq body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9818,7 +10242,7 @@ func (r ApiGetTenantRequest) TenantId(tenantId string) ApiGetTenantRequest { return r } -func (r ApiGetTenantRequest) Execute() (*GetTenantResponse1, *http.Response, error) { +func (r ApiGetTenantRequest) Execute() (*GetTenantResponse, *http.Response, error) { return r.ApiService.GetTenantExecute(r) } @@ -9838,13 +10262,13 @@ func (a *DefaultAPIService) GetTenant(ctx context.Context, id string) ApiGetTena } // Execute executes the request -// @return GetTenantResponse1 -func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantResponse1, *http.Response, error) { +// @return GetTenantResponse +func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantResponse1 + localVarReturnValue *GetTenantResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenant") @@ -9916,6 +10340,14 @@ func (a *DefaultAPIService) GetTenantExecute(r ApiGetTenantRequest) (*GetTenantR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -9966,7 +10398,7 @@ func (r ApiGetTenantDailyUsagesRequest) Skip(skip float64) ApiGetTenantDailyUsag return r } -func (r ApiGetTenantDailyUsagesRequest) Execute() (*GetTenantDailyUsagesResponse1, *http.Response, error) { +func (r ApiGetTenantDailyUsagesRequest) Execute() (*GetTenantDailyUsagesResponse, *http.Response, error) { return r.ApiService.GetTenantDailyUsagesExecute(r) } @@ -9984,13 +10416,13 @@ func (a *DefaultAPIService) GetTenantDailyUsages(ctx context.Context) ApiGetTena } // Execute executes the request -// @return GetTenantDailyUsagesResponse1 -func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsagesRequest) (*GetTenantDailyUsagesResponse1, *http.Response, error) { +// @return GetTenantDailyUsagesResponse +func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsagesRequest) (*GetTenantDailyUsagesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantDailyUsagesResponse1 + localVarReturnValue *GetTenantDailyUsagesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantDailyUsages") @@ -10073,6 +10505,14 @@ func (a *DefaultAPIService) GetTenantDailyUsagesExecute(r ApiGetTenantDailyUsage body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10100,7 +10540,7 @@ func (r ApiGetTenantPackageRequest) TenantId(tenantId string) ApiGetTenantPackag return r } -func (r ApiGetTenantPackageRequest) Execute() (*GetTenantPackageResponse1, *http.Response, error) { +func (r ApiGetTenantPackageRequest) Execute() (*GetTenantPackageResponse, *http.Response, error) { return r.ApiService.GetTenantPackageExecute(r) } @@ -10120,13 +10560,13 @@ func (a *DefaultAPIService) GetTenantPackage(ctx context.Context, id string) Api } // Execute executes the request -// @return GetTenantPackageResponse1 -func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest) (*GetTenantPackageResponse1, *http.Response, error) { +// @return GetTenantPackageResponse +func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest) (*GetTenantPackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantPackageResponse1 + localVarReturnValue *GetTenantPackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantPackage") @@ -10198,6 +10638,14 @@ func (a *DefaultAPIService) GetTenantPackageExecute(r ApiGetTenantPackageRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10230,7 +10678,7 @@ func (r ApiGetTenantPackagesRequest) Skip(skip float64) ApiGetTenantPackagesRequ return r } -func (r ApiGetTenantPackagesRequest) Execute() (*GetTenantPackagesResponse1, *http.Response, error) { +func (r ApiGetTenantPackagesRequest) Execute() (*GetTenantPackagesResponse, *http.Response, error) { return r.ApiService.GetTenantPackagesExecute(r) } @@ -10248,13 +10696,13 @@ func (a *DefaultAPIService) GetTenantPackages(ctx context.Context) ApiGetTenantP } // Execute executes the request -// @return GetTenantPackagesResponse1 -func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesRequest) (*GetTenantPackagesResponse1, *http.Response, error) { +// @return GetTenantPackagesResponse +func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesRequest) (*GetTenantPackagesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantPackagesResponse1 + localVarReturnValue *GetTenantPackagesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantPackages") @@ -10328,6 +10776,14 @@ func (a *DefaultAPIService) GetTenantPackagesExecute(r ApiGetTenantPackagesReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10355,7 +10811,7 @@ func (r ApiGetTenantUserRequest) TenantId(tenantId string) ApiGetTenantUserReque return r } -func (r ApiGetTenantUserRequest) Execute() (*GetTenantUserResponse1, *http.Response, error) { +func (r ApiGetTenantUserRequest) Execute() (*GetTenantUserResponse, *http.Response, error) { return r.ApiService.GetTenantUserExecute(r) } @@ -10375,13 +10831,13 @@ func (a *DefaultAPIService) GetTenantUser(ctx context.Context, id string) ApiGet } // Execute executes the request -// @return GetTenantUserResponse1 -func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*GetTenantUserResponse1, *http.Response, error) { +// @return GetTenantUserResponse +func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*GetTenantUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantUserResponse1 + localVarReturnValue *GetTenantUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantUser") @@ -10453,6 +10909,14 @@ func (a *DefaultAPIService) GetTenantUserExecute(r ApiGetTenantUserRequest) (*Ge body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10485,7 +10949,7 @@ func (r ApiGetTenantUsersRequest) Skip(skip float64) ApiGetTenantUsersRequest { return r } -func (r ApiGetTenantUsersRequest) Execute() (*GetTenantUsersResponse1, *http.Response, error) { +func (r ApiGetTenantUsersRequest) Execute() (*GetTenantUsersResponse, *http.Response, error) { return r.ApiService.GetTenantUsersExecute(r) } @@ -10503,13 +10967,13 @@ func (a *DefaultAPIService) GetTenantUsers(ctx context.Context) ApiGetTenantUser } // Execute executes the request -// @return GetTenantUsersResponse1 -func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (*GetTenantUsersResponse1, *http.Response, error) { +// @return GetTenantUsersResponse +func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (*GetTenantUsersResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantUsersResponse1 + localVarReturnValue *GetTenantUsersResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenantUsers") @@ -10583,6 +11047,14 @@ func (a *DefaultAPIService) GetTenantUsersExecute(r ApiGetTenantUsersRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10621,7 +11093,7 @@ func (r ApiGetTenantsRequest) Skip(skip float64) ApiGetTenantsRequest { return r } -func (r ApiGetTenantsRequest) Execute() (*GetTenantsResponse1, *http.Response, error) { +func (r ApiGetTenantsRequest) Execute() (*GetTenantsResponse, *http.Response, error) { return r.ApiService.GetTenantsExecute(r) } @@ -10639,13 +11111,13 @@ func (a *DefaultAPIService) GetTenants(ctx context.Context) ApiGetTenantsRequest } // Execute executes the request -// @return GetTenantsResponse1 -func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenantsResponse1, *http.Response, error) { +// @return GetTenantsResponse +func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenantsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTenantsResponse1 + localVarReturnValue *GetTenantsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTenants") @@ -10722,6 +11194,14 @@ func (a *DefaultAPIService) GetTenantsExecute(r ApiGetTenantsRequest) (*GetTenan body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10755,7 +11235,7 @@ func (r ApiGetTicketRequest) UserId(userId string) ApiGetTicketRequest { return r } -func (r ApiGetTicketRequest) Execute() (*GetTicketResponse1, *http.Response, error) { +func (r ApiGetTicketRequest) Execute() (*GetTicketResponse, *http.Response, error) { return r.ApiService.GetTicketExecute(r) } @@ -10775,13 +11255,13 @@ func (a *DefaultAPIService) GetTicket(ctx context.Context, id string) ApiGetTick } // Execute executes the request -// @return GetTicketResponse1 -func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketResponse1, *http.Response, error) { +// @return GetTicketResponse +func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTicketResponse1 + localVarReturnValue *GetTicketResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTicket") @@ -10856,6 +11336,14 @@ func (a *DefaultAPIService) GetTicketExecute(r ApiGetTicketRequest) (*GetTicketR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -10906,7 +11394,7 @@ func (r ApiGetTicketsRequest) Limit(limit float64) ApiGetTicketsRequest { return r } -func (r ApiGetTicketsRequest) Execute() (*GetTicketsResponse1, *http.Response, error) { +func (r ApiGetTicketsRequest) Execute() (*GetTicketsResponse, *http.Response, error) { return r.ApiService.GetTicketsExecute(r) } @@ -10924,13 +11412,13 @@ func (a *DefaultAPIService) GetTickets(ctx context.Context) ApiGetTicketsRequest } // Execute executes the request -// @return GetTicketsResponse1 -func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicketsResponse1, *http.Response, error) { +// @return GetTicketsResponse +func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicketsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTicketsResponse1 + localVarReturnValue *GetTicketsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetTickets") @@ -11013,6 +11501,14 @@ func (a *DefaultAPIService) GetTicketsExecute(r ApiGetTicketsRequest) (*GetTicke body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11040,7 +11536,7 @@ func (r ApiGetUserRequest) TenantId(tenantId string) ApiGetUserRequest { return r } -func (r ApiGetUserRequest) Execute() (*GetUserResponse1, *http.Response, error) { +func (r ApiGetUserRequest) Execute() (*GetUserResponse, *http.Response, error) { return r.ApiService.GetUserExecute(r) } @@ -11060,13 +11556,13 @@ func (a *DefaultAPIService) GetUser(ctx context.Context, id string) ApiGetUserRe } // Execute executes the request -// @return GetUserResponse1 -func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse1, *http.Response, error) { +// @return GetUserResponse +func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserResponse1 + localVarReturnValue *GetUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUser") @@ -11138,6 +11634,14 @@ func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserRespons body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11165,7 +11669,7 @@ func (r ApiGetUserBadgeRequest) TenantId(tenantId string) ApiGetUserBadgeRequest return r } -func (r ApiGetUserBadgeRequest) Execute() (*GetUserBadgeResponse, *http.Response, error) { +func (r ApiGetUserBadgeRequest) Execute() (*APIGetUserBadgeResponse, *http.Response, error) { return r.ApiService.GetUserBadgeExecute(r) } @@ -11185,13 +11689,13 @@ func (a *DefaultAPIService) GetUserBadge(ctx context.Context, id string) ApiGetU } // Execute executes the request -// @return GetUserBadgeResponse -func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*GetUserBadgeResponse, *http.Response, error) { +// @return APIGetUserBadgeResponse +func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*APIGetUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBadgeResponse + localVarReturnValue *APIGetUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadge") @@ -11263,6 +11767,14 @@ func (a *DefaultAPIService) GetUserBadgeExecute(r ApiGetUserBadgeRequest) (*GetU body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11290,7 +11802,7 @@ func (r ApiGetUserBadgeProgressByIdRequest) TenantId(tenantId string) ApiGetUser return r } -func (r ApiGetUserBadgeProgressByIdRequest) Execute() (*GetUserBadgeProgressByIdResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressByIdRequest) Execute() (*APIGetUserBadgeProgressResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressByIdExecute(r) } @@ -11310,13 +11822,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressById(ctx context.Context, id str } // Execute executes the request -// @return GetUserBadgeProgressByIdResponse -func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgeProgressByIdRequest) (*GetUserBadgeProgressByIdResponse, *http.Response, error) { +// @return APIGetUserBadgeProgressResponse +func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgeProgressByIdRequest) (*APIGetUserBadgeProgressResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBadgeProgressByIdResponse + localVarReturnValue *APIGetUserBadgeProgressResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressById") @@ -11388,6 +11900,14 @@ func (a *DefaultAPIService) GetUserBadgeProgressByIdExecute(r ApiGetUserBadgePro body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11415,7 +11935,7 @@ func (r ApiGetUserBadgeProgressByUserIdRequest) TenantId(tenantId string) ApiGet return r } -func (r ApiGetUserBadgeProgressByUserIdRequest) Execute() (*GetUserBadgeProgressByUserIdResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressByUserIdRequest) Execute() (*APIGetUserBadgeProgressResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressByUserIdExecute(r) } @@ -11435,13 +11955,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressByUserId(ctx context.Context, us } // Execute executes the request -// @return GetUserBadgeProgressByUserIdResponse -func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadgeProgressByUserIdRequest) (*GetUserBadgeProgressByUserIdResponse, *http.Response, error) { +// @return APIGetUserBadgeProgressResponse +func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadgeProgressByUserIdRequest) (*APIGetUserBadgeProgressResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBadgeProgressByUserIdResponse + localVarReturnValue *APIGetUserBadgeProgressResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressByUserId") @@ -11513,6 +12033,14 @@ func (a *DefaultAPIService) GetUserBadgeProgressByUserIdExecute(r ApiGetUserBadg body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11557,7 +12085,7 @@ func (r ApiGetUserBadgeProgressListRequest) Skip(skip float64) ApiGetUserBadgePr return r } -func (r ApiGetUserBadgeProgressListRequest) Execute() (*GetUserBadgeProgressListResponse, *http.Response, error) { +func (r ApiGetUserBadgeProgressListRequest) Execute() (*APIGetUserBadgeProgressListResponse, *http.Response, error) { return r.ApiService.GetUserBadgeProgressListExecute(r) } @@ -11575,13 +12103,13 @@ func (a *DefaultAPIService) GetUserBadgeProgressList(ctx context.Context) ApiGet } // Execute executes the request -// @return GetUserBadgeProgressListResponse -func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgeProgressListRequest) (*GetUserBadgeProgressListResponse, *http.Response, error) { +// @return APIGetUserBadgeProgressListResponse +func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgeProgressListRequest) (*APIGetUserBadgeProgressListResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBadgeProgressListResponse + localVarReturnValue *APIGetUserBadgeProgressListResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadgeProgressList") @@ -11661,6 +12189,14 @@ func (a *DefaultAPIService) GetUserBadgeProgressListExecute(r ApiGetUserBadgePro body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11723,7 +12259,7 @@ func (r ApiGetUserBadgesRequest) Skip(skip float64) ApiGetUserBadgesRequest { return r } -func (r ApiGetUserBadgesRequest) Execute() (*GetUserBadgesResponse, *http.Response, error) { +func (r ApiGetUserBadgesRequest) Execute() (*APIGetUserBadgesResponse, *http.Response, error) { return r.ApiService.GetUserBadgesExecute(r) } @@ -11741,13 +12277,13 @@ func (a *DefaultAPIService) GetUserBadges(ctx context.Context) ApiGetUserBadgesR } // Execute executes the request -// @return GetUserBadgesResponse -func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*GetUserBadgesResponse, *http.Response, error) { +// @return APIGetUserBadgesResponse +func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*APIGetUserBadgesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBadgesResponse + localVarReturnValue *APIGetUserBadgesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetUserBadges") @@ -11836,6 +12372,14 @@ func (a *DefaultAPIService) GetUserBadgesExecute(r ApiGetUserBadgesRequest) (*Ge body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -11868,7 +12412,7 @@ func (r ApiGetVotesRequest) UrlId(urlId string) ApiGetVotesRequest { return r } -func (r ApiGetVotesRequest) Execute() (*GetVotesResponse1, *http.Response, error) { +func (r ApiGetVotesRequest) Execute() (*GetVotesResponse, *http.Response, error) { return r.ApiService.GetVotesExecute(r) } @@ -11886,13 +12430,13 @@ func (a *DefaultAPIService) GetVotes(ctx context.Context) ApiGetVotesRequest { } // Execute executes the request -// @return GetVotesResponse1 -func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResponse1, *http.Response, error) { +// @return GetVotesResponse +func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetVotesResponse1 + localVarReturnValue *GetVotesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetVotes") @@ -11967,6 +12511,14 @@ func (a *DefaultAPIService) GetVotesExecute(r ApiGetVotesRequest) (*GetVotesResp body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12011,7 +12563,7 @@ func (r ApiGetVotesForUserRequest) AnonUserId(anonUserId string) ApiGetVotesForU return r } -func (r ApiGetVotesForUserRequest) Execute() (*GetVotesForUserResponse1, *http.Response, error) { +func (r ApiGetVotesForUserRequest) Execute() (*GetVotesForUserResponse, *http.Response, error) { return r.ApiService.GetVotesForUserExecute(r) } @@ -12029,13 +12581,13 @@ func (a *DefaultAPIService) GetVotesForUser(ctx context.Context) ApiGetVotesForU } // Execute executes the request -// @return GetVotesForUserResponse1 -func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) (*GetVotesForUserResponse1, *http.Response, error) { +// @return GetVotesForUserResponse +func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) (*GetVotesForUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetVotesForUserResponse1 + localVarReturnValue *GetVotesForUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.GetVotesForUser") @@ -12116,6 +12668,14 @@ func (a *DefaultAPIService) GetVotesForUserExecute(r ApiGetVotesForUserRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12285,7 +12845,7 @@ func (r ApiPatchHashTagRequest) UpdateHashTagBody(updateHashTagBody UpdateHashTa return r } -func (r ApiPatchHashTagRequest) Execute() (*PatchHashTagResponse, *http.Response, error) { +func (r ApiPatchHashTagRequest) Execute() (*UpdateHashTagResponse, *http.Response, error) { return r.ApiService.PatchHashTagExecute(r) } @@ -12305,13 +12865,13 @@ func (a *DefaultAPIService) PatchHashTag(ctx context.Context, tag string) ApiPat } // Execute executes the request -// @return PatchHashTagResponse -func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*PatchHashTagResponse, *http.Response, error) { +// @return UpdateHashTagResponse +func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*UpdateHashTagResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PatchHashTagResponse + localVarReturnValue *UpdateHashTagResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.PatchHashTag") @@ -12384,6 +12944,14 @@ func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*Patc body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -12984,7 +13552,7 @@ func (r ApiRenderEmailTemplateRequest) Locale(locale string) ApiRenderEmailTempl return r } -func (r ApiRenderEmailTemplateRequest) Execute() (*RenderEmailTemplateResponse1, *http.Response, error) { +func (r ApiRenderEmailTemplateRequest) Execute() (*RenderEmailTemplateResponse, *http.Response, error) { return r.ApiService.RenderEmailTemplateExecute(r) } @@ -13002,13 +13570,13 @@ func (a *DefaultAPIService) RenderEmailTemplate(ctx context.Context) ApiRenderEm } // Execute executes the request -// @return RenderEmailTemplateResponse1 -func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateRequest) (*RenderEmailTemplateResponse1, *http.Response, error) { +// @return RenderEmailTemplateResponse +func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateRequest) (*RenderEmailTemplateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RenderEmailTemplateResponse1 + localVarReturnValue *RenderEmailTemplateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.RenderEmailTemplate") @@ -13087,6 +13655,14 @@ func (a *DefaultAPIService) RenderEmailTemplateExecute(r ApiRenderEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13120,7 +13696,7 @@ func (r ApiReplaceTenantPackageRequest) ReplaceTenantPackageBody(replaceTenantPa return r } -func (r ApiReplaceTenantPackageRequest) Execute() (*ReplaceTenantPackageResponse, *http.Response, error) { +func (r ApiReplaceTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.ReplaceTenantPackageExecute(r) } @@ -13140,13 +13716,13 @@ func (a *DefaultAPIService) ReplaceTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return ReplaceTenantPackageResponse -func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackageRequest) (*ReplaceTenantPackageResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ReplaceTenantPackageResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ReplaceTenantPackage") @@ -13223,6 +13799,14 @@ func (a *DefaultAPIService) ReplaceTenantPackageExecute(r ApiReplaceTenantPackag body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13262,7 +13846,7 @@ func (r ApiReplaceTenantUserRequest) UpdateComments(updateComments string) ApiRe return r } -func (r ApiReplaceTenantUserRequest) Execute() (*ReplaceTenantUserResponse, *http.Response, error) { +func (r ApiReplaceTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.ReplaceTenantUserExecute(r) } @@ -13282,13 +13866,13 @@ func (a *DefaultAPIService) ReplaceTenantUser(ctx context.Context, id string) Ap } // Execute executes the request -// @return ReplaceTenantUserResponse -func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserRequest) (*ReplaceTenantUserResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ReplaceTenantUserResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.ReplaceTenantUser") @@ -13368,6 +13952,14 @@ func (a *DefaultAPIService) ReplaceTenantUserExecute(r ApiReplaceTenantUserReque body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13424,7 +14016,7 @@ func (r ApiSaveCommentRequest) PopulateNotifications(populateNotifications bool) return r } -func (r ApiSaveCommentRequest) Execute() (*SaveCommentResponse, *http.Response, error) { +func (r ApiSaveCommentRequest) Execute() (*APISaveCommentResponse, *http.Response, error) { return r.ApiService.SaveCommentExecute(r) } @@ -13442,13 +14034,13 @@ func (a *DefaultAPIService) SaveComment(ctx context.Context) ApiSaveCommentReque } // Execute executes the request -// @return SaveCommentResponse -func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*SaveCommentResponse, *http.Response, error) { +// @return APISaveCommentResponse +func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*APISaveCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SaveCommentResponse + localVarReturnValue *APISaveCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SaveComment") @@ -13536,6 +14128,14 @@ func (a *DefaultAPIService) SaveCommentExecute(r ApiSaveCommentRequest) (*SaveCo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13737,7 +14337,7 @@ func (r ApiSendInviteRequest) FromName(fromName string) ApiSendInviteRequest { return r } -func (r ApiSendInviteRequest) Execute() (*SendInviteResponse, *http.Response, error) { +func (r ApiSendInviteRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.SendInviteExecute(r) } @@ -13757,13 +14357,13 @@ func (a *DefaultAPIService) SendInvite(ctx context.Context, id string) ApiSendIn } // Execute executes the request -// @return SendInviteResponse -func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*SendInviteResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SendInviteResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SendInvite") @@ -13839,6 +14439,14 @@ func (a *DefaultAPIService) SendInviteExecute(r ApiSendInviteRequest) (*SendInvi body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -13872,7 +14480,7 @@ func (r ApiSendLoginLinkRequest) RedirectURL(redirectURL string) ApiSendLoginLin return r } -func (r ApiSendLoginLinkRequest) Execute() (*SendLoginLinkResponse, *http.Response, error) { +func (r ApiSendLoginLinkRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.SendLoginLinkExecute(r) } @@ -13892,13 +14500,13 @@ func (a *DefaultAPIService) SendLoginLink(ctx context.Context, id string) ApiSen } // Execute executes the request -// @return SendLoginLinkResponse -func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*SendLoginLinkResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SendLoginLinkResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.SendLoginLink") @@ -13973,6 +14581,14 @@ func (a *DefaultAPIService) SendLoginLinkExecute(r ApiSendLoginLinkRequest) (*Se body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14018,7 +14634,7 @@ func (r ApiUnBlockUserFromCommentRequest) AnonUserId(anonUserId string) ApiUnBlo return r } -func (r ApiUnBlockUserFromCommentRequest) Execute() (*UnBlockUserFromCommentResponse, *http.Response, error) { +func (r ApiUnBlockUserFromCommentRequest) Execute() (*UnblockSuccess, *http.Response, error) { return r.ApiService.UnBlockUserFromCommentExecute(r) } @@ -14038,13 +14654,13 @@ func (a *DefaultAPIService) UnBlockUserFromComment(ctx context.Context, id strin } // Execute executes the request -// @return UnBlockUserFromCommentResponse -func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCommentRequest) (*UnBlockUserFromCommentResponse, *http.Response, error) { +// @return UnblockSuccess +func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCommentRequest) (*UnblockSuccess, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnBlockUserFromCommentResponse + localVarReturnValue *UnblockSuccess ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UnBlockUserFromComment") @@ -14127,6 +14743,14 @@ func (a *DefaultAPIService) UnBlockUserFromCommentExecute(r ApiUnBlockUserFromCo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14166,7 +14790,7 @@ func (r ApiUnFlagCommentRequest) AnonUserId(anonUserId string) ApiUnFlagCommentR return r } -func (r ApiUnFlagCommentRequest) Execute() (*UnFlagCommentResponse, *http.Response, error) { +func (r ApiUnFlagCommentRequest) Execute() (*FlagCommentResponse, *http.Response, error) { return r.ApiService.UnFlagCommentExecute(r) } @@ -14186,13 +14810,13 @@ func (a *DefaultAPIService) UnFlagComment(ctx context.Context, id string) ApiUnF } // Execute executes the request -// @return UnFlagCommentResponse -func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*UnFlagCommentResponse, *http.Response, error) { +// @return FlagCommentResponse +func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*FlagCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnFlagCommentResponse + localVarReturnValue *FlagCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UnFlagComment") @@ -14270,6 +14894,14 @@ func (a *DefaultAPIService) UnFlagCommentExecute(r ApiUnFlagCommentRequest) (*Un body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14321,7 +14953,7 @@ func (r ApiUpdateCommentRequest) IsLive(isLive bool) ApiUpdateCommentRequest { return r } -func (r ApiUpdateCommentRequest) Execute() (*UpdateCommentResponse, *http.Response, error) { +func (r ApiUpdateCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateCommentExecute(r) } @@ -14341,13 +14973,13 @@ func (a *DefaultAPIService) UpdateComment(ctx context.Context, id string) ApiUpd } // Execute executes the request -// @return UpdateCommentResponse -func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*UpdateCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateComment") @@ -14433,6 +15065,14 @@ func (a *DefaultAPIService) UpdateCommentExecute(r ApiUpdateCommentRequest) (*Up body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14466,7 +15106,7 @@ func (r ApiUpdateEmailTemplateRequest) UpdateEmailTemplateBody(updateEmailTempla return r } -func (r ApiUpdateEmailTemplateRequest) Execute() (*UpdateEmailTemplateResponse, *http.Response, error) { +func (r ApiUpdateEmailTemplateRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateEmailTemplateExecute(r) } @@ -14486,13 +15126,13 @@ func (a *DefaultAPIService) UpdateEmailTemplate(ctx context.Context, id string) } // Execute executes the request -// @return UpdateEmailTemplateResponse -func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateRequest) (*UpdateEmailTemplateResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateEmailTemplateResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateEmailTemplate") @@ -14569,6 +15209,14 @@ func (a *DefaultAPIService) UpdateEmailTemplateExecute(r ApiUpdateEmailTemplateR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14602,7 +15250,7 @@ func (r ApiUpdateFeedPostRequest) FeedPost(feedPost FeedPost) ApiUpdateFeedPostR return r } -func (r ApiUpdateFeedPostRequest) Execute() (*UpdateFeedPostResponse, *http.Response, error) { +func (r ApiUpdateFeedPostRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateFeedPostExecute(r) } @@ -14622,13 +15270,13 @@ func (a *DefaultAPIService) UpdateFeedPost(ctx context.Context, id string) ApiUp } // Execute executes the request -// @return UpdateFeedPostResponse -func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (*UpdateFeedPostResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateFeedPostResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateFeedPost") @@ -14705,6 +15353,14 @@ func (a *DefaultAPIService) UpdateFeedPostExecute(r ApiUpdateFeedPostRequest) (* body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14738,7 +15394,7 @@ func (r ApiUpdateModeratorRequest) UpdateModeratorBody(updateModeratorBody Updat return r } -func (r ApiUpdateModeratorRequest) Execute() (*UpdateModeratorResponse, *http.Response, error) { +func (r ApiUpdateModeratorRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateModeratorExecute(r) } @@ -14758,13 +15414,13 @@ func (a *DefaultAPIService) UpdateModerator(ctx context.Context, id string) ApiU } // Execute executes the request -// @return UpdateModeratorResponse -func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) (*UpdateModeratorResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateModeratorResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateModerator") @@ -14841,6 +15497,14 @@ func (a *DefaultAPIService) UpdateModeratorExecute(r ApiUpdateModeratorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -14880,7 +15544,7 @@ func (r ApiUpdateNotificationRequest) UserId(userId string) ApiUpdateNotificatio return r } -func (r ApiUpdateNotificationRequest) Execute() (*UpdateNotificationResponse, *http.Response, error) { +func (r ApiUpdateNotificationRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateNotificationExecute(r) } @@ -14900,13 +15564,13 @@ func (a *DefaultAPIService) UpdateNotification(ctx context.Context, id string) A } // Execute executes the request -// @return UpdateNotificationResponse -func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*UpdateNotificationResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateNotificationResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateNotification") @@ -14986,6 +15650,14 @@ func (a *DefaultAPIService) UpdateNotificationExecute(r ApiUpdateNotificationReq body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15019,7 +15691,7 @@ func (r ApiUpdateQuestionConfigRequest) UpdateQuestionConfigBody(updateQuestionC return r } -func (r ApiUpdateQuestionConfigRequest) Execute() (*UpdateQuestionConfigResponse, *http.Response, error) { +func (r ApiUpdateQuestionConfigRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateQuestionConfigExecute(r) } @@ -15039,13 +15711,13 @@ func (a *DefaultAPIService) UpdateQuestionConfig(ctx context.Context, id string) } // Execute executes the request -// @return UpdateQuestionConfigResponse -func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfigRequest) (*UpdateQuestionConfigResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfigRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateQuestionConfigResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateQuestionConfig") @@ -15122,6 +15794,14 @@ func (a *DefaultAPIService) UpdateQuestionConfigExecute(r ApiUpdateQuestionConfi body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15155,7 +15835,7 @@ func (r ApiUpdateQuestionResultRequest) UpdateQuestionResultBody(updateQuestionR return r } -func (r ApiUpdateQuestionResultRequest) Execute() (*UpdateQuestionResultResponse, *http.Response, error) { +func (r ApiUpdateQuestionResultRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateQuestionResultExecute(r) } @@ -15175,13 +15855,13 @@ func (a *DefaultAPIService) UpdateQuestionResult(ctx context.Context, id string) } // Execute executes the request -// @return UpdateQuestionResultResponse -func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResultRequest) (*UpdateQuestionResultResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResultRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateQuestionResultResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateQuestionResult") @@ -15258,6 +15938,14 @@ func (a *DefaultAPIService) UpdateQuestionResultExecute(r ApiUpdateQuestionResul body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15436,7 +16124,7 @@ func (r ApiUpdateTenantRequest) UpdateTenantBody(updateTenantBody UpdateTenantBo return r } -func (r ApiUpdateTenantRequest) Execute() (*UpdateTenantResponse, *http.Response, error) { +func (r ApiUpdateTenantRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateTenantExecute(r) } @@ -15456,13 +16144,13 @@ func (a *DefaultAPIService) UpdateTenant(ctx context.Context, id string) ApiUpda } // Execute executes the request -// @return UpdateTenantResponse -func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*UpdateTenantResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateTenantResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenant") @@ -15539,6 +16227,14 @@ func (a *DefaultAPIService) UpdateTenantExecute(r ApiUpdateTenantRequest) (*Upda body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15572,7 +16268,7 @@ func (r ApiUpdateTenantPackageRequest) UpdateTenantPackageBody(updateTenantPacka return r } -func (r ApiUpdateTenantPackageRequest) Execute() (*UpdateTenantPackageResponse, *http.Response, error) { +func (r ApiUpdateTenantPackageRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateTenantPackageExecute(r) } @@ -15592,13 +16288,13 @@ func (a *DefaultAPIService) UpdateTenantPackage(ctx context.Context, id string) } // Execute executes the request -// @return UpdateTenantPackageResponse -func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageRequest) (*UpdateTenantPackageResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateTenantPackageResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenantPackage") @@ -15675,6 +16371,14 @@ func (a *DefaultAPIService) UpdateTenantPackageExecute(r ApiUpdateTenantPackageR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15714,7 +16418,7 @@ func (r ApiUpdateTenantUserRequest) UpdateComments(updateComments string) ApiUpd return r } -func (r ApiUpdateTenantUserRequest) Execute() (*UpdateTenantUserResponse, *http.Response, error) { +func (r ApiUpdateTenantUserRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UpdateTenantUserExecute(r) } @@ -15734,13 +16438,13 @@ func (a *DefaultAPIService) UpdateTenantUser(ctx context.Context, id string) Api } // Execute executes the request -// @return UpdateTenantUserResponse -func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest) (*UpdateTenantUserResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateTenantUserResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateTenantUser") @@ -15820,6 +16524,14 @@ func (a *DefaultAPIService) UpdateTenantUserExecute(r ApiUpdateTenantUserRequest body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -15853,7 +16565,7 @@ func (r ApiUpdateUserBadgeRequest) UpdateUserBadgeParams(updateUserBadgeParams U return r } -func (r ApiUpdateUserBadgeRequest) Execute() (*UpdateUserBadgeResponse, *http.Response, error) { +func (r ApiUpdateUserBadgeRequest) Execute() (*APIEmptySuccessResponse, *http.Response, error) { return r.ApiService.UpdateUserBadgeExecute(r) } @@ -15873,13 +16585,13 @@ func (a *DefaultAPIService) UpdateUserBadge(ctx context.Context, id string) ApiU } // Execute executes the request -// @return UpdateUserBadgeResponse -func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) (*UpdateUserBadgeResponse, *http.Response, error) { +// @return APIEmptySuccessResponse +func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) (*APIEmptySuccessResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateUserBadgeResponse + localVarReturnValue *APIEmptySuccessResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.UpdateUserBadge") @@ -15956,6 +16668,14 @@ func (a *DefaultAPIService) UpdateUserBadgeExecute(r ApiUpdateUserBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/api_moderation.go b/client/api_moderation.go index ac97cb1..ee621f6 100644 --- a/client/api_moderation.go +++ b/client/api_moderation.go @@ -48,7 +48,7 @@ func (r ApiDeleteModerationVoteRequest) Sso(sso string) ApiDeleteModerationVoteR return r } -func (r ApiDeleteModerationVoteRequest) Execute() (*DeleteModerationVoteResponse, *http.Response, error) { +func (r ApiDeleteModerationVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { return r.ApiService.DeleteModerationVoteExecute(r) } @@ -70,13 +70,13 @@ func (a *ModerationAPIService) DeleteModerationVote(ctx context.Context, comment } // Execute executes the request -// @return DeleteModerationVoteResponse -func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModerationVoteRequest) (*DeleteModerationVoteResponse, *http.Response, error) { +// @return VoteDeleteResponse +func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModerationVoteRequest) (*VoteDeleteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteModerationVoteResponse + localVarReturnValue *VoteDeleteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.DeleteModerationVote") @@ -140,6 +140,14 @@ func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModeration body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -220,7 +228,7 @@ func (r ApiGetApiCommentsRequest) Sso(sso string) ApiGetApiCommentsRequest { return r } -func (r ApiGetApiCommentsRequest) Execute() (*GetApiCommentsResponse, *http.Response, error) { +func (r ApiGetApiCommentsRequest) Execute() (*ModerationAPIGetCommentsResponse, *http.Response, error) { return r.ApiService.GetApiCommentsExecute(r) } @@ -238,13 +246,13 @@ func (a *ModerationAPIService) GetApiComments(ctx context.Context) ApiGetApiComm } // Execute executes the request -// @return GetApiCommentsResponse -func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) (*GetApiCommentsResponse, *http.Response, error) { +// @return ModerationAPIGetCommentsResponse +func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) (*ModerationAPIGetCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetApiCommentsResponse + localVarReturnValue *ModerationAPIGetCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiComments") @@ -327,6 +335,14 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -365,7 +381,7 @@ func (r ApiGetApiExportStatusRequest) Sso(sso string) ApiGetApiExportStatusReque return r } -func (r ApiGetApiExportStatusRequest) Execute() (*GetApiExportStatusResponse, *http.Response, error) { +func (r ApiGetApiExportStatusRequest) Execute() (*ModerationExportStatusResponse, *http.Response, error) { return r.ApiService.GetApiExportStatusExecute(r) } @@ -383,13 +399,13 @@ func (a *ModerationAPIService) GetApiExportStatus(ctx context.Context) ApiGetApi } // Execute executes the request -// @return GetApiExportStatusResponse -func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatusRequest) (*GetApiExportStatusResponse, *http.Response, error) { +// @return ModerationExportStatusResponse +func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatusRequest) (*ModerationExportStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetApiExportStatusResponse + localVarReturnValue *ModerationExportStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiExportStatus") @@ -451,6 +467,14 @@ func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatus body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -519,7 +543,7 @@ func (r ApiGetApiIdsRequest) Sso(sso string) ApiGetApiIdsRequest { return r } -func (r ApiGetApiIdsRequest) Execute() (*GetApiIdsResponse, *http.Response, error) { +func (r ApiGetApiIdsRequest) Execute() (*ModerationAPIGetCommentIdsResponse, *http.Response, error) { return r.ApiService.GetApiIdsExecute(r) } @@ -537,13 +561,13 @@ func (a *ModerationAPIService) GetApiIds(ctx context.Context) ApiGetApiIdsReques } // Execute executes the request -// @return GetApiIdsResponse -func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*GetApiIdsResponse, *http.Response, error) { +// @return ModerationAPIGetCommentIdsResponse +func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*ModerationAPIGetCommentIdsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetApiIdsResponse + localVarReturnValue *ModerationAPIGetCommentIdsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetApiIds") @@ -620,6 +644,14 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*GetApiI body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -653,7 +685,7 @@ func (r ApiGetBanUsersFromCommentRequest) Sso(sso string) ApiGetBanUsersFromComm return r } -func (r ApiGetBanUsersFromCommentRequest) Execute() (*GetBanUsersFromCommentResponse, *http.Response, error) { +func (r ApiGetBanUsersFromCommentRequest) Execute() (*GetBannedUsersFromCommentResponse, *http.Response, error) { return r.ApiService.GetBanUsersFromCommentExecute(r) } @@ -673,13 +705,13 @@ func (a *ModerationAPIService) GetBanUsersFromComment(ctx context.Context, comme } // Execute executes the request -// @return GetBanUsersFromCommentResponse -func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFromCommentRequest) (*GetBanUsersFromCommentResponse, *http.Response, error) { +// @return GetBannedUsersFromCommentResponse +func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFromCommentRequest) (*GetBannedUsersFromCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetBanUsersFromCommentResponse + localVarReturnValue *GetBannedUsersFromCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetBanUsersFromComment") @@ -739,6 +771,14 @@ func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFro body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -772,7 +812,7 @@ func (r ApiGetCommentBanStatusRequest) Sso(sso string) ApiGetCommentBanStatusReq return r } -func (r ApiGetCommentBanStatusRequest) Execute() (*GetCommentBanStatusResponse1, *http.Response, error) { +func (r ApiGetCommentBanStatusRequest) Execute() (*GetCommentBanStatusResponse, *http.Response, error) { return r.ApiService.GetCommentBanStatusExecute(r) } @@ -792,13 +832,13 @@ func (a *ModerationAPIService) GetCommentBanStatus(ctx context.Context, commentI } // Execute executes the request -// @return GetCommentBanStatusResponse1 -func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStatusRequest) (*GetCommentBanStatusResponse1, *http.Response, error) { +// @return GetCommentBanStatusResponse +func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStatusRequest) (*GetCommentBanStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentBanStatusResponse1 + localVarReturnValue *GetCommentBanStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCommentBanStatus") @@ -858,6 +898,14 @@ func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStat body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -891,7 +939,7 @@ func (r ApiGetCommentChildrenRequest) Sso(sso string) ApiGetCommentChildrenReque return r } -func (r ApiGetCommentChildrenRequest) Execute() (*GetCommentChildrenResponse, *http.Response, error) { +func (r ApiGetCommentChildrenRequest) Execute() (*ModerationAPIChildCommentsResponse, *http.Response, error) { return r.ApiService.GetCommentChildrenExecute(r) } @@ -911,13 +959,13 @@ func (a *ModerationAPIService) GetCommentChildren(ctx context.Context, commentId } // Execute executes the request -// @return GetCommentChildrenResponse -func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildrenRequest) (*GetCommentChildrenResponse, *http.Response, error) { +// @return ModerationAPIChildCommentsResponse +func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildrenRequest) (*ModerationAPIChildCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentChildrenResponse + localVarReturnValue *ModerationAPIChildCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCommentChildren") @@ -977,6 +1025,14 @@ func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildren body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1039,7 +1095,7 @@ func (r ApiGetCountRequest) Sso(sso string) ApiGetCountRequest { return r } -func (r ApiGetCountRequest) Execute() (*GetCountResponse, *http.Response, error) { +func (r ApiGetCountRequest) Execute() (*ModerationAPICountCommentsResponse, *http.Response, error) { return r.ApiService.GetCountExecute(r) } @@ -1057,13 +1113,13 @@ func (a *ModerationAPIService) GetCount(ctx context.Context) ApiGetCountRequest } // Execute executes the request -// @return GetCountResponse -func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*GetCountResponse, *http.Response, error) { +// @return ModerationAPICountCommentsResponse +func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*ModerationAPICountCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCountResponse + localVarReturnValue *ModerationAPICountCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCount") @@ -1137,6 +1193,14 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*GetCountR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1169,7 +1233,7 @@ func (r ApiGetCountsRequest) Sso(sso string) ApiGetCountsRequest { return r } -func (r ApiGetCountsRequest) Execute() (*GetCountsResponse, *http.Response, error) { +func (r ApiGetCountsRequest) Execute() (*GetBannedUsersCountResponse, *http.Response, error) { return r.ApiService.GetCountsExecute(r) } @@ -1187,13 +1251,13 @@ func (a *ModerationAPIService) GetCounts(ctx context.Context) ApiGetCountsReques } // Execute executes the request -// @return GetCountsResponse -func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetCountsResponse, *http.Response, error) { +// @return GetBannedUsersCountResponse +func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBannedUsersCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCountsResponse + localVarReturnValue *GetBannedUsersCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetCounts") @@ -1252,6 +1316,14 @@ func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetCoun body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1285,7 +1357,7 @@ func (r ApiGetLogsRequest) Sso(sso string) ApiGetLogsRequest { return r } -func (r ApiGetLogsRequest) Execute() (*GetLogsResponse, *http.Response, error) { +func (r ApiGetLogsRequest) Execute() (*ModerationAPIGetLogsResponse, *http.Response, error) { return r.ApiService.GetLogsExecute(r) } @@ -1305,13 +1377,13 @@ func (a *ModerationAPIService) GetLogs(ctx context.Context, commentId string) Ap } // Execute executes the request -// @return GetLogsResponse -func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, *http.Response, error) { +// @return ModerationAPIGetLogsResponse +func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationAPIGetLogsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetLogsResponse + localVarReturnValue *ModerationAPIGetLogsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetLogs") @@ -1371,6 +1443,14 @@ func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResp body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1403,7 +1483,7 @@ func (r ApiGetManualBadgesRequest) Sso(sso string) ApiGetManualBadgesRequest { return r } -func (r ApiGetManualBadgesRequest) Execute() (*GetManualBadgesResponse, *http.Response, error) { +func (r ApiGetManualBadgesRequest) Execute() (*GetTenantManualBadgesResponse, *http.Response, error) { return r.ApiService.GetManualBadgesExecute(r) } @@ -1421,13 +1501,13 @@ func (a *ModerationAPIService) GetManualBadges(ctx context.Context) ApiGetManual } // Execute executes the request -// @return GetManualBadgesResponse -func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesRequest) (*GetManualBadgesResponse, *http.Response, error) { +// @return GetTenantManualBadgesResponse +func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesRequest) (*GetTenantManualBadgesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetManualBadgesResponse + localVarReturnValue *GetTenantManualBadgesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetManualBadges") @@ -1486,6 +1566,14 @@ func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1530,7 +1618,7 @@ func (r ApiGetManualBadgesForUserRequest) Sso(sso string) ApiGetManualBadgesForU return r } -func (r ApiGetManualBadgesForUserRequest) Execute() (*GetManualBadgesForUserResponse, *http.Response, error) { +func (r ApiGetManualBadgesForUserRequest) Execute() (*GetUserManualBadgesResponse, *http.Response, error) { return r.ApiService.GetManualBadgesForUserExecute(r) } @@ -1548,13 +1636,13 @@ func (a *ModerationAPIService) GetManualBadgesForUser(ctx context.Context) ApiGe } // Execute executes the request -// @return GetManualBadgesForUserResponse -func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadgesForUserRequest) (*GetManualBadgesForUserResponse, *http.Response, error) { +// @return GetUserManualBadgesResponse +func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadgesForUserRequest) (*GetUserManualBadgesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetManualBadgesForUserResponse + localVarReturnValue *GetUserManualBadgesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetManualBadgesForUser") @@ -1619,6 +1707,14 @@ func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadge body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1664,7 +1760,7 @@ func (r ApiGetModerationCommentRequest) Sso(sso string) ApiGetModerationCommentR return r } -func (r ApiGetModerationCommentRequest) Execute() (*GetModerationCommentResponse, *http.Response, error) { +func (r ApiGetModerationCommentRequest) Execute() (*ModerationAPICommentResponse, *http.Response, error) { return r.ApiService.GetModerationCommentExecute(r) } @@ -1684,13 +1780,13 @@ func (a *ModerationAPIService) GetModerationComment(ctx context.Context, comment } // Execute executes the request -// @return GetModerationCommentResponse -func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCommentRequest) (*GetModerationCommentResponse, *http.Response, error) { +// @return ModerationAPICommentResponse +func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCommentRequest) (*ModerationAPICommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModerationCommentResponse + localVarReturnValue *ModerationAPICommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetModerationComment") @@ -1756,6 +1852,14 @@ func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1789,7 +1893,7 @@ func (r ApiGetModerationCommentTextRequest) Sso(sso string) ApiGetModerationComm return r } -func (r ApiGetModerationCommentTextRequest) Execute() (*GetModerationCommentTextResponse, *http.Response, error) { +func (r ApiGetModerationCommentTextRequest) Execute() (*GetCommentTextResponse, *http.Response, error) { return r.ApiService.GetModerationCommentTextExecute(r) } @@ -1809,13 +1913,13 @@ func (a *ModerationAPIService) GetModerationCommentText(ctx context.Context, com } // Execute executes the request -// @return GetModerationCommentTextResponse -func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModerationCommentTextRequest) (*GetModerationCommentTextResponse, *http.Response, error) { +// @return GetCommentTextResponse +func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModerationCommentTextRequest) (*GetCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetModerationCommentTextResponse + localVarReturnValue *GetCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetModerationCommentText") @@ -1875,6 +1979,14 @@ func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModeratio body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1926,7 +2038,7 @@ func (r ApiGetPreBanSummaryRequest) Sso(sso string) ApiGetPreBanSummaryRequest { return r } -func (r ApiGetPreBanSummaryRequest) Execute() (*GetPreBanSummaryResponse, *http.Response, error) { +func (r ApiGetPreBanSummaryRequest) Execute() (*PreBanSummary, *http.Response, error) { return r.ApiService.GetPreBanSummaryExecute(r) } @@ -1946,13 +2058,13 @@ func (a *ModerationAPIService) GetPreBanSummary(ctx context.Context, commentId s } // Execute executes the request -// @return GetPreBanSummaryResponse -func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequest) (*GetPreBanSummaryResponse, *http.Response, error) { +// @return PreBanSummary +func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequest) (*PreBanSummary, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPreBanSummaryResponse + localVarReturnValue *PreBanSummary ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetPreBanSummary") @@ -2021,6 +2133,14 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2071,7 +2191,7 @@ func (r ApiGetSearchCommentsSummaryRequest) Sso(sso string) ApiGetSearchComments return r } -func (r ApiGetSearchCommentsSummaryRequest) Execute() (*GetSearchCommentsSummaryResponse, *http.Response, error) { +func (r ApiGetSearchCommentsSummaryRequest) Execute() (*ModerationCommentSearchResponse, *http.Response, error) { return r.ApiService.GetSearchCommentsSummaryExecute(r) } @@ -2089,13 +2209,13 @@ func (a *ModerationAPIService) GetSearchCommentsSummary(ctx context.Context) Api } // Execute executes the request -// @return GetSearchCommentsSummaryResponse -func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCommentsSummaryRequest) (*GetSearchCommentsSummaryResponse, *http.Response, error) { +// @return ModerationCommentSearchResponse +func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCommentsSummaryRequest) (*ModerationCommentSearchResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetSearchCommentsSummaryResponse + localVarReturnValue *ModerationCommentSearchResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchCommentsSummary") @@ -2163,6 +2283,14 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2201,7 +2329,7 @@ func (r ApiGetSearchPagesRequest) Sso(sso string) ApiGetSearchPagesRequest { return r } -func (r ApiGetSearchPagesRequest) Execute() (*GetSearchPagesResponse, *http.Response, error) { +func (r ApiGetSearchPagesRequest) Execute() (*ModerationPageSearchResponse, *http.Response, error) { return r.ApiService.GetSearchPagesExecute(r) } @@ -2219,13 +2347,13 @@ func (a *ModerationAPIService) GetSearchPages(ctx context.Context) ApiGetSearchP } // Execute executes the request -// @return GetSearchPagesResponse -func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) (*GetSearchPagesResponse, *http.Response, error) { +// @return ModerationPageSearchResponse +func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) (*ModerationPageSearchResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetSearchPagesResponse + localVarReturnValue *ModerationPageSearchResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchPages") @@ -2287,6 +2415,14 @@ func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2325,7 +2461,7 @@ func (r ApiGetSearchSitesRequest) Sso(sso string) ApiGetSearchSitesRequest { return r } -func (r ApiGetSearchSitesRequest) Execute() (*GetSearchSitesResponse, *http.Response, error) { +func (r ApiGetSearchSitesRequest) Execute() (*ModerationSiteSearchResponse, *http.Response, error) { return r.ApiService.GetSearchSitesExecute(r) } @@ -2343,13 +2479,13 @@ func (a *ModerationAPIService) GetSearchSites(ctx context.Context) ApiGetSearchS } // Execute executes the request -// @return GetSearchSitesResponse -func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) (*GetSearchSitesResponse, *http.Response, error) { +// @return ModerationSiteSearchResponse +func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) (*ModerationSiteSearchResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetSearchSitesResponse + localVarReturnValue *ModerationSiteSearchResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchSites") @@ -2411,6 +2547,14 @@ func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2449,7 +2593,7 @@ func (r ApiGetSearchSuggestRequest) Sso(sso string) ApiGetSearchSuggestRequest { return r } -func (r ApiGetSearchSuggestRequest) Execute() (*GetSearchSuggestResponse, *http.Response, error) { +func (r ApiGetSearchSuggestRequest) Execute() (*ModerationSuggestResponse, *http.Response, error) { return r.ApiService.GetSearchSuggestExecute(r) } @@ -2467,13 +2611,13 @@ func (a *ModerationAPIService) GetSearchSuggest(ctx context.Context) ApiGetSearc } // Execute executes the request -// @return GetSearchSuggestResponse -func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequest) (*GetSearchSuggestResponse, *http.Response, error) { +// @return ModerationSuggestResponse +func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequest) (*ModerationSuggestResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetSearchSuggestResponse + localVarReturnValue *ModerationSuggestResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchSuggest") @@ -2535,6 +2679,14 @@ func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequ body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2573,7 +2725,7 @@ func (r ApiGetSearchUsersRequest) Sso(sso string) ApiGetSearchUsersRequest { return r } -func (r ApiGetSearchUsersRequest) Execute() (*GetSearchUsersResponse, *http.Response, error) { +func (r ApiGetSearchUsersRequest) Execute() (*ModerationUserSearchResponse, *http.Response, error) { return r.ApiService.GetSearchUsersExecute(r) } @@ -2591,13 +2743,13 @@ func (a *ModerationAPIService) GetSearchUsers(ctx context.Context) ApiGetSearchU } // Execute executes the request -// @return GetSearchUsersResponse -func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*GetSearchUsersResponse, *http.Response, error) { +// @return ModerationUserSearchResponse +func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) (*ModerationUserSearchResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetSearchUsersResponse + localVarReturnValue *ModerationUserSearchResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetSearchUsers") @@ -2659,6 +2811,14 @@ func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2697,7 +2857,7 @@ func (r ApiGetTrustFactorRequest) Sso(sso string) ApiGetTrustFactorRequest { return r } -func (r ApiGetTrustFactorRequest) Execute() (*GetTrustFactorResponse, *http.Response, error) { +func (r ApiGetTrustFactorRequest) Execute() (*GetUserTrustFactorResponse, *http.Response, error) { return r.ApiService.GetTrustFactorExecute(r) } @@ -2715,13 +2875,13 @@ func (a *ModerationAPIService) GetTrustFactor(ctx context.Context) ApiGetTrustFa } // Execute executes the request -// @return GetTrustFactorResponse -func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) (*GetTrustFactorResponse, *http.Response, error) { +// @return GetUserTrustFactorResponse +func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) (*GetUserTrustFactorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTrustFactorResponse + localVarReturnValue *GetUserTrustFactorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetTrustFactor") @@ -2783,6 +2943,14 @@ func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2815,7 +2983,7 @@ func (r ApiGetUserBanPreferenceRequest) Sso(sso string) ApiGetUserBanPreferenceR return r } -func (r ApiGetUserBanPreferenceRequest) Execute() (*GetUserBanPreferenceResponse, *http.Response, error) { +func (r ApiGetUserBanPreferenceRequest) Execute() (*APIModerateGetUserBanPreferencesResponse, *http.Response, error) { return r.ApiService.GetUserBanPreferenceExecute(r) } @@ -2833,13 +3001,13 @@ func (a *ModerationAPIService) GetUserBanPreference(ctx context.Context) ApiGetU } // Execute executes the request -// @return GetUserBanPreferenceResponse -func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPreferenceRequest) (*GetUserBanPreferenceResponse, *http.Response, error) { +// @return APIModerateGetUserBanPreferencesResponse +func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPreferenceRequest) (*APIModerateGetUserBanPreferencesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserBanPreferenceResponse + localVarReturnValue *APIModerateGetUserBanPreferencesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetUserBanPreference") @@ -2898,6 +3066,14 @@ func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPrefer body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2936,7 +3112,7 @@ func (r ApiGetUserInternalProfileRequest) Sso(sso string) ApiGetUserInternalProf return r } -func (r ApiGetUserInternalProfileRequest) Execute() (*GetUserInternalProfileResponse1, *http.Response, error) { +func (r ApiGetUserInternalProfileRequest) Execute() (*GetUserInternalProfileResponse, *http.Response, error) { return r.ApiService.GetUserInternalProfileExecute(r) } @@ -2954,13 +3130,13 @@ func (a *ModerationAPIService) GetUserInternalProfile(ctx context.Context) ApiGe } // Execute executes the request -// @return GetUserInternalProfileResponse1 -func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInternalProfileRequest) (*GetUserInternalProfileResponse1, *http.Response, error) { +// @return GetUserInternalProfileResponse +func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInternalProfileRequest) (*GetUserInternalProfileResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserInternalProfileResponse1 + localVarReturnValue *GetUserInternalProfileResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.GetUserInternalProfile") @@ -3022,6 +3198,14 @@ func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInterna body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3067,7 +3251,7 @@ func (r ApiPostAdjustCommentVotesRequest) Sso(sso string) ApiPostAdjustCommentVo return r } -func (r ApiPostAdjustCommentVotesRequest) Execute() (*PostAdjustCommentVotesResponse, *http.Response, error) { +func (r ApiPostAdjustCommentVotesRequest) Execute() (*AdjustVotesResponse, *http.Response, error) { return r.ApiService.PostAdjustCommentVotesExecute(r) } @@ -3087,13 +3271,13 @@ func (a *ModerationAPIService) PostAdjustCommentVotes(ctx context.Context, comme } // Execute executes the request -// @return PostAdjustCommentVotesResponse -func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustCommentVotesRequest) (*PostAdjustCommentVotesResponse, *http.Response, error) { +// @return AdjustVotesResponse +func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustCommentVotesRequest) (*AdjustVotesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostAdjustCommentVotesResponse + localVarReturnValue *AdjustVotesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostAdjustCommentVotes") @@ -3161,6 +3345,14 @@ func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustComm body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3223,7 +3415,7 @@ func (r ApiPostApiExportRequest) Sso(sso string) ApiPostApiExportRequest { return r } -func (r ApiPostApiExportRequest) Execute() (*PostApiExportResponse, *http.Response, error) { +func (r ApiPostApiExportRequest) Execute() (*ModerationExportResponse, *http.Response, error) { return r.ApiService.PostApiExportExecute(r) } @@ -3241,13 +3433,13 @@ func (a *ModerationAPIService) PostApiExport(ctx context.Context) ApiPostApiExpo } // Execute executes the request -// @return PostApiExportResponse -func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) (*PostApiExportResponse, *http.Response, error) { +// @return ModerationExportResponse +func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) (*ModerationExportResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostApiExportResponse + localVarReturnValue *ModerationExportResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostApiExport") @@ -3321,6 +3513,14 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3402,7 +3602,7 @@ func (r ApiPostBanUserFromCommentRequest) Sso(sso string) ApiPostBanUserFromComm return r } -func (r ApiPostBanUserFromCommentRequest) Execute() (*PostBanUserFromCommentResponse, *http.Response, error) { +func (r ApiPostBanUserFromCommentRequest) Execute() (*BanUserFromCommentResult, *http.Response, error) { return r.ApiService.PostBanUserFromCommentExecute(r) } @@ -3422,13 +3622,13 @@ func (a *ModerationAPIService) PostBanUserFromComment(ctx context.Context, comme } // Execute executes the request -// @return PostBanUserFromCommentResponse -func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFromCommentRequest) (*PostBanUserFromCommentResponse, *http.Response, error) { +// @return BanUserFromCommentResult +func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFromCommentRequest) (*BanUserFromCommentResult, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostBanUserFromCommentResponse + localVarReturnValue *BanUserFromCommentResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBanUserFromComment") @@ -3512,6 +3712,14 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3550,7 +3758,7 @@ func (r ApiPostBanUserUndoRequest) Sso(sso string) ApiPostBanUserUndoRequest { return r } -func (r ApiPostBanUserUndoRequest) Execute() (*PostBanUserUndoResponse, *http.Response, error) { +func (r ApiPostBanUserUndoRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostBanUserUndoExecute(r) } @@ -3568,13 +3776,13 @@ func (a *ModerationAPIService) PostBanUserUndo(ctx context.Context) ApiPostBanUs } // Execute executes the request -// @return PostBanUserUndoResponse -func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoRequest) (*PostBanUserUndoResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostBanUserUndoResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBanUserUndo") @@ -3638,6 +3846,14 @@ func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3694,7 +3910,7 @@ func (r ApiPostBulkPreBanSummaryRequest) Sso(sso string) ApiPostBulkPreBanSummar return r } -func (r ApiPostBulkPreBanSummaryRequest) Execute() (*PostBulkPreBanSummaryResponse, *http.Response, error) { +func (r ApiPostBulkPreBanSummaryRequest) Execute() (*BulkPreBanSummary, *http.Response, error) { return r.ApiService.PostBulkPreBanSummaryExecute(r) } @@ -3712,13 +3928,13 @@ func (a *ModerationAPIService) PostBulkPreBanSummary(ctx context.Context) ApiPos } // Execute executes the request -// @return PostBulkPreBanSummaryResponse -func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanSummaryRequest) (*PostBulkPreBanSummaryResponse, *http.Response, error) { +// @return BulkPreBanSummary +func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanSummaryRequest) (*BulkPreBanSummary, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostBulkPreBanSummaryResponse + localVarReturnValue *BulkPreBanSummary ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostBulkPreBanSummary") @@ -3791,6 +4007,14 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3829,7 +4053,7 @@ func (r ApiPostCommentsByIdsRequest) Sso(sso string) ApiPostCommentsByIdsRequest return r } -func (r ApiPostCommentsByIdsRequest) Execute() (*PostCommentsByIdsResponse, *http.Response, error) { +func (r ApiPostCommentsByIdsRequest) Execute() (*ModerationAPIChildCommentsResponse, *http.Response, error) { return r.ApiService.PostCommentsByIdsExecute(r) } @@ -3847,13 +4071,13 @@ func (a *ModerationAPIService) PostCommentsByIds(ctx context.Context) ApiPostCom } // Execute executes the request -// @return PostCommentsByIdsResponse -func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRequest) (*PostCommentsByIdsResponse, *http.Response, error) { +// @return ModerationAPIChildCommentsResponse +func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRequest) (*ModerationAPIChildCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostCommentsByIdsResponse + localVarReturnValue *ModerationAPIChildCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostCommentsByIds") @@ -3917,6 +4141,14 @@ func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3956,7 +4188,7 @@ func (r ApiPostFlagCommentRequest) Sso(sso string) ApiPostFlagCommentRequest { return r } -func (r ApiPostFlagCommentRequest) Execute() (*PostFlagCommentResponse, *http.Response, error) { +func (r ApiPostFlagCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostFlagCommentExecute(r) } @@ -3976,13 +4208,13 @@ func (a *ModerationAPIService) PostFlagComment(ctx context.Context, commentId st } // Execute executes the request -// @return PostFlagCommentResponse -func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentRequest) (*PostFlagCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostFlagCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostFlagComment") @@ -4045,6 +4277,14 @@ func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4173,6 +4413,14 @@ func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4212,7 +4460,7 @@ func (r ApiPostRestoreDeletedCommentRequest) Sso(sso string) ApiPostRestoreDelet return r } -func (r ApiPostRestoreDeletedCommentRequest) Execute() (*PostRestoreDeletedCommentResponse, *http.Response, error) { +func (r ApiPostRestoreDeletedCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostRestoreDeletedCommentExecute(r) } @@ -4232,13 +4480,13 @@ func (a *ModerationAPIService) PostRestoreDeletedComment(ctx context.Context, co } // Execute executes the request -// @return PostRestoreDeletedCommentResponse -func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestoreDeletedCommentRequest) (*PostRestoreDeletedCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestoreDeletedCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostRestoreDeletedCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostRestoreDeletedComment") @@ -4301,6 +4549,14 @@ func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestore body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4346,7 +4602,7 @@ func (r ApiPostSetCommentApprovalStatusRequest) Sso(sso string) ApiPostSetCommen return r } -func (r ApiPostSetCommentApprovalStatusRequest) Execute() (*PostSetCommentApprovalStatusResponse, *http.Response, error) { +func (r ApiPostSetCommentApprovalStatusRequest) Execute() (*SetCommentApprovedResponse, *http.Response, error) { return r.ApiService.PostSetCommentApprovalStatusExecute(r) } @@ -4366,13 +4622,13 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatus(ctx context.Context, } // Execute executes the request -// @return PostSetCommentApprovalStatusResponse -func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetCommentApprovalStatusRequest) (*PostSetCommentApprovalStatusResponse, *http.Response, error) { +// @return SetCommentApprovedResponse +func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetCommentApprovalStatusRequest) (*SetCommentApprovedResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostSetCommentApprovalStatusResponse + localVarReturnValue *SetCommentApprovedResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentApprovalStatus") @@ -4438,6 +4694,14 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetC body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4483,7 +4747,7 @@ func (r ApiPostSetCommentReviewStatusRequest) Sso(sso string) ApiPostSetCommentR return r } -func (r ApiPostSetCommentReviewStatusRequest) Execute() (*PostSetCommentReviewStatusResponse, *http.Response, error) { +func (r ApiPostSetCommentReviewStatusRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostSetCommentReviewStatusExecute(r) } @@ -4503,13 +4767,13 @@ func (a *ModerationAPIService) PostSetCommentReviewStatus(ctx context.Context, c } // Execute executes the request -// @return PostSetCommentReviewStatusResponse -func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCommentReviewStatusRequest) (*PostSetCommentReviewStatusResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCommentReviewStatusRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostSetCommentReviewStatusResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentReviewStatus") @@ -4575,6 +4839,14 @@ func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4626,7 +4898,7 @@ func (r ApiPostSetCommentSpamStatusRequest) Sso(sso string) ApiPostSetCommentSpa return r } -func (r ApiPostSetCommentSpamStatusRequest) Execute() (*PostSetCommentSpamStatusResponse, *http.Response, error) { +func (r ApiPostSetCommentSpamStatusRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostSetCommentSpamStatusExecute(r) } @@ -4646,13 +4918,13 @@ func (a *ModerationAPIService) PostSetCommentSpamStatus(ctx context.Context, com } // Execute executes the request -// @return PostSetCommentSpamStatusResponse -func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetCommentSpamStatusRequest) (*PostSetCommentSpamStatusResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetCommentSpamStatusRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostSetCommentSpamStatusResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentSpamStatus") @@ -4721,6 +4993,14 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4766,7 +5046,7 @@ func (r ApiPostSetCommentTextRequest) Sso(sso string) ApiPostSetCommentTextReque return r } -func (r ApiPostSetCommentTextRequest) Execute() (*PostSetCommentTextResponse, *http.Response, error) { +func (r ApiPostSetCommentTextRequest) Execute() (*SetCommentTextResponse, *http.Response, error) { return r.ApiService.PostSetCommentTextExecute(r) } @@ -4786,13 +5066,13 @@ func (a *ModerationAPIService) PostSetCommentText(ctx context.Context, commentId } // Execute executes the request -// @return PostSetCommentTextResponse -func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentTextRequest) (*PostSetCommentTextResponse, *http.Response, error) { +// @return SetCommentTextResponse +func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentTextRequest) (*SetCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostSetCommentTextResponse + localVarReturnValue *SetCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostSetCommentText") @@ -4860,6 +5140,14 @@ func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentText body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4899,7 +5187,7 @@ func (r ApiPostUnFlagCommentRequest) Sso(sso string) ApiPostUnFlagCommentRequest return r } -func (r ApiPostUnFlagCommentRequest) Execute() (*PostUnFlagCommentResponse, *http.Response, error) { +func (r ApiPostUnFlagCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PostUnFlagCommentExecute(r) } @@ -4919,13 +5207,13 @@ func (a *ModerationAPIService) PostUnFlagComment(ctx context.Context, commentId } // Execute executes the request -// @return PostUnFlagCommentResponse -func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRequest) (*PostUnFlagCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostUnFlagCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostUnFlagComment") @@ -4988,6 +5276,14 @@ func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5033,7 +5329,7 @@ func (r ApiPostVoteRequest) Sso(sso string) ApiPostVoteRequest { return r } -func (r ApiPostVoteRequest) Execute() (*PostVoteResponse, *http.Response, error) { +func (r ApiPostVoteRequest) Execute() (*VoteResponse, *http.Response, error) { return r.ApiService.PostVoteExecute(r) } @@ -5053,13 +5349,13 @@ func (a *ModerationAPIService) PostVote(ctx context.Context, commentId string) A } // Execute executes the request -// @return PostVoteResponse -func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*PostVoteResponse, *http.Response, error) { +// @return VoteResponse +func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostVoteResponse + localVarReturnValue *VoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostVote") @@ -5125,6 +5421,14 @@ func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*PostVoteR body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5181,7 +5485,7 @@ func (r ApiPutAwardBadgeRequest) Sso(sso string) ApiPutAwardBadgeRequest { return r } -func (r ApiPutAwardBadgeRequest) Execute() (*PutAwardBadgeResponse, *http.Response, error) { +func (r ApiPutAwardBadgeRequest) Execute() (*AwardUserBadgeResponse, *http.Response, error) { return r.ApiService.PutAwardBadgeExecute(r) } @@ -5199,13 +5503,13 @@ func (a *ModerationAPIService) PutAwardBadge(ctx context.Context) ApiPutAwardBad } // Execute executes the request -// @return PutAwardBadgeResponse -func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) (*PutAwardBadgeResponse, *http.Response, error) { +// @return AwardUserBadgeResponse +func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) (*AwardUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PutAwardBadgeResponse + localVarReturnValue *AwardUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutAwardBadge") @@ -5277,6 +5581,14 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5315,7 +5627,7 @@ func (r ApiPutCloseThreadRequest) Sso(sso string) ApiPutCloseThreadRequest { return r } -func (r ApiPutCloseThreadRequest) Execute() (*PutCloseThreadResponse, *http.Response, error) { +func (r ApiPutCloseThreadRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PutCloseThreadExecute(r) } @@ -5333,13 +5645,13 @@ func (a *ModerationAPIService) PutCloseThread(ctx context.Context) ApiPutCloseTh } // Execute executes the request -// @return PutCloseThreadResponse -func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) (*PutCloseThreadResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PutCloseThreadResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutCloseThread") @@ -5402,6 +5714,14 @@ func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5458,7 +5778,7 @@ func (r ApiPutRemoveBadgeRequest) Sso(sso string) ApiPutRemoveBadgeRequest { return r } -func (r ApiPutRemoveBadgeRequest) Execute() (*PutRemoveBadgeResponse, *http.Response, error) { +func (r ApiPutRemoveBadgeRequest) Execute() (*RemoveUserBadgeResponse, *http.Response, error) { return r.ApiService.PutRemoveBadgeExecute(r) } @@ -5476,13 +5796,13 @@ func (a *ModerationAPIService) PutRemoveBadge(ctx context.Context) ApiPutRemoveB } // Execute executes the request -// @return PutRemoveBadgeResponse -func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) (*PutRemoveBadgeResponse, *http.Response, error) { +// @return RemoveUserBadgeResponse +func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) (*RemoveUserBadgeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PutRemoveBadgeResponse + localVarReturnValue *RemoveUserBadgeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutRemoveBadge") @@ -5554,6 +5874,14 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5592,7 +5920,7 @@ func (r ApiPutReopenThreadRequest) Sso(sso string) ApiPutReopenThreadRequest { return r } -func (r ApiPutReopenThreadRequest) Execute() (*PutReopenThreadResponse, *http.Response, error) { +func (r ApiPutReopenThreadRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.PutReopenThreadExecute(r) } @@ -5610,13 +5938,13 @@ func (a *ModerationAPIService) PutReopenThread(ctx context.Context) ApiPutReopen } // Execute executes the request -// @return PutReopenThreadResponse -func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadRequest) (*PutReopenThreadResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PutReopenThreadResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PutReopenThread") @@ -5679,6 +6007,14 @@ func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5723,7 +6059,7 @@ func (r ApiSetTrustFactorRequest) Sso(sso string) ApiSetTrustFactorRequest { return r } -func (r ApiSetTrustFactorRequest) Execute() (*SetTrustFactorResponse, *http.Response, error) { +func (r ApiSetTrustFactorRequest) Execute() (*SetUserTrustFactorResponse, *http.Response, error) { return r.ApiService.SetTrustFactorExecute(r) } @@ -5741,13 +6077,13 @@ func (a *ModerationAPIService) SetTrustFactor(ctx context.Context) ApiSetTrustFa } // Execute executes the request -// @return SetTrustFactorResponse -func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) (*SetTrustFactorResponse, *http.Response, error) { +// @return SetUserTrustFactorResponse +func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) (*SetUserTrustFactorResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SetTrustFactorResponse + localVarReturnValue *SetUserTrustFactorResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.SetTrustFactor") @@ -5812,6 +6148,14 @@ func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/api_public.go b/client/api_public.go index 64fcbd1..ee45a18 100644 --- a/client/api_public.go +++ b/client/api_public.go @@ -49,7 +49,7 @@ func (r ApiBlockFromCommentPublicRequest) Sso(sso string) ApiBlockFromCommentPub return r } -func (r ApiBlockFromCommentPublicRequest) Execute() (*BlockFromCommentPublicResponse, *http.Response, error) { +func (r ApiBlockFromCommentPublicRequest) Execute() (*BlockSuccess, *http.Response, error) { return r.ApiService.BlockFromCommentPublicExecute(r) } @@ -69,13 +69,13 @@ func (a *PublicAPIService) BlockFromCommentPublic(ctx context.Context, commentId } // Execute executes the request -// @return BlockFromCommentPublicResponse -func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPublicRequest) (*BlockFromCommentPublicResponse, *http.Response, error) { +// @return BlockSuccess +func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPublicRequest) (*BlockSuccess, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *BlockFromCommentPublicResponse + localVarReturnValue *BlockSuccess ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.BlockFromCommentPublic") @@ -141,6 +141,14 @@ func (a *PublicAPIService) BlockFromCommentPublicExecute(r ApiBlockFromCommentPu body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -180,7 +188,7 @@ func (r ApiCheckedCommentsForBlockedRequest) Sso(sso string) ApiCheckedCommentsF return r } -func (r ApiCheckedCommentsForBlockedRequest) Execute() (*CheckedCommentsForBlockedResponse, *http.Response, error) { +func (r ApiCheckedCommentsForBlockedRequest) Execute() (*CheckBlockedCommentsResponse, *http.Response, error) { return r.ApiService.CheckedCommentsForBlockedExecute(r) } @@ -198,13 +206,13 @@ func (a *PublicAPIService) CheckedCommentsForBlocked(ctx context.Context) ApiChe } // Execute executes the request -// @return CheckedCommentsForBlockedResponse -func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedCommentsForBlockedRequest) (*CheckedCommentsForBlockedResponse, *http.Response, error) { +// @return CheckBlockedCommentsResponse +func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedCommentsForBlockedRequest) (*CheckBlockedCommentsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CheckedCommentsForBlockedResponse + localVarReturnValue *CheckBlockedCommentsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CheckedCommentsForBlocked") @@ -268,6 +276,14 @@ func (a *PublicAPIService) CheckedCommentsForBlockedExecute(r ApiCheckedComments body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -319,7 +335,7 @@ func (r ApiCreateCommentPublicRequest) Sso(sso string) ApiCreateCommentPublicReq return r } -func (r ApiCreateCommentPublicRequest) Execute() (*CreateCommentPublicResponse, *http.Response, error) { +func (r ApiCreateCommentPublicRequest) Execute() (*SaveCommentsResponseWithPresence, *http.Response, error) { return r.ApiService.CreateCommentPublicExecute(r) } @@ -339,13 +355,13 @@ func (a *PublicAPIService) CreateCommentPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return CreateCommentPublicResponse -func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRequest) (*CreateCommentPublicResponse, *http.Response, error) { +// @return SaveCommentsResponseWithPresence +func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRequest) (*SaveCommentsResponseWithPresence, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateCommentPublicResponse + localVarReturnValue *SaveCommentsResponseWithPresence ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateCommentPublic") @@ -418,6 +434,14 @@ func (a *PublicAPIService) CreateCommentPublicExecute(r ApiCreateCommentPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -457,7 +481,7 @@ func (r ApiCreateFeedPostPublicRequest) Sso(sso string) ApiCreateFeedPostPublicR return r } -func (r ApiCreateFeedPostPublicRequest) Execute() (*CreateFeedPostPublicResponse, *http.Response, error) { +func (r ApiCreateFeedPostPublicRequest) Execute() (*CreateFeedPostResponse, *http.Response, error) { return r.ApiService.CreateFeedPostPublicExecute(r) } @@ -477,13 +501,13 @@ func (a *PublicAPIService) CreateFeedPostPublic(ctx context.Context, tenantId st } // Execute executes the request -// @return CreateFeedPostPublicResponse -func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublicRequest) (*CreateFeedPostPublicResponse, *http.Response, error) { +// @return CreateFeedPostResponse +func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublicRequest) (*CreateFeedPostResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateFeedPostPublicResponse + localVarReturnValue *CreateFeedPostResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateFeedPostPublic") @@ -548,6 +572,14 @@ func (a *PublicAPIService) CreateFeedPostPublicExecute(r ApiCreateFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -581,7 +613,7 @@ func (r ApiCreateV1PageReactRequest) Title(title string) ApiCreateV1PageReactReq return r } -func (r ApiCreateV1PageReactRequest) Execute() (*CreateV1PageReactResponse, *http.Response, error) { +func (r ApiCreateV1PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { return r.ApiService.CreateV1PageReactExecute(r) } @@ -601,13 +633,13 @@ func (a *PublicAPIService) CreateV1PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV1PageReactResponse -func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactRequest) (*CreateV1PageReactResponse, *http.Response, error) { +// @return CreateV1PageReact +func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactRequest) (*CreateV1PageReact, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV1PageReactResponse + localVarReturnValue *CreateV1PageReact ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateV1PageReact") @@ -668,6 +700,14 @@ func (a *PublicAPIService) CreateV1PageReactExecute(r ApiCreateV1PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -707,7 +747,7 @@ func (r ApiCreateV2PageReactRequest) Title(title string) ApiCreateV2PageReactReq return r } -func (r ApiCreateV2PageReactRequest) Execute() (*CreateV2PageReactResponse, *http.Response, error) { +func (r ApiCreateV2PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { return r.ApiService.CreateV2PageReactExecute(r) } @@ -727,13 +767,13 @@ func (a *PublicAPIService) CreateV2PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return CreateV2PageReactResponse -func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactRequest) (*CreateV2PageReactResponse, *http.Response, error) { +// @return CreateV1PageReact +func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactRequest) (*CreateV1PageReact, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CreateV2PageReactResponse + localVarReturnValue *CreateV1PageReact ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.CreateV2PageReact") @@ -798,6 +838,14 @@ func (a *PublicAPIService) CreateV2PageReactExecute(r ApiCreateV2PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -838,7 +886,7 @@ func (r ApiDeleteCommentPublicRequest) Sso(sso string) ApiDeleteCommentPublicReq return r } -func (r ApiDeleteCommentPublicRequest) Execute() (*DeleteCommentPublicResponse, *http.Response, error) { +func (r ApiDeleteCommentPublicRequest) Execute() (*PublicAPIDeleteCommentResponse, *http.Response, error) { return r.ApiService.DeleteCommentPublicExecute(r) } @@ -860,13 +908,13 @@ func (a *PublicAPIService) DeleteCommentPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return DeleteCommentPublicResponse -func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRequest) (*DeleteCommentPublicResponse, *http.Response, error) { +// @return PublicAPIDeleteCommentResponse +func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRequest) (*PublicAPIDeleteCommentResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteCommentPublicResponse + localVarReturnValue *PublicAPIDeleteCommentResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteCommentPublic") @@ -931,6 +979,14 @@ func (a *PublicAPIService) DeleteCommentPublicExecute(r ApiDeleteCommentPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -978,7 +1034,7 @@ func (r ApiDeleteCommentVoteRequest) Sso(sso string) ApiDeleteCommentVoteRequest return r } -func (r ApiDeleteCommentVoteRequest) Execute() (*DeleteCommentVoteResponse, *http.Response, error) { +func (r ApiDeleteCommentVoteRequest) Execute() (*VoteDeleteResponse, *http.Response, error) { return r.ApiService.DeleteCommentVoteExecute(r) } @@ -1002,13 +1058,13 @@ func (a *PublicAPIService) DeleteCommentVote(ctx context.Context, tenantId strin } // Execute executes the request -// @return DeleteCommentVoteResponse -func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteRequest) (*DeleteCommentVoteResponse, *http.Response, error) { +// @return VoteDeleteResponse +func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteRequest) (*VoteDeleteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteCommentVoteResponse + localVarReturnValue *VoteDeleteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteCommentVote") @@ -1078,6 +1134,14 @@ func (a *PublicAPIService) DeleteCommentVoteExecute(r ApiDeleteCommentVoteReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1201,6 +1265,14 @@ func (a *PublicAPIService) DeleteFeedPostPublicExecute(r ApiDeleteFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1228,7 +1300,7 @@ func (r ApiDeleteV1PageReactRequest) UrlId(urlId string) ApiDeleteV1PageReactReq return r } -func (r ApiDeleteV1PageReactRequest) Execute() (*DeleteV1PageReactResponse, *http.Response, error) { +func (r ApiDeleteV1PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { return r.ApiService.DeleteV1PageReactExecute(r) } @@ -1248,13 +1320,13 @@ func (a *PublicAPIService) DeleteV1PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return DeleteV1PageReactResponse -func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactRequest) (*DeleteV1PageReactResponse, *http.Response, error) { +// @return CreateV1PageReact +func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactRequest) (*CreateV1PageReact, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteV1PageReactResponse + localVarReturnValue *CreateV1PageReact ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteV1PageReact") @@ -1312,6 +1384,14 @@ func (a *PublicAPIService) DeleteV1PageReactExecute(r ApiDeleteV1PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1345,7 +1425,7 @@ func (r ApiDeleteV2PageReactRequest) Id(id string) ApiDeleteV2PageReactRequest { return r } -func (r ApiDeleteV2PageReactRequest) Execute() (*DeleteV2PageReactResponse, *http.Response, error) { +func (r ApiDeleteV2PageReactRequest) Execute() (*CreateV1PageReact, *http.Response, error) { return r.ApiService.DeleteV2PageReactExecute(r) } @@ -1365,13 +1445,13 @@ func (a *PublicAPIService) DeleteV2PageReact(ctx context.Context, tenantId strin } // Execute executes the request -// @return DeleteV2PageReactResponse -func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactRequest) (*DeleteV2PageReactResponse, *http.Response, error) { +// @return CreateV1PageReact +func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactRequest) (*CreateV1PageReact, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DeleteV2PageReactResponse + localVarReturnValue *CreateV1PageReact ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.DeleteV2PageReact") @@ -1433,6 +1513,14 @@ func (a *PublicAPIService) DeleteV2PageReactExecute(r ApiDeleteV2PageReactReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1472,7 +1560,7 @@ func (r ApiFlagCommentPublicRequest) Sso(sso string) ApiFlagCommentPublicRequest return r } -func (r ApiFlagCommentPublicRequest) Execute() (*FlagCommentPublicResponse, *http.Response, error) { +func (r ApiFlagCommentPublicRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.FlagCommentPublicExecute(r) } @@ -1492,13 +1580,13 @@ func (a *PublicAPIService) FlagCommentPublic(ctx context.Context, commentId stri } // Execute executes the request -// @return FlagCommentPublicResponse -func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicRequest) (*FlagCommentPublicResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *FlagCommentPublicResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.FlagCommentPublic") @@ -1563,6 +1651,14 @@ func (a *PublicAPIService) FlagCommentPublicExecute(r ApiFlagCommentPublicReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1597,7 +1693,7 @@ func (r ApiGetCommentTextRequest) Sso(sso string) ApiGetCommentTextRequest { return r } -func (r ApiGetCommentTextRequest) Execute() (*GetCommentTextResponse1, *http.Response, error) { +func (r ApiGetCommentTextRequest) Execute() (*PublicAPIGetCommentTextResponse, *http.Response, error) { return r.ApiService.GetCommentTextExecute(r) } @@ -1619,13 +1715,13 @@ func (a *PublicAPIService) GetCommentText(ctx context.Context, tenantId string, } // Execute executes the request -// @return GetCommentTextResponse1 -func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*GetCommentTextResponse1, *http.Response, error) { +// @return PublicAPIGetCommentTextResponse +func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*PublicAPIGetCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentTextResponse1 + localVarReturnValue *PublicAPIGetCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentText") @@ -1686,6 +1782,14 @@ func (a *PublicAPIService) GetCommentTextExecute(r ApiGetCommentTextRequest) (*G body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1720,7 +1824,7 @@ func (r ApiGetCommentVoteUserNamesRequest) Sso(sso string) ApiGetCommentVoteUser return r } -func (r ApiGetCommentVoteUserNamesRequest) Execute() (*GetCommentVoteUserNamesResponse, *http.Response, error) { +func (r ApiGetCommentVoteUserNamesRequest) Execute() (*GetCommentVoteUserNamesSuccessResponse, *http.Response, error) { return r.ApiService.GetCommentVoteUserNamesExecute(r) } @@ -1742,13 +1846,13 @@ func (a *PublicAPIService) GetCommentVoteUserNames(ctx context.Context, tenantId } // Execute executes the request -// @return GetCommentVoteUserNamesResponse -func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUserNamesRequest) (*GetCommentVoteUserNamesResponse, *http.Response, error) { +// @return GetCommentVoteUserNamesSuccessResponse +func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUserNamesRequest) (*GetCommentVoteUserNamesSuccessResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentVoteUserNamesResponse + localVarReturnValue *GetCommentVoteUserNamesSuccessResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentVoteUserNames") @@ -1810,6 +1914,14 @@ func (a *PublicAPIService) GetCommentVoteUserNamesExecute(r ApiGetCommentVoteUse body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -1872,7 +1984,7 @@ func (r ApiGetCommentsForUserRequest) IsCrawler(isCrawler bool) ApiGetCommentsFo return r } -func (r ApiGetCommentsForUserRequest) Execute() (*GetCommentsForUserResponse1, *http.Response, error) { +func (r ApiGetCommentsForUserRequest) Execute() (*GetCommentsForUserResponse, *http.Response, error) { return r.ApiService.GetCommentsForUserExecute(r) } @@ -1890,13 +2002,13 @@ func (a *PublicAPIService) GetCommentsForUser(ctx context.Context) ApiGetComment } // Execute executes the request -// @return GetCommentsForUserResponse1 -func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequest) (*GetCommentsForUserResponse1, *http.Response, error) { +// @return GetCommentsForUserResponse +func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequest) (*GetCommentsForUserResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentsForUserResponse1 + localVarReturnValue *GetCommentsForUserResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentsForUser") @@ -1970,6 +2082,14 @@ func (a *PublicAPIService) GetCommentsForUserExecute(r ApiGetCommentsForUserRequ body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2153,7 +2273,7 @@ func (r ApiGetCommentsPublicRequest) BeforeCommentId(beforeCommentId string) Api return r } -func (r ApiGetCommentsPublicRequest) Execute() (*GetCommentsPublicResponse, *http.Response, error) { +func (r ApiGetCommentsPublicRequest) Execute() (*GetCommentsResponseWithPresencePublicComment, *http.Response, error) { return r.ApiService.GetCommentsPublicExecute(r) } @@ -2178,13 +2298,13 @@ func (a *PublicAPIService) GetCommentsPublic(ctx context.Context, tenantId strin } // Execute executes the request -// @return GetCommentsPublicResponse -func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicRequest) (*GetCommentsPublicResponse, *http.Response, error) { +// @return GetCommentsResponseWithPresencePublicComment +func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicRequest) (*GetCommentsResponseWithPresencePublicComment, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetCommentsPublicResponse + localVarReturnValue *GetCommentsResponseWithPresencePublicComment ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetCommentsPublic") @@ -2328,6 +2448,14 @@ func (a *PublicAPIService) GetCommentsPublicExecute(r ApiGetCommentsPublicReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2373,7 +2501,7 @@ func (r ApiGetEventLogRequest) EndTime(endTime int64) ApiGetEventLogRequest { return r } -func (r ApiGetEventLogRequest) Execute() (*GetEventLogResponse1, *http.Response, error) { +func (r ApiGetEventLogRequest) Execute() (*GetEventLogResponse, *http.Response, error) { return r.ApiService.GetEventLogExecute(r) } @@ -2399,13 +2527,13 @@ func (a *PublicAPIService) GetEventLog(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return GetEventLogResponse1 -func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEventLogResponse1, *http.Response, error) { +// @return GetEventLogResponse +func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEventLogResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetEventLogResponse1 + localVarReturnValue *GetEventLogResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetEventLog") @@ -2474,6 +2602,14 @@ func (a *PublicAPIService) GetEventLogExecute(r ApiGetEventLogRequest) (*GetEven body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2531,7 +2667,7 @@ func (r ApiGetFeedPostsPublicRequest) IncludeUserInfo(includeUserInfo bool) ApiG return r } -func (r ApiGetFeedPostsPublicRequest) Execute() (*GetFeedPostsPublicResponse, *http.Response, error) { +func (r ApiGetFeedPostsPublicRequest) Execute() (*PublicFeedPostsResponse, *http.Response, error) { return r.ApiService.GetFeedPostsPublicExecute(r) } @@ -2556,13 +2692,13 @@ func (a *PublicAPIService) GetFeedPostsPublic(ctx context.Context, tenantId stri } // Execute executes the request -// @return GetFeedPostsPublicResponse -func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequest) (*GetFeedPostsPublicResponse, *http.Response, error) { +// @return PublicFeedPostsResponse +func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequest) (*PublicFeedPostsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetFeedPostsPublicResponse + localVarReturnValue *PublicFeedPostsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetFeedPostsPublic") @@ -2642,6 +2778,14 @@ func (a *PublicAPIService) GetFeedPostsPublicExecute(r ApiGetFeedPostsPublicRequ body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2675,7 +2819,7 @@ func (r ApiGetFeedPostsStatsRequest) Sso(sso string) ApiGetFeedPostsStatsRequest return r } -func (r ApiGetFeedPostsStatsRequest) Execute() (*GetFeedPostsStatsResponse, *http.Response, error) { +func (r ApiGetFeedPostsStatsRequest) Execute() (*FeedPostsStatsResponse, *http.Response, error) { return r.ApiService.GetFeedPostsStatsExecute(r) } @@ -2695,13 +2839,13 @@ func (a *PublicAPIService) GetFeedPostsStats(ctx context.Context, tenantId strin } // Execute executes the request -// @return GetFeedPostsStatsResponse -func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsRequest) (*GetFeedPostsStatsResponse, *http.Response, error) { +// @return FeedPostsStatsResponse +func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsRequest) (*FeedPostsStatsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetFeedPostsStatsResponse + localVarReturnValue *FeedPostsStatsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetFeedPostsStats") @@ -2772,6 +2916,14 @@ func (a *PublicAPIService) GetFeedPostsStatsExecute(r ApiGetFeedPostsStatsReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2799,7 +2951,7 @@ func (r ApiGetGifLargeRequest) LargeInternalURLSanitized(largeInternalURLSanitiz return r } -func (r ApiGetGifLargeRequest) Execute() (*GetGifLargeResponse, *http.Response, error) { +func (r ApiGetGifLargeRequest) Execute() (*GifGetLargeResponse, *http.Response, error) { return r.ApiService.GetGifLargeExecute(r) } @@ -2819,13 +2971,13 @@ func (a *PublicAPIService) GetGifLarge(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return GetGifLargeResponse -func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GetGifLargeResponse, *http.Response, error) { +// @return GifGetLargeResponse +func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GifGetLargeResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetGifLargeResponse + localVarReturnValue *GifGetLargeResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetGifLarge") @@ -2892,7 +3044,16 @@ func (a *PublicAPIService) GetGifLargeExecute(r ApiGetGifLargeRequest) (*GetGifL } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3040,7 +3201,16 @@ func (a *PublicAPIService) GetGifsSearchExecute(r ApiGetGifsSearchRequest) (*Get } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3214,7 +3384,7 @@ func (r ApiGetGlobalEventLogRequest) EndTime(endTime int64) ApiGetGlobalEventLog return r } -func (r ApiGetGlobalEventLogRequest) Execute() (*GetGlobalEventLogResponse, *http.Response, error) { +func (r ApiGetGlobalEventLogRequest) Execute() (*GetEventLogResponse, *http.Response, error) { return r.ApiService.GetGlobalEventLogExecute(r) } @@ -3240,13 +3410,13 @@ func (a *PublicAPIService) GetGlobalEventLog(ctx context.Context, tenantId strin } // Execute executes the request -// @return GetGlobalEventLogResponse -func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogRequest) (*GetGlobalEventLogResponse, *http.Response, error) { +// @return GetEventLogResponse +func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogRequest) (*GetEventLogResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetGlobalEventLogResponse + localVarReturnValue *GetEventLogResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetGlobalEventLog") @@ -3315,6 +3485,14 @@ func (a *PublicAPIService) GetGlobalEventLogExecute(r ApiGetGlobalEventLogReques body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3357,7 +3535,7 @@ func (r ApiGetOfflineUsersRequest) AfterUserId(afterUserId string) ApiGetOffline return r } -func (r ApiGetOfflineUsersRequest) Execute() (*GetOfflineUsersResponse, *http.Response, error) { +func (r ApiGetOfflineUsersRequest) Execute() (*PageUsersOfflineResponse, *http.Response, error) { return r.ApiService.GetOfflineUsersExecute(r) } @@ -3382,13 +3560,13 @@ func (a *PublicAPIService) GetOfflineUsers(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetOfflineUsersResponse -func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) (*GetOfflineUsersResponse, *http.Response, error) { +// @return PageUsersOfflineResponse +func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) (*PageUsersOfflineResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetOfflineUsersResponse + localVarReturnValue *PageUsersOfflineResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetOfflineUsers") @@ -3472,7 +3650,16 @@ func (a *PublicAPIService) GetOfflineUsersExecute(r ApiGetOfflineUsersRequest) ( } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3515,7 +3702,7 @@ func (r ApiGetOnlineUsersRequest) AfterUserId(afterUserId string) ApiGetOnlineUs return r } -func (r ApiGetOnlineUsersRequest) Execute() (*GetOnlineUsersResponse, *http.Response, error) { +func (r ApiGetOnlineUsersRequest) Execute() (*PageUsersOnlineResponse, *http.Response, error) { return r.ApiService.GetOnlineUsersExecute(r) } @@ -3538,13 +3725,13 @@ func (a *PublicAPIService) GetOnlineUsers(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetOnlineUsersResponse -func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*GetOnlineUsersResponse, *http.Response, error) { +// @return PageUsersOnlineResponse +func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*PageUsersOnlineResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetOnlineUsersResponse + localVarReturnValue *PageUsersOnlineResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetOnlineUsers") @@ -3628,7 +3815,16 @@ func (a *PublicAPIService) GetOnlineUsersExecute(r ApiGetOnlineUsersRequest) (*G } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3685,7 +3881,7 @@ func (r ApiGetPagesPublicRequest) HasComments(hasComments bool) ApiGetPagesPubli return r } -func (r ApiGetPagesPublicRequest) Execute() (*GetPagesPublicResponse, *http.Response, error) { +func (r ApiGetPagesPublicRequest) Execute() (*GetPublicPagesResponse, *http.Response, error) { return r.ApiService.GetPagesPublicExecute(r) } @@ -3709,13 +3905,13 @@ func (a *PublicAPIService) GetPagesPublic(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetPagesPublicResponse -func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*GetPagesPublicResponse, *http.Response, error) { +// @return GetPublicPagesResponse +func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*GetPublicPagesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetPagesPublicResponse + localVarReturnValue *GetPublicPagesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetPagesPublic") @@ -3784,6 +3980,14 @@ func (a *PublicAPIService) GetPagesPublicExecute(r ApiGetPagesPublicRequest) (*G body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3818,7 +4022,7 @@ func (r ApiGetTranslationsRequest) UseFullTranslationIds(useFullTranslationIds b return r } -func (r ApiGetTranslationsRequest) Execute() (*GetTranslationsResponse1, *http.Response, error) { +func (r ApiGetTranslationsRequest) Execute() (*GetTranslationsResponse, *http.Response, error) { return r.ApiService.GetTranslationsExecute(r) } @@ -3840,13 +4044,13 @@ func (a *PublicAPIService) GetTranslations(ctx context.Context, namespace string } // Execute executes the request -// @return GetTranslationsResponse1 -func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) (*GetTranslationsResponse1, *http.Response, error) { +// @return GetTranslationsResponse +func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) (*GetTranslationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetTranslationsResponse1 + localVarReturnValue *GetTranslationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetTranslations") @@ -3927,7 +4131,16 @@ func (a *PublicAPIService) GetTranslationsExecute(r ApiGetTranslationsRequest) ( } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -3960,7 +4173,7 @@ func (r ApiGetUserNotificationCountRequest) Sso(sso string) ApiGetUserNotificati return r } -func (r ApiGetUserNotificationCountRequest) Execute() (*GetUserNotificationCountResponse1, *http.Response, error) { +func (r ApiGetUserNotificationCountRequest) Execute() (*GetUserNotificationCountResponse, *http.Response, error) { return r.ApiService.GetUserNotificationCountExecute(r) } @@ -3978,13 +4191,13 @@ func (a *PublicAPIService) GetUserNotificationCount(ctx context.Context) ApiGetU } // Execute executes the request -// @return GetUserNotificationCountResponse1 -func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificationCountRequest) (*GetUserNotificationCountResponse1, *http.Response, error) { +// @return GetUserNotificationCountResponse +func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificationCountRequest) (*GetUserNotificationCountResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserNotificationCountResponse1 + localVarReturnValue *GetUserNotificationCountResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserNotificationCount") @@ -4044,6 +4257,14 @@ func (a *PublicAPIService) GetUserNotificationCountExecute(r ApiGetUserNotificat body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4137,7 +4358,7 @@ func (r ApiGetUserNotificationsRequest) Sso(sso string) ApiGetUserNotificationsR return r } -func (r ApiGetUserNotificationsRequest) Execute() (*GetUserNotificationsResponse, *http.Response, error) { +func (r ApiGetUserNotificationsRequest) Execute() (*GetMyNotificationsResponse, *http.Response, error) { return r.ApiService.GetUserNotificationsExecute(r) } @@ -4155,13 +4376,13 @@ func (a *PublicAPIService) GetUserNotifications(ctx context.Context) ApiGetUserN } // Execute executes the request -// @return GetUserNotificationsResponse -func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotificationsRequest) (*GetUserNotificationsResponse, *http.Response, error) { +// @return GetMyNotificationsResponse +func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotificationsRequest) (*GetMyNotificationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserNotificationsResponse + localVarReturnValue *GetMyNotificationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserNotifications") @@ -4251,6 +4472,14 @@ func (a *PublicAPIService) GetUserNotificationsExecute(r ApiGetUserNotifications body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4289,7 +4518,7 @@ func (r ApiGetUserPresenceStatusesRequest) UserIds(userIds string) ApiGetUserPre return r } -func (r ApiGetUserPresenceStatusesRequest) Execute() (*GetUserPresenceStatusesResponse1, *http.Response, error) { +func (r ApiGetUserPresenceStatusesRequest) Execute() (*GetUserPresenceStatusesResponse, *http.Response, error) { return r.ApiService.GetUserPresenceStatusesExecute(r) } @@ -4307,13 +4536,13 @@ func (a *PublicAPIService) GetUserPresenceStatuses(ctx context.Context) ApiGetUs } // Execute executes the request -// @return GetUserPresenceStatusesResponse1 -func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceStatusesRequest) (*GetUserPresenceStatusesResponse1, *http.Response, error) { +// @return GetUserPresenceStatusesResponse +func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceStatusesRequest) (*GetUserPresenceStatusesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserPresenceStatusesResponse1 + localVarReturnValue *GetUserPresenceStatusesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserPresenceStatuses") @@ -4387,7 +4616,16 @@ func (a *PublicAPIService) GetUserPresenceStatusesExecute(r ApiGetUserPresenceSt } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4421,7 +4659,7 @@ func (r ApiGetUserReactsPublicRequest) Sso(sso string) ApiGetUserReactsPublicReq return r } -func (r ApiGetUserReactsPublicRequest) Execute() (*GetUserReactsPublicResponse, *http.Response, error) { +func (r ApiGetUserReactsPublicRequest) Execute() (*UserReactsResponse, *http.Response, error) { return r.ApiService.GetUserReactsPublicExecute(r) } @@ -4441,13 +4679,13 @@ func (a *PublicAPIService) GetUserReactsPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return GetUserReactsPublicResponse -func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRequest) (*GetUserReactsPublicResponse, *http.Response, error) { +// @return UserReactsResponse +func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRequest) (*UserReactsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUserReactsPublicResponse + localVarReturnValue *UserReactsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUserReactsPublic") @@ -4515,6 +4753,14 @@ func (a *PublicAPIService) GetUserReactsPublicExecute(r ApiGetUserReactsPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4543,7 +4789,7 @@ func (r ApiGetUsersInfoRequest) Ids(ids string) ApiGetUsersInfoRequest { return r } -func (r ApiGetUsersInfoRequest) Execute() (*GetUsersInfoResponse, *http.Response, error) { +func (r ApiGetUsersInfoRequest) Execute() (*PageUsersInfoResponse, *http.Response, error) { return r.ApiService.GetUsersInfoExecute(r) } @@ -4567,13 +4813,13 @@ func (a *PublicAPIService) GetUsersInfo(ctx context.Context, tenantId string) Ap } // Execute executes the request -// @return GetUsersInfoResponse -func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*GetUsersInfoResponse, *http.Response, error) { +// @return PageUsersInfoResponse +func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*PageUsersInfoResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetUsersInfoResponse + localVarReturnValue *PageUsersInfoResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetUsersInfo") @@ -4640,7 +4886,16 @@ func (a *PublicAPIService) GetUsersInfoExecute(r ApiGetUsersInfoRequest) (*GetUs } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4668,7 +4923,7 @@ func (r ApiGetV1PageLikesRequest) UrlId(urlId string) ApiGetV1PageLikesRequest { return r } -func (r ApiGetV1PageLikesRequest) Execute() (*GetV1PageLikesResponse, *http.Response, error) { +func (r ApiGetV1PageLikesRequest) Execute() (*GetV1PageLikes, *http.Response, error) { return r.ApiService.GetV1PageLikesExecute(r) } @@ -4688,13 +4943,13 @@ func (a *PublicAPIService) GetV1PageLikes(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetV1PageLikesResponse -func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*GetV1PageLikesResponse, *http.Response, error) { +// @return GetV1PageLikes +func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*GetV1PageLikes, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV1PageLikesResponse + localVarReturnValue *GetV1PageLikes ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV1PageLikes") @@ -4752,6 +5007,14 @@ func (a *PublicAPIService) GetV1PageLikesExecute(r ApiGetV1PageLikesRequest) (*G body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4785,7 +5048,7 @@ func (r ApiGetV2PageReactUsersRequest) Id(id string) ApiGetV2PageReactUsersReque return r } -func (r ApiGetV2PageReactUsersRequest) Execute() (*GetV2PageReactUsersResponse1, *http.Response, error) { +func (r ApiGetV2PageReactUsersRequest) Execute() (*GetV2PageReactUsersResponse, *http.Response, error) { return r.ApiService.GetV2PageReactUsersExecute(r) } @@ -4805,13 +5068,13 @@ func (a *PublicAPIService) GetV2PageReactUsers(ctx context.Context, tenantId str } // Execute executes the request -// @return GetV2PageReactUsersResponse1 -func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRequest) (*GetV2PageReactUsersResponse1, *http.Response, error) { +// @return GetV2PageReactUsersResponse +func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRequest) (*GetV2PageReactUsersResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV2PageReactUsersResponse1 + localVarReturnValue *GetV2PageReactUsersResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV2PageReactUsers") @@ -4873,6 +5136,14 @@ func (a *PublicAPIService) GetV2PageReactUsersExecute(r ApiGetV2PageReactUsersRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -4900,7 +5171,7 @@ func (r ApiGetV2PageReactsRequest) UrlId(urlId string) ApiGetV2PageReactsRequest return r } -func (r ApiGetV2PageReactsRequest) Execute() (*GetV2PageReactsResponse, *http.Response, error) { +func (r ApiGetV2PageReactsRequest) Execute() (*GetV2PageReacts, *http.Response, error) { return r.ApiService.GetV2PageReactsExecute(r) } @@ -4920,13 +5191,13 @@ func (a *PublicAPIService) GetV2PageReacts(ctx context.Context, tenantId string) } // Execute executes the request -// @return GetV2PageReactsResponse -func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) (*GetV2PageReactsResponse, *http.Response, error) { +// @return GetV2PageReacts +func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) (*GetV2PageReacts, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GetV2PageReactsResponse + localVarReturnValue *GetV2PageReacts ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.GetV2PageReacts") @@ -4984,6 +5255,14 @@ func (a *PublicAPIService) GetV2PageReactsExecute(r ApiGetV2PageReactsRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5018,7 +5297,7 @@ func (r ApiLockCommentRequest) Sso(sso string) ApiLockCommentRequest { return r } -func (r ApiLockCommentRequest) Execute() (*LockCommentResponse, *http.Response, error) { +func (r ApiLockCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.LockCommentExecute(r) } @@ -5040,13 +5319,13 @@ func (a *PublicAPIService) LockComment(ctx context.Context, tenantId string, com } // Execute executes the request -// @return LockCommentResponse -func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*LockCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *LockCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.LockComment") @@ -5108,6 +5387,14 @@ func (a *PublicAPIService) LockCommentExecute(r ApiLockCommentRequest) (*LockCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5239,7 +5526,7 @@ func (r ApiPinCommentRequest) Sso(sso string) ApiPinCommentRequest { return r } -func (r ApiPinCommentRequest) Execute() (*PinCommentResponse, *http.Response, error) { +func (r ApiPinCommentRequest) Execute() (*ChangeCommentPinStatusResponse, *http.Response, error) { return r.ApiService.PinCommentExecute(r) } @@ -5261,13 +5548,13 @@ func (a *PublicAPIService) PinComment(ctx context.Context, tenantId string, comm } // Execute executes the request -// @return PinCommentResponse -func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*PinCommentResponse, *http.Response, error) { +// @return ChangeCommentPinStatusResponse +func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*ChangeCommentPinStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PinCommentResponse + localVarReturnValue *ChangeCommentPinStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.PinComment") @@ -5329,6 +5616,14 @@ func (a *PublicAPIService) PinCommentExecute(r ApiPinCommentRequest) (*PinCommen body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5375,7 +5670,7 @@ func (r ApiReactFeedPostPublicRequest) Sso(sso string) ApiReactFeedPostPublicReq return r } -func (r ApiReactFeedPostPublicRequest) Execute() (*ReactFeedPostPublicResponse, *http.Response, error) { +func (r ApiReactFeedPostPublicRequest) Execute() (*ReactFeedPostResponse, *http.Response, error) { return r.ApiService.ReactFeedPostPublicExecute(r) } @@ -5397,13 +5692,13 @@ func (a *PublicAPIService) ReactFeedPostPublic(ctx context.Context, tenantId str } // Execute executes the request -// @return ReactFeedPostPublicResponse -func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRequest) (*ReactFeedPostPublicResponse, *http.Response, error) { +// @return ReactFeedPostResponse +func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRequest) (*ReactFeedPostResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ReactFeedPostPublicResponse + localVarReturnValue *ReactFeedPostResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ReactFeedPostPublic") @@ -5472,6 +5767,14 @@ func (a *PublicAPIService) ReactFeedPostPublicExecute(r ApiReactFeedPostPublicRe body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5504,7 +5807,7 @@ func (r ApiResetUserNotificationCountRequest) Sso(sso string) ApiResetUserNotifi return r } -func (r ApiResetUserNotificationCountRequest) Execute() (*ResetUserNotificationCountResponse, *http.Response, error) { +func (r ApiResetUserNotificationCountRequest) Execute() (*ResetUserNotificationsResponse, *http.Response, error) { return r.ApiService.ResetUserNotificationCountExecute(r) } @@ -5522,13 +5825,13 @@ func (a *PublicAPIService) ResetUserNotificationCount(ctx context.Context) ApiRe } // Execute executes the request -// @return ResetUserNotificationCountResponse -func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotificationCountRequest) (*ResetUserNotificationCountResponse, *http.Response, error) { +// @return ResetUserNotificationsResponse +func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotificationCountRequest) (*ResetUserNotificationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ResetUserNotificationCountResponse + localVarReturnValue *ResetUserNotificationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ResetUserNotificationCount") @@ -5588,6 +5891,14 @@ func (a *PublicAPIService) ResetUserNotificationCountExecute(r ApiResetUserNotif body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5650,7 +5961,7 @@ func (r ApiResetUserNotificationsRequest) Sso(sso string) ApiResetUserNotificati return r } -func (r ApiResetUserNotificationsRequest) Execute() (*ResetUserNotificationsResponse1, *http.Response, error) { +func (r ApiResetUserNotificationsRequest) Execute() (*ResetUserNotificationsResponse, *http.Response, error) { return r.ApiService.ResetUserNotificationsExecute(r) } @@ -5668,13 +5979,13 @@ func (a *PublicAPIService) ResetUserNotifications(ctx context.Context) ApiResetU } // Execute executes the request -// @return ResetUserNotificationsResponse1 -func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificationsRequest) (*ResetUserNotificationsResponse1, *http.Response, error) { +// @return ResetUserNotificationsResponse +func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificationsRequest) (*ResetUserNotificationsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ResetUserNotificationsResponse1 + localVarReturnValue *ResetUserNotificationsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.ResetUserNotifications") @@ -5749,6 +6060,14 @@ func (a *PublicAPIService) ResetUserNotificationsExecute(r ApiResetUserNotificat body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5800,7 +6119,7 @@ func (r ApiSearchUsersRequest) SearchSection(searchSection string) ApiSearchUser return r } -func (r ApiSearchUsersRequest) Execute() (*SearchUsersResponse1, *http.Response, error) { +func (r ApiSearchUsersRequest) Execute() (*SearchUsersResult, *http.Response, error) { return r.ApiService.SearchUsersExecute(r) } @@ -5820,13 +6139,13 @@ func (a *PublicAPIService) SearchUsers(ctx context.Context, tenantId string) Api } // Execute executes the request -// @return SearchUsersResponse1 -func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchUsersResponse1, *http.Response, error) { +// @return SearchUsersResult +func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchUsersResult, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SearchUsersResponse1 + localVarReturnValue *SearchUsersResult ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.SearchUsers") @@ -5904,6 +6223,14 @@ func (a *PublicAPIService) SearchUsersExecute(r ApiSearchUsersRequest) (*SearchU body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -5950,7 +6277,7 @@ func (r ApiSetCommentTextRequest) Sso(sso string) ApiSetCommentTextRequest { return r } -func (r ApiSetCommentTextRequest) Execute() (*SetCommentTextResponse1, *http.Response, error) { +func (r ApiSetCommentTextRequest) Execute() (*PublicAPISetCommentTextResponse, *http.Response, error) { return r.ApiService.SetCommentTextExecute(r) } @@ -5972,13 +6299,13 @@ func (a *PublicAPIService) SetCommentText(ctx context.Context, tenantId string, } // Execute executes the request -// @return SetCommentTextResponse1 -func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*SetCommentTextResponse1, *http.Response, error) { +// @return PublicAPISetCommentTextResponse +func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*PublicAPISetCommentTextResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *SetCommentTextResponse1 + localVarReturnValue *PublicAPISetCommentTextResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.SetCommentText") @@ -6048,6 +6375,14 @@ func (a *PublicAPIService) SetCommentTextExecute(r ApiSetCommentTextRequest) (*S body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6087,7 +6422,7 @@ func (r ApiUnBlockCommentPublicRequest) Sso(sso string) ApiUnBlockCommentPublicR return r } -func (r ApiUnBlockCommentPublicRequest) Execute() (*UnBlockCommentPublicResponse, *http.Response, error) { +func (r ApiUnBlockCommentPublicRequest) Execute() (*UnblockSuccess, *http.Response, error) { return r.ApiService.UnBlockCommentPublicExecute(r) } @@ -6107,13 +6442,13 @@ func (a *PublicAPIService) UnBlockCommentPublic(ctx context.Context, commentId s } // Execute executes the request -// @return UnBlockCommentPublicResponse -func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublicRequest) (*UnBlockCommentPublicResponse, *http.Response, error) { +// @return UnblockSuccess +func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublicRequest) (*UnblockSuccess, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnBlockCommentPublicResponse + localVarReturnValue *UnblockSuccess ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnBlockCommentPublic") @@ -6179,6 +6514,14 @@ func (a *PublicAPIService) UnBlockCommentPublicExecute(r ApiUnBlockCommentPublic body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6213,7 +6556,7 @@ func (r ApiUnLockCommentRequest) Sso(sso string) ApiUnLockCommentRequest { return r } -func (r ApiUnLockCommentRequest) Execute() (*UnLockCommentResponse, *http.Response, error) { +func (r ApiUnLockCommentRequest) Execute() (*APIEmptyResponse, *http.Response, error) { return r.ApiService.UnLockCommentExecute(r) } @@ -6235,13 +6578,13 @@ func (a *PublicAPIService) UnLockComment(ctx context.Context, tenantId string, c } // Execute executes the request -// @return UnLockCommentResponse -func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*UnLockCommentResponse, *http.Response, error) { +// @return APIEmptyResponse +func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*APIEmptyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnLockCommentResponse + localVarReturnValue *APIEmptyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnLockComment") @@ -6303,6 +6646,14 @@ func (a *PublicAPIService) UnLockCommentExecute(r ApiUnLockCommentRequest) (*UnL body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6337,7 +6688,7 @@ func (r ApiUnPinCommentRequest) Sso(sso string) ApiUnPinCommentRequest { return r } -func (r ApiUnPinCommentRequest) Execute() (*UnPinCommentResponse, *http.Response, error) { +func (r ApiUnPinCommentRequest) Execute() (*ChangeCommentPinStatusResponse, *http.Response, error) { return r.ApiService.UnPinCommentExecute(r) } @@ -6359,13 +6710,13 @@ func (a *PublicAPIService) UnPinComment(ctx context.Context, tenantId string, co } // Execute executes the request -// @return UnPinCommentResponse -func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*UnPinCommentResponse, *http.Response, error) { +// @return ChangeCommentPinStatusResponse +func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*ChangeCommentPinStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UnPinCommentResponse + localVarReturnValue *ChangeCommentPinStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UnPinComment") @@ -6427,6 +6778,14 @@ func (a *PublicAPIService) UnPinCommentExecute(r ApiUnPinCommentRequest) (*UnPin body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6467,7 +6826,7 @@ func (r ApiUpdateFeedPostPublicRequest) Sso(sso string) ApiUpdateFeedPostPublicR return r } -func (r ApiUpdateFeedPostPublicRequest) Execute() (*UpdateFeedPostPublicResponse, *http.Response, error) { +func (r ApiUpdateFeedPostPublicRequest) Execute() (*CreateFeedPostResponse, *http.Response, error) { return r.ApiService.UpdateFeedPostPublicExecute(r) } @@ -6489,13 +6848,13 @@ func (a *PublicAPIService) UpdateFeedPostPublic(ctx context.Context, tenantId st } // Execute executes the request -// @return UpdateFeedPostPublicResponse -func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublicRequest) (*UpdateFeedPostPublicResponse, *http.Response, error) { +// @return CreateFeedPostResponse +func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublicRequest) (*CreateFeedPostResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UpdateFeedPostPublicResponse + localVarReturnValue *CreateFeedPostResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.UpdateFeedPostPublic") @@ -6561,6 +6920,14 @@ func (a *PublicAPIService) UpdateFeedPostPublicExecute(r ApiUpdateFeedPostPublic body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6697,6 +7064,14 @@ func (a *PublicAPIService) UpdateUserNotificationCommentSubscriptionStatusExecut body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6850,6 +7225,14 @@ func (a *PublicAPIService) UpdateUserNotificationPageSubscriptionStatusExecute(r body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -6974,6 +7357,14 @@ func (a *PublicAPIService) UpdateUserNotificationStatusExecute(r ApiUpdateUserNo body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } @@ -7173,7 +7564,7 @@ func (r ApiVoteCommentRequest) Sso(sso string) ApiVoteCommentRequest { return r } -func (r ApiVoteCommentRequest) Execute() (*VoteCommentResponse, *http.Response, error) { +func (r ApiVoteCommentRequest) Execute() (*VoteResponse, *http.Response, error) { return r.ApiService.VoteCommentExecute(r) } @@ -7195,13 +7586,13 @@ func (a *PublicAPIService) VoteComment(ctx context.Context, tenantId string, com } // Execute executes the request -// @return VoteCommentResponse -func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteCommentResponse, *http.Response, error) { +// @return VoteResponse +func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VoteCommentResponse + localVarReturnValue *VoteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PublicAPIService.VoteComment") @@ -7275,6 +7666,14 @@ func (a *PublicAPIService) VoteCommentExecute(r ApiVoteCommentRequest) (*VoteCom body: localVarBody, error: localVarHTTPResponse.Status, } + var v APIError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/client/docs/AddHashTagResponse.md b/client/docs/AddHashTagResponse.md deleted file mode 100644 index 1e817fb..0000000 --- a/client/docs/AddHashTagResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# AddHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**HashTag** | [**TenantHashTag**](TenantHashTag.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewAddHashTagResponse - -`func NewAddHashTagResponse(status APIStatus, hashTag TenantHashTag, reason string, code string, ) *AddHashTagResponse` - -NewAddHashTagResponse instantiates a new AddHashTagResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewAddHashTagResponseWithDefaults - -`func NewAddHashTagResponseWithDefaults() *AddHashTagResponse` - -NewAddHashTagResponseWithDefaults instantiates a new AddHashTagResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *AddHashTagResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *AddHashTagResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *AddHashTagResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetHashTag - -`func (o *AddHashTagResponse) GetHashTag() TenantHashTag` - -GetHashTag returns the HashTag field if non-nil, zero value otherwise. - -### GetHashTagOk - -`func (o *AddHashTagResponse) GetHashTagOk() (*TenantHashTag, bool)` - -GetHashTagOk returns a tuple with the HashTag field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHashTag - -`func (o *AddHashTagResponse) SetHashTag(v TenantHashTag)` - -SetHashTag sets HashTag field to given value. - - -### GetReason - -`func (o *AddHashTagResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *AddHashTagResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *AddHashTagResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *AddHashTagResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *AddHashTagResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *AddHashTagResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *AddHashTagResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *AddHashTagResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *AddHashTagResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *AddHashTagResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *AddHashTagResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *AddHashTagResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *AddHashTagResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *AddHashTagResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *AddHashTagResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *AddHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *AddHashTagResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *AddHashTagResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *AddHashTagResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *AddHashTagResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *AddHashTagResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *AddHashTagResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *AddHashTagResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *AddHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *AddHashTagResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *AddHashTagResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AddHashTagsBulkResponse.md b/client/docs/AddHashTagsBulkResponse.md deleted file mode 100644 index 83feba1..0000000 --- a/client/docs/AddHashTagsBulkResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# AddHashTagsBulkResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Results** | [**[]BulkCreateHashTagsResponseResultsInner**](BulkCreateHashTagsResponseResultsInner.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewAddHashTagsBulkResponse - -`func NewAddHashTagsBulkResponse(status APIStatus, results []BulkCreateHashTagsResponseResultsInner, reason string, code string, ) *AddHashTagsBulkResponse` - -NewAddHashTagsBulkResponse instantiates a new AddHashTagsBulkResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewAddHashTagsBulkResponseWithDefaults - -`func NewAddHashTagsBulkResponseWithDefaults() *AddHashTagsBulkResponse` - -NewAddHashTagsBulkResponseWithDefaults instantiates a new AddHashTagsBulkResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *AddHashTagsBulkResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *AddHashTagsBulkResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *AddHashTagsBulkResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetResults - -`func (o *AddHashTagsBulkResponse) GetResults() []BulkCreateHashTagsResponseResultsInner` - -GetResults returns the Results field if non-nil, zero value otherwise. - -### GetResultsOk - -`func (o *AddHashTagsBulkResponse) GetResultsOk() (*[]BulkCreateHashTagsResponseResultsInner, bool)` - -GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetResults - -`func (o *AddHashTagsBulkResponse) SetResults(v []BulkCreateHashTagsResponseResultsInner)` - -SetResults sets Results field to given value. - - -### GetReason - -`func (o *AddHashTagsBulkResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *AddHashTagsBulkResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *AddHashTagsBulkResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *AddHashTagsBulkResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *AddHashTagsBulkResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *AddHashTagsBulkResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *AddHashTagsBulkResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *AddHashTagsBulkResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *AddHashTagsBulkResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *AddHashTagsBulkResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *AddHashTagsBulkResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *AddHashTagsBulkResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *AddHashTagsBulkResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *AddHashTagsBulkResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *AddHashTagsBulkResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *AddHashTagsBulkResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *AddHashTagsBulkResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *AddHashTagsBulkResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *AddHashTagsBulkResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *AddHashTagsBulkResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *AddHashTagsBulkResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *AddHashTagsBulkResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *AddHashTagsBulkResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *AddHashTagsBulkResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *AddHashTagsBulkResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *AddHashTagsBulkResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/AggregateQuestionResultsResponse1.md b/client/docs/AggregateQuestionResultsResponse1.md deleted file mode 100644 index f539505..0000000 --- a/client/docs/AggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# AggregateQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Data** | [**QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewAggregateQuestionResultsResponse1 - -`func NewAggregateQuestionResultsResponse1(status APIStatus, data QuestionResultAggregationOverall, reason string, code string, ) *AggregateQuestionResultsResponse1` - -NewAggregateQuestionResultsResponse1 instantiates a new AggregateQuestionResultsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewAggregateQuestionResultsResponse1WithDefaults - -`func NewAggregateQuestionResultsResponse1WithDefaults() *AggregateQuestionResultsResponse1` - -NewAggregateQuestionResultsResponse1WithDefaults instantiates a new AggregateQuestionResultsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *AggregateQuestionResultsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *AggregateQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *AggregateQuestionResultsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetData - -`func (o *AggregateQuestionResultsResponse1) GetData() QuestionResultAggregationOverall` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *AggregateQuestionResultsResponse1) GetDataOk() (*QuestionResultAggregationOverall, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *AggregateQuestionResultsResponse1) SetData(v QuestionResultAggregationOverall)` - -SetData sets Data field to given value. - - -### GetReason - -`func (o *AggregateQuestionResultsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *AggregateQuestionResultsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *AggregateQuestionResultsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *AggregateQuestionResultsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *AggregateQuestionResultsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *AggregateQuestionResultsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *AggregateQuestionResultsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *AggregateQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *AggregateQuestionResultsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *AggregateQuestionResultsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *AggregateQuestionResultsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *AggregateQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *AggregateQuestionResultsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *AggregateQuestionResultsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *AggregateQuestionResultsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *AggregateQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *AggregateQuestionResultsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *AggregateQuestionResultsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *AggregateQuestionResultsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *AggregateQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *AggregateQuestionResultsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *AggregateQuestionResultsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *AggregateQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *AggregateQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *AggregateQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *AggregateQuestionResultsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockFromCommentPublicResponse.md b/client/docs/BlockFromCommentPublicResponse.md deleted file mode 100644 index 8cd9011..0000000 --- a/client/docs/BlockFromCommentPublicResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# BlockFromCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewBlockFromCommentPublicResponse - -`func NewBlockFromCommentPublicResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *BlockFromCommentPublicResponse` - -NewBlockFromCommentPublicResponse instantiates a new BlockFromCommentPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBlockFromCommentPublicResponseWithDefaults - -`func NewBlockFromCommentPublicResponseWithDefaults() *BlockFromCommentPublicResponse` - -NewBlockFromCommentPublicResponseWithDefaults instantiates a new BlockFromCommentPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *BlockFromCommentPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *BlockFromCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *BlockFromCommentPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCommentStatuses - -`func (o *BlockFromCommentPublicResponse) GetCommentStatuses() map[string]bool` - -GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. - -### GetCommentStatusesOk - -`func (o *BlockFromCommentPublicResponse) GetCommentStatusesOk() (*map[string]bool, bool)` - -GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentStatuses - -`func (o *BlockFromCommentPublicResponse) SetCommentStatuses(v map[string]bool)` - -SetCommentStatuses sets CommentStatuses field to given value. - - -### GetReason - -`func (o *BlockFromCommentPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *BlockFromCommentPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *BlockFromCommentPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *BlockFromCommentPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *BlockFromCommentPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *BlockFromCommentPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *BlockFromCommentPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *BlockFromCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *BlockFromCommentPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *BlockFromCommentPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *BlockFromCommentPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *BlockFromCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *BlockFromCommentPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *BlockFromCommentPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *BlockFromCommentPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *BlockFromCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *BlockFromCommentPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *BlockFromCommentPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *BlockFromCommentPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *BlockFromCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *BlockFromCommentPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *BlockFromCommentPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *BlockFromCommentPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *BlockFromCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *BlockFromCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *BlockFromCommentPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BlockUserFromCommentResponse.md b/client/docs/BlockUserFromCommentResponse.md deleted file mode 100644 index c4da8f7..0000000 --- a/client/docs/BlockUserFromCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# BlockUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewBlockUserFromCommentResponse - -`func NewBlockUserFromCommentResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *BlockUserFromCommentResponse` - -NewBlockUserFromCommentResponse instantiates a new BlockUserFromCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBlockUserFromCommentResponseWithDefaults - -`func NewBlockUserFromCommentResponseWithDefaults() *BlockUserFromCommentResponse` - -NewBlockUserFromCommentResponseWithDefaults instantiates a new BlockUserFromCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *BlockUserFromCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *BlockUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *BlockUserFromCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCommentStatuses - -`func (o *BlockUserFromCommentResponse) GetCommentStatuses() map[string]bool` - -GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. - -### GetCommentStatusesOk - -`func (o *BlockUserFromCommentResponse) GetCommentStatusesOk() (*map[string]bool, bool)` - -GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentStatuses - -`func (o *BlockUserFromCommentResponse) SetCommentStatuses(v map[string]bool)` - -SetCommentStatuses sets CommentStatuses field to given value. - - -### GetReason - -`func (o *BlockUserFromCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *BlockUserFromCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *BlockUserFromCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *BlockUserFromCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *BlockUserFromCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *BlockUserFromCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *BlockUserFromCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *BlockUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *BlockUserFromCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *BlockUserFromCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *BlockUserFromCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *BlockUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *BlockUserFromCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *BlockUserFromCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *BlockUserFromCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *BlockUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *BlockUserFromCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *BlockUserFromCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *BlockUserFromCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *BlockUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *BlockUserFromCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *BlockUserFromCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *BlockUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *BlockUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *BlockUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *BlockUserFromCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/BulkAggregateQuestionResultsResponse1.md b/client/docs/BulkAggregateQuestionResultsResponse1.md deleted file mode 100644 index 77521f6..0000000 --- a/client/docs/BulkAggregateQuestionResultsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# BulkAggregateQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Data** | [**map[string]QuestionResultAggregationOverall**](QuestionResultAggregationOverall.md) | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewBulkAggregateQuestionResultsResponse1 - -`func NewBulkAggregateQuestionResultsResponse1(status APIStatus, data map[string]QuestionResultAggregationOverall, reason string, code string, ) *BulkAggregateQuestionResultsResponse1` - -NewBulkAggregateQuestionResultsResponse1 instantiates a new BulkAggregateQuestionResultsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewBulkAggregateQuestionResultsResponse1WithDefaults - -`func NewBulkAggregateQuestionResultsResponse1WithDefaults() *BulkAggregateQuestionResultsResponse1` - -NewBulkAggregateQuestionResultsResponse1WithDefaults instantiates a new BulkAggregateQuestionResultsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *BulkAggregateQuestionResultsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *BulkAggregateQuestionResultsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetData - -`func (o *BulkAggregateQuestionResultsResponse1) GetData() map[string]QuestionResultAggregationOverall` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetDataOk() (*map[string]QuestionResultAggregationOverall, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *BulkAggregateQuestionResultsResponse1) SetData(v map[string]QuestionResultAggregationOverall)` - -SetData sets Data field to given value. - - -### GetReason - -`func (o *BulkAggregateQuestionResultsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *BulkAggregateQuestionResultsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *BulkAggregateQuestionResultsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *BulkAggregateQuestionResultsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *BulkAggregateQuestionResultsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *BulkAggregateQuestionResultsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *BulkAggregateQuestionResultsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *BulkAggregateQuestionResultsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *BulkAggregateQuestionResultsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *BulkAggregateQuestionResultsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *BulkAggregateQuestionResultsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *BulkAggregateQuestionResultsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *BulkAggregateQuestionResultsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *BulkAggregateQuestionResultsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *BulkAggregateQuestionResultsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *BulkAggregateQuestionResultsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *BulkAggregateQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *BulkAggregateQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *BulkAggregateQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *BulkAggregateQuestionResultsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ChangeTicketStateResponse1.md b/client/docs/ChangeTicketStateResponse1.md deleted file mode 100644 index a64b0e7..0000000 --- a/client/docs/ChangeTicketStateResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# ChangeTicketStateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Ticket** | [**APITicket**](APITicket.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewChangeTicketStateResponse1 - -`func NewChangeTicketStateResponse1(status APIStatus, ticket APITicket, reason string, code string, ) *ChangeTicketStateResponse1` - -NewChangeTicketStateResponse1 instantiates a new ChangeTicketStateResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewChangeTicketStateResponse1WithDefaults - -`func NewChangeTicketStateResponse1WithDefaults() *ChangeTicketStateResponse1` - -NewChangeTicketStateResponse1WithDefaults instantiates a new ChangeTicketStateResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ChangeTicketStateResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ChangeTicketStateResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ChangeTicketStateResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTicket - -`func (o *ChangeTicketStateResponse1) GetTicket() APITicket` - -GetTicket returns the Ticket field if non-nil, zero value otherwise. - -### GetTicketOk - -`func (o *ChangeTicketStateResponse1) GetTicketOk() (*APITicket, bool)` - -GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTicket - -`func (o *ChangeTicketStateResponse1) SetTicket(v APITicket)` - -SetTicket sets Ticket field to given value. - - -### GetReason - -`func (o *ChangeTicketStateResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ChangeTicketStateResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ChangeTicketStateResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *ChangeTicketStateResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ChangeTicketStateResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ChangeTicketStateResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *ChangeTicketStateResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ChangeTicketStateResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ChangeTicketStateResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ChangeTicketStateResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ChangeTicketStateResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ChangeTicketStateResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ChangeTicketStateResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ChangeTicketStateResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ChangeTicketStateResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ChangeTicketStateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ChangeTicketStateResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ChangeTicketStateResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ChangeTicketStateResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ChangeTicketStateResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ChangeTicketStateResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ChangeTicketStateResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ChangeTicketStateResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ChangeTicketStateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ChangeTicketStateResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ChangeTicketStateResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CheckedCommentsForBlockedResponse.md b/client/docs/CheckedCommentsForBlockedResponse.md deleted file mode 100644 index b8d748a..0000000 --- a/client/docs/CheckedCommentsForBlockedResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# CheckedCommentsForBlockedResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCheckedCommentsForBlockedResponse - -`func NewCheckedCommentsForBlockedResponse(commentStatuses map[string]bool, status APIStatus, reason string, code string, ) *CheckedCommentsForBlockedResponse` - -NewCheckedCommentsForBlockedResponse instantiates a new CheckedCommentsForBlockedResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCheckedCommentsForBlockedResponseWithDefaults - -`func NewCheckedCommentsForBlockedResponseWithDefaults() *CheckedCommentsForBlockedResponse` - -NewCheckedCommentsForBlockedResponseWithDefaults instantiates a new CheckedCommentsForBlockedResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCommentStatuses - -`func (o *CheckedCommentsForBlockedResponse) GetCommentStatuses() map[string]bool` - -GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. - -### GetCommentStatusesOk - -`func (o *CheckedCommentsForBlockedResponse) GetCommentStatusesOk() (*map[string]bool, bool)` - -GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentStatuses - -`func (o *CheckedCommentsForBlockedResponse) SetCommentStatuses(v map[string]bool)` - -SetCommentStatuses sets CommentStatuses field to given value. - - -### GetStatus - -`func (o *CheckedCommentsForBlockedResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CheckedCommentsForBlockedResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CheckedCommentsForBlockedResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *CheckedCommentsForBlockedResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CheckedCommentsForBlockedResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CheckedCommentsForBlockedResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CheckedCommentsForBlockedResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CheckedCommentsForBlockedResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CheckedCommentsForBlockedResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CheckedCommentsForBlockedResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CheckedCommentsForBlockedResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CheckedCommentsForBlockedResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CheckedCommentsForBlockedResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CheckedCommentsForBlockedResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CheckedCommentsForBlockedResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CheckedCommentsForBlockedResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CheckedCommentsForBlockedResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CheckedCommentsForBlockedResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CheckedCommentsForBlockedResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CheckedCommentsForBlockedResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CheckedCommentsForBlockedResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CheckedCommentsForBlockedResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CheckedCommentsForBlockedResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CheckedCommentsForBlockedResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CheckedCommentsForBlockedResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CheckedCommentsForBlockedResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CheckedCommentsForBlockedResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CheckedCommentsForBlockedResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CheckedCommentsForBlockedResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CombineCommentsWithQuestionResultsResponse.md b/client/docs/CombineCommentsWithQuestionResultsResponse.md deleted file mode 100644 index 3d2b983..0000000 --- a/client/docs/CombineCommentsWithQuestionResultsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# CombineCommentsWithQuestionResultsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Data** | [**FindCommentsByRangeResponse**](FindCommentsByRangeResponse.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCombineCommentsWithQuestionResultsResponse - -`func NewCombineCommentsWithQuestionResultsResponse(status APIStatus, data FindCommentsByRangeResponse, reason string, code string, ) *CombineCommentsWithQuestionResultsResponse` - -NewCombineCommentsWithQuestionResultsResponse instantiates a new CombineCommentsWithQuestionResultsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCombineCommentsWithQuestionResultsResponseWithDefaults - -`func NewCombineCommentsWithQuestionResultsResponseWithDefaults() *CombineCommentsWithQuestionResultsResponse` - -NewCombineCommentsWithQuestionResultsResponseWithDefaults instantiates a new CombineCommentsWithQuestionResultsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CombineCommentsWithQuestionResultsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CombineCommentsWithQuestionResultsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetData - -`func (o *CombineCommentsWithQuestionResultsResponse) GetData() FindCommentsByRangeResponse` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetDataOk() (*FindCommentsByRangeResponse, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *CombineCommentsWithQuestionResultsResponse) SetData(v FindCommentsByRangeResponse)` - -SetData sets Data field to given value. - - -### GetReason - -`func (o *CombineCommentsWithQuestionResultsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CombineCommentsWithQuestionResultsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CombineCommentsWithQuestionResultsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CombineCommentsWithQuestionResultsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CombineCommentsWithQuestionResultsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CombineCommentsWithQuestionResultsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CombineCommentsWithQuestionResultsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CombineCommentsWithQuestionResultsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CombineCommentsWithQuestionResultsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CombineCommentsWithQuestionResultsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CombineCommentsWithQuestionResultsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CombineCommentsWithQuestionResultsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CombineCommentsWithQuestionResultsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CombineCommentsWithQuestionResultsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CombineCommentsWithQuestionResultsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CombineCommentsWithQuestionResultsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CombineCommentsWithQuestionResultsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CombineCommentsWithQuestionResultsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CombineCommentsWithQuestionResultsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CombineCommentsWithQuestionResultsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateCommentPublicResponse.md b/client/docs/CreateCommentPublicResponse.md deleted file mode 100644 index bd71bc7..0000000 --- a/client/docs/CreateCommentPublicResponse.md +++ /dev/null @@ -1,327 +0,0 @@ -# CreateCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Comment** | [**PublicComment**](PublicComment.md) | | -**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | -**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] -**UserIdWS** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateCommentPublicResponse - -`func NewCreateCommentPublicResponse(status APIStatus, comment PublicComment, user NullableUserSessionInfo, reason string, code string, ) *CreateCommentPublicResponse` - -NewCreateCommentPublicResponse instantiates a new CreateCommentPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateCommentPublicResponseWithDefaults - -`func NewCreateCommentPublicResponseWithDefaults() *CreateCommentPublicResponse` - -NewCreateCommentPublicResponseWithDefaults instantiates a new CreateCommentPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateCommentPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateCommentPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetComment - -`func (o *CreateCommentPublicResponse) GetComment() PublicComment` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *CreateCommentPublicResponse) GetCommentOk() (*PublicComment, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *CreateCommentPublicResponse) SetComment(v PublicComment)` - -SetComment sets Comment field to given value. - - -### GetUser - -`func (o *CreateCommentPublicResponse) GetUser() UserSessionInfo` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *CreateCommentPublicResponse) GetUserOk() (*UserSessionInfo, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *CreateCommentPublicResponse) SetUser(v UserSessionInfo)` - -SetUser sets User field to given value. - - -### SetUserNil - -`func (o *CreateCommentPublicResponse) SetUserNil(b bool)` - - SetUserNil sets the value for User to be an explicit nil - -### UnsetUser -`func (o *CreateCommentPublicResponse) UnsetUser()` - -UnsetUser ensures that no value is present for User, not even an explicit nil -### GetModuleData - -`func (o *CreateCommentPublicResponse) GetModuleData() map[string]map[string]interface{}` - -GetModuleData returns the ModuleData field if non-nil, zero value otherwise. - -### GetModuleDataOk - -`func (o *CreateCommentPublicResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` - -GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModuleData - -`func (o *CreateCommentPublicResponse) SetModuleData(v map[string]map[string]interface{})` - -SetModuleData sets ModuleData field to given value. - -### HasModuleData - -`func (o *CreateCommentPublicResponse) HasModuleData() bool` - -HasModuleData returns a boolean if a field has been set. - -### GetUserIdWS - -`func (o *CreateCommentPublicResponse) GetUserIdWS() string` - -GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. - -### GetUserIdWSOk - -`func (o *CreateCommentPublicResponse) GetUserIdWSOk() (*string, bool)` - -GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserIdWS - -`func (o *CreateCommentPublicResponse) SetUserIdWS(v string)` - -SetUserIdWS sets UserIdWS field to given value. - -### HasUserIdWS - -`func (o *CreateCommentPublicResponse) HasUserIdWS() bool` - -HasUserIdWS returns a boolean if a field has been set. - -### GetReason - -`func (o *CreateCommentPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateCommentPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateCommentPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateCommentPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateCommentPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateCommentPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateCommentPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateCommentPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateCommentPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateCommentPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateCommentPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateCommentPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateCommentPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateCommentPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateCommentPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateCommentPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateCommentPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateCommentPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateCommentPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateCommentPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateEmailTemplateResponse1.md b/client/docs/CreateEmailTemplateResponse1.md deleted file mode 100644 index 2c0bb22..0000000 --- a/client/docs/CreateEmailTemplateResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**EmailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateEmailTemplateResponse1 - -`func NewCreateEmailTemplateResponse1(status APIStatus, emailTemplate CustomEmailTemplate, reason string, code string, ) *CreateEmailTemplateResponse1` - -NewCreateEmailTemplateResponse1 instantiates a new CreateEmailTemplateResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateEmailTemplateResponse1WithDefaults - -`func NewCreateEmailTemplateResponse1WithDefaults() *CreateEmailTemplateResponse1` - -NewCreateEmailTemplateResponse1WithDefaults instantiates a new CreateEmailTemplateResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateEmailTemplateResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateEmailTemplateResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetEmailTemplate - -`func (o *CreateEmailTemplateResponse1) GetEmailTemplate() CustomEmailTemplate` - -GetEmailTemplate returns the EmailTemplate field if non-nil, zero value otherwise. - -### GetEmailTemplateOk - -`func (o *CreateEmailTemplateResponse1) GetEmailTemplateOk() (*CustomEmailTemplate, bool)` - -GetEmailTemplateOk returns a tuple with the EmailTemplate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTemplate - -`func (o *CreateEmailTemplateResponse1) SetEmailTemplate(v CustomEmailTemplate)` - -SetEmailTemplate sets EmailTemplate field to given value. - - -### GetReason - -`func (o *CreateEmailTemplateResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateEmailTemplateResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateEmailTemplateResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateEmailTemplateResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateEmailTemplateResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateEmailTemplateResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateEmailTemplateResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateEmailTemplateResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateEmailTemplateResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateEmailTemplateResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateEmailTemplateResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateEmailTemplateResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateEmailTemplateResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateEmailTemplateResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateEmailTemplateResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateEmailTemplateResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateEmailTemplateResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateEmailTemplateResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateEmailTemplateResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostPublicResponse.md b/client/docs/CreateFeedPostPublicResponse.md deleted file mode 100644 index b9cce44..0000000 --- a/client/docs/CreateFeedPostPublicResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**FeedPost** | [**FeedPost**](FeedPost.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateFeedPostPublicResponse - -`func NewCreateFeedPostPublicResponse(status APIStatus, feedPost FeedPost, reason string, code string, ) *CreateFeedPostPublicResponse` - -NewCreateFeedPostPublicResponse instantiates a new CreateFeedPostPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateFeedPostPublicResponseWithDefaults - -`func NewCreateFeedPostPublicResponseWithDefaults() *CreateFeedPostPublicResponse` - -NewCreateFeedPostPublicResponseWithDefaults instantiates a new CreateFeedPostPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateFeedPostPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateFeedPostPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetFeedPost - -`func (o *CreateFeedPostPublicResponse) GetFeedPost() FeedPost` - -GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. - -### GetFeedPostOk - -`func (o *CreateFeedPostPublicResponse) GetFeedPostOk() (*FeedPost, bool)` - -GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeedPost - -`func (o *CreateFeedPostPublicResponse) SetFeedPost(v FeedPost)` - -SetFeedPost sets FeedPost field to given value. - - -### GetReason - -`func (o *CreateFeedPostPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateFeedPostPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateFeedPostPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateFeedPostPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateFeedPostPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateFeedPostPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateFeedPostPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateFeedPostPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateFeedPostPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateFeedPostPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateFeedPostPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateFeedPostPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateFeedPostPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateFeedPostPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateFeedPostPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateFeedPostPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateFeedPostPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateFeedPostPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateFeedPostPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateFeedPostResponse1.md b/client/docs/CreateFeedPostResponse1.md deleted file mode 100644 index ad9561f..0000000 --- a/client/docs/CreateFeedPostResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateFeedPostResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**FeedPost** | [**FeedPost**](FeedPost.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateFeedPostResponse1 - -`func NewCreateFeedPostResponse1(status APIStatus, feedPost FeedPost, reason string, code string, ) *CreateFeedPostResponse1` - -NewCreateFeedPostResponse1 instantiates a new CreateFeedPostResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateFeedPostResponse1WithDefaults - -`func NewCreateFeedPostResponse1WithDefaults() *CreateFeedPostResponse1` - -NewCreateFeedPostResponse1WithDefaults instantiates a new CreateFeedPostResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateFeedPostResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateFeedPostResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateFeedPostResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetFeedPost - -`func (o *CreateFeedPostResponse1) GetFeedPost() FeedPost` - -GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. - -### GetFeedPostOk - -`func (o *CreateFeedPostResponse1) GetFeedPostOk() (*FeedPost, bool)` - -GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeedPost - -`func (o *CreateFeedPostResponse1) SetFeedPost(v FeedPost)` - -SetFeedPost sets FeedPost field to given value. - - -### GetReason - -`func (o *CreateFeedPostResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateFeedPostResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateFeedPostResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateFeedPostResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateFeedPostResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateFeedPostResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateFeedPostResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateFeedPostResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateFeedPostResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateFeedPostResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateFeedPostResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateFeedPostResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateFeedPostResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateFeedPostResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateFeedPostResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateFeedPostResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateFeedPostResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateFeedPostResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateFeedPostResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateFeedPostResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateFeedPostResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateFeedPostResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateFeedPostResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateFeedPostResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateFeedPostResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateFeedPostResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateModeratorResponse1.md b/client/docs/CreateModeratorResponse1.md deleted file mode 100644 index 4137b95..0000000 --- a/client/docs/CreateModeratorResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateModeratorResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Moderator** | [**Moderator**](Moderator.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateModeratorResponse1 - -`func NewCreateModeratorResponse1(status APIStatus, moderator Moderator, reason string, code string, ) *CreateModeratorResponse1` - -NewCreateModeratorResponse1 instantiates a new CreateModeratorResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateModeratorResponse1WithDefaults - -`func NewCreateModeratorResponse1WithDefaults() *CreateModeratorResponse1` - -NewCreateModeratorResponse1WithDefaults instantiates a new CreateModeratorResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateModeratorResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateModeratorResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateModeratorResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetModerator - -`func (o *CreateModeratorResponse1) GetModerator() Moderator` - -GetModerator returns the Moderator field if non-nil, zero value otherwise. - -### GetModeratorOk - -`func (o *CreateModeratorResponse1) GetModeratorOk() (*Moderator, bool)` - -GetModeratorOk returns a tuple with the Moderator field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModerator - -`func (o *CreateModeratorResponse1) SetModerator(v Moderator)` - -SetModerator sets Moderator field to given value. - - -### GetReason - -`func (o *CreateModeratorResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateModeratorResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateModeratorResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateModeratorResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateModeratorResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateModeratorResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateModeratorResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateModeratorResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateModeratorResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateModeratorResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateModeratorResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateModeratorResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateModeratorResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateModeratorResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateModeratorResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateModeratorResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateModeratorResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateModeratorResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateModeratorResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateModeratorResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateModeratorResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateModeratorResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateModeratorResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateModeratorResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateModeratorResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateModeratorResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionConfigResponse1.md b/client/docs/CreateQuestionConfigResponse1.md deleted file mode 100644 index 3ab9870..0000000 --- a/client/docs/CreateQuestionConfigResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateQuestionConfigResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionConfig** | [**QuestionConfig**](QuestionConfig.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateQuestionConfigResponse1 - -`func NewCreateQuestionConfigResponse1(status APIStatus, questionConfig QuestionConfig, reason string, code string, ) *CreateQuestionConfigResponse1` - -NewCreateQuestionConfigResponse1 instantiates a new CreateQuestionConfigResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateQuestionConfigResponse1WithDefaults - -`func NewCreateQuestionConfigResponse1WithDefaults() *CreateQuestionConfigResponse1` - -NewCreateQuestionConfigResponse1WithDefaults instantiates a new CreateQuestionConfigResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateQuestionConfigResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateQuestionConfigResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateQuestionConfigResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionConfig - -`func (o *CreateQuestionConfigResponse1) GetQuestionConfig() QuestionConfig` - -GetQuestionConfig returns the QuestionConfig field if non-nil, zero value otherwise. - -### GetQuestionConfigOk - -`func (o *CreateQuestionConfigResponse1) GetQuestionConfigOk() (*QuestionConfig, bool)` - -GetQuestionConfigOk returns a tuple with the QuestionConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionConfig - -`func (o *CreateQuestionConfigResponse1) SetQuestionConfig(v QuestionConfig)` - -SetQuestionConfig sets QuestionConfig field to given value. - - -### GetReason - -`func (o *CreateQuestionConfigResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateQuestionConfigResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateQuestionConfigResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateQuestionConfigResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateQuestionConfigResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateQuestionConfigResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateQuestionConfigResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateQuestionConfigResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateQuestionConfigResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateQuestionConfigResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateQuestionConfigResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateQuestionConfigResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateQuestionConfigResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateQuestionConfigResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateQuestionConfigResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateQuestionConfigResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateQuestionConfigResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateQuestionConfigResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateQuestionConfigResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateQuestionConfigResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateQuestionConfigResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateQuestionConfigResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateQuestionConfigResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateQuestionConfigResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateQuestionConfigResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateQuestionConfigResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateQuestionResultResponse1.md b/client/docs/CreateQuestionResultResponse1.md deleted file mode 100644 index a602658..0000000 --- a/client/docs/CreateQuestionResultResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateQuestionResultResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionResult** | [**QuestionResult**](QuestionResult.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateQuestionResultResponse1 - -`func NewCreateQuestionResultResponse1(status APIStatus, questionResult QuestionResult, reason string, code string, ) *CreateQuestionResultResponse1` - -NewCreateQuestionResultResponse1 instantiates a new CreateQuestionResultResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateQuestionResultResponse1WithDefaults - -`func NewCreateQuestionResultResponse1WithDefaults() *CreateQuestionResultResponse1` - -NewCreateQuestionResultResponse1WithDefaults instantiates a new CreateQuestionResultResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateQuestionResultResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateQuestionResultResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateQuestionResultResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionResult - -`func (o *CreateQuestionResultResponse1) GetQuestionResult() QuestionResult` - -GetQuestionResult returns the QuestionResult field if non-nil, zero value otherwise. - -### GetQuestionResultOk - -`func (o *CreateQuestionResultResponse1) GetQuestionResultOk() (*QuestionResult, bool)` - -GetQuestionResultOk returns a tuple with the QuestionResult field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionResult - -`func (o *CreateQuestionResultResponse1) SetQuestionResult(v QuestionResult)` - -SetQuestionResult sets QuestionResult field to given value. - - -### GetReason - -`func (o *CreateQuestionResultResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateQuestionResultResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateQuestionResultResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateQuestionResultResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateQuestionResultResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateQuestionResultResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateQuestionResultResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateQuestionResultResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateQuestionResultResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateQuestionResultResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateQuestionResultResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateQuestionResultResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateQuestionResultResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateQuestionResultResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateQuestionResultResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateQuestionResultResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateQuestionResultResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateQuestionResultResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateQuestionResultResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateQuestionResultResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateQuestionResultResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateQuestionResultResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateQuestionResultResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateQuestionResultResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateQuestionResultResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateQuestionResultResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantPackageResponse1.md b/client/docs/CreateTenantPackageResponse1.md deleted file mode 100644 index 17e1434..0000000 --- a/client/docs/CreateTenantPackageResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateTenantPackageResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantPackage** | [**TenantPackage**](TenantPackage.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateTenantPackageResponse1 - -`func NewCreateTenantPackageResponse1(status APIStatus, tenantPackage TenantPackage, reason string, code string, ) *CreateTenantPackageResponse1` - -NewCreateTenantPackageResponse1 instantiates a new CreateTenantPackageResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateTenantPackageResponse1WithDefaults - -`func NewCreateTenantPackageResponse1WithDefaults() *CreateTenantPackageResponse1` - -NewCreateTenantPackageResponse1WithDefaults instantiates a new CreateTenantPackageResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateTenantPackageResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateTenantPackageResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateTenantPackageResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantPackage - -`func (o *CreateTenantPackageResponse1) GetTenantPackage() TenantPackage` - -GetTenantPackage returns the TenantPackage field if non-nil, zero value otherwise. - -### GetTenantPackageOk - -`func (o *CreateTenantPackageResponse1) GetTenantPackageOk() (*TenantPackage, bool)` - -GetTenantPackageOk returns a tuple with the TenantPackage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantPackage - -`func (o *CreateTenantPackageResponse1) SetTenantPackage(v TenantPackage)` - -SetTenantPackage sets TenantPackage field to given value. - - -### GetReason - -`func (o *CreateTenantPackageResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateTenantPackageResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateTenantPackageResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateTenantPackageResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateTenantPackageResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateTenantPackageResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateTenantPackageResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateTenantPackageResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateTenantPackageResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateTenantPackageResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateTenantPackageResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateTenantPackageResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateTenantPackageResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateTenantPackageResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateTenantPackageResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateTenantPackageResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateTenantPackageResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateTenantPackageResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateTenantPackageResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateTenantPackageResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateTenantPackageResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateTenantPackageResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateTenantPackageResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateTenantPackageResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateTenantPackageResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateTenantPackageResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantResponse1.md b/client/docs/CreateTenantResponse1.md deleted file mode 100644 index b37ddd8..0000000 --- a/client/docs/CreateTenantResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateTenantResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Tenant** | [**APITenant**](APITenant.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateTenantResponse1 - -`func NewCreateTenantResponse1(status APIStatus, tenant APITenant, reason string, code string, ) *CreateTenantResponse1` - -NewCreateTenantResponse1 instantiates a new CreateTenantResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateTenantResponse1WithDefaults - -`func NewCreateTenantResponse1WithDefaults() *CreateTenantResponse1` - -NewCreateTenantResponse1WithDefaults instantiates a new CreateTenantResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateTenantResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateTenantResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateTenantResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenant - -`func (o *CreateTenantResponse1) GetTenant() APITenant` - -GetTenant returns the Tenant field if non-nil, zero value otherwise. - -### GetTenantOk - -`func (o *CreateTenantResponse1) GetTenantOk() (*APITenant, bool)` - -GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenant - -`func (o *CreateTenantResponse1) SetTenant(v APITenant)` - -SetTenant sets Tenant field to given value. - - -### GetReason - -`func (o *CreateTenantResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateTenantResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateTenantResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateTenantResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateTenantResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateTenantResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateTenantResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateTenantResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateTenantResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateTenantResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateTenantResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateTenantResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateTenantResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateTenantResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateTenantResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateTenantResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateTenantResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateTenantResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateTenantResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateTenantResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateTenantResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateTenantResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateTenantResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateTenantResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateTenantResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateTenantResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTenantUserResponse1.md b/client/docs/CreateTenantUserResponse1.md deleted file mode 100644 index a9e4821..0000000 --- a/client/docs/CreateTenantUserResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateTenantUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantUser** | [**User**](User.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateTenantUserResponse1 - -`func NewCreateTenantUserResponse1(status APIStatus, tenantUser User, reason string, code string, ) *CreateTenantUserResponse1` - -NewCreateTenantUserResponse1 instantiates a new CreateTenantUserResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateTenantUserResponse1WithDefaults - -`func NewCreateTenantUserResponse1WithDefaults() *CreateTenantUserResponse1` - -NewCreateTenantUserResponse1WithDefaults instantiates a new CreateTenantUserResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateTenantUserResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateTenantUserResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateTenantUserResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantUser - -`func (o *CreateTenantUserResponse1) GetTenantUser() User` - -GetTenantUser returns the TenantUser field if non-nil, zero value otherwise. - -### GetTenantUserOk - -`func (o *CreateTenantUserResponse1) GetTenantUserOk() (*User, bool)` - -GetTenantUserOk returns a tuple with the TenantUser field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantUser - -`func (o *CreateTenantUserResponse1) SetTenantUser(v User)` - -SetTenantUser sets TenantUser field to given value. - - -### GetReason - -`func (o *CreateTenantUserResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateTenantUserResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateTenantUserResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateTenantUserResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateTenantUserResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateTenantUserResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateTenantUserResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateTenantUserResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateTenantUserResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateTenantUserResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateTenantUserResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateTenantUserResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateTenantUserResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateTenantUserResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateTenantUserResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateTenantUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateTenantUserResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateTenantUserResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateTenantUserResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateTenantUserResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateTenantUserResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateTenantUserResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateTenantUserResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateTenantUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateTenantUserResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateTenantUserResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateTicketResponse1.md b/client/docs/CreateTicketResponse1.md deleted file mode 100644 index 391129e..0000000 --- a/client/docs/CreateTicketResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# CreateTicketResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Ticket** | [**APITicket**](APITicket.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateTicketResponse1 - -`func NewCreateTicketResponse1(status APIStatus, ticket APITicket, reason string, code string, ) *CreateTicketResponse1` - -NewCreateTicketResponse1 instantiates a new CreateTicketResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateTicketResponse1WithDefaults - -`func NewCreateTicketResponse1WithDefaults() *CreateTicketResponse1` - -NewCreateTicketResponse1WithDefaults instantiates a new CreateTicketResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateTicketResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateTicketResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateTicketResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTicket - -`func (o *CreateTicketResponse1) GetTicket() APITicket` - -GetTicket returns the Ticket field if non-nil, zero value otherwise. - -### GetTicketOk - -`func (o *CreateTicketResponse1) GetTicketOk() (*APITicket, bool)` - -GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTicket - -`func (o *CreateTicketResponse1) SetTicket(v APITicket)` - -SetTicket sets Ticket field to given value. - - -### GetReason - -`func (o *CreateTicketResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateTicketResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateTicketResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateTicketResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateTicketResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateTicketResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateTicketResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateTicketResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateTicketResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateTicketResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateTicketResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateTicketResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateTicketResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateTicketResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateTicketResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateTicketResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateTicketResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateTicketResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateTicketResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateTicketResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateTicketResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateTicketResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateTicketResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateTicketResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateTicketResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateTicketResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateUserBadgeResponse.md b/client/docs/CreateUserBadgeResponse.md deleted file mode 100644 index d92583e..0000000 --- a/client/docs/CreateUserBadgeResponse.md +++ /dev/null @@ -1,270 +0,0 @@ -# CreateUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadge** | [**UserBadge**](UserBadge.md) | | -**Notes** | Pointer to **[]string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateUserBadgeResponse - -`func NewCreateUserBadgeResponse(status APIStatus, userBadge UserBadge, reason string, code string, ) *CreateUserBadgeResponse` - -NewCreateUserBadgeResponse instantiates a new CreateUserBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateUserBadgeResponseWithDefaults - -`func NewCreateUserBadgeResponseWithDefaults() *CreateUserBadgeResponse` - -NewCreateUserBadgeResponseWithDefaults instantiates a new CreateUserBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateUserBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateUserBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadge - -`func (o *CreateUserBadgeResponse) GetUserBadge() UserBadge` - -GetUserBadge returns the UserBadge field if non-nil, zero value otherwise. - -### GetUserBadgeOk - -`func (o *CreateUserBadgeResponse) GetUserBadgeOk() (*UserBadge, bool)` - -GetUserBadgeOk returns a tuple with the UserBadge field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadge - -`func (o *CreateUserBadgeResponse) SetUserBadge(v UserBadge)` - -SetUserBadge sets UserBadge field to given value. - - -### GetNotes - -`func (o *CreateUserBadgeResponse) GetNotes() []string` - -GetNotes returns the Notes field if non-nil, zero value otherwise. - -### GetNotesOk - -`func (o *CreateUserBadgeResponse) GetNotesOk() (*[]string, bool)` - -GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotes - -`func (o *CreateUserBadgeResponse) SetNotes(v []string)` - -SetNotes sets Notes field to given value. - -### HasNotes - -`func (o *CreateUserBadgeResponse) HasNotes() bool` - -HasNotes returns a boolean if a field has been set. - -### GetReason - -`func (o *CreateUserBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateUserBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateUserBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateUserBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateUserBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateUserBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateUserBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateUserBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateUserBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateUserBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateUserBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateUserBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateUserBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateUserBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateUserBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateUserBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateUserBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateUserBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateUserBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateUserBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV1PageReactResponse.md b/client/docs/CreateV1PageReactResponse.md deleted file mode 100644 index 14c89f8..0000000 --- a/client/docs/CreateV1PageReactResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# CreateV1PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Code** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateV1PageReactResponse - -`func NewCreateV1PageReactResponse(code string, status APIStatus, reason string, ) *CreateV1PageReactResponse` - -NewCreateV1PageReactResponse instantiates a new CreateV1PageReactResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateV1PageReactResponseWithDefaults - -`func NewCreateV1PageReactResponseWithDefaults() *CreateV1PageReactResponse` - -NewCreateV1PageReactResponseWithDefaults instantiates a new CreateV1PageReactResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCode - -`func (o *CreateV1PageReactResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateV1PageReactResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateV1PageReactResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetStatus - -`func (o *CreateV1PageReactResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateV1PageReactResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateV1PageReactResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *CreateV1PageReactResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateV1PageReactResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateV1PageReactResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *CreateV1PageReactResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateV1PageReactResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateV1PageReactResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateV1PageReactResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateV1PageReactResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateV1PageReactResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateV1PageReactResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateV1PageReactResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateV1PageReactResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateV1PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateV1PageReactResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateV1PageReactResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateV1PageReactResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateV1PageReactResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateV1PageReactResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateV1PageReactResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateV1PageReactResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateV1PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateV1PageReactResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateV1PageReactResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateV2PageReactResponse.md b/client/docs/CreateV2PageReactResponse.md deleted file mode 100644 index d621943..0000000 --- a/client/docs/CreateV2PageReactResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# CreateV2PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Code** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateV2PageReactResponse - -`func NewCreateV2PageReactResponse(code string, status APIStatus, reason string, ) *CreateV2PageReactResponse` - -NewCreateV2PageReactResponse instantiates a new CreateV2PageReactResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateV2PageReactResponseWithDefaults - -`func NewCreateV2PageReactResponseWithDefaults() *CreateV2PageReactResponse` - -NewCreateV2PageReactResponseWithDefaults instantiates a new CreateV2PageReactResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCode - -`func (o *CreateV2PageReactResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateV2PageReactResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateV2PageReactResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetStatus - -`func (o *CreateV2PageReactResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateV2PageReactResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateV2PageReactResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *CreateV2PageReactResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateV2PageReactResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateV2PageReactResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *CreateV2PageReactResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateV2PageReactResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateV2PageReactResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateV2PageReactResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateV2PageReactResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateV2PageReactResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateV2PageReactResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateV2PageReactResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateV2PageReactResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateV2PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateV2PageReactResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateV2PageReactResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateV2PageReactResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateV2PageReactResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateV2PageReactResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateV2PageReactResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateV2PageReactResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateV2PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateV2PageReactResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateV2PageReactResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/CreateVoteResponse.md b/client/docs/CreateVoteResponse.md deleted file mode 100644 index b0a43be..0000000 --- a/client/docs/CreateVoteResponse.md +++ /dev/null @@ -1,327 +0,0 @@ -# CreateVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**VoteId** | Pointer to **string** | | [optional] -**IsVerified** | Pointer to **bool** | | [optional] -**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**EditKey** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewCreateVoteResponse - -`func NewCreateVoteResponse(status APIStatus, reason string, code string, ) *CreateVoteResponse` - -NewCreateVoteResponse instantiates a new CreateVoteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCreateVoteResponseWithDefaults - -`func NewCreateVoteResponseWithDefaults() *CreateVoteResponse` - -NewCreateVoteResponseWithDefaults instantiates a new CreateVoteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *CreateVoteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CreateVoteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CreateVoteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetVoteId - -`func (o *CreateVoteResponse) GetVoteId() string` - -GetVoteId returns the VoteId field if non-nil, zero value otherwise. - -### GetVoteIdOk - -`func (o *CreateVoteResponse) GetVoteIdOk() (*string, bool)` - -GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVoteId - -`func (o *CreateVoteResponse) SetVoteId(v string)` - -SetVoteId sets VoteId field to given value. - -### HasVoteId - -`func (o *CreateVoteResponse) HasVoteId() bool` - -HasVoteId returns a boolean if a field has been set. - -### GetIsVerified - -`func (o *CreateVoteResponse) GetIsVerified() bool` - -GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. - -### GetIsVerifiedOk - -`func (o *CreateVoteResponse) GetIsVerifiedOk() (*bool, bool)` - -GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsVerified - -`func (o *CreateVoteResponse) SetIsVerified(v bool)` - -SetIsVerified sets IsVerified field to given value. - -### HasIsVerified - -`func (o *CreateVoteResponse) HasIsVerified() bool` - -HasIsVerified returns a boolean if a field has been set. - -### GetUser - -`func (o *CreateVoteResponse) GetUser() VoteResponseUser` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *CreateVoteResponse) GetUserOk() (*VoteResponseUser, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *CreateVoteResponse) SetUser(v VoteResponseUser)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *CreateVoteResponse) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetEditKey - -`func (o *CreateVoteResponse) GetEditKey() string` - -GetEditKey returns the EditKey field if non-nil, zero value otherwise. - -### GetEditKeyOk - -`func (o *CreateVoteResponse) GetEditKeyOk() (*string, bool)` - -GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEditKey - -`func (o *CreateVoteResponse) SetEditKey(v string)` - -SetEditKey sets EditKey field to given value. - -### HasEditKey - -`func (o *CreateVoteResponse) HasEditKey() bool` - -HasEditKey returns a boolean if a field has been set. - -### GetReason - -`func (o *CreateVoteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *CreateVoteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *CreateVoteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *CreateVoteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *CreateVoteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *CreateVoteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *CreateVoteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *CreateVoteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *CreateVoteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *CreateVoteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *CreateVoteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *CreateVoteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *CreateVoteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *CreateVoteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *CreateVoteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *CreateVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *CreateVoteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *CreateVoteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *CreateVoteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *CreateVoteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *CreateVoteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *CreateVoteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *CreateVoteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *CreateVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *CreateVoteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *CreateVoteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index 04a05b6..fdbe0e8 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -189,7 +189,7 @@ Name | Type | Description | Notes ## AddHashTag -> AddHashTagResponse AddHashTag(ctx).TenantId(tenantId).CreateHashTagBody(createHashTagBody).Execute() +> CreateHashTagResponse AddHashTag(ctx).TenantId(tenantId).CreateHashTagBody(createHashTagBody).Execute() @@ -216,7 +216,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AddHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AddHashTag`: AddHashTagResponse + // response from `AddHashTag`: CreateHashTagResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AddHashTag`: %v\n", resp) } ``` @@ -237,7 +237,7 @@ Name | Type | Description | Notes ### Return type -[**AddHashTagResponse**](AddHashTagResponse.md) +[**CreateHashTagResponse**](CreateHashTagResponse.md) ### Authorization @@ -255,7 +255,7 @@ Name | Type | Description | Notes ## AddHashTagsBulk -> AddHashTagsBulkResponse AddHashTagsBulk(ctx).TenantId(tenantId).BulkCreateHashTagsBody(bulkCreateHashTagsBody).Execute() +> BulkCreateHashTagsResponse AddHashTagsBulk(ctx).TenantId(tenantId).BulkCreateHashTagsBody(bulkCreateHashTagsBody).Execute() @@ -282,7 +282,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AddHashTagsBulk``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AddHashTagsBulk`: AddHashTagsBulkResponse + // response from `AddHashTagsBulk`: BulkCreateHashTagsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AddHashTagsBulk`: %v\n", resp) } ``` @@ -303,7 +303,7 @@ Name | Type | Description | Notes ### Return type -[**AddHashTagsBulkResponse**](AddHashTagsBulkResponse.md) +[**BulkCreateHashTagsResponse**](BulkCreateHashTagsResponse.md) ### Authorization @@ -525,7 +525,7 @@ Name | Type | Description | Notes ## AggregateQuestionResults -> AggregateQuestionResultsResponse1 AggregateQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).TimeBucket(timeBucket).StartDate(startDate).ForceRecalculate(forceRecalculate).Execute() +> AggregateQuestionResultsResponse AggregateQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).TimeBucket(timeBucket).StartDate(startDate).ForceRecalculate(forceRecalculate).Execute() @@ -558,7 +558,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.AggregateQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AggregateQuestionResults`: AggregateQuestionResultsResponse1 + // response from `AggregateQuestionResults`: AggregateQuestionResultsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.AggregateQuestionResults`: %v\n", resp) } ``` @@ -584,7 +584,7 @@ Name | Type | Description | Notes ### Return type -[**AggregateQuestionResultsResponse1**](AggregateQuestionResultsResponse1.md) +[**AggregateQuestionResultsResponse**](AggregateQuestionResultsResponse.md) ### Authorization @@ -602,7 +602,7 @@ Name | Type | Description | Notes ## BlockUserFromComment -> BlockUserFromCommentResponse BlockUserFromComment(ctx, id).TenantId(tenantId).BlockFromCommentParams(blockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() +> BlockSuccess BlockUserFromComment(ctx, id).TenantId(tenantId).BlockFromCommentParams(blockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() @@ -632,7 +632,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.BlockUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BlockUserFromComment`: BlockUserFromCommentResponse + // response from `BlockUserFromComment`: BlockSuccess fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.BlockUserFromComment`: %v\n", resp) } ``` @@ -660,7 +660,7 @@ Name | Type | Description | Notes ### Return type -[**BlockUserFromCommentResponse**](BlockUserFromCommentResponse.md) +[**BlockSuccess**](BlockSuccess.md) ### Authorization @@ -678,7 +678,7 @@ Name | Type | Description | Notes ## BulkAggregateQuestionResults -> BulkAggregateQuestionResultsResponse1 BulkAggregateQuestionResults(ctx).TenantId(tenantId).BulkAggregateQuestionResultsRequest(bulkAggregateQuestionResultsRequest).ForceRecalculate(forceRecalculate).Execute() +> BulkAggregateQuestionResultsResponse BulkAggregateQuestionResults(ctx).TenantId(tenantId).BulkAggregateQuestionResultsRequest(bulkAggregateQuestionResultsRequest).ForceRecalculate(forceRecalculate).Execute() @@ -706,7 +706,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.BulkAggregateQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BulkAggregateQuestionResults`: BulkAggregateQuestionResultsResponse1 + // response from `BulkAggregateQuestionResults`: BulkAggregateQuestionResultsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.BulkAggregateQuestionResults`: %v\n", resp) } ``` @@ -728,7 +728,7 @@ Name | Type | Description | Notes ### Return type -[**BulkAggregateQuestionResultsResponse1**](BulkAggregateQuestionResultsResponse1.md) +[**BulkAggregateQuestionResultsResponse**](BulkAggregateQuestionResultsResponse.md) ### Authorization @@ -746,7 +746,7 @@ Name | Type | Description | Notes ## ChangeTicketState -> ChangeTicketStateResponse1 ChangeTicketState(ctx, id).TenantId(tenantId).UserId(userId).ChangeTicketStateBody(changeTicketStateBody).Execute() +> ChangeTicketStateResponse ChangeTicketState(ctx, id).TenantId(tenantId).UserId(userId).ChangeTicketStateBody(changeTicketStateBody).Execute() @@ -775,7 +775,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ChangeTicketState``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ChangeTicketState`: ChangeTicketStateResponse1 + // response from `ChangeTicketState`: ChangeTicketStateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ChangeTicketState`: %v\n", resp) } ``` @@ -802,7 +802,7 @@ Name | Type | Description | Notes ### Return type -[**ChangeTicketStateResponse1**](ChangeTicketStateResponse1.md) +[**ChangeTicketStateResponse**](ChangeTicketStateResponse.md) ### Authorization @@ -820,7 +820,7 @@ Name | Type | Description | Notes ## CombineCommentsWithQuestionResults -> CombineCommentsWithQuestionResultsResponse CombineCommentsWithQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).StartDate(startDate).ForceRecalculate(forceRecalculate).MinValue(minValue).MaxValue(maxValue).Limit(limit).Execute() +> CombineQuestionResultsWithCommentsResponse CombineCommentsWithQuestionResults(ctx).TenantId(tenantId).QuestionId(questionId).QuestionIds(questionIds).UrlId(urlId).StartDate(startDate).ForceRecalculate(forceRecalculate).MinValue(minValue).MaxValue(maxValue).Limit(limit).Execute() @@ -855,7 +855,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CombineCommentsWithQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CombineCommentsWithQuestionResults`: CombineCommentsWithQuestionResultsResponse + // response from `CombineCommentsWithQuestionResults`: CombineQuestionResultsWithCommentsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CombineCommentsWithQuestionResults`: %v\n", resp) } ``` @@ -883,7 +883,7 @@ Name | Type | Description | Notes ### Return type -[**CombineCommentsWithQuestionResultsResponse**](CombineCommentsWithQuestionResultsResponse.md) +[**CombineQuestionResultsWithCommentsResponse**](CombineQuestionResultsWithCommentsResponse.md) ### Authorization @@ -901,7 +901,7 @@ Name | Type | Description | Notes ## CreateEmailTemplate -> CreateEmailTemplateResponse1 CreateEmailTemplate(ctx).TenantId(tenantId).CreateEmailTemplateBody(createEmailTemplateBody).Execute() +> CreateEmailTemplateResponse CreateEmailTemplate(ctx).TenantId(tenantId).CreateEmailTemplateBody(createEmailTemplateBody).Execute() @@ -928,7 +928,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateEmailTemplate`: CreateEmailTemplateResponse1 + // response from `CreateEmailTemplate`: CreateEmailTemplateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateEmailTemplate`: %v\n", resp) } ``` @@ -949,7 +949,7 @@ Name | Type | Description | Notes ### Return type -[**CreateEmailTemplateResponse1**](CreateEmailTemplateResponse1.md) +[**CreateEmailTemplateResponse**](CreateEmailTemplateResponse.md) ### Authorization @@ -967,7 +967,7 @@ Name | Type | Description | Notes ## CreateFeedPost -> CreateFeedPostResponse1 CreateFeedPost(ctx).TenantId(tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).IsLive(isLive).DoSpamCheck(doSpamCheck).SkipDupCheck(skipDupCheck).Execute() +> CreateFeedPostsResponse CreateFeedPost(ctx).TenantId(tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).IsLive(isLive).DoSpamCheck(doSpamCheck).SkipDupCheck(skipDupCheck).Execute() @@ -998,7 +998,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateFeedPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateFeedPost`: CreateFeedPostResponse1 + // response from `CreateFeedPost`: CreateFeedPostsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateFeedPost`: %v\n", resp) } ``` @@ -1023,7 +1023,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostResponse1**](CreateFeedPostResponse1.md) +[**CreateFeedPostsResponse**](CreateFeedPostsResponse.md) ### Authorization @@ -1041,7 +1041,7 @@ Name | Type | Description | Notes ## CreateModerator -> CreateModeratorResponse1 CreateModerator(ctx).TenantId(tenantId).CreateModeratorBody(createModeratorBody).Execute() +> CreateModeratorResponse CreateModerator(ctx).TenantId(tenantId).CreateModeratorBody(createModeratorBody).Execute() @@ -1068,7 +1068,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateModerator`: CreateModeratorResponse1 + // response from `CreateModerator`: CreateModeratorResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateModerator`: %v\n", resp) } ``` @@ -1089,7 +1089,7 @@ Name | Type | Description | Notes ### Return type -[**CreateModeratorResponse1**](CreateModeratorResponse1.md) +[**CreateModeratorResponse**](CreateModeratorResponse.md) ### Authorization @@ -1107,7 +1107,7 @@ Name | Type | Description | Notes ## CreateQuestionConfig -> CreateQuestionConfigResponse1 CreateQuestionConfig(ctx).TenantId(tenantId).CreateQuestionConfigBody(createQuestionConfigBody).Execute() +> CreateQuestionConfigResponse CreateQuestionConfig(ctx).TenantId(tenantId).CreateQuestionConfigBody(createQuestionConfigBody).Execute() @@ -1134,7 +1134,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateQuestionConfig`: CreateQuestionConfigResponse1 + // response from `CreateQuestionConfig`: CreateQuestionConfigResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateQuestionConfig`: %v\n", resp) } ``` @@ -1155,7 +1155,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionConfigResponse1**](CreateQuestionConfigResponse1.md) +[**CreateQuestionConfigResponse**](CreateQuestionConfigResponse.md) ### Authorization @@ -1173,7 +1173,7 @@ Name | Type | Description | Notes ## CreateQuestionResult -> CreateQuestionResultResponse1 CreateQuestionResult(ctx).TenantId(tenantId).CreateQuestionResultBody(createQuestionResultBody).Execute() +> CreateQuestionResultResponse CreateQuestionResult(ctx).TenantId(tenantId).CreateQuestionResultBody(createQuestionResultBody).Execute() @@ -1200,7 +1200,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateQuestionResult`: CreateQuestionResultResponse1 + // response from `CreateQuestionResult`: CreateQuestionResultResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateQuestionResult`: %v\n", resp) } ``` @@ -1221,7 +1221,7 @@ Name | Type | Description | Notes ### Return type -[**CreateQuestionResultResponse1**](CreateQuestionResultResponse1.md) +[**CreateQuestionResultResponse**](CreateQuestionResultResponse.md) ### Authorization @@ -1305,7 +1305,7 @@ Name | Type | Description | Notes ## CreateTenant -> CreateTenantResponse1 CreateTenant(ctx).TenantId(tenantId).CreateTenantBody(createTenantBody).Execute() +> CreateTenantResponse CreateTenant(ctx).TenantId(tenantId).CreateTenantBody(createTenantBody).Execute() @@ -1333,7 +1333,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenant`: CreateTenantResponse1 + // response from `CreateTenant`: CreateTenantResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenant`: %v\n", resp) } ``` @@ -1354,7 +1354,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantResponse1**](CreateTenantResponse1.md) +[**CreateTenantResponse**](CreateTenantResponse.md) ### Authorization @@ -1372,7 +1372,7 @@ Name | Type | Description | Notes ## CreateTenantPackage -> CreateTenantPackageResponse1 CreateTenantPackage(ctx).TenantId(tenantId).CreateTenantPackageBody(createTenantPackageBody).Execute() +> CreateTenantPackageResponse CreateTenantPackage(ctx).TenantId(tenantId).CreateTenantPackageBody(createTenantPackageBody).Execute() @@ -1399,7 +1399,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenantPackage`: CreateTenantPackageResponse1 + // response from `CreateTenantPackage`: CreateTenantPackageResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenantPackage`: %v\n", resp) } ``` @@ -1420,7 +1420,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantPackageResponse1**](CreateTenantPackageResponse1.md) +[**CreateTenantPackageResponse**](CreateTenantPackageResponse.md) ### Authorization @@ -1438,7 +1438,7 @@ Name | Type | Description | Notes ## CreateTenantUser -> CreateTenantUserResponse1 CreateTenantUser(ctx).TenantId(tenantId).CreateTenantUserBody(createTenantUserBody).Execute() +> CreateTenantUserResponse CreateTenantUser(ctx).TenantId(tenantId).CreateTenantUserBody(createTenantUserBody).Execute() @@ -1465,7 +1465,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTenantUser`: CreateTenantUserResponse1 + // response from `CreateTenantUser`: CreateTenantUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTenantUser`: %v\n", resp) } ``` @@ -1486,7 +1486,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTenantUserResponse1**](CreateTenantUserResponse1.md) +[**CreateTenantUserResponse**](CreateTenantUserResponse.md) ### Authorization @@ -1504,7 +1504,7 @@ Name | Type | Description | Notes ## CreateTicket -> CreateTicketResponse1 CreateTicket(ctx).TenantId(tenantId).UserId(userId).CreateTicketBody(createTicketBody).Execute() +> CreateTicketResponse CreateTicket(ctx).TenantId(tenantId).UserId(userId).CreateTicketBody(createTicketBody).Execute() @@ -1532,7 +1532,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateTicket``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateTicket`: CreateTicketResponse1 + // response from `CreateTicket`: CreateTicketResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateTicket`: %v\n", resp) } ``` @@ -1554,7 +1554,7 @@ Name | Type | Description | Notes ### Return type -[**CreateTicketResponse1**](CreateTicketResponse1.md) +[**CreateTicketResponse**](CreateTicketResponse.md) ### Authorization @@ -1572,7 +1572,7 @@ Name | Type | Description | Notes ## CreateUserBadge -> CreateUserBadgeResponse CreateUserBadge(ctx).TenantId(tenantId).CreateUserBadgeParams(createUserBadgeParams).Execute() +> APICreateUserBadgeResponse CreateUserBadge(ctx).TenantId(tenantId).CreateUserBadgeParams(createUserBadgeParams).Execute() @@ -1599,7 +1599,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateUserBadge`: CreateUserBadgeResponse + // response from `CreateUserBadge`: APICreateUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateUserBadge`: %v\n", resp) } ``` @@ -1620,7 +1620,7 @@ Name | Type | Description | Notes ### Return type -[**CreateUserBadgeResponse**](CreateUserBadgeResponse.md) +[**APICreateUserBadgeResponse**](APICreateUserBadgeResponse.md) ### Authorization @@ -1638,7 +1638,7 @@ Name | Type | Description | Notes ## CreateVote -> CreateVoteResponse CreateVote(ctx).TenantId(tenantId).CommentId(commentId).Direction(direction).UserId(userId).AnonUserId(anonUserId).Execute() +> VoteResponse CreateVote(ctx).TenantId(tenantId).CommentId(commentId).Direction(direction).UserId(userId).AnonUserId(anonUserId).Execute() @@ -1668,7 +1668,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.CreateVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateVote`: CreateVoteResponse + // response from `CreateVote`: VoteResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.CreateVote`: %v\n", resp) } ``` @@ -1692,7 +1692,7 @@ Name | Type | Description | Notes ### Return type -[**CreateVoteResponse**](CreateVoteResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization @@ -1710,7 +1710,7 @@ Name | Type | Description | Notes ## DeleteComment -> DeleteCommentResponse DeleteComment(ctx, id).TenantId(tenantId).ContextUserId(contextUserId).IsLive(isLive).Execute() +> DeleteCommentResult DeleteComment(ctx, id).TenantId(tenantId).ContextUserId(contextUserId).IsLive(isLive).Execute() @@ -1739,7 +1739,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteComment`: DeleteCommentResponse + // response from `DeleteComment`: DeleteCommentResult fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteComment`: %v\n", resp) } ``` @@ -1766,7 +1766,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentResponse**](DeleteCommentResponse.md) +[**DeleteCommentResult**](DeleteCommentResult.md) ### Authorization @@ -1854,7 +1854,7 @@ Name | Type | Description | Notes ## DeleteEmailTemplate -> DeleteEmailTemplateResponse DeleteEmailTemplate(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteEmailTemplate(ctx, id).TenantId(tenantId).Execute() @@ -1881,7 +1881,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteEmailTemplate`: DeleteEmailTemplateResponse + // response from `DeleteEmailTemplate`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteEmailTemplate`: %v\n", resp) } ``` @@ -1906,7 +1906,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteEmailTemplateResponse**](DeleteEmailTemplateResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1924,7 +1924,7 @@ Name | Type | Description | Notes ## DeleteEmailTemplateRenderError -> DeleteEmailTemplateRenderErrorResponse DeleteEmailTemplateRenderError(ctx, id, errorId).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteEmailTemplateRenderError(ctx, id, errorId).TenantId(tenantId).Execute() @@ -1952,7 +1952,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteEmailTemplateRenderError``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteEmailTemplateRenderError`: DeleteEmailTemplateRenderErrorResponse + // response from `DeleteEmailTemplateRenderError`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteEmailTemplateRenderError`: %v\n", resp) } ``` @@ -1979,7 +1979,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteEmailTemplateRenderErrorResponse**](DeleteEmailTemplateRenderErrorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -1997,7 +1997,7 @@ Name | Type | Description | Notes ## DeleteHashTag -> DeleteHashTagResponse DeleteHashTag(ctx, tag).TenantId(tenantId).DeleteHashTagRequestBody(deleteHashTagRequestBody).Execute() +> APIEmptyResponse DeleteHashTag(ctx, tag).TenantId(tenantId).DeleteHashTagRequestBody(deleteHashTagRequestBody).Execute() @@ -2025,7 +2025,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteHashTag`: DeleteHashTagResponse + // response from `DeleteHashTag`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteHashTag`: %v\n", resp) } ``` @@ -2051,7 +2051,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteHashTagResponse**](DeleteHashTagResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2069,7 +2069,7 @@ Name | Type | Description | Notes ## DeleteModerator -> DeleteModeratorResponse DeleteModerator(ctx, id).TenantId(tenantId).SendEmail(sendEmail).Execute() +> APIEmptyResponse DeleteModerator(ctx, id).TenantId(tenantId).SendEmail(sendEmail).Execute() @@ -2097,7 +2097,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteModerator`: DeleteModeratorResponse + // response from `DeleteModerator`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteModerator`: %v\n", resp) } ``` @@ -2123,7 +2123,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteModeratorResponse**](DeleteModeratorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2141,7 +2141,7 @@ Name | Type | Description | Notes ## DeleteNotificationCount -> DeleteNotificationCountResponse DeleteNotificationCount(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteNotificationCount(ctx, id).TenantId(tenantId).Execute() @@ -2168,7 +2168,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteNotificationCount`: DeleteNotificationCountResponse + // response from `DeleteNotificationCount`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteNotificationCount`: %v\n", resp) } ``` @@ -2193,7 +2193,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteNotificationCountResponse**](DeleteNotificationCountResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2281,7 +2281,7 @@ Name | Type | Description | Notes ## DeletePendingWebhookEvent -> DeletePendingWebhookEventResponse DeletePendingWebhookEvent(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeletePendingWebhookEvent(ctx, id).TenantId(tenantId).Execute() @@ -2308,7 +2308,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeletePendingWebhookEvent``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeletePendingWebhookEvent`: DeletePendingWebhookEventResponse + // response from `DeletePendingWebhookEvent`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeletePendingWebhookEvent`: %v\n", resp) } ``` @@ -2333,7 +2333,7 @@ Name | Type | Description | Notes ### Return type -[**DeletePendingWebhookEventResponse**](DeletePendingWebhookEventResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2351,7 +2351,7 @@ Name | Type | Description | Notes ## DeleteQuestionConfig -> DeleteQuestionConfigResponse DeleteQuestionConfig(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteQuestionConfig(ctx, id).TenantId(tenantId).Execute() @@ -2378,7 +2378,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteQuestionConfig`: DeleteQuestionConfigResponse + // response from `DeleteQuestionConfig`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteQuestionConfig`: %v\n", resp) } ``` @@ -2403,7 +2403,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteQuestionConfigResponse**](DeleteQuestionConfigResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2421,7 +2421,7 @@ Name | Type | Description | Notes ## DeleteQuestionResult -> DeleteQuestionResultResponse DeleteQuestionResult(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteQuestionResult(ctx, id).TenantId(tenantId).Execute() @@ -2448,7 +2448,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteQuestionResult`: DeleteQuestionResultResponse + // response from `DeleteQuestionResult`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteQuestionResult`: %v\n", resp) } ``` @@ -2473,7 +2473,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteQuestionResultResponse**](DeleteQuestionResultResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2637,7 +2637,7 @@ Name | Type | Description | Notes ## DeleteTenant -> DeleteTenantResponse DeleteTenant(ctx, id).TenantId(tenantId).Sure(sure).Execute() +> APIEmptyResponse DeleteTenant(ctx, id).TenantId(tenantId).Sure(sure).Execute() @@ -2665,7 +2665,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenant`: DeleteTenantResponse + // response from `DeleteTenant`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenant`: %v\n", resp) } ``` @@ -2691,7 +2691,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantResponse**](DeleteTenantResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2709,7 +2709,7 @@ Name | Type | Description | Notes ## DeleteTenantPackage -> DeleteTenantPackageResponse DeleteTenantPackage(ctx, id).TenantId(tenantId).Execute() +> APIEmptyResponse DeleteTenantPackage(ctx, id).TenantId(tenantId).Execute() @@ -2736,7 +2736,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenantPackage`: DeleteTenantPackageResponse + // response from `DeleteTenantPackage`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenantPackage`: %v\n", resp) } ``` @@ -2761,7 +2761,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantPackageResponse**](DeleteTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2779,7 +2779,7 @@ Name | Type | Description | Notes ## DeleteTenantUser -> DeleteTenantUserResponse DeleteTenantUser(ctx, id).TenantId(tenantId).DeleteComments(deleteComments).CommentDeleteMode(commentDeleteMode).Execute() +> APIEmptyResponse DeleteTenantUser(ctx, id).TenantId(tenantId).DeleteComments(deleteComments).CommentDeleteMode(commentDeleteMode).Execute() @@ -2808,7 +2808,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteTenantUser`: DeleteTenantUserResponse + // response from `DeleteTenantUser`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteTenantUser`: %v\n", resp) } ``` @@ -2835,7 +2835,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteTenantUserResponse**](DeleteTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2853,7 +2853,7 @@ Name | Type | Description | Notes ## DeleteUserBadge -> DeleteUserBadgeResponse DeleteUserBadge(ctx, id).TenantId(tenantId).Execute() +> APIEmptySuccessResponse DeleteUserBadge(ctx, id).TenantId(tenantId).Execute() @@ -2880,7 +2880,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteUserBadge`: DeleteUserBadgeResponse + // response from `DeleteUserBadge`: APIEmptySuccessResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteUserBadge`: %v\n", resp) } ``` @@ -2905,7 +2905,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteUserBadgeResponse**](DeleteUserBadgeResponse.md) +[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization @@ -2923,7 +2923,7 @@ Name | Type | Description | Notes ## DeleteVote -> DeleteVoteResponse DeleteVote(ctx, id).TenantId(tenantId).EditKey(editKey).Execute() +> VoteDeleteResponse DeleteVote(ctx, id).TenantId(tenantId).EditKey(editKey).Execute() @@ -2951,7 +2951,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.DeleteVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteVote`: DeleteVoteResponse + // response from `DeleteVote`: VoteDeleteResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.DeleteVote`: %v\n", resp) } ``` @@ -2977,7 +2977,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteVoteResponse**](DeleteVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -2995,7 +2995,7 @@ Name | Type | Description | Notes ## FlagComment -> FlagCommentResponse1 FlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() +> FlagCommentResponse FlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -3024,7 +3024,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.FlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FlagComment`: FlagCommentResponse1 + // response from `FlagComment`: FlagCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.FlagComment`: %v\n", resp) } ``` @@ -3051,7 +3051,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentResponse1**](FlagCommentResponse1.md) +[**FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -3069,7 +3069,7 @@ Name | Type | Description | Notes ## GetAuditLogs -> GetAuditLogsResponse1 GetAuditLogs(ctx).TenantId(tenantId).Limit(limit).Skip(skip).Order(order).After(after).Before(before).Execute() +> GetAuditLogsResponse GetAuditLogs(ctx).TenantId(tenantId).Limit(limit).Skip(skip).Order(order).After(after).Before(before).Execute() @@ -3100,7 +3100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetAuditLogs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetAuditLogs`: GetAuditLogsResponse1 + // response from `GetAuditLogs`: GetAuditLogsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetAuditLogs`: %v\n", resp) } ``` @@ -3125,7 +3125,7 @@ Name | Type | Description | Notes ### Return type -[**GetAuditLogsResponse1**](GetAuditLogsResponse1.md) +[**GetAuditLogsResponse**](GetAuditLogsResponse.md) ### Authorization @@ -3143,7 +3143,7 @@ Name | Type | Description | Notes ## GetCachedNotificationCount -> GetCachedNotificationCountResponse1 GetCachedNotificationCount(ctx, id).TenantId(tenantId).Execute() +> GetCachedNotificationCountResponse GetCachedNotificationCount(ctx, id).TenantId(tenantId).Execute() @@ -3170,7 +3170,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetCachedNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCachedNotificationCount`: GetCachedNotificationCountResponse1 + // response from `GetCachedNotificationCount`: GetCachedNotificationCountResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetCachedNotificationCount`: %v\n", resp) } ``` @@ -3195,7 +3195,7 @@ Name | Type | Description | Notes ### Return type -[**GetCachedNotificationCountResponse1**](GetCachedNotificationCountResponse1.md) +[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md) ### Authorization @@ -3213,7 +3213,7 @@ Name | Type | Description | Notes ## GetComment -> GetCommentResponse GetComment(ctx, id).TenantId(tenantId).Execute() +> APIGetCommentResponse GetComment(ctx, id).TenantId(tenantId).Execute() @@ -3240,7 +3240,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetComment`: GetCommentResponse + // response from `GetComment`: APIGetCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetComment`: %v\n", resp) } ``` @@ -3265,7 +3265,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentResponse**](GetCommentResponse.md) +[**APIGetCommentResponse**](APIGetCommentResponse.md) ### Authorization @@ -3283,7 +3283,7 @@ Name | Type | Description | Notes ## GetComments -> GetCommentsResponse GetComments(ctx).TenantId(tenantId).Page(page).Limit(limit).Skip(skip).AsTree(asTree).SkipChildren(skipChildren).LimitChildren(limitChildren).MaxTreeDepth(maxTreeDepth).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).ContextUserId(contextUserId).HashTag(hashTag).ParentId(parentId).Direction(direction).FromDate(fromDate).ToDate(toDate).Execute() +> APIGetCommentsResponse GetComments(ctx).TenantId(tenantId).Page(page).Limit(limit).Skip(skip).AsTree(asTree).SkipChildren(skipChildren).LimitChildren(limitChildren).MaxTreeDepth(maxTreeDepth).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).ContextUserId(contextUserId).HashTag(hashTag).ParentId(parentId).Direction(direction).FromDate(fromDate).ToDate(toDate).Execute() @@ -3325,7 +3325,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetComments``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetComments`: GetCommentsResponse + // response from `GetComments`: APIGetCommentsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetComments`: %v\n", resp) } ``` @@ -3361,7 +3361,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsResponse**](GetCommentsResponse.md) +[**APIGetCommentsResponse**](APIGetCommentsResponse.md) ### Authorization @@ -3513,7 +3513,7 @@ Name | Type | Description | Notes ## GetEmailTemplate -> GetEmailTemplateResponse1 GetEmailTemplate(ctx, id).TenantId(tenantId).Execute() +> GetEmailTemplateResponse GetEmailTemplate(ctx, id).TenantId(tenantId).Execute() @@ -3540,7 +3540,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplate`: GetEmailTemplateResponse1 + // response from `GetEmailTemplate`: GetEmailTemplateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplate`: %v\n", resp) } ``` @@ -3565,7 +3565,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateResponse1**](GetEmailTemplateResponse1.md) +[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md) ### Authorization @@ -3583,7 +3583,7 @@ Name | Type | Description | Notes ## GetEmailTemplateDefinitions -> GetEmailTemplateDefinitionsResponse1 GetEmailTemplateDefinitions(ctx).TenantId(tenantId).Execute() +> GetEmailTemplateDefinitionsResponse GetEmailTemplateDefinitions(ctx).TenantId(tenantId).Execute() @@ -3609,7 +3609,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplateDefinitions``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplateDefinitions`: GetEmailTemplateDefinitionsResponse1 + // response from `GetEmailTemplateDefinitions`: GetEmailTemplateDefinitionsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplateDefinitions`: %v\n", resp) } ``` @@ -3629,7 +3629,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateDefinitionsResponse1**](GetEmailTemplateDefinitionsResponse1.md) +[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md) ### Authorization @@ -3647,7 +3647,7 @@ Name | Type | Description | Notes ## GetEmailTemplateRenderErrors -> GetEmailTemplateRenderErrorsResponse1 GetEmailTemplateRenderErrors(ctx, id).TenantId(tenantId).Skip(skip).Execute() +> GetEmailTemplateRenderErrorsResponse GetEmailTemplateRenderErrors(ctx, id).TenantId(tenantId).Skip(skip).Execute() @@ -3675,7 +3675,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplateRenderErrors``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplateRenderErrors`: GetEmailTemplateRenderErrorsResponse1 + // response from `GetEmailTemplateRenderErrors`: GetEmailTemplateRenderErrorsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplateRenderErrors`: %v\n", resp) } ``` @@ -3701,7 +3701,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplateRenderErrorsResponse1**](GetEmailTemplateRenderErrorsResponse1.md) +[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md) ### Authorization @@ -3719,7 +3719,7 @@ Name | Type | Description | Notes ## GetEmailTemplates -> GetEmailTemplatesResponse1 GetEmailTemplates(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetEmailTemplatesResponse GetEmailTemplates(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -3746,7 +3746,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetEmailTemplates``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEmailTemplates`: GetEmailTemplatesResponse1 + // response from `GetEmailTemplates`: GetEmailTemplatesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetEmailTemplates`: %v\n", resp) } ``` @@ -3767,7 +3767,7 @@ Name | Type | Description | Notes ### Return type -[**GetEmailTemplatesResponse1**](GetEmailTemplatesResponse1.md) +[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md) ### Authorization @@ -3785,7 +3785,7 @@ Name | Type | Description | Notes ## GetFeedPosts -> GetFeedPostsResponse1 GetFeedPosts(ctx).TenantId(tenantId).AfterId(afterId).Limit(limit).Tags(tags).Execute() +> GetFeedPostsResponse GetFeedPosts(ctx).TenantId(tenantId).AfterId(afterId).Limit(limit).Tags(tags).Execute() @@ -3816,7 +3816,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetFeedPosts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPosts`: GetFeedPostsResponse1 + // response from `GetFeedPosts`: GetFeedPostsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetFeedPosts`: %v\n", resp) } ``` @@ -3839,7 +3839,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsResponse1**](GetFeedPostsResponse1.md) +[**GetFeedPostsResponse**](GetFeedPostsResponse.md) ### Authorization @@ -3857,7 +3857,7 @@ Name | Type | Description | Notes ## GetHashTags -> GetHashTagsResponse1 GetHashTags(ctx).TenantId(tenantId).Page(page).Execute() +> GetHashTagsResponse GetHashTags(ctx).TenantId(tenantId).Page(page).Execute() @@ -3884,7 +3884,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetHashTags``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetHashTags`: GetHashTagsResponse1 + // response from `GetHashTags`: GetHashTagsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetHashTags`: %v\n", resp) } ``` @@ -3905,7 +3905,7 @@ Name | Type | Description | Notes ### Return type -[**GetHashTagsResponse1**](GetHashTagsResponse1.md) +[**GetHashTagsResponse**](GetHashTagsResponse.md) ### Authorization @@ -3923,7 +3923,7 @@ Name | Type | Description | Notes ## GetModerator -> GetModeratorResponse1 GetModerator(ctx, id).TenantId(tenantId).Execute() +> GetModeratorResponse GetModerator(ctx, id).TenantId(tenantId).Execute() @@ -3950,7 +3950,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerator`: GetModeratorResponse1 + // response from `GetModerator`: GetModeratorResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetModerator`: %v\n", resp) } ``` @@ -3975,7 +3975,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorResponse1**](GetModeratorResponse1.md) +[**GetModeratorResponse**](GetModeratorResponse.md) ### Authorization @@ -3993,7 +3993,7 @@ Name | Type | Description | Notes ## GetModerators -> GetModeratorsResponse1 GetModerators(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetModeratorsResponse GetModerators(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -4020,7 +4020,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetModerators``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerators`: GetModeratorsResponse1 + // response from `GetModerators`: GetModeratorsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetModerators`: %v\n", resp) } ``` @@ -4041,7 +4041,7 @@ Name | Type | Description | Notes ### Return type -[**GetModeratorsResponse1**](GetModeratorsResponse1.md) +[**GetModeratorsResponse**](GetModeratorsResponse.md) ### Authorization @@ -4059,7 +4059,7 @@ Name | Type | Description | Notes ## GetNotificationCount -> GetNotificationCountResponse1 GetNotificationCount(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Execute() +> GetNotificationCountResponse GetNotificationCount(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Execute() @@ -4090,7 +4090,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetNotificationCount`: GetNotificationCountResponse1 + // response from `GetNotificationCount`: GetNotificationCountResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetNotificationCount`: %v\n", resp) } ``` @@ -4115,7 +4115,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationCountResponse1**](GetNotificationCountResponse1.md) +[**GetNotificationCountResponse**](GetNotificationCountResponse.md) ### Authorization @@ -4133,7 +4133,7 @@ Name | Type | Description | Notes ## GetNotifications -> GetNotificationsResponse1 GetNotifications(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Skip(skip).Execute() +> GetNotificationsResponse GetNotifications(ctx).TenantId(tenantId).UserId(userId).UrlId(urlId).FromCommentId(fromCommentId).Viewed(viewed).Type_(type_).Skip(skip).Execute() @@ -4165,7 +4165,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetNotifications`: GetNotificationsResponse1 + // response from `GetNotifications`: GetNotificationsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetNotifications`: %v\n", resp) } ``` @@ -4191,7 +4191,7 @@ Name | Type | Description | Notes ### Return type -[**GetNotificationsResponse1**](GetNotificationsResponse1.md) +[**GetNotificationsResponse**](GetNotificationsResponse.md) ### Authorization @@ -4339,7 +4339,7 @@ Name | Type | Description | Notes ## GetPendingWebhookEventCount -> GetPendingWebhookEventCountResponse1 GetPendingWebhookEventCount(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Execute() +> GetPendingWebhookEventCountResponse GetPendingWebhookEventCount(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Execute() @@ -4371,7 +4371,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetPendingWebhookEventCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPendingWebhookEventCount`: GetPendingWebhookEventCountResponse1 + // response from `GetPendingWebhookEventCount`: GetPendingWebhookEventCountResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetPendingWebhookEventCount`: %v\n", resp) } ``` @@ -4397,7 +4397,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventCountResponse1**](GetPendingWebhookEventCountResponse1.md) +[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md) ### Authorization @@ -4415,7 +4415,7 @@ Name | Type | Description | Notes ## GetPendingWebhookEvents -> GetPendingWebhookEventsResponse1 GetPendingWebhookEvents(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Skip(skip).Execute() +> GetPendingWebhookEventsResponse GetPendingWebhookEvents(ctx).TenantId(tenantId).CommentId(commentId).ExternalId(externalId).EventType(eventType).Type_(type_).Domain(domain).AttemptCountGT(attemptCountGT).Skip(skip).Execute() @@ -4448,7 +4448,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetPendingWebhookEvents``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPendingWebhookEvents`: GetPendingWebhookEventsResponse1 + // response from `GetPendingWebhookEvents`: GetPendingWebhookEventsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetPendingWebhookEvents`: %v\n", resp) } ``` @@ -4475,7 +4475,7 @@ Name | Type | Description | Notes ### Return type -[**GetPendingWebhookEventsResponse1**](GetPendingWebhookEventsResponse1.md) +[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md) ### Authorization @@ -4493,7 +4493,7 @@ Name | Type | Description | Notes ## GetQuestionConfig -> GetQuestionConfigResponse1 GetQuestionConfig(ctx, id).TenantId(tenantId).Execute() +> GetQuestionConfigResponse GetQuestionConfig(ctx, id).TenantId(tenantId).Execute() @@ -4520,7 +4520,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionConfig`: GetQuestionConfigResponse1 + // response from `GetQuestionConfig`: GetQuestionConfigResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionConfig`: %v\n", resp) } ``` @@ -4545,7 +4545,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigResponse1**](GetQuestionConfigResponse1.md) +[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md) ### Authorization @@ -4563,7 +4563,7 @@ Name | Type | Description | Notes ## GetQuestionConfigs -> GetQuestionConfigsResponse1 GetQuestionConfigs(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetQuestionConfigsResponse GetQuestionConfigs(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -4590,7 +4590,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionConfigs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionConfigs`: GetQuestionConfigsResponse1 + // response from `GetQuestionConfigs`: GetQuestionConfigsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionConfigs`: %v\n", resp) } ``` @@ -4611,7 +4611,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionConfigsResponse1**](GetQuestionConfigsResponse1.md) +[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md) ### Authorization @@ -4629,7 +4629,7 @@ Name | Type | Description | Notes ## GetQuestionResult -> GetQuestionResultResponse1 GetQuestionResult(ctx, id).TenantId(tenantId).Execute() +> GetQuestionResultResponse GetQuestionResult(ctx, id).TenantId(tenantId).Execute() @@ -4656,7 +4656,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionResult`: GetQuestionResultResponse1 + // response from `GetQuestionResult`: GetQuestionResultResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionResult`: %v\n", resp) } ``` @@ -4681,7 +4681,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultResponse1**](GetQuestionResultResponse1.md) +[**GetQuestionResultResponse**](GetQuestionResultResponse.md) ### Authorization @@ -4699,7 +4699,7 @@ Name | Type | Description | Notes ## GetQuestionResults -> GetQuestionResultsResponse1 GetQuestionResults(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).StartDate(startDate).QuestionId(questionId).QuestionIds(questionIds).Skip(skip).Execute() +> GetQuestionResultsResponse GetQuestionResults(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).StartDate(startDate).QuestionId(questionId).QuestionIds(questionIds).Skip(skip).Execute() @@ -4731,7 +4731,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetQuestionResults``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetQuestionResults`: GetQuestionResultsResponse1 + // response from `GetQuestionResults`: GetQuestionResultsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetQuestionResults`: %v\n", resp) } ``` @@ -4757,7 +4757,7 @@ Name | Type | Description | Notes ### Return type -[**GetQuestionResultsResponse1**](GetQuestionResultsResponse1.md) +[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md) ### Authorization @@ -5047,7 +5047,7 @@ Name | Type | Description | Notes ## GetTenant -> GetTenantResponse1 GetTenant(ctx, id).TenantId(tenantId).Execute() +> GetTenantResponse GetTenant(ctx, id).TenantId(tenantId).Execute() @@ -5074,7 +5074,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenant`: GetTenantResponse1 + // response from `GetTenant`: GetTenantResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenant`: %v\n", resp) } ``` @@ -5099,7 +5099,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantResponse1**](GetTenantResponse1.md) +[**GetTenantResponse**](GetTenantResponse.md) ### Authorization @@ -5117,7 +5117,7 @@ Name | Type | Description | Notes ## GetTenantDailyUsages -> GetTenantDailyUsagesResponse1 GetTenantDailyUsages(ctx).TenantId(tenantId).YearNumber(yearNumber).MonthNumber(monthNumber).DayNumber(dayNumber).Skip(skip).Execute() +> GetTenantDailyUsagesResponse GetTenantDailyUsages(ctx).TenantId(tenantId).YearNumber(yearNumber).MonthNumber(monthNumber).DayNumber(dayNumber).Skip(skip).Execute() @@ -5147,7 +5147,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantDailyUsages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantDailyUsages`: GetTenantDailyUsagesResponse1 + // response from `GetTenantDailyUsages`: GetTenantDailyUsagesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantDailyUsages`: %v\n", resp) } ``` @@ -5171,7 +5171,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantDailyUsagesResponse1**](GetTenantDailyUsagesResponse1.md) +[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md) ### Authorization @@ -5189,7 +5189,7 @@ Name | Type | Description | Notes ## GetTenantPackage -> GetTenantPackageResponse1 GetTenantPackage(ctx, id).TenantId(tenantId).Execute() +> GetTenantPackageResponse GetTenantPackage(ctx, id).TenantId(tenantId).Execute() @@ -5216,7 +5216,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantPackage`: GetTenantPackageResponse1 + // response from `GetTenantPackage`: GetTenantPackageResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantPackage`: %v\n", resp) } ``` @@ -5241,7 +5241,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackageResponse1**](GetTenantPackageResponse1.md) +[**GetTenantPackageResponse**](GetTenantPackageResponse.md) ### Authorization @@ -5259,7 +5259,7 @@ Name | Type | Description | Notes ## GetTenantPackages -> GetTenantPackagesResponse1 GetTenantPackages(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetTenantPackagesResponse GetTenantPackages(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -5286,7 +5286,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantPackages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantPackages`: GetTenantPackagesResponse1 + // response from `GetTenantPackages`: GetTenantPackagesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantPackages`: %v\n", resp) } ``` @@ -5307,7 +5307,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantPackagesResponse1**](GetTenantPackagesResponse1.md) +[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md) ### Authorization @@ -5325,7 +5325,7 @@ Name | Type | Description | Notes ## GetTenantUser -> GetTenantUserResponse1 GetTenantUser(ctx, id).TenantId(tenantId).Execute() +> GetTenantUserResponse GetTenantUser(ctx, id).TenantId(tenantId).Execute() @@ -5352,7 +5352,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantUser`: GetTenantUserResponse1 + // response from `GetTenantUser`: GetTenantUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantUser`: %v\n", resp) } ``` @@ -5377,7 +5377,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUserResponse1**](GetTenantUserResponse1.md) +[**GetTenantUserResponse**](GetTenantUserResponse.md) ### Authorization @@ -5395,7 +5395,7 @@ Name | Type | Description | Notes ## GetTenantUsers -> GetTenantUsersResponse1 GetTenantUsers(ctx).TenantId(tenantId).Skip(skip).Execute() +> GetTenantUsersResponse GetTenantUsers(ctx).TenantId(tenantId).Skip(skip).Execute() @@ -5422,7 +5422,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenantUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenantUsers`: GetTenantUsersResponse1 + // response from `GetTenantUsers`: GetTenantUsersResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenantUsers`: %v\n", resp) } ``` @@ -5443,7 +5443,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantUsersResponse1**](GetTenantUsersResponse1.md) +[**GetTenantUsersResponse**](GetTenantUsersResponse.md) ### Authorization @@ -5461,7 +5461,7 @@ Name | Type | Description | Notes ## GetTenants -> GetTenantsResponse1 GetTenants(ctx).TenantId(tenantId).Meta(meta).Skip(skip).Execute() +> GetTenantsResponse GetTenants(ctx).TenantId(tenantId).Meta(meta).Skip(skip).Execute() @@ -5489,7 +5489,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTenants``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTenants`: GetTenantsResponse1 + // response from `GetTenants`: GetTenantsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTenants`: %v\n", resp) } ``` @@ -5511,7 +5511,7 @@ Name | Type | Description | Notes ### Return type -[**GetTenantsResponse1**](GetTenantsResponse1.md) +[**GetTenantsResponse**](GetTenantsResponse.md) ### Authorization @@ -5529,7 +5529,7 @@ Name | Type | Description | Notes ## GetTicket -> GetTicketResponse1 GetTicket(ctx, id).TenantId(tenantId).UserId(userId).Execute() +> GetTicketResponse GetTicket(ctx, id).TenantId(tenantId).UserId(userId).Execute() @@ -5557,7 +5557,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTicket``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTicket`: GetTicketResponse1 + // response from `GetTicket`: GetTicketResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTicket`: %v\n", resp) } ``` @@ -5583,7 +5583,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketResponse1**](GetTicketResponse1.md) +[**GetTicketResponse**](GetTicketResponse.md) ### Authorization @@ -5601,7 +5601,7 @@ Name | Type | Description | Notes ## GetTickets -> GetTicketsResponse1 GetTickets(ctx).TenantId(tenantId).UserId(userId).State(state).Skip(skip).Limit(limit).Execute() +> GetTicketsResponse GetTickets(ctx).TenantId(tenantId).UserId(userId).State(state).Skip(skip).Limit(limit).Execute() @@ -5631,7 +5631,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetTickets``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTickets`: GetTicketsResponse1 + // response from `GetTickets`: GetTicketsResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetTickets`: %v\n", resp) } ``` @@ -5655,7 +5655,7 @@ Name | Type | Description | Notes ### Return type -[**GetTicketsResponse1**](GetTicketsResponse1.md) +[**GetTicketsResponse**](GetTicketsResponse.md) ### Authorization @@ -5673,7 +5673,7 @@ Name | Type | Description | Notes ## GetUser -> GetUserResponse1 GetUser(ctx, id).TenantId(tenantId).Execute() +> GetUserResponse GetUser(ctx, id).TenantId(tenantId).Execute() @@ -5700,7 +5700,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUser`: GetUserResponse1 + // response from `GetUser`: GetUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUser`: %v\n", resp) } ``` @@ -5725,7 +5725,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserResponse1**](GetUserResponse1.md) +[**GetUserResponse**](GetUserResponse.md) ### Authorization @@ -5743,7 +5743,7 @@ Name | Type | Description | Notes ## GetUserBadge -> GetUserBadgeResponse GetUserBadge(ctx, id).TenantId(tenantId).Execute() +> APIGetUserBadgeResponse GetUserBadge(ctx, id).TenantId(tenantId).Execute() @@ -5770,7 +5770,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadge`: GetUserBadgeResponse + // response from `GetUserBadge`: APIGetUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadge`: %v\n", resp) } ``` @@ -5795,7 +5795,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeResponse**](GetUserBadgeResponse.md) +[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md) ### Authorization @@ -5813,7 +5813,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressById -> GetUserBadgeProgressByIdResponse GetUserBadgeProgressById(ctx, id).TenantId(tenantId).Execute() +> APIGetUserBadgeProgressResponse GetUserBadgeProgressById(ctx, id).TenantId(tenantId).Execute() @@ -5840,7 +5840,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressById``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressById`: GetUserBadgeProgressByIdResponse + // response from `GetUserBadgeProgressById`: APIGetUserBadgeProgressResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressById`: %v\n", resp) } ``` @@ -5865,7 +5865,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressByIdResponse**](GetUserBadgeProgressByIdResponse.md) +[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -5883,7 +5883,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressByUserId -> GetUserBadgeProgressByUserIdResponse GetUserBadgeProgressByUserId(ctx, userId).TenantId(tenantId).Execute() +> APIGetUserBadgeProgressResponse GetUserBadgeProgressByUserId(ctx, userId).TenantId(tenantId).Execute() @@ -5910,7 +5910,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressByUserId``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressByUserId`: GetUserBadgeProgressByUserIdResponse + // response from `GetUserBadgeProgressByUserId`: APIGetUserBadgeProgressResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressByUserId`: %v\n", resp) } ``` @@ -5935,7 +5935,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressByUserIdResponse**](GetUserBadgeProgressByUserIdResponse.md) +[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md) ### Authorization @@ -5953,7 +5953,7 @@ Name | Type | Description | Notes ## GetUserBadgeProgressList -> GetUserBadgeProgressListResponse GetUserBadgeProgressList(ctx).TenantId(tenantId).UserId(userId).Limit(limit).Skip(skip).Execute() +> APIGetUserBadgeProgressListResponse GetUserBadgeProgressList(ctx).TenantId(tenantId).UserId(userId).Limit(limit).Skip(skip).Execute() @@ -5982,7 +5982,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadgeProgressList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadgeProgressList`: GetUserBadgeProgressListResponse + // response from `GetUserBadgeProgressList`: APIGetUserBadgeProgressListResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadgeProgressList`: %v\n", resp) } ``` @@ -6005,7 +6005,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgeProgressListResponse**](GetUserBadgeProgressListResponse.md) +[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md) ### Authorization @@ -6023,7 +6023,7 @@ Name | Type | Description | Notes ## GetUserBadges -> GetUserBadgesResponse GetUserBadges(ctx).TenantId(tenantId).UserId(userId).BadgeId(badgeId).Type_(type_).DisplayedOnComments(displayedOnComments).Limit(limit).Skip(skip).Execute() +> APIGetUserBadgesResponse GetUserBadges(ctx).TenantId(tenantId).UserId(userId).BadgeId(badgeId).Type_(type_).DisplayedOnComments(displayedOnComments).Limit(limit).Skip(skip).Execute() @@ -6055,7 +6055,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetUserBadges``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBadges`: GetUserBadgesResponse + // response from `GetUserBadges`: APIGetUserBadgesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetUserBadges`: %v\n", resp) } ``` @@ -6081,7 +6081,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBadgesResponse**](GetUserBadgesResponse.md) +[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md) ### Authorization @@ -6099,7 +6099,7 @@ Name | Type | Description | Notes ## GetVotes -> GetVotesResponse1 GetVotes(ctx).TenantId(tenantId).UrlId(urlId).Execute() +> GetVotesResponse GetVotes(ctx).TenantId(tenantId).UrlId(urlId).Execute() @@ -6126,7 +6126,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetVotes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetVotes`: GetVotesResponse1 + // response from `GetVotes`: GetVotesResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetVotes`: %v\n", resp) } ``` @@ -6147,7 +6147,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesResponse1**](GetVotesResponse1.md) +[**GetVotesResponse**](GetVotesResponse.md) ### Authorization @@ -6165,7 +6165,7 @@ Name | Type | Description | Notes ## GetVotesForUser -> GetVotesForUserResponse1 GetVotesForUser(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).Execute() +> GetVotesForUserResponse GetVotesForUser(ctx).TenantId(tenantId).UrlId(urlId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -6194,7 +6194,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetVotesForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetVotesForUser`: GetVotesForUserResponse1 + // response from `GetVotesForUser`: GetVotesForUserResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetVotesForUser`: %v\n", resp) } ``` @@ -6217,7 +6217,7 @@ Name | Type | Description | Notes ### Return type -[**GetVotesForUserResponse1**](GetVotesForUserResponse1.md) +[**GetVotesForUserResponse**](GetVotesForUserResponse.md) ### Authorization @@ -6307,7 +6307,7 @@ Name | Type | Description | Notes ## PatchHashTag -> PatchHashTagResponse PatchHashTag(ctx, tag).TenantId(tenantId).UpdateHashTagBody(updateHashTagBody).Execute() +> UpdateHashTagResponse PatchHashTag(ctx, tag).TenantId(tenantId).UpdateHashTagBody(updateHashTagBody).Execute() @@ -6335,7 +6335,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.PatchHashTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PatchHashTag`: PatchHashTagResponse + // response from `PatchHashTag`: UpdateHashTagResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.PatchHashTag`: %v\n", resp) } ``` @@ -6361,7 +6361,7 @@ Name | Type | Description | Notes ### Return type -[**PatchHashTagResponse**](PatchHashTagResponse.md) +[**UpdateHashTagResponse**](UpdateHashTagResponse.md) ### Authorization @@ -6671,7 +6671,7 @@ Name | Type | Description | Notes ## RenderEmailTemplate -> RenderEmailTemplateResponse1 RenderEmailTemplate(ctx).TenantId(tenantId).RenderEmailTemplateBody(renderEmailTemplateBody).Locale(locale).Execute() +> RenderEmailTemplateResponse RenderEmailTemplate(ctx).TenantId(tenantId).RenderEmailTemplateBody(renderEmailTemplateBody).Locale(locale).Execute() @@ -6699,7 +6699,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.RenderEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `RenderEmailTemplate`: RenderEmailTemplateResponse1 + // response from `RenderEmailTemplate`: RenderEmailTemplateResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.RenderEmailTemplate`: %v\n", resp) } ``` @@ -6721,7 +6721,7 @@ Name | Type | Description | Notes ### Return type -[**RenderEmailTemplateResponse1**](RenderEmailTemplateResponse1.md) +[**RenderEmailTemplateResponse**](RenderEmailTemplateResponse.md) ### Authorization @@ -6739,7 +6739,7 @@ Name | Type | Description | Notes ## ReplaceTenantPackage -> ReplaceTenantPackageResponse ReplaceTenantPackage(ctx, id).TenantId(tenantId).ReplaceTenantPackageBody(replaceTenantPackageBody).Execute() +> APIEmptyResponse ReplaceTenantPackage(ctx, id).TenantId(tenantId).ReplaceTenantPackageBody(replaceTenantPackageBody).Execute() @@ -6767,7 +6767,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ReplaceTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReplaceTenantPackage`: ReplaceTenantPackageResponse + // response from `ReplaceTenantPackage`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ReplaceTenantPackage`: %v\n", resp) } ``` @@ -6793,7 +6793,7 @@ Name | Type | Description | Notes ### Return type -[**ReplaceTenantPackageResponse**](ReplaceTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -6811,7 +6811,7 @@ Name | Type | Description | Notes ## ReplaceTenantUser -> ReplaceTenantUserResponse ReplaceTenantUser(ctx, id).TenantId(tenantId).ReplaceTenantUserBody(replaceTenantUserBody).UpdateComments(updateComments).Execute() +> APIEmptyResponse ReplaceTenantUser(ctx, id).TenantId(tenantId).ReplaceTenantUserBody(replaceTenantUserBody).UpdateComments(updateComments).Execute() @@ -6840,7 +6840,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.ReplaceTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReplaceTenantUser`: ReplaceTenantUserResponse + // response from `ReplaceTenantUser`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.ReplaceTenantUser`: %v\n", resp) } ``` @@ -6867,7 +6867,7 @@ Name | Type | Description | Notes ### Return type -[**ReplaceTenantUserResponse**](ReplaceTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -6885,7 +6885,7 @@ Name | Type | Description | Notes ## SaveComment -> SaveCommentResponse SaveComment(ctx).TenantId(tenantId).CreateCommentParams(createCommentParams).IsLive(isLive).DoSpamCheck(doSpamCheck).SendEmails(sendEmails).PopulateNotifications(populateNotifications).Execute() +> APISaveCommentResponse SaveComment(ctx).TenantId(tenantId).CreateCommentParams(createCommentParams).IsLive(isLive).DoSpamCheck(doSpamCheck).SendEmails(sendEmails).PopulateNotifications(populateNotifications).Execute() @@ -6916,7 +6916,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SaveComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SaveComment`: SaveCommentResponse + // response from `SaveComment`: APISaveCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SaveComment`: %v\n", resp) } ``` @@ -6941,7 +6941,7 @@ Name | Type | Description | Notes ### Return type -[**SaveCommentResponse**](SaveCommentResponse.md) +[**APISaveCommentResponse**](APISaveCommentResponse.md) ### Authorization @@ -7033,7 +7033,7 @@ Name | Type | Description | Notes ## SendInvite -> SendInviteResponse SendInvite(ctx, id).TenantId(tenantId).FromName(fromName).Execute() +> APIEmptyResponse SendInvite(ctx, id).TenantId(tenantId).FromName(fromName).Execute() @@ -7061,7 +7061,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SendInvite``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SendInvite`: SendInviteResponse + // response from `SendInvite`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SendInvite`: %v\n", resp) } ``` @@ -7087,7 +7087,7 @@ Name | Type | Description | Notes ### Return type -[**SendInviteResponse**](SendInviteResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7105,7 +7105,7 @@ Name | Type | Description | Notes ## SendLoginLink -> SendLoginLinkResponse SendLoginLink(ctx, id).TenantId(tenantId).RedirectURL(redirectURL).Execute() +> APIEmptyResponse SendLoginLink(ctx, id).TenantId(tenantId).RedirectURL(redirectURL).Execute() @@ -7133,7 +7133,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.SendLoginLink``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SendLoginLink`: SendLoginLinkResponse + // response from `SendLoginLink`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.SendLoginLink`: %v\n", resp) } ``` @@ -7159,7 +7159,7 @@ Name | Type | Description | Notes ### Return type -[**SendLoginLinkResponse**](SendLoginLinkResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7177,7 +7177,7 @@ Name | Type | Description | Notes ## UnBlockUserFromComment -> UnBlockUserFromCommentResponse UnBlockUserFromComment(ctx, id).TenantId(tenantId).UnBlockFromCommentParams(unBlockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() +> UnblockSuccess UnBlockUserFromComment(ctx, id).TenantId(tenantId).UnBlockFromCommentParams(unBlockFromCommentParams).UserId(userId).AnonUserId(anonUserId).Execute() @@ -7207,7 +7207,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UnBlockUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnBlockUserFromComment`: UnBlockUserFromCommentResponse + // response from `UnBlockUserFromComment`: UnblockSuccess fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UnBlockUserFromComment`: %v\n", resp) } ``` @@ -7235,7 +7235,7 @@ Name | Type | Description | Notes ### Return type -[**UnBlockUserFromCommentResponse**](UnBlockUserFromCommentResponse.md) +[**UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -7253,7 +7253,7 @@ Name | Type | Description | Notes ## UnFlagComment -> UnFlagCommentResponse UnFlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() +> FlagCommentResponse UnFlagComment(ctx, id).TenantId(tenantId).UserId(userId).AnonUserId(anonUserId).Execute() @@ -7282,7 +7282,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UnFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnFlagComment`: UnFlagCommentResponse + // response from `UnFlagComment`: FlagCommentResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UnFlagComment`: %v\n", resp) } ``` @@ -7309,7 +7309,7 @@ Name | Type | Description | Notes ### Return type -[**UnFlagCommentResponse**](UnFlagCommentResponse.md) +[**FlagCommentResponse**](FlagCommentResponse.md) ### Authorization @@ -7327,7 +7327,7 @@ Name | Type | Description | Notes ## UpdateComment -> UpdateCommentResponse UpdateComment(ctx, id).TenantId(tenantId).UpdatableCommentParams(updatableCommentParams).ContextUserId(contextUserId).DoSpamCheck(doSpamCheck).IsLive(isLive).Execute() +> APIEmptyResponse UpdateComment(ctx, id).TenantId(tenantId).UpdatableCommentParams(updatableCommentParams).ContextUserId(contextUserId).DoSpamCheck(doSpamCheck).IsLive(isLive).Execute() @@ -7358,7 +7358,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateComment`: UpdateCommentResponse + // response from `UpdateComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateComment`: %v\n", resp) } ``` @@ -7387,7 +7387,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateCommentResponse**](UpdateCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7405,7 +7405,7 @@ Name | Type | Description | Notes ## UpdateEmailTemplate -> UpdateEmailTemplateResponse UpdateEmailTemplate(ctx, id).TenantId(tenantId).UpdateEmailTemplateBody(updateEmailTemplateBody).Execute() +> APIEmptyResponse UpdateEmailTemplate(ctx, id).TenantId(tenantId).UpdateEmailTemplateBody(updateEmailTemplateBody).Execute() @@ -7433,7 +7433,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateEmailTemplate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateEmailTemplate`: UpdateEmailTemplateResponse + // response from `UpdateEmailTemplate`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateEmailTemplate`: %v\n", resp) } ``` @@ -7459,7 +7459,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateEmailTemplateResponse**](UpdateEmailTemplateResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7477,7 +7477,7 @@ Name | Type | Description | Notes ## UpdateFeedPost -> UpdateFeedPostResponse UpdateFeedPost(ctx, id).TenantId(tenantId).FeedPost(feedPost).Execute() +> APIEmptyResponse UpdateFeedPost(ctx, id).TenantId(tenantId).FeedPost(feedPost).Execute() @@ -7506,7 +7506,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateFeedPost``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateFeedPost`: UpdateFeedPostResponse + // response from `UpdateFeedPost`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateFeedPost`: %v\n", resp) } ``` @@ -7532,7 +7532,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateFeedPostResponse**](UpdateFeedPostResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7550,7 +7550,7 @@ Name | Type | Description | Notes ## UpdateModerator -> UpdateModeratorResponse UpdateModerator(ctx, id).TenantId(tenantId).UpdateModeratorBody(updateModeratorBody).Execute() +> APIEmptyResponse UpdateModerator(ctx, id).TenantId(tenantId).UpdateModeratorBody(updateModeratorBody).Execute() @@ -7578,7 +7578,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateModerator``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateModerator`: UpdateModeratorResponse + // response from `UpdateModerator`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateModerator`: %v\n", resp) } ``` @@ -7604,7 +7604,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateModeratorResponse**](UpdateModeratorResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7622,7 +7622,7 @@ Name | Type | Description | Notes ## UpdateNotification -> UpdateNotificationResponse UpdateNotification(ctx, id).TenantId(tenantId).UpdateNotificationBody(updateNotificationBody).UserId(userId).Execute() +> APIEmptyResponse UpdateNotification(ctx, id).TenantId(tenantId).UpdateNotificationBody(updateNotificationBody).UserId(userId).Execute() @@ -7651,7 +7651,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateNotification``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateNotification`: UpdateNotificationResponse + // response from `UpdateNotification`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateNotification`: %v\n", resp) } ``` @@ -7678,7 +7678,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateNotificationResponse**](UpdateNotificationResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7696,7 +7696,7 @@ Name | Type | Description | Notes ## UpdateQuestionConfig -> UpdateQuestionConfigResponse UpdateQuestionConfig(ctx, id).TenantId(tenantId).UpdateQuestionConfigBody(updateQuestionConfigBody).Execute() +> APIEmptyResponse UpdateQuestionConfig(ctx, id).TenantId(tenantId).UpdateQuestionConfigBody(updateQuestionConfigBody).Execute() @@ -7724,7 +7724,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateQuestionConfig``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateQuestionConfig`: UpdateQuestionConfigResponse + // response from `UpdateQuestionConfig`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateQuestionConfig`: %v\n", resp) } ``` @@ -7750,7 +7750,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateQuestionConfigResponse**](UpdateQuestionConfigResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7768,7 +7768,7 @@ Name | Type | Description | Notes ## UpdateQuestionResult -> UpdateQuestionResultResponse UpdateQuestionResult(ctx, id).TenantId(tenantId).UpdateQuestionResultBody(updateQuestionResultBody).Execute() +> APIEmptyResponse UpdateQuestionResult(ctx, id).TenantId(tenantId).UpdateQuestionResultBody(updateQuestionResultBody).Execute() @@ -7796,7 +7796,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateQuestionResult``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateQuestionResult`: UpdateQuestionResultResponse + // response from `UpdateQuestionResult`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateQuestionResult`: %v\n", resp) } ``` @@ -7822,7 +7822,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateQuestionResultResponse**](UpdateQuestionResultResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7914,7 +7914,7 @@ Name | Type | Description | Notes ## UpdateTenant -> UpdateTenantResponse UpdateTenant(ctx, id).TenantId(tenantId).UpdateTenantBody(updateTenantBody).Execute() +> APIEmptyResponse UpdateTenant(ctx, id).TenantId(tenantId).UpdateTenantBody(updateTenantBody).Execute() @@ -7942,7 +7942,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenant`: UpdateTenantResponse + // response from `UpdateTenant`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenant`: %v\n", resp) } ``` @@ -7968,7 +7968,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantResponse**](UpdateTenantResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -7986,7 +7986,7 @@ Name | Type | Description | Notes ## UpdateTenantPackage -> UpdateTenantPackageResponse UpdateTenantPackage(ctx, id).TenantId(tenantId).UpdateTenantPackageBody(updateTenantPackageBody).Execute() +> APIEmptyResponse UpdateTenantPackage(ctx, id).TenantId(tenantId).UpdateTenantPackageBody(updateTenantPackageBody).Execute() @@ -8014,7 +8014,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenantPackage``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenantPackage`: UpdateTenantPackageResponse + // response from `UpdateTenantPackage`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenantPackage`: %v\n", resp) } ``` @@ -8040,7 +8040,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantPackageResponse**](UpdateTenantPackageResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -8058,7 +8058,7 @@ Name | Type | Description | Notes ## UpdateTenantUser -> UpdateTenantUserResponse UpdateTenantUser(ctx, id).TenantId(tenantId).UpdateTenantUserBody(updateTenantUserBody).UpdateComments(updateComments).Execute() +> APIEmptyResponse UpdateTenantUser(ctx, id).TenantId(tenantId).UpdateTenantUserBody(updateTenantUserBody).UpdateComments(updateComments).Execute() @@ -8087,7 +8087,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateTenantUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateTenantUser`: UpdateTenantUserResponse + // response from `UpdateTenantUser`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateTenantUser`: %v\n", resp) } ``` @@ -8114,7 +8114,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateTenantUserResponse**](UpdateTenantUserResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -8132,7 +8132,7 @@ Name | Type | Description | Notes ## UpdateUserBadge -> UpdateUserBadgeResponse UpdateUserBadge(ctx, id).TenantId(tenantId).UpdateUserBadgeParams(updateUserBadgeParams).Execute() +> APIEmptySuccessResponse UpdateUserBadge(ctx, id).TenantId(tenantId).UpdateUserBadgeParams(updateUserBadgeParams).Execute() @@ -8160,7 +8160,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.UpdateUserBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateUserBadge`: UpdateUserBadgeResponse + // response from `UpdateUserBadge`: APIEmptySuccessResponse fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.UpdateUserBadge`: %v\n", resp) } ``` @@ -8186,7 +8186,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateUserBadgeResponse**](UpdateUserBadgeResponse.md) +[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md) ### Authorization diff --git a/client/docs/DeleteCommentPublicResponse.md b/client/docs/DeleteCommentPublicResponse.md deleted file mode 100644 index 587ec36..0000000 --- a/client/docs/DeleteCommentPublicResponse.md +++ /dev/null @@ -1,270 +0,0 @@ -# DeleteCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comment** | Pointer to [**DeletedCommentResultComment**](DeletedCommentResultComment.md) | | [optional] -**HardRemoved** | **bool** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteCommentPublicResponse - -`func NewDeleteCommentPublicResponse(hardRemoved bool, status APIStatus, reason string, code string, ) *DeleteCommentPublicResponse` - -NewDeleteCommentPublicResponse instantiates a new DeleteCommentPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteCommentPublicResponseWithDefaults - -`func NewDeleteCommentPublicResponseWithDefaults() *DeleteCommentPublicResponse` - -NewDeleteCommentPublicResponseWithDefaults instantiates a new DeleteCommentPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComment - -`func (o *DeleteCommentPublicResponse) GetComment() DeletedCommentResultComment` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *DeleteCommentPublicResponse) GetCommentOk() (*DeletedCommentResultComment, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *DeleteCommentPublicResponse) SetComment(v DeletedCommentResultComment)` - -SetComment sets Comment field to given value. - -### HasComment - -`func (o *DeleteCommentPublicResponse) HasComment() bool` - -HasComment returns a boolean if a field has been set. - -### GetHardRemoved - -`func (o *DeleteCommentPublicResponse) GetHardRemoved() bool` - -GetHardRemoved returns the HardRemoved field if non-nil, zero value otherwise. - -### GetHardRemovedOk - -`func (o *DeleteCommentPublicResponse) GetHardRemovedOk() (*bool, bool)` - -GetHardRemovedOk returns a tuple with the HardRemoved field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHardRemoved - -`func (o *DeleteCommentPublicResponse) SetHardRemoved(v bool)` - -SetHardRemoved sets HardRemoved field to given value. - - -### GetStatus - -`func (o *DeleteCommentPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteCommentPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteCommentPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteCommentPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteCommentPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteCommentPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteCommentPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteCommentPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteCommentPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteCommentPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteCommentPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteCommentPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteCommentPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteCommentPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteCommentPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteCommentPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteCommentPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteCommentPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteCommentPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteCommentPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteCommentPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteCommentPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentResponse.md b/client/docs/DeleteCommentResponse.md deleted file mode 100644 index 952c907..0000000 --- a/client/docs/DeleteCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# DeleteCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Action** | [**DeleteCommentAction**](DeleteCommentAction.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteCommentResponse - -`func NewDeleteCommentResponse(action DeleteCommentAction, status APIStatus, reason string, code string, ) *DeleteCommentResponse` - -NewDeleteCommentResponse instantiates a new DeleteCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteCommentResponseWithDefaults - -`func NewDeleteCommentResponseWithDefaults() *DeleteCommentResponse` - -NewDeleteCommentResponseWithDefaults instantiates a new DeleteCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAction - -`func (o *DeleteCommentResponse) GetAction() DeleteCommentAction` - -GetAction returns the Action field if non-nil, zero value otherwise. - -### GetActionOk - -`func (o *DeleteCommentResponse) GetActionOk() (*DeleteCommentAction, bool)` - -GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAction - -`func (o *DeleteCommentResponse) SetAction(v DeleteCommentAction)` - -SetAction sets Action field to given value. - - -### GetStatus - -`func (o *DeleteCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteCommentVoteResponse.md b/client/docs/DeleteCommentVoteResponse.md deleted file mode 100644 index 85db4f7..0000000 --- a/client/docs/DeleteCommentVoteResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# DeleteCommentVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**WasPendingVote** | Pointer to **bool** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteCommentVoteResponse - -`func NewDeleteCommentVoteResponse(status APIStatus, reason string, code string, ) *DeleteCommentVoteResponse` - -NewDeleteCommentVoteResponse instantiates a new DeleteCommentVoteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteCommentVoteResponseWithDefaults - -`func NewDeleteCommentVoteResponseWithDefaults() *DeleteCommentVoteResponse` - -NewDeleteCommentVoteResponseWithDefaults instantiates a new DeleteCommentVoteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteCommentVoteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteCommentVoteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteCommentVoteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetWasPendingVote - -`func (o *DeleteCommentVoteResponse) GetWasPendingVote() bool` - -GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. - -### GetWasPendingVoteOk - -`func (o *DeleteCommentVoteResponse) GetWasPendingVoteOk() (*bool, bool)` - -GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWasPendingVote - -`func (o *DeleteCommentVoteResponse) SetWasPendingVote(v bool)` - -SetWasPendingVote sets WasPendingVote field to given value. - -### HasWasPendingVote - -`func (o *DeleteCommentVoteResponse) HasWasPendingVote() bool` - -HasWasPendingVote returns a boolean if a field has been set. - -### GetReason - -`func (o *DeleteCommentVoteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteCommentVoteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteCommentVoteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteCommentVoteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteCommentVoteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteCommentVoteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteCommentVoteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteCommentVoteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteCommentVoteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteCommentVoteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteCommentVoteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteCommentVoteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteCommentVoteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteCommentVoteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteCommentVoteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteCommentVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteCommentVoteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteCommentVoteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteCommentVoteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteCommentVoteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteCommentVoteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteCommentVoteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteCommentVoteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteCommentVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteCommentVoteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteCommentVoteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateRenderErrorResponse.md b/client/docs/DeleteEmailTemplateRenderErrorResponse.md deleted file mode 100644 index aaa1a74..0000000 --- a/client/docs/DeleteEmailTemplateRenderErrorResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteEmailTemplateRenderErrorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteEmailTemplateRenderErrorResponse - -`func NewDeleteEmailTemplateRenderErrorResponse(status APIStatus, reason string, code string, ) *DeleteEmailTemplateRenderErrorResponse` - -NewDeleteEmailTemplateRenderErrorResponse instantiates a new DeleteEmailTemplateRenderErrorResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteEmailTemplateRenderErrorResponseWithDefaults - -`func NewDeleteEmailTemplateRenderErrorResponseWithDefaults() *DeleteEmailTemplateRenderErrorResponse` - -NewDeleteEmailTemplateRenderErrorResponseWithDefaults instantiates a new DeleteEmailTemplateRenderErrorResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteEmailTemplateRenderErrorResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteEmailTemplateRenderErrorResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteEmailTemplateRenderErrorResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteEmailTemplateRenderErrorResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteEmailTemplateRenderErrorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteEmailTemplateRenderErrorResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteEmailTemplateRenderErrorResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteEmailTemplateResponse.md b/client/docs/DeleteEmailTemplateResponse.md deleted file mode 100644 index f2f59d2..0000000 --- a/client/docs/DeleteEmailTemplateResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteEmailTemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteEmailTemplateResponse - -`func NewDeleteEmailTemplateResponse(status APIStatus, reason string, code string, ) *DeleteEmailTemplateResponse` - -NewDeleteEmailTemplateResponse instantiates a new DeleteEmailTemplateResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteEmailTemplateResponseWithDefaults - -`func NewDeleteEmailTemplateResponseWithDefaults() *DeleteEmailTemplateResponse` - -NewDeleteEmailTemplateResponseWithDefaults instantiates a new DeleteEmailTemplateResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteEmailTemplateResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteEmailTemplateResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteEmailTemplateResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteEmailTemplateResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteEmailTemplateResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteEmailTemplateResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteEmailTemplateResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteEmailTemplateResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteEmailTemplateResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteEmailTemplateResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteEmailTemplateResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteEmailTemplateResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteEmailTemplateResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteEmailTemplateResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteEmailTemplateResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteEmailTemplateResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteEmailTemplateResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteEmailTemplateResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteEmailTemplateResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteEmailTemplateResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteEmailTemplateResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteEmailTemplateResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteEmailTemplateResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteEmailTemplateResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteEmailTemplateResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteEmailTemplateResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteEmailTemplateResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteEmailTemplateResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteEmailTemplateResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteFeedPostPublicResponse.md b/client/docs/DeleteFeedPostPublicResponse.md index f38c4e3..5cb168d 100644 --- a/client/docs/DeleteFeedPostPublicResponse.md +++ b/client/docs/DeleteFeedPostPublicResponse.md @@ -5,19 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewDeleteFeedPostPublicResponse -`func NewDeleteFeedPostPublicResponse(status APIStatus, reason string, code string, ) *DeleteFeedPostPublicResponse` +`func NewDeleteFeedPostPublicResponse(status APIStatus, ) *DeleteFeedPostPublicResponse` NewDeleteFeedPostPublicResponse instantiates a new DeleteFeedPostPublicResponse object This constructor will assign default values to properties that have it defined, @@ -52,171 +45,6 @@ and a boolean to check if the value has been set. SetStatus sets Status field to given value. -### GetReason - -`func (o *DeleteFeedPostPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteFeedPostPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteFeedPostPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteFeedPostPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteFeedPostPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteFeedPostPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteFeedPostPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteFeedPostPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteFeedPostPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteFeedPostPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteFeedPostPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteFeedPostPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteFeedPostPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteFeedPostPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteFeedPostPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteFeedPostPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteFeedPostPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteFeedPostPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteFeedPostPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/DeleteFeedPostPublicResponseAnyOf.md b/client/docs/DeleteFeedPostPublicResponseAnyOf.md deleted file mode 100644 index 21e1bb6..0000000 --- a/client/docs/DeleteFeedPostPublicResponseAnyOf.md +++ /dev/null @@ -1,51 +0,0 @@ -# DeleteFeedPostPublicResponseAnyOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | - -## Methods - -### NewDeleteFeedPostPublicResponseAnyOf - -`func NewDeleteFeedPostPublicResponseAnyOf(status APIStatus, ) *DeleteFeedPostPublicResponseAnyOf` - -NewDeleteFeedPostPublicResponseAnyOf instantiates a new DeleteFeedPostPublicResponseAnyOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteFeedPostPublicResponseAnyOfWithDefaults - -`func NewDeleteFeedPostPublicResponseAnyOfWithDefaults() *DeleteFeedPostPublicResponseAnyOf` - -NewDeleteFeedPostPublicResponseAnyOfWithDefaults instantiates a new DeleteFeedPostPublicResponseAnyOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteFeedPostPublicResponseAnyOf) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteFeedPostPublicResponseAnyOf) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteFeedPostPublicResponseAnyOf) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteHashTagResponse.md b/client/docs/DeleteHashTagResponse.md deleted file mode 100644 index 1f9791b..0000000 --- a/client/docs/DeleteHashTagResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteHashTagResponse - -`func NewDeleteHashTagResponse(status APIStatus, reason string, code string, ) *DeleteHashTagResponse` - -NewDeleteHashTagResponse instantiates a new DeleteHashTagResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteHashTagResponseWithDefaults - -`func NewDeleteHashTagResponseWithDefaults() *DeleteHashTagResponse` - -NewDeleteHashTagResponseWithDefaults instantiates a new DeleteHashTagResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteHashTagResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteHashTagResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteHashTagResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteHashTagResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteHashTagResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteHashTagResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteHashTagResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteHashTagResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteHashTagResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteHashTagResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteHashTagResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteHashTagResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteHashTagResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteHashTagResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteHashTagResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteHashTagResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteHashTagResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteHashTagResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteHashTagResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteHashTagResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteHashTagResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteHashTagResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteHashTagResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteHashTagResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteHashTagResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteHashTagResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteHashTagResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModerationVoteResponse.md b/client/docs/DeleteModerationVoteResponse.md deleted file mode 100644 index ef192c4..0000000 --- a/client/docs/DeleteModerationVoteResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# DeleteModerationVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**WasPendingVote** | Pointer to **bool** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteModerationVoteResponse - -`func NewDeleteModerationVoteResponse(status APIStatus, reason string, code string, ) *DeleteModerationVoteResponse` - -NewDeleteModerationVoteResponse instantiates a new DeleteModerationVoteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteModerationVoteResponseWithDefaults - -`func NewDeleteModerationVoteResponseWithDefaults() *DeleteModerationVoteResponse` - -NewDeleteModerationVoteResponseWithDefaults instantiates a new DeleteModerationVoteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteModerationVoteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteModerationVoteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteModerationVoteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetWasPendingVote - -`func (o *DeleteModerationVoteResponse) GetWasPendingVote() bool` - -GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. - -### GetWasPendingVoteOk - -`func (o *DeleteModerationVoteResponse) GetWasPendingVoteOk() (*bool, bool)` - -GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWasPendingVote - -`func (o *DeleteModerationVoteResponse) SetWasPendingVote(v bool)` - -SetWasPendingVote sets WasPendingVote field to given value. - -### HasWasPendingVote - -`func (o *DeleteModerationVoteResponse) HasWasPendingVote() bool` - -HasWasPendingVote returns a boolean if a field has been set. - -### GetReason - -`func (o *DeleteModerationVoteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteModerationVoteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteModerationVoteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteModerationVoteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteModerationVoteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteModerationVoteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteModerationVoteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteModerationVoteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteModerationVoteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteModerationVoteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteModerationVoteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteModerationVoteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteModerationVoteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteModerationVoteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteModerationVoteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteModerationVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteModerationVoteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteModerationVoteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteModerationVoteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteModerationVoteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteModerationVoteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteModerationVoteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteModerationVoteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteModerationVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteModerationVoteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteModerationVoteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteModeratorResponse.md b/client/docs/DeleteModeratorResponse.md deleted file mode 100644 index 925a41d..0000000 --- a/client/docs/DeleteModeratorResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteModeratorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteModeratorResponse - -`func NewDeleteModeratorResponse(status APIStatus, reason string, code string, ) *DeleteModeratorResponse` - -NewDeleteModeratorResponse instantiates a new DeleteModeratorResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteModeratorResponseWithDefaults - -`func NewDeleteModeratorResponseWithDefaults() *DeleteModeratorResponse` - -NewDeleteModeratorResponseWithDefaults instantiates a new DeleteModeratorResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteModeratorResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteModeratorResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteModeratorResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteModeratorResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteModeratorResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteModeratorResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteModeratorResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteModeratorResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteModeratorResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteModeratorResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteModeratorResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteModeratorResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteModeratorResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteModeratorResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteModeratorResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteModeratorResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteModeratorResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteModeratorResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteModeratorResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteModeratorResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteModeratorResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteModeratorResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteModeratorResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteModeratorResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteModeratorResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteModeratorResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteModeratorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteModeratorResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteModeratorResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteNotificationCountResponse.md b/client/docs/DeleteNotificationCountResponse.md deleted file mode 100644 index c33b6ce..0000000 --- a/client/docs/DeleteNotificationCountResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteNotificationCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteNotificationCountResponse - -`func NewDeleteNotificationCountResponse(status APIStatus, reason string, code string, ) *DeleteNotificationCountResponse` - -NewDeleteNotificationCountResponse instantiates a new DeleteNotificationCountResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteNotificationCountResponseWithDefaults - -`func NewDeleteNotificationCountResponseWithDefaults() *DeleteNotificationCountResponse` - -NewDeleteNotificationCountResponseWithDefaults instantiates a new DeleteNotificationCountResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteNotificationCountResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteNotificationCountResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteNotificationCountResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteNotificationCountResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteNotificationCountResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteNotificationCountResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteNotificationCountResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteNotificationCountResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteNotificationCountResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteNotificationCountResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteNotificationCountResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteNotificationCountResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteNotificationCountResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteNotificationCountResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteNotificationCountResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteNotificationCountResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteNotificationCountResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteNotificationCountResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteNotificationCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteNotificationCountResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteNotificationCountResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteNotificationCountResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteNotificationCountResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteNotificationCountResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteNotificationCountResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteNotificationCountResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteNotificationCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteNotificationCountResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteNotificationCountResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeletePendingWebhookEventResponse.md b/client/docs/DeletePendingWebhookEventResponse.md deleted file mode 100644 index ca32bc3..0000000 --- a/client/docs/DeletePendingWebhookEventResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeletePendingWebhookEventResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeletePendingWebhookEventResponse - -`func NewDeletePendingWebhookEventResponse(status APIStatus, reason string, code string, ) *DeletePendingWebhookEventResponse` - -NewDeletePendingWebhookEventResponse instantiates a new DeletePendingWebhookEventResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeletePendingWebhookEventResponseWithDefaults - -`func NewDeletePendingWebhookEventResponseWithDefaults() *DeletePendingWebhookEventResponse` - -NewDeletePendingWebhookEventResponseWithDefaults instantiates a new DeletePendingWebhookEventResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeletePendingWebhookEventResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeletePendingWebhookEventResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeletePendingWebhookEventResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeletePendingWebhookEventResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeletePendingWebhookEventResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeletePendingWebhookEventResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeletePendingWebhookEventResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeletePendingWebhookEventResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeletePendingWebhookEventResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeletePendingWebhookEventResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeletePendingWebhookEventResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeletePendingWebhookEventResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeletePendingWebhookEventResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeletePendingWebhookEventResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeletePendingWebhookEventResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeletePendingWebhookEventResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeletePendingWebhookEventResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeletePendingWebhookEventResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeletePendingWebhookEventResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeletePendingWebhookEventResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeletePendingWebhookEventResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeletePendingWebhookEventResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeletePendingWebhookEventResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeletePendingWebhookEventResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeletePendingWebhookEventResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeletePendingWebhookEventResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeletePendingWebhookEventResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeletePendingWebhookEventResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeletePendingWebhookEventResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionConfigResponse.md b/client/docs/DeleteQuestionConfigResponse.md deleted file mode 100644 index 1c01f15..0000000 --- a/client/docs/DeleteQuestionConfigResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteQuestionConfigResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteQuestionConfigResponse - -`func NewDeleteQuestionConfigResponse(status APIStatus, reason string, code string, ) *DeleteQuestionConfigResponse` - -NewDeleteQuestionConfigResponse instantiates a new DeleteQuestionConfigResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteQuestionConfigResponseWithDefaults - -`func NewDeleteQuestionConfigResponseWithDefaults() *DeleteQuestionConfigResponse` - -NewDeleteQuestionConfigResponseWithDefaults instantiates a new DeleteQuestionConfigResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteQuestionConfigResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteQuestionConfigResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteQuestionConfigResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteQuestionConfigResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteQuestionConfigResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteQuestionConfigResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteQuestionConfigResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteQuestionConfigResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteQuestionConfigResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteQuestionConfigResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteQuestionConfigResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteQuestionConfigResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteQuestionConfigResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteQuestionConfigResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteQuestionConfigResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteQuestionConfigResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteQuestionConfigResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteQuestionConfigResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteQuestionConfigResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteQuestionConfigResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteQuestionConfigResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteQuestionConfigResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteQuestionConfigResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteQuestionConfigResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteQuestionConfigResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteQuestionConfigResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteQuestionConfigResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteQuestionConfigResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteQuestionConfigResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteQuestionResultResponse.md b/client/docs/DeleteQuestionResultResponse.md deleted file mode 100644 index 06b92b3..0000000 --- a/client/docs/DeleteQuestionResultResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteQuestionResultResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteQuestionResultResponse - -`func NewDeleteQuestionResultResponse(status APIStatus, reason string, code string, ) *DeleteQuestionResultResponse` - -NewDeleteQuestionResultResponse instantiates a new DeleteQuestionResultResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteQuestionResultResponseWithDefaults - -`func NewDeleteQuestionResultResponseWithDefaults() *DeleteQuestionResultResponse` - -NewDeleteQuestionResultResponseWithDefaults instantiates a new DeleteQuestionResultResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteQuestionResultResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteQuestionResultResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteQuestionResultResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteQuestionResultResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteQuestionResultResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteQuestionResultResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteQuestionResultResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteQuestionResultResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteQuestionResultResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteQuestionResultResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteQuestionResultResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteQuestionResultResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteQuestionResultResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteQuestionResultResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteQuestionResultResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteQuestionResultResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteQuestionResultResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteQuestionResultResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteQuestionResultResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteQuestionResultResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteQuestionResultResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteQuestionResultResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteQuestionResultResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteQuestionResultResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteQuestionResultResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteQuestionResultResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteQuestionResultResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteQuestionResultResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteQuestionResultResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantPackageResponse.md b/client/docs/DeleteTenantPackageResponse.md deleted file mode 100644 index 4d6f8cb..0000000 --- a/client/docs/DeleteTenantPackageResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteTenantPackageResponse - -`func NewDeleteTenantPackageResponse(status APIStatus, reason string, code string, ) *DeleteTenantPackageResponse` - -NewDeleteTenantPackageResponse instantiates a new DeleteTenantPackageResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteTenantPackageResponseWithDefaults - -`func NewDeleteTenantPackageResponseWithDefaults() *DeleteTenantPackageResponse` - -NewDeleteTenantPackageResponseWithDefaults instantiates a new DeleteTenantPackageResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteTenantPackageResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteTenantPackageResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteTenantPackageResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteTenantPackageResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteTenantPackageResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteTenantPackageResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteTenantPackageResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteTenantPackageResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteTenantPackageResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteTenantPackageResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteTenantPackageResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteTenantPackageResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteTenantPackageResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteTenantPackageResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteTenantPackageResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteTenantPackageResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteTenantPackageResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteTenantPackageResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteTenantPackageResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteTenantPackageResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteTenantPackageResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteTenantPackageResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantResponse.md b/client/docs/DeleteTenantResponse.md deleted file mode 100644 index d5e5c7b..0000000 --- a/client/docs/DeleteTenantResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteTenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteTenantResponse - -`func NewDeleteTenantResponse(status APIStatus, reason string, code string, ) *DeleteTenantResponse` - -NewDeleteTenantResponse instantiates a new DeleteTenantResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteTenantResponseWithDefaults - -`func NewDeleteTenantResponseWithDefaults() *DeleteTenantResponse` - -NewDeleteTenantResponseWithDefaults instantiates a new DeleteTenantResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteTenantResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteTenantResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteTenantResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteTenantResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteTenantResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteTenantResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteTenantResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteTenantResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteTenantResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteTenantResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteTenantResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteTenantResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteTenantResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteTenantResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteTenantResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteTenantResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteTenantResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteTenantResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteTenantResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteTenantResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteTenantResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteTenantResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteTenantResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteTenantResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteTenantResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteTenantResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteTenantResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteTenantResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteTenantResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteTenantUserResponse.md b/client/docs/DeleteTenantUserResponse.md deleted file mode 100644 index a51e330..0000000 --- a/client/docs/DeleteTenantUserResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteTenantUserResponse - -`func NewDeleteTenantUserResponse(status APIStatus, reason string, code string, ) *DeleteTenantUserResponse` - -NewDeleteTenantUserResponse instantiates a new DeleteTenantUserResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteTenantUserResponseWithDefaults - -`func NewDeleteTenantUserResponseWithDefaults() *DeleteTenantUserResponse` - -NewDeleteTenantUserResponseWithDefaults instantiates a new DeleteTenantUserResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteTenantUserResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteTenantUserResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteTenantUserResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteTenantUserResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteTenantUserResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteTenantUserResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteTenantUserResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteTenantUserResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteTenantUserResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteTenantUserResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteTenantUserResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteTenantUserResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteTenantUserResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteTenantUserResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteTenantUserResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteTenantUserResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteTenantUserResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteTenantUserResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteTenantUserResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteTenantUserResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteTenantUserResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteTenantUserResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteTenantUserResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteTenantUserResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteUserBadgeResponse.md b/client/docs/DeleteUserBadgeResponse.md deleted file mode 100644 index 2044510..0000000 --- a/client/docs/DeleteUserBadgeResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteUserBadgeResponse - -`func NewDeleteUserBadgeResponse(status APIStatus, reason string, code string, ) *DeleteUserBadgeResponse` - -NewDeleteUserBadgeResponse instantiates a new DeleteUserBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteUserBadgeResponseWithDefaults - -`func NewDeleteUserBadgeResponseWithDefaults() *DeleteUserBadgeResponse` - -NewDeleteUserBadgeResponseWithDefaults instantiates a new DeleteUserBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteUserBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteUserBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteUserBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteUserBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteUserBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteUserBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteUserBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteUserBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteUserBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteUserBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteUserBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteUserBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteUserBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteUserBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteUserBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteUserBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteUserBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteUserBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteUserBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteUserBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteUserBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteUserBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV1PageReactResponse.md b/client/docs/DeleteV1PageReactResponse.md deleted file mode 100644 index b15faf9..0000000 --- a/client/docs/DeleteV1PageReactResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteV1PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Code** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteV1PageReactResponse - -`func NewDeleteV1PageReactResponse(code string, status APIStatus, reason string, ) *DeleteV1PageReactResponse` - -NewDeleteV1PageReactResponse instantiates a new DeleteV1PageReactResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteV1PageReactResponseWithDefaults - -`func NewDeleteV1PageReactResponseWithDefaults() *DeleteV1PageReactResponse` - -NewDeleteV1PageReactResponseWithDefaults instantiates a new DeleteV1PageReactResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCode - -`func (o *DeleteV1PageReactResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteV1PageReactResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteV1PageReactResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetStatus - -`func (o *DeleteV1PageReactResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteV1PageReactResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteV1PageReactResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteV1PageReactResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteV1PageReactResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteV1PageReactResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *DeleteV1PageReactResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteV1PageReactResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteV1PageReactResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteV1PageReactResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteV1PageReactResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteV1PageReactResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteV1PageReactResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteV1PageReactResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteV1PageReactResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteV1PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteV1PageReactResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteV1PageReactResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteV1PageReactResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteV1PageReactResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteV1PageReactResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteV1PageReactResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteV1PageReactResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteV1PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteV1PageReactResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteV1PageReactResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteV2PageReactResponse.md b/client/docs/DeleteV2PageReactResponse.md deleted file mode 100644 index c0f57ed..0000000 --- a/client/docs/DeleteV2PageReactResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# DeleteV2PageReactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Code** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteV2PageReactResponse - -`func NewDeleteV2PageReactResponse(code string, status APIStatus, reason string, ) *DeleteV2PageReactResponse` - -NewDeleteV2PageReactResponse instantiates a new DeleteV2PageReactResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteV2PageReactResponseWithDefaults - -`func NewDeleteV2PageReactResponseWithDefaults() *DeleteV2PageReactResponse` - -NewDeleteV2PageReactResponseWithDefaults instantiates a new DeleteV2PageReactResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCode - -`func (o *DeleteV2PageReactResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteV2PageReactResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteV2PageReactResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetStatus - -`func (o *DeleteV2PageReactResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteV2PageReactResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteV2PageReactResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *DeleteV2PageReactResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteV2PageReactResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteV2PageReactResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *DeleteV2PageReactResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteV2PageReactResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteV2PageReactResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteV2PageReactResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteV2PageReactResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteV2PageReactResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteV2PageReactResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteV2PageReactResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteV2PageReactResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteV2PageReactResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteV2PageReactResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteV2PageReactResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteV2PageReactResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteV2PageReactResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteV2PageReactResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteV2PageReactResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteV2PageReactResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteV2PageReactResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteV2PageReactResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteV2PageReactResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/DeleteVoteResponse.md b/client/docs/DeleteVoteResponse.md deleted file mode 100644 index 292dd83..0000000 --- a/client/docs/DeleteVoteResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# DeleteVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**WasPendingVote** | Pointer to **bool** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewDeleteVoteResponse - -`func NewDeleteVoteResponse(status APIStatus, reason string, code string, ) *DeleteVoteResponse` - -NewDeleteVoteResponse instantiates a new DeleteVoteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewDeleteVoteResponseWithDefaults - -`func NewDeleteVoteResponseWithDefaults() *DeleteVoteResponse` - -NewDeleteVoteResponseWithDefaults instantiates a new DeleteVoteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *DeleteVoteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DeleteVoteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DeleteVoteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetWasPendingVote - -`func (o *DeleteVoteResponse) GetWasPendingVote() bool` - -GetWasPendingVote returns the WasPendingVote field if non-nil, zero value otherwise. - -### GetWasPendingVoteOk - -`func (o *DeleteVoteResponse) GetWasPendingVoteOk() (*bool, bool)` - -GetWasPendingVoteOk returns a tuple with the WasPendingVote field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWasPendingVote - -`func (o *DeleteVoteResponse) SetWasPendingVote(v bool)` - -SetWasPendingVote sets WasPendingVote field to given value. - -### HasWasPendingVote - -`func (o *DeleteVoteResponse) HasWasPendingVote() bool` - -HasWasPendingVote returns a boolean if a field has been set. - -### GetReason - -`func (o *DeleteVoteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *DeleteVoteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *DeleteVoteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *DeleteVoteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *DeleteVoteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *DeleteVoteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *DeleteVoteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *DeleteVoteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *DeleteVoteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *DeleteVoteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *DeleteVoteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *DeleteVoteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *DeleteVoteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *DeleteVoteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *DeleteVoteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *DeleteVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *DeleteVoteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *DeleteVoteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *DeleteVoteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *DeleteVoteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *DeleteVoteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *DeleteVoteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *DeleteVoteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *DeleteVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *DeleteVoteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *DeleteVoteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentPublicResponse.md b/client/docs/FlagCommentPublicResponse.md deleted file mode 100644 index cd97af3..0000000 --- a/client/docs/FlagCommentPublicResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# FlagCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewFlagCommentPublicResponse - -`func NewFlagCommentPublicResponse(status APIStatus, reason string, code string, ) *FlagCommentPublicResponse` - -NewFlagCommentPublicResponse instantiates a new FlagCommentPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewFlagCommentPublicResponseWithDefaults - -`func NewFlagCommentPublicResponseWithDefaults() *FlagCommentPublicResponse` - -NewFlagCommentPublicResponseWithDefaults instantiates a new FlagCommentPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *FlagCommentPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *FlagCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *FlagCommentPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *FlagCommentPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *FlagCommentPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *FlagCommentPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *FlagCommentPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *FlagCommentPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *FlagCommentPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *FlagCommentPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *FlagCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *FlagCommentPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *FlagCommentPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *FlagCommentPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *FlagCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *FlagCommentPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *FlagCommentPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *FlagCommentPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *FlagCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *FlagCommentPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *FlagCommentPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *FlagCommentPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *FlagCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *FlagCommentPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *FlagCommentPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *FlagCommentPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *FlagCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *FlagCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *FlagCommentPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/FlagCommentResponse1.md b/client/docs/FlagCommentResponse1.md deleted file mode 100644 index b357a63..0000000 --- a/client/docs/FlagCommentResponse1.md +++ /dev/null @@ -1,275 +0,0 @@ -# FlagCommentResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**StatusCode** | Pointer to **int32** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Code** | **string** | | -**Reason** | **string** | | -**WasUnapproved** | Pointer to **bool** | | [optional] -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewFlagCommentResponse1 - -`func NewFlagCommentResponse1(status APIStatus, code string, reason string, ) *FlagCommentResponse1` - -NewFlagCommentResponse1 instantiates a new FlagCommentResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewFlagCommentResponse1WithDefaults - -`func NewFlagCommentResponse1WithDefaults() *FlagCommentResponse1` - -NewFlagCommentResponse1WithDefaults instantiates a new FlagCommentResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatusCode - -`func (o *FlagCommentResponse1) GetStatusCode() int32` - -GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. - -### GetStatusCodeOk - -`func (o *FlagCommentResponse1) GetStatusCodeOk() (*int32, bool)` - -GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusCode - -`func (o *FlagCommentResponse1) SetStatusCode(v int32)` - -SetStatusCode sets StatusCode field to given value. - -### HasStatusCode - -`func (o *FlagCommentResponse1) HasStatusCode() bool` - -HasStatusCode returns a boolean if a field has been set. - -### GetStatus - -`func (o *FlagCommentResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *FlagCommentResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *FlagCommentResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCode - -`func (o *FlagCommentResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *FlagCommentResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *FlagCommentResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *FlagCommentResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *FlagCommentResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *FlagCommentResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetWasUnapproved - -`func (o *FlagCommentResponse1) GetWasUnapproved() bool` - -GetWasUnapproved returns the WasUnapproved field if non-nil, zero value otherwise. - -### GetWasUnapprovedOk - -`func (o *FlagCommentResponse1) GetWasUnapprovedOk() (*bool, bool)` - -GetWasUnapprovedOk returns a tuple with the WasUnapproved field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWasUnapproved - -`func (o *FlagCommentResponse1) SetWasUnapproved(v bool)` - -SetWasUnapproved sets WasUnapproved field to given value. - -### HasWasUnapproved - -`func (o *FlagCommentResponse1) HasWasUnapproved() bool` - -HasWasUnapproved returns a boolean if a field has been set. - -### GetSecondaryCode - -`func (o *FlagCommentResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *FlagCommentResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *FlagCommentResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *FlagCommentResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *FlagCommentResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *FlagCommentResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *FlagCommentResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *FlagCommentResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *FlagCommentResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *FlagCommentResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *FlagCommentResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *FlagCommentResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *FlagCommentResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *FlagCommentResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *FlagCommentResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *FlagCommentResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *FlagCommentResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *FlagCommentResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *FlagCommentResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *FlagCommentResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiCommentsResponse.md b/client/docs/GetApiCommentsResponse.md deleted file mode 100644 index 207612c..0000000 --- a/client/docs/GetApiCommentsResponse.md +++ /dev/null @@ -1,291 +0,0 @@ -# GetApiCommentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Translations** | **map[string]interface{}** | | -**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | -**ModerationFilter** | Pointer to [**ModerationFilter**](ModerationFilter.md) | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetApiCommentsResponse - -`func NewGetApiCommentsResponse(status APIStatus, translations map[string]interface{}, comments []ModerationAPIComment, reason string, code string, ) *GetApiCommentsResponse` - -NewGetApiCommentsResponse instantiates a new GetApiCommentsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetApiCommentsResponseWithDefaults - -`func NewGetApiCommentsResponseWithDefaults() *GetApiCommentsResponse` - -NewGetApiCommentsResponseWithDefaults instantiates a new GetApiCommentsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetApiCommentsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetApiCommentsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetApiCommentsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTranslations - -`func (o *GetApiCommentsResponse) GetTranslations() map[string]interface{}` - -GetTranslations returns the Translations field if non-nil, zero value otherwise. - -### GetTranslationsOk - -`func (o *GetApiCommentsResponse) GetTranslationsOk() (*map[string]interface{}, bool)` - -GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslations - -`func (o *GetApiCommentsResponse) SetTranslations(v map[string]interface{})` - -SetTranslations sets Translations field to given value. - - -### GetComments - -`func (o *GetApiCommentsResponse) GetComments() []ModerationAPIComment` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *GetApiCommentsResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *GetApiCommentsResponse) SetComments(v []ModerationAPIComment)` - -SetComments sets Comments field to given value. - - -### GetModerationFilter - -`func (o *GetApiCommentsResponse) GetModerationFilter() ModerationFilter` - -GetModerationFilter returns the ModerationFilter field if non-nil, zero value otherwise. - -### GetModerationFilterOk - -`func (o *GetApiCommentsResponse) GetModerationFilterOk() (*ModerationFilter, bool)` - -GetModerationFilterOk returns a tuple with the ModerationFilter field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModerationFilter - -`func (o *GetApiCommentsResponse) SetModerationFilter(v ModerationFilter)` - -SetModerationFilter sets ModerationFilter field to given value. - -### HasModerationFilter - -`func (o *GetApiCommentsResponse) HasModerationFilter() bool` - -HasModerationFilter returns a boolean if a field has been set. - -### GetReason - -`func (o *GetApiCommentsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetApiCommentsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetApiCommentsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetApiCommentsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetApiCommentsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetApiCommentsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetApiCommentsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetApiCommentsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetApiCommentsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetApiCommentsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetApiCommentsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetApiCommentsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetApiCommentsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetApiCommentsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetApiCommentsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetApiCommentsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetApiCommentsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetApiCommentsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetApiCommentsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetApiCommentsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetApiCommentsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetApiCommentsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetApiCommentsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetApiCommentsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetApiCommentsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetApiCommentsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiExportStatusResponse.md b/client/docs/GetApiExportStatusResponse.md deleted file mode 100644 index d833896..0000000 --- a/client/docs/GetApiExportStatusResponse.md +++ /dev/null @@ -1,291 +0,0 @@ -# GetApiExportStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**JobStatus** | **string** | | -**RecordCount** | **int32** | | -**DownloadUrl** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetApiExportStatusResponse - -`func NewGetApiExportStatusResponse(status APIStatus, jobStatus string, recordCount int32, reason string, code string, ) *GetApiExportStatusResponse` - -NewGetApiExportStatusResponse instantiates a new GetApiExportStatusResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetApiExportStatusResponseWithDefaults - -`func NewGetApiExportStatusResponseWithDefaults() *GetApiExportStatusResponse` - -NewGetApiExportStatusResponseWithDefaults instantiates a new GetApiExportStatusResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetApiExportStatusResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetApiExportStatusResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetApiExportStatusResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetJobStatus - -`func (o *GetApiExportStatusResponse) GetJobStatus() string` - -GetJobStatus returns the JobStatus field if non-nil, zero value otherwise. - -### GetJobStatusOk - -`func (o *GetApiExportStatusResponse) GetJobStatusOk() (*string, bool)` - -GetJobStatusOk returns a tuple with the JobStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJobStatus - -`func (o *GetApiExportStatusResponse) SetJobStatus(v string)` - -SetJobStatus sets JobStatus field to given value. - - -### GetRecordCount - -`func (o *GetApiExportStatusResponse) GetRecordCount() int32` - -GetRecordCount returns the RecordCount field if non-nil, zero value otherwise. - -### GetRecordCountOk - -`func (o *GetApiExportStatusResponse) GetRecordCountOk() (*int32, bool)` - -GetRecordCountOk returns a tuple with the RecordCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRecordCount - -`func (o *GetApiExportStatusResponse) SetRecordCount(v int32)` - -SetRecordCount sets RecordCount field to given value. - - -### GetDownloadUrl - -`func (o *GetApiExportStatusResponse) GetDownloadUrl() string` - -GetDownloadUrl returns the DownloadUrl field if non-nil, zero value otherwise. - -### GetDownloadUrlOk - -`func (o *GetApiExportStatusResponse) GetDownloadUrlOk() (*string, bool)` - -GetDownloadUrlOk returns a tuple with the DownloadUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloadUrl - -`func (o *GetApiExportStatusResponse) SetDownloadUrl(v string)` - -SetDownloadUrl sets DownloadUrl field to given value. - -### HasDownloadUrl - -`func (o *GetApiExportStatusResponse) HasDownloadUrl() bool` - -HasDownloadUrl returns a boolean if a field has been set. - -### GetReason - -`func (o *GetApiExportStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetApiExportStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetApiExportStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetApiExportStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetApiExportStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetApiExportStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetApiExportStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetApiExportStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetApiExportStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetApiExportStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetApiExportStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetApiExportStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetApiExportStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetApiExportStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetApiExportStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetApiExportStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetApiExportStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetApiExportStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetApiExportStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetApiExportStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetApiExportStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetApiExportStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetApiExportStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetApiExportStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetApiExportStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetApiExportStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetApiIdsResponse.md b/client/docs/GetApiIdsResponse.md deleted file mode 100644 index 8e25982..0000000 --- a/client/docs/GetApiIdsResponse.md +++ /dev/null @@ -1,265 +0,0 @@ -# GetApiIdsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Ids** | **[]string** | | -**HasMore** | **bool** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetApiIdsResponse - -`func NewGetApiIdsResponse(ids []string, hasMore bool, status APIStatus, reason string, code string, ) *GetApiIdsResponse` - -NewGetApiIdsResponse instantiates a new GetApiIdsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetApiIdsResponseWithDefaults - -`func NewGetApiIdsResponseWithDefaults() *GetApiIdsResponse` - -NewGetApiIdsResponseWithDefaults instantiates a new GetApiIdsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetIds - -`func (o *GetApiIdsResponse) GetIds() []string` - -GetIds returns the Ids field if non-nil, zero value otherwise. - -### GetIdsOk - -`func (o *GetApiIdsResponse) GetIdsOk() (*[]string, bool)` - -GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIds - -`func (o *GetApiIdsResponse) SetIds(v []string)` - -SetIds sets Ids field to given value. - - -### GetHasMore - -`func (o *GetApiIdsResponse) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *GetApiIdsResponse) GetHasMoreOk() (*bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasMore - -`func (o *GetApiIdsResponse) SetHasMore(v bool)` - -SetHasMore sets HasMore field to given value. - - -### GetStatus - -`func (o *GetApiIdsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetApiIdsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetApiIdsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetApiIdsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetApiIdsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetApiIdsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetApiIdsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetApiIdsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetApiIdsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetApiIdsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetApiIdsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetApiIdsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetApiIdsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetApiIdsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetApiIdsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetApiIdsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetApiIdsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetApiIdsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetApiIdsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetApiIdsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetApiIdsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetApiIdsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetApiIdsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetApiIdsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetApiIdsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetApiIdsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetApiIdsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetApiIdsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetApiIdsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetAuditLogsResponse1.md b/client/docs/GetAuditLogsResponse1.md deleted file mode 100644 index 9ecafb0..0000000 --- a/client/docs/GetAuditLogsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetAuditLogsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**AuditLogs** | [**[]APIAuditLog**](APIAuditLog.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetAuditLogsResponse1 - -`func NewGetAuditLogsResponse1(status APIStatus, auditLogs []APIAuditLog, reason string, code string, ) *GetAuditLogsResponse1` - -NewGetAuditLogsResponse1 instantiates a new GetAuditLogsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetAuditLogsResponse1WithDefaults - -`func NewGetAuditLogsResponse1WithDefaults() *GetAuditLogsResponse1` - -NewGetAuditLogsResponse1WithDefaults instantiates a new GetAuditLogsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetAuditLogsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetAuditLogsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetAuditLogsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetAuditLogs - -`func (o *GetAuditLogsResponse1) GetAuditLogs() []APIAuditLog` - -GetAuditLogs returns the AuditLogs field if non-nil, zero value otherwise. - -### GetAuditLogsOk - -`func (o *GetAuditLogsResponse1) GetAuditLogsOk() (*[]APIAuditLog, bool)` - -GetAuditLogsOk returns a tuple with the AuditLogs field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAuditLogs - -`func (o *GetAuditLogsResponse1) SetAuditLogs(v []APIAuditLog)` - -SetAuditLogs sets AuditLogs field to given value. - - -### GetReason - -`func (o *GetAuditLogsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetAuditLogsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetAuditLogsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetAuditLogsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetAuditLogsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetAuditLogsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetAuditLogsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetAuditLogsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetAuditLogsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetAuditLogsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetAuditLogsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetAuditLogsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetAuditLogsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetAuditLogsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetAuditLogsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetAuditLogsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetAuditLogsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetAuditLogsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetAuditLogsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetAuditLogsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetAuditLogsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetAuditLogsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetAuditLogsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetAuditLogsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetAuditLogsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetAuditLogsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetBanUsersFromCommentResponse.md b/client/docs/GetBanUsersFromCommentResponse.md deleted file mode 100644 index e95930f..0000000 --- a/client/docs/GetBanUsersFromCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetBanUsersFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**BannedUsers** | [**[]APIBannedUserWithMultiMatchInfo**](APIBannedUserWithMultiMatchInfo.md) | | -**Code** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetBanUsersFromCommentResponse - -`func NewGetBanUsersFromCommentResponse(bannedUsers []APIBannedUserWithMultiMatchInfo, code string, status APIStatus, reason string, ) *GetBanUsersFromCommentResponse` - -NewGetBanUsersFromCommentResponse instantiates a new GetBanUsersFromCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetBanUsersFromCommentResponseWithDefaults - -`func NewGetBanUsersFromCommentResponseWithDefaults() *GetBanUsersFromCommentResponse` - -NewGetBanUsersFromCommentResponseWithDefaults instantiates a new GetBanUsersFromCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetBannedUsers - -`func (o *GetBanUsersFromCommentResponse) GetBannedUsers() []APIBannedUserWithMultiMatchInfo` - -GetBannedUsers returns the BannedUsers field if non-nil, zero value otherwise. - -### GetBannedUsersOk - -`func (o *GetBanUsersFromCommentResponse) GetBannedUsersOk() (*[]APIBannedUserWithMultiMatchInfo, bool)` - -GetBannedUsersOk returns a tuple with the BannedUsers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUsers - -`func (o *GetBanUsersFromCommentResponse) SetBannedUsers(v []APIBannedUserWithMultiMatchInfo)` - -SetBannedUsers sets BannedUsers field to given value. - - -### GetCode - -`func (o *GetBanUsersFromCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetBanUsersFromCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetBanUsersFromCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetStatus - -`func (o *GetBanUsersFromCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetBanUsersFromCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetBanUsersFromCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetBanUsersFromCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetBanUsersFromCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetBanUsersFromCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *GetBanUsersFromCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetBanUsersFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetBanUsersFromCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetBanUsersFromCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetBanUsersFromCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetBanUsersFromCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetBanUsersFromCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetBanUsersFromCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetBanUsersFromCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetBanUsersFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetBanUsersFromCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetBanUsersFromCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetBanUsersFromCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetBanUsersFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetBanUsersFromCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetBanUsersFromCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetBanUsersFromCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetBanUsersFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetBanUsersFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetBanUsersFromCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCachedNotificationCountResponse1.md b/client/docs/GetCachedNotificationCountResponse1.md deleted file mode 100644 index ff4247b..0000000 --- a/client/docs/GetCachedNotificationCountResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCachedNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Data** | [**UserNotificationCount**](UserNotificationCount.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCachedNotificationCountResponse1 - -`func NewGetCachedNotificationCountResponse1(status APIStatus, data UserNotificationCount, reason string, code string, ) *GetCachedNotificationCountResponse1` - -NewGetCachedNotificationCountResponse1 instantiates a new GetCachedNotificationCountResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCachedNotificationCountResponse1WithDefaults - -`func NewGetCachedNotificationCountResponse1WithDefaults() *GetCachedNotificationCountResponse1` - -NewGetCachedNotificationCountResponse1WithDefaults instantiates a new GetCachedNotificationCountResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCachedNotificationCountResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCachedNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCachedNotificationCountResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetData - -`func (o *GetCachedNotificationCountResponse1) GetData() UserNotificationCount` - -GetData returns the Data field if non-nil, zero value otherwise. - -### GetDataOk - -`func (o *GetCachedNotificationCountResponse1) GetDataOk() (*UserNotificationCount, bool)` - -GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetData - -`func (o *GetCachedNotificationCountResponse1) SetData(v UserNotificationCount)` - -SetData sets Data field to given value. - - -### GetReason - -`func (o *GetCachedNotificationCountResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCachedNotificationCountResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCachedNotificationCountResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCachedNotificationCountResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCachedNotificationCountResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCachedNotificationCountResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCachedNotificationCountResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCachedNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCachedNotificationCountResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCachedNotificationCountResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCachedNotificationCountResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCachedNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCachedNotificationCountResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCachedNotificationCountResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCachedNotificationCountResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCachedNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCachedNotificationCountResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCachedNotificationCountResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCachedNotificationCountResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCachedNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCachedNotificationCountResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCachedNotificationCountResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCachedNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCachedNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCachedNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCachedNotificationCountResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentBanStatusResponse1.md b/client/docs/GetCommentBanStatusResponse1.md deleted file mode 100644 index 8631080..0000000 --- a/client/docs/GetCommentBanStatusResponse1.md +++ /dev/null @@ -1,285 +0,0 @@ -# GetCommentBanStatusResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**EmailDomain** | **NullableString** | | -**CanIPBan** | **NullableBool** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentBanStatusResponse1 - -`func NewGetCommentBanStatusResponse1(status APIStatus, emailDomain NullableString, canIPBan NullableBool, reason string, code string, ) *GetCommentBanStatusResponse1` - -NewGetCommentBanStatusResponse1 instantiates a new GetCommentBanStatusResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentBanStatusResponse1WithDefaults - -`func NewGetCommentBanStatusResponse1WithDefaults() *GetCommentBanStatusResponse1` - -NewGetCommentBanStatusResponse1WithDefaults instantiates a new GetCommentBanStatusResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCommentBanStatusResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentBanStatusResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentBanStatusResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetEmailDomain - -`func (o *GetCommentBanStatusResponse1) GetEmailDomain() string` - -GetEmailDomain returns the EmailDomain field if non-nil, zero value otherwise. - -### GetEmailDomainOk - -`func (o *GetCommentBanStatusResponse1) GetEmailDomainOk() (*string, bool)` - -GetEmailDomainOk returns a tuple with the EmailDomain field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailDomain - -`func (o *GetCommentBanStatusResponse1) SetEmailDomain(v string)` - -SetEmailDomain sets EmailDomain field to given value. - - -### SetEmailDomainNil - -`func (o *GetCommentBanStatusResponse1) SetEmailDomainNil(b bool)` - - SetEmailDomainNil sets the value for EmailDomain to be an explicit nil - -### UnsetEmailDomain -`func (o *GetCommentBanStatusResponse1) UnsetEmailDomain()` - -UnsetEmailDomain ensures that no value is present for EmailDomain, not even an explicit nil -### GetCanIPBan - -`func (o *GetCommentBanStatusResponse1) GetCanIPBan() bool` - -GetCanIPBan returns the CanIPBan field if non-nil, zero value otherwise. - -### GetCanIPBanOk - -`func (o *GetCommentBanStatusResponse1) GetCanIPBanOk() (*bool, bool)` - -GetCanIPBanOk returns a tuple with the CanIPBan field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCanIPBan - -`func (o *GetCommentBanStatusResponse1) SetCanIPBan(v bool)` - -SetCanIPBan sets CanIPBan field to given value. - - -### SetCanIPBanNil - -`func (o *GetCommentBanStatusResponse1) SetCanIPBanNil(b bool)` - - SetCanIPBanNil sets the value for CanIPBan to be an explicit nil - -### UnsetCanIPBan -`func (o *GetCommentBanStatusResponse1) UnsetCanIPBan()` - -UnsetCanIPBan ensures that no value is present for CanIPBan, not even an explicit nil -### GetReason - -`func (o *GetCommentBanStatusResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentBanStatusResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentBanStatusResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentBanStatusResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentBanStatusResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentBanStatusResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentBanStatusResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentBanStatusResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentBanStatusResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentBanStatusResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentBanStatusResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentBanStatusResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentBanStatusResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentBanStatusResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentBanStatusResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentBanStatusResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentBanStatusResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentBanStatusResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentBanStatusResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentBanStatusResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentBanStatusResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentBanStatusResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentBanStatusResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentBanStatusResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentBanStatusResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentBanStatusResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentChildrenResponse.md b/client/docs/GetCommentChildrenResponse.md deleted file mode 100644 index 1c2c74e..0000000 --- a/client/docs/GetCommentChildrenResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCommentChildrenResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentChildrenResponse - -`func NewGetCommentChildrenResponse(comments []ModerationAPIComment, status APIStatus, reason string, code string, ) *GetCommentChildrenResponse` - -NewGetCommentChildrenResponse instantiates a new GetCommentChildrenResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentChildrenResponseWithDefaults - -`func NewGetCommentChildrenResponseWithDefaults() *GetCommentChildrenResponse` - -NewGetCommentChildrenResponseWithDefaults instantiates a new GetCommentChildrenResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComments - -`func (o *GetCommentChildrenResponse) GetComments() []ModerationAPIComment` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *GetCommentChildrenResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *GetCommentChildrenResponse) SetComments(v []ModerationAPIComment)` - -SetComments sets Comments field to given value. - - -### GetStatus - -`func (o *GetCommentChildrenResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentChildrenResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentChildrenResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetCommentChildrenResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentChildrenResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentChildrenResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentChildrenResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentChildrenResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentChildrenResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentChildrenResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentChildrenResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentChildrenResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentChildrenResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentChildrenResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentChildrenResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentChildrenResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentChildrenResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentChildrenResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentChildrenResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentChildrenResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentChildrenResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentChildrenResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentChildrenResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentChildrenResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentChildrenResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentChildrenResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentChildrenResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentChildrenResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentChildrenResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentResponse.md b/client/docs/GetCommentResponse.md deleted file mode 100644 index 995d296..0000000 --- a/client/docs/GetCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Comment** | [**APIComment**](APIComment.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentResponse - -`func NewGetCommentResponse(status APIStatus, comment APIComment, reason string, code string, ) *GetCommentResponse` - -NewGetCommentResponse instantiates a new GetCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentResponseWithDefaults - -`func NewGetCommentResponseWithDefaults() *GetCommentResponse` - -NewGetCommentResponseWithDefaults instantiates a new GetCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetComment - -`func (o *GetCommentResponse) GetComment() APIComment` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *GetCommentResponse) GetCommentOk() (*APIComment, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *GetCommentResponse) SetComment(v APIComment)` - -SetComment sets Comment field to given value. - - -### GetReason - -`func (o *GetCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentTextResponse1.md b/client/docs/GetCommentTextResponse1.md deleted file mode 100644 index 94b8ba1..0000000 --- a/client/docs/GetCommentTextResponse1.md +++ /dev/null @@ -1,265 +0,0 @@ -# GetCommentTextResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**CommentText** | **string** | | -**SanitizedCommentText** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentTextResponse1 - -`func NewGetCommentTextResponse1(status APIStatus, commentText string, sanitizedCommentText string, reason string, code string, ) *GetCommentTextResponse1` - -NewGetCommentTextResponse1 instantiates a new GetCommentTextResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentTextResponse1WithDefaults - -`func NewGetCommentTextResponse1WithDefaults() *GetCommentTextResponse1` - -NewGetCommentTextResponse1WithDefaults instantiates a new GetCommentTextResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCommentTextResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentTextResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentTextResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCommentText - -`func (o *GetCommentTextResponse1) GetCommentText() string` - -GetCommentText returns the CommentText field if non-nil, zero value otherwise. - -### GetCommentTextOk - -`func (o *GetCommentTextResponse1) GetCommentTextOk() (*string, bool)` - -GetCommentTextOk returns a tuple with the CommentText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentText - -`func (o *GetCommentTextResponse1) SetCommentText(v string)` - -SetCommentText sets CommentText field to given value. - - -### GetSanitizedCommentText - -`func (o *GetCommentTextResponse1) GetSanitizedCommentText() string` - -GetSanitizedCommentText returns the SanitizedCommentText field if non-nil, zero value otherwise. - -### GetSanitizedCommentTextOk - -`func (o *GetCommentTextResponse1) GetSanitizedCommentTextOk() (*string, bool)` - -GetSanitizedCommentTextOk returns a tuple with the SanitizedCommentText field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSanitizedCommentText - -`func (o *GetCommentTextResponse1) SetSanitizedCommentText(v string)` - -SetSanitizedCommentText sets SanitizedCommentText field to given value. - - -### GetReason - -`func (o *GetCommentTextResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentTextResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentTextResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentTextResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentTextResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentTextResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentTextResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentTextResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentTextResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentTextResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentTextResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentTextResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentTextResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentTextResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentTextResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentTextResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentTextResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentTextResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentTextResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentTextResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentTextResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentTextResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentTextResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentTextResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentTextResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentTextResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentVoteUserNamesResponse.md b/client/docs/GetCommentVoteUserNamesResponse.md deleted file mode 100644 index 42f1135..0000000 --- a/client/docs/GetCommentVoteUserNamesResponse.md +++ /dev/null @@ -1,265 +0,0 @@ -# GetCommentVoteUserNamesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**VoteUserNames** | **[]string** | | -**HasMore** | **bool** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentVoteUserNamesResponse - -`func NewGetCommentVoteUserNamesResponse(status APIStatus, voteUserNames []string, hasMore bool, reason string, code string, ) *GetCommentVoteUserNamesResponse` - -NewGetCommentVoteUserNamesResponse instantiates a new GetCommentVoteUserNamesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentVoteUserNamesResponseWithDefaults - -`func NewGetCommentVoteUserNamesResponseWithDefaults() *GetCommentVoteUserNamesResponse` - -NewGetCommentVoteUserNamesResponseWithDefaults instantiates a new GetCommentVoteUserNamesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCommentVoteUserNamesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentVoteUserNamesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentVoteUserNamesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetVoteUserNames - -`func (o *GetCommentVoteUserNamesResponse) GetVoteUserNames() []string` - -GetVoteUserNames returns the VoteUserNames field if non-nil, zero value otherwise. - -### GetVoteUserNamesOk - -`func (o *GetCommentVoteUserNamesResponse) GetVoteUserNamesOk() (*[]string, bool)` - -GetVoteUserNamesOk returns a tuple with the VoteUserNames field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVoteUserNames - -`func (o *GetCommentVoteUserNamesResponse) SetVoteUserNames(v []string)` - -SetVoteUserNames sets VoteUserNames field to given value. - - -### GetHasMore - -`func (o *GetCommentVoteUserNamesResponse) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *GetCommentVoteUserNamesResponse) GetHasMoreOk() (*bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasMore - -`func (o *GetCommentVoteUserNamesResponse) SetHasMore(v bool)` - -SetHasMore sets HasMore field to given value. - - -### GetReason - -`func (o *GetCommentVoteUserNamesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentVoteUserNamesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentVoteUserNamesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentVoteUserNamesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentVoteUserNamesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentVoteUserNamesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentVoteUserNamesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentVoteUserNamesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentVoteUserNamesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentVoteUserNamesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentVoteUserNamesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentVoteUserNamesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentVoteUserNamesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentVoteUserNamesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentVoteUserNamesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentVoteUserNamesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentVoteUserNamesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentVoteUserNamesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentVoteUserNamesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentVoteUserNamesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentVoteUserNamesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentVoteUserNamesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentVoteUserNamesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentVoteUserNamesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentVoteUserNamesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentVoteUserNamesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsForUserResponse1.md b/client/docs/GetCommentsForUserResponse1.md deleted file mode 100644 index 970d100..0000000 --- a/client/docs/GetCommentsForUserResponse1.md +++ /dev/null @@ -1,249 +0,0 @@ -# GetCommentsForUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ModeratingTenantIds** | Pointer to **[]string** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentsForUserResponse1 - -`func NewGetCommentsForUserResponse1(status APIStatus, reason string, code string, ) *GetCommentsForUserResponse1` - -NewGetCommentsForUserResponse1 instantiates a new GetCommentsForUserResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentsForUserResponse1WithDefaults - -`func NewGetCommentsForUserResponse1WithDefaults() *GetCommentsForUserResponse1` - -NewGetCommentsForUserResponse1WithDefaults instantiates a new GetCommentsForUserResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetModeratingTenantIds - -`func (o *GetCommentsForUserResponse1) GetModeratingTenantIds() []string` - -GetModeratingTenantIds returns the ModeratingTenantIds field if non-nil, zero value otherwise. - -### GetModeratingTenantIdsOk - -`func (o *GetCommentsForUserResponse1) GetModeratingTenantIdsOk() (*[]string, bool)` - -GetModeratingTenantIdsOk returns a tuple with the ModeratingTenantIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModeratingTenantIds - -`func (o *GetCommentsForUserResponse1) SetModeratingTenantIds(v []string)` - -SetModeratingTenantIds sets ModeratingTenantIds field to given value. - -### HasModeratingTenantIds - -`func (o *GetCommentsForUserResponse1) HasModeratingTenantIds() bool` - -HasModeratingTenantIds returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetCommentsForUserResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentsForUserResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentsForUserResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetCommentsForUserResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentsForUserResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentsForUserResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentsForUserResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentsForUserResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentsForUserResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentsForUserResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentsForUserResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentsForUserResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentsForUserResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentsForUserResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentsForUserResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentsForUserResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentsForUserResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentsForUserResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentsForUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentsForUserResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentsForUserResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentsForUserResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentsForUserResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentsForUserResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentsForUserResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentsForUserResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentsForUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentsForUserResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentsForUserResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsPublicResponse.md b/client/docs/GetCommentsPublicResponse.md deleted file mode 100644 index 236e129..0000000 --- a/client/docs/GetCommentsPublicResponse.md +++ /dev/null @@ -1,826 +0,0 @@ -# GetCommentsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**StatusCode** | Pointer to **int32** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Code** | **string** | | -**Reason** | **string** | | -**TranslatedWarning** | Pointer to **string** | | [optional] -**Comments** | [**[]PublicComment**](PublicComment.md) | | -**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | -**UrlIdClean** | Pointer to **string** | | [optional] -**LastGenDate** | Pointer to **NullableInt64** | | [optional] -**IncludesPastPages** | Pointer to **bool** | | [optional] -**IsDemo** | Pointer to **bool** | | [optional] -**CommentCount** | Pointer to **int32** | | [optional] -**IsSiteAdmin** | Pointer to **bool** | | [optional] -**HasBillingIssue** | Pointer to **bool** | | [optional] -**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] -**PageNumber** | **int32** | | -**IsWhiteLabeled** | Pointer to **bool** | | [optional] -**IsProd** | Pointer to **bool** | | [optional] -**IsCrawler** | Pointer to **bool** | | [optional] -**NotificationCount** | Pointer to **int32** | | [optional] -**HasMore** | Pointer to **bool** | | [optional] -**IsClosed** | Pointer to **bool** | | [optional] -**PresencePollState** | Pointer to **int32** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] -**UrlIdWS** | Pointer to **string** | | [optional] -**UserIdWS** | Pointer to **string** | | [optional] -**TenantIdWS** | Pointer to **string** | | [optional] -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] - -## Methods - -### NewGetCommentsPublicResponse - -`func NewGetCommentsPublicResponse(status APIStatus, code string, reason string, comments []PublicComment, user NullableUserSessionInfo, pageNumber int32, ) *GetCommentsPublicResponse` - -NewGetCommentsPublicResponse instantiates a new GetCommentsPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentsPublicResponseWithDefaults - -`func NewGetCommentsPublicResponseWithDefaults() *GetCommentsPublicResponse` - -NewGetCommentsPublicResponseWithDefaults instantiates a new GetCommentsPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatusCode - -`func (o *GetCommentsPublicResponse) GetStatusCode() int32` - -GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. - -### GetStatusCodeOk - -`func (o *GetCommentsPublicResponse) GetStatusCodeOk() (*int32, bool)` - -GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusCode - -`func (o *GetCommentsPublicResponse) SetStatusCode(v int32)` - -SetStatusCode sets StatusCode field to given value. - -### HasStatusCode - -`func (o *GetCommentsPublicResponse) HasStatusCode() bool` - -HasStatusCode returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetCommentsPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentsPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentsPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCode - -`func (o *GetCommentsPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentsPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentsPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *GetCommentsPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentsPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentsPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetTranslatedWarning - -`func (o *GetCommentsPublicResponse) GetTranslatedWarning() string` - -GetTranslatedWarning returns the TranslatedWarning field if non-nil, zero value otherwise. - -### GetTranslatedWarningOk - -`func (o *GetCommentsPublicResponse) GetTranslatedWarningOk() (*string, bool)` - -GetTranslatedWarningOk returns a tuple with the TranslatedWarning field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedWarning - -`func (o *GetCommentsPublicResponse) SetTranslatedWarning(v string)` - -SetTranslatedWarning sets TranslatedWarning field to given value. - -### HasTranslatedWarning - -`func (o *GetCommentsPublicResponse) HasTranslatedWarning() bool` - -HasTranslatedWarning returns a boolean if a field has been set. - -### GetComments - -`func (o *GetCommentsPublicResponse) GetComments() []PublicComment` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *GetCommentsPublicResponse) GetCommentsOk() (*[]PublicComment, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *GetCommentsPublicResponse) SetComments(v []PublicComment)` - -SetComments sets Comments field to given value. - - -### GetUser - -`func (o *GetCommentsPublicResponse) GetUser() UserSessionInfo` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *GetCommentsPublicResponse) GetUserOk() (*UserSessionInfo, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *GetCommentsPublicResponse) SetUser(v UserSessionInfo)` - -SetUser sets User field to given value. - - -### SetUserNil - -`func (o *GetCommentsPublicResponse) SetUserNil(b bool)` - - SetUserNil sets the value for User to be an explicit nil - -### UnsetUser -`func (o *GetCommentsPublicResponse) UnsetUser()` - -UnsetUser ensures that no value is present for User, not even an explicit nil -### GetUrlIdClean - -`func (o *GetCommentsPublicResponse) GetUrlIdClean() string` - -GetUrlIdClean returns the UrlIdClean field if non-nil, zero value otherwise. - -### GetUrlIdCleanOk - -`func (o *GetCommentsPublicResponse) GetUrlIdCleanOk() (*string, bool)` - -GetUrlIdCleanOk returns a tuple with the UrlIdClean field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrlIdClean - -`func (o *GetCommentsPublicResponse) SetUrlIdClean(v string)` - -SetUrlIdClean sets UrlIdClean field to given value. - -### HasUrlIdClean - -`func (o *GetCommentsPublicResponse) HasUrlIdClean() bool` - -HasUrlIdClean returns a boolean if a field has been set. - -### GetLastGenDate - -`func (o *GetCommentsPublicResponse) GetLastGenDate() int64` - -GetLastGenDate returns the LastGenDate field if non-nil, zero value otherwise. - -### GetLastGenDateOk - -`func (o *GetCommentsPublicResponse) GetLastGenDateOk() (*int64, bool)` - -GetLastGenDateOk returns a tuple with the LastGenDate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastGenDate - -`func (o *GetCommentsPublicResponse) SetLastGenDate(v int64)` - -SetLastGenDate sets LastGenDate field to given value. - -### HasLastGenDate - -`func (o *GetCommentsPublicResponse) HasLastGenDate() bool` - -HasLastGenDate returns a boolean if a field has been set. - -### SetLastGenDateNil - -`func (o *GetCommentsPublicResponse) SetLastGenDateNil(b bool)` - - SetLastGenDateNil sets the value for LastGenDate to be an explicit nil - -### UnsetLastGenDate -`func (o *GetCommentsPublicResponse) UnsetLastGenDate()` - -UnsetLastGenDate ensures that no value is present for LastGenDate, not even an explicit nil -### GetIncludesPastPages - -`func (o *GetCommentsPublicResponse) GetIncludesPastPages() bool` - -GetIncludesPastPages returns the IncludesPastPages field if non-nil, zero value otherwise. - -### GetIncludesPastPagesOk - -`func (o *GetCommentsPublicResponse) GetIncludesPastPagesOk() (*bool, bool)` - -GetIncludesPastPagesOk returns a tuple with the IncludesPastPages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIncludesPastPages - -`func (o *GetCommentsPublicResponse) SetIncludesPastPages(v bool)` - -SetIncludesPastPages sets IncludesPastPages field to given value. - -### HasIncludesPastPages - -`func (o *GetCommentsPublicResponse) HasIncludesPastPages() bool` - -HasIncludesPastPages returns a boolean if a field has been set. - -### GetIsDemo - -`func (o *GetCommentsPublicResponse) GetIsDemo() bool` - -GetIsDemo returns the IsDemo field if non-nil, zero value otherwise. - -### GetIsDemoOk - -`func (o *GetCommentsPublicResponse) GetIsDemoOk() (*bool, bool)` - -GetIsDemoOk returns a tuple with the IsDemo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDemo - -`func (o *GetCommentsPublicResponse) SetIsDemo(v bool)` - -SetIsDemo sets IsDemo field to given value. - -### HasIsDemo - -`func (o *GetCommentsPublicResponse) HasIsDemo() bool` - -HasIsDemo returns a boolean if a field has been set. - -### GetCommentCount - -`func (o *GetCommentsPublicResponse) GetCommentCount() int32` - -GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. - -### GetCommentCountOk - -`func (o *GetCommentsPublicResponse) GetCommentCountOk() (*int32, bool)` - -GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentCount - -`func (o *GetCommentsPublicResponse) SetCommentCount(v int32)` - -SetCommentCount sets CommentCount field to given value. - -### HasCommentCount - -`func (o *GetCommentsPublicResponse) HasCommentCount() bool` - -HasCommentCount returns a boolean if a field has been set. - -### GetIsSiteAdmin - -`func (o *GetCommentsPublicResponse) GetIsSiteAdmin() bool` - -GetIsSiteAdmin returns the IsSiteAdmin field if non-nil, zero value otherwise. - -### GetIsSiteAdminOk - -`func (o *GetCommentsPublicResponse) GetIsSiteAdminOk() (*bool, bool)` - -GetIsSiteAdminOk returns a tuple with the IsSiteAdmin field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSiteAdmin - -`func (o *GetCommentsPublicResponse) SetIsSiteAdmin(v bool)` - -SetIsSiteAdmin sets IsSiteAdmin field to given value. - -### HasIsSiteAdmin - -`func (o *GetCommentsPublicResponse) HasIsSiteAdmin() bool` - -HasIsSiteAdmin returns a boolean if a field has been set. - -### GetHasBillingIssue - -`func (o *GetCommentsPublicResponse) GetHasBillingIssue() bool` - -GetHasBillingIssue returns the HasBillingIssue field if non-nil, zero value otherwise. - -### GetHasBillingIssueOk - -`func (o *GetCommentsPublicResponse) GetHasBillingIssueOk() (*bool, bool)` - -GetHasBillingIssueOk returns a tuple with the HasBillingIssue field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasBillingIssue - -`func (o *GetCommentsPublicResponse) SetHasBillingIssue(v bool)` - -SetHasBillingIssue sets HasBillingIssue field to given value. - -### HasHasBillingIssue - -`func (o *GetCommentsPublicResponse) HasHasBillingIssue() bool` - -HasHasBillingIssue returns a boolean if a field has been set. - -### GetModuleData - -`func (o *GetCommentsPublicResponse) GetModuleData() map[string]map[string]interface{}` - -GetModuleData returns the ModuleData field if non-nil, zero value otherwise. - -### GetModuleDataOk - -`func (o *GetCommentsPublicResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` - -GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModuleData - -`func (o *GetCommentsPublicResponse) SetModuleData(v map[string]map[string]interface{})` - -SetModuleData sets ModuleData field to given value. - -### HasModuleData - -`func (o *GetCommentsPublicResponse) HasModuleData() bool` - -HasModuleData returns a boolean if a field has been set. - -### GetPageNumber - -`func (o *GetCommentsPublicResponse) GetPageNumber() int32` - -GetPageNumber returns the PageNumber field if non-nil, zero value otherwise. - -### GetPageNumberOk - -`func (o *GetCommentsPublicResponse) GetPageNumberOk() (*int32, bool)` - -GetPageNumberOk returns a tuple with the PageNumber field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPageNumber - -`func (o *GetCommentsPublicResponse) SetPageNumber(v int32)` - -SetPageNumber sets PageNumber field to given value. - - -### GetIsWhiteLabeled - -`func (o *GetCommentsPublicResponse) GetIsWhiteLabeled() bool` - -GetIsWhiteLabeled returns the IsWhiteLabeled field if non-nil, zero value otherwise. - -### GetIsWhiteLabeledOk - -`func (o *GetCommentsPublicResponse) GetIsWhiteLabeledOk() (*bool, bool)` - -GetIsWhiteLabeledOk returns a tuple with the IsWhiteLabeled field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsWhiteLabeled - -`func (o *GetCommentsPublicResponse) SetIsWhiteLabeled(v bool)` - -SetIsWhiteLabeled sets IsWhiteLabeled field to given value. - -### HasIsWhiteLabeled - -`func (o *GetCommentsPublicResponse) HasIsWhiteLabeled() bool` - -HasIsWhiteLabeled returns a boolean if a field has been set. - -### GetIsProd - -`func (o *GetCommentsPublicResponse) GetIsProd() bool` - -GetIsProd returns the IsProd field if non-nil, zero value otherwise. - -### GetIsProdOk - -`func (o *GetCommentsPublicResponse) GetIsProdOk() (*bool, bool)` - -GetIsProdOk returns a tuple with the IsProd field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsProd - -`func (o *GetCommentsPublicResponse) SetIsProd(v bool)` - -SetIsProd sets IsProd field to given value. - -### HasIsProd - -`func (o *GetCommentsPublicResponse) HasIsProd() bool` - -HasIsProd returns a boolean if a field has been set. - -### GetIsCrawler - -`func (o *GetCommentsPublicResponse) GetIsCrawler() bool` - -GetIsCrawler returns the IsCrawler field if non-nil, zero value otherwise. - -### GetIsCrawlerOk - -`func (o *GetCommentsPublicResponse) GetIsCrawlerOk() (*bool, bool)` - -GetIsCrawlerOk returns a tuple with the IsCrawler field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsCrawler - -`func (o *GetCommentsPublicResponse) SetIsCrawler(v bool)` - -SetIsCrawler sets IsCrawler field to given value. - -### HasIsCrawler - -`func (o *GetCommentsPublicResponse) HasIsCrawler() bool` - -HasIsCrawler returns a boolean if a field has been set. - -### GetNotificationCount - -`func (o *GetCommentsPublicResponse) GetNotificationCount() int32` - -GetNotificationCount returns the NotificationCount field if non-nil, zero value otherwise. - -### GetNotificationCountOk - -`func (o *GetCommentsPublicResponse) GetNotificationCountOk() (*int32, bool)` - -GetNotificationCountOk returns a tuple with the NotificationCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotificationCount - -`func (o *GetCommentsPublicResponse) SetNotificationCount(v int32)` - -SetNotificationCount sets NotificationCount field to given value. - -### HasNotificationCount - -`func (o *GetCommentsPublicResponse) HasNotificationCount() bool` - -HasNotificationCount returns a boolean if a field has been set. - -### GetHasMore - -`func (o *GetCommentsPublicResponse) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *GetCommentsPublicResponse) GetHasMoreOk() (*bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasMore - -`func (o *GetCommentsPublicResponse) SetHasMore(v bool)` - -SetHasMore sets HasMore field to given value. - -### HasHasMore - -`func (o *GetCommentsPublicResponse) HasHasMore() bool` - -HasHasMore returns a boolean if a field has been set. - -### GetIsClosed - -`func (o *GetCommentsPublicResponse) GetIsClosed() bool` - -GetIsClosed returns the IsClosed field if non-nil, zero value otherwise. - -### GetIsClosedOk - -`func (o *GetCommentsPublicResponse) GetIsClosedOk() (*bool, bool)` - -GetIsClosedOk returns a tuple with the IsClosed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsClosed - -`func (o *GetCommentsPublicResponse) SetIsClosed(v bool)` - -SetIsClosed sets IsClosed field to given value. - -### HasIsClosed - -`func (o *GetCommentsPublicResponse) HasIsClosed() bool` - -HasIsClosed returns a boolean if a field has been set. - -### GetPresencePollState - -`func (o *GetCommentsPublicResponse) GetPresencePollState() int32` - -GetPresencePollState returns the PresencePollState field if non-nil, zero value otherwise. - -### GetPresencePollStateOk - -`func (o *GetCommentsPublicResponse) GetPresencePollStateOk() (*int32, bool)` - -GetPresencePollStateOk returns a tuple with the PresencePollState field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPresencePollState - -`func (o *GetCommentsPublicResponse) SetPresencePollState(v int32)` - -SetPresencePollState sets PresencePollState field to given value. - -### HasPresencePollState - -`func (o *GetCommentsPublicResponse) HasPresencePollState() bool` - -HasPresencePollState returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentsPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentsPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentsPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - -### GetUrlIdWS - -`func (o *GetCommentsPublicResponse) GetUrlIdWS() string` - -GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. - -### GetUrlIdWSOk - -`func (o *GetCommentsPublicResponse) GetUrlIdWSOk() (*string, bool)` - -GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrlIdWS - -`func (o *GetCommentsPublicResponse) SetUrlIdWS(v string)` - -SetUrlIdWS sets UrlIdWS field to given value. - -### HasUrlIdWS - -`func (o *GetCommentsPublicResponse) HasUrlIdWS() bool` - -HasUrlIdWS returns a boolean if a field has been set. - -### GetUserIdWS - -`func (o *GetCommentsPublicResponse) GetUserIdWS() string` - -GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. - -### GetUserIdWSOk - -`func (o *GetCommentsPublicResponse) GetUserIdWSOk() (*string, bool)` - -GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserIdWS - -`func (o *GetCommentsPublicResponse) SetUserIdWS(v string)` - -SetUserIdWS sets UserIdWS field to given value. - -### HasUserIdWS - -`func (o *GetCommentsPublicResponse) HasUserIdWS() bool` - -HasUserIdWS returns a boolean if a field has been set. - -### GetTenantIdWS - -`func (o *GetCommentsPublicResponse) GetTenantIdWS() string` - -GetTenantIdWS returns the TenantIdWS field if non-nil, zero value otherwise. - -### GetTenantIdWSOk - -`func (o *GetCommentsPublicResponse) GetTenantIdWSOk() (*string, bool)` - -GetTenantIdWSOk returns a tuple with the TenantIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantIdWS - -`func (o *GetCommentsPublicResponse) SetTenantIdWS(v string)` - -SetTenantIdWS sets TenantIdWS field to given value. - -### HasTenantIdWS - -`func (o *GetCommentsPublicResponse) HasTenantIdWS() bool` - -HasTenantIdWS returns a boolean if a field has been set. - -### GetSecondaryCode - -`func (o *GetCommentsPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentsPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentsPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentsPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentsPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentsPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentsPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentsPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentsPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentsPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentsPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentsPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentsPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentsPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentsPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCommentsResponse.md b/client/docs/GetCommentsResponse.md deleted file mode 100644 index 6ca3dd3..0000000 --- a/client/docs/GetCommentsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCommentsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Comments** | [**[]APIComment**](APIComment.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCommentsResponse - -`func NewGetCommentsResponse(status APIStatus, comments []APIComment, reason string, code string, ) *GetCommentsResponse` - -NewGetCommentsResponse instantiates a new GetCommentsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCommentsResponseWithDefaults - -`func NewGetCommentsResponseWithDefaults() *GetCommentsResponse` - -NewGetCommentsResponseWithDefaults instantiates a new GetCommentsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCommentsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCommentsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCommentsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetComments - -`func (o *GetCommentsResponse) GetComments() []APIComment` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *GetCommentsResponse) GetCommentsOk() (*[]APIComment, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *GetCommentsResponse) SetComments(v []APIComment)` - -SetComments sets Comments field to given value. - - -### GetReason - -`func (o *GetCommentsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCommentsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCommentsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCommentsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCommentsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCommentsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCommentsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCommentsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCommentsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCommentsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCommentsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCommentsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCommentsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCommentsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCommentsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCommentsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCommentsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCommentsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCommentsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCommentsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCommentsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCommentsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCommentsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCommentsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCommentsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCommentsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountResponse.md b/client/docs/GetCountResponse.md deleted file mode 100644 index 01dfff7..0000000 --- a/client/docs/GetCountResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Count** | **float64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCountResponse - -`func NewGetCountResponse(status APIStatus, count float64, reason string, code string, ) *GetCountResponse` - -NewGetCountResponse instantiates a new GetCountResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCountResponseWithDefaults - -`func NewGetCountResponseWithDefaults() *GetCountResponse` - -NewGetCountResponseWithDefaults instantiates a new GetCountResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetCountResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCountResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCountResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCount - -`func (o *GetCountResponse) GetCount() float64` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *GetCountResponse) GetCountOk() (*float64, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *GetCountResponse) SetCount(v float64)` - -SetCount sets Count field to given value. - - -### GetReason - -`func (o *GetCountResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCountResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCountResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCountResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCountResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCountResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCountResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCountResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCountResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCountResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCountResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCountResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCountResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCountResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCountResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCountResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCountResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCountResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCountResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCountResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCountResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCountResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCountResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCountResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetCountsResponse.md b/client/docs/GetCountsResponse.md deleted file mode 100644 index b8cb5cb..0000000 --- a/client/docs/GetCountsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetCountsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**TotalCount** | **float64** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetCountsResponse - -`func NewGetCountsResponse(totalCount float64, status APIStatus, reason string, code string, ) *GetCountsResponse` - -NewGetCountsResponse instantiates a new GetCountsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetCountsResponseWithDefaults - -`func NewGetCountsResponseWithDefaults() *GetCountsResponse` - -NewGetCountsResponseWithDefaults instantiates a new GetCountsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetTotalCount - -`func (o *GetCountsResponse) GetTotalCount() float64` - -GetTotalCount returns the TotalCount field if non-nil, zero value otherwise. - -### GetTotalCountOk - -`func (o *GetCountsResponse) GetTotalCountOk() (*float64, bool)` - -GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTotalCount - -`func (o *GetCountsResponse) SetTotalCount(v float64)` - -SetTotalCount sets TotalCount field to given value. - - -### GetStatus - -`func (o *GetCountsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetCountsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetCountsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetCountsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetCountsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetCountsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetCountsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetCountsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetCountsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetCountsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetCountsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetCountsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetCountsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetCountsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetCountsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetCountsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetCountsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetCountsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetCountsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetCountsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetCountsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetCountsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetCountsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetCountsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetCountsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetCountsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetCountsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetCountsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetCountsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateDefinitionsResponse1.md b/client/docs/GetEmailTemplateDefinitionsResponse1.md deleted file mode 100644 index 5e6c16e..0000000 --- a/client/docs/GetEmailTemplateDefinitionsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetEmailTemplateDefinitionsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Definitions** | [**[]EmailTemplateDefinition**](EmailTemplateDefinition.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetEmailTemplateDefinitionsResponse1 - -`func NewGetEmailTemplateDefinitionsResponse1(status APIStatus, definitions []EmailTemplateDefinition, reason string, code string, ) *GetEmailTemplateDefinitionsResponse1` - -NewGetEmailTemplateDefinitionsResponse1 instantiates a new GetEmailTemplateDefinitionsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetEmailTemplateDefinitionsResponse1WithDefaults - -`func NewGetEmailTemplateDefinitionsResponse1WithDefaults() *GetEmailTemplateDefinitionsResponse1` - -NewGetEmailTemplateDefinitionsResponse1WithDefaults instantiates a new GetEmailTemplateDefinitionsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetEmailTemplateDefinitionsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetEmailTemplateDefinitionsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetDefinitions - -`func (o *GetEmailTemplateDefinitionsResponse1) GetDefinitions() []EmailTemplateDefinition` - -GetDefinitions returns the Definitions field if non-nil, zero value otherwise. - -### GetDefinitionsOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetDefinitionsOk() (*[]EmailTemplateDefinition, bool)` - -GetDefinitionsOk returns a tuple with the Definitions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefinitions - -`func (o *GetEmailTemplateDefinitionsResponse1) SetDefinitions(v []EmailTemplateDefinition)` - -SetDefinitions sets Definitions field to given value. - - -### GetReason - -`func (o *GetEmailTemplateDefinitionsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetEmailTemplateDefinitionsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetEmailTemplateDefinitionsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetEmailTemplateDefinitionsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetEmailTemplateDefinitionsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetEmailTemplateDefinitionsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetEmailTemplateDefinitionsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetEmailTemplateDefinitionsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetEmailTemplateDefinitionsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetEmailTemplateDefinitionsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetEmailTemplateDefinitionsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetEmailTemplateDefinitionsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetEmailTemplateDefinitionsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetEmailTemplateDefinitionsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetEmailTemplateDefinitionsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetEmailTemplateDefinitionsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetEmailTemplateDefinitionsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetEmailTemplateDefinitionsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetEmailTemplateDefinitionsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetEmailTemplateDefinitionsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateRenderErrorsResponse1.md b/client/docs/GetEmailTemplateRenderErrorsResponse1.md deleted file mode 100644 index 5987380..0000000 --- a/client/docs/GetEmailTemplateRenderErrorsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetEmailTemplateRenderErrorsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**RenderErrors** | [**[]EmailTemplateRenderErrorResponse**](EmailTemplateRenderErrorResponse.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetEmailTemplateRenderErrorsResponse1 - -`func NewGetEmailTemplateRenderErrorsResponse1(status APIStatus, renderErrors []EmailTemplateRenderErrorResponse, reason string, code string, ) *GetEmailTemplateRenderErrorsResponse1` - -NewGetEmailTemplateRenderErrorsResponse1 instantiates a new GetEmailTemplateRenderErrorsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetEmailTemplateRenderErrorsResponse1WithDefaults - -`func NewGetEmailTemplateRenderErrorsResponse1WithDefaults() *GetEmailTemplateRenderErrorsResponse1` - -NewGetEmailTemplateRenderErrorsResponse1WithDefaults instantiates a new GetEmailTemplateRenderErrorsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetRenderErrors - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetRenderErrors() []EmailTemplateRenderErrorResponse` - -GetRenderErrors returns the RenderErrors field if non-nil, zero value otherwise. - -### GetRenderErrorsOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetRenderErrorsOk() (*[]EmailTemplateRenderErrorResponse, bool)` - -GetRenderErrorsOk returns a tuple with the RenderErrors field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRenderErrors - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetRenderErrors(v []EmailTemplateRenderErrorResponse)` - -SetRenderErrors sets RenderErrors field to given value. - - -### GetReason - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetEmailTemplateRenderErrorsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetEmailTemplateRenderErrorsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetEmailTemplateRenderErrorsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetEmailTemplateRenderErrorsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetEmailTemplateRenderErrorsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetEmailTemplateRenderErrorsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetEmailTemplateRenderErrorsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplateResponse1.md b/client/docs/GetEmailTemplateResponse1.md deleted file mode 100644 index 78b8e1e..0000000 --- a/client/docs/GetEmailTemplateResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**EmailTemplate** | [**CustomEmailTemplate**](CustomEmailTemplate.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetEmailTemplateResponse1 - -`func NewGetEmailTemplateResponse1(status APIStatus, emailTemplate CustomEmailTemplate, reason string, code string, ) *GetEmailTemplateResponse1` - -NewGetEmailTemplateResponse1 instantiates a new GetEmailTemplateResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetEmailTemplateResponse1WithDefaults - -`func NewGetEmailTemplateResponse1WithDefaults() *GetEmailTemplateResponse1` - -NewGetEmailTemplateResponse1WithDefaults instantiates a new GetEmailTemplateResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetEmailTemplateResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetEmailTemplateResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetEmailTemplate - -`func (o *GetEmailTemplateResponse1) GetEmailTemplate() CustomEmailTemplate` - -GetEmailTemplate returns the EmailTemplate field if non-nil, zero value otherwise. - -### GetEmailTemplateOk - -`func (o *GetEmailTemplateResponse1) GetEmailTemplateOk() (*CustomEmailTemplate, bool)` - -GetEmailTemplateOk returns a tuple with the EmailTemplate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTemplate - -`func (o *GetEmailTemplateResponse1) SetEmailTemplate(v CustomEmailTemplate)` - -SetEmailTemplate sets EmailTemplate field to given value. - - -### GetReason - -`func (o *GetEmailTemplateResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetEmailTemplateResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetEmailTemplateResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetEmailTemplateResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetEmailTemplateResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetEmailTemplateResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetEmailTemplateResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetEmailTemplateResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetEmailTemplateResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetEmailTemplateResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetEmailTemplateResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetEmailTemplateResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetEmailTemplateResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetEmailTemplateResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetEmailTemplateResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetEmailTemplateResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetEmailTemplateResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetEmailTemplateResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetEmailTemplateResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEmailTemplatesResponse1.md b/client/docs/GetEmailTemplatesResponse1.md deleted file mode 100644 index a3d0934..0000000 --- a/client/docs/GetEmailTemplatesResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetEmailTemplatesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**EmailTemplates** | [**[]CustomEmailTemplate**](CustomEmailTemplate.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetEmailTemplatesResponse1 - -`func NewGetEmailTemplatesResponse1(status APIStatus, emailTemplates []CustomEmailTemplate, reason string, code string, ) *GetEmailTemplatesResponse1` - -NewGetEmailTemplatesResponse1 instantiates a new GetEmailTemplatesResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetEmailTemplatesResponse1WithDefaults - -`func NewGetEmailTemplatesResponse1WithDefaults() *GetEmailTemplatesResponse1` - -NewGetEmailTemplatesResponse1WithDefaults instantiates a new GetEmailTemplatesResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetEmailTemplatesResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetEmailTemplatesResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetEmailTemplatesResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetEmailTemplates - -`func (o *GetEmailTemplatesResponse1) GetEmailTemplates() []CustomEmailTemplate` - -GetEmailTemplates returns the EmailTemplates field if non-nil, zero value otherwise. - -### GetEmailTemplatesOk - -`func (o *GetEmailTemplatesResponse1) GetEmailTemplatesOk() (*[]CustomEmailTemplate, bool)` - -GetEmailTemplatesOk returns a tuple with the EmailTemplates field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailTemplates - -`func (o *GetEmailTemplatesResponse1) SetEmailTemplates(v []CustomEmailTemplate)` - -SetEmailTemplates sets EmailTemplates field to given value. - - -### GetReason - -`func (o *GetEmailTemplatesResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetEmailTemplatesResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetEmailTemplatesResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetEmailTemplatesResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetEmailTemplatesResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetEmailTemplatesResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetEmailTemplatesResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetEmailTemplatesResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetEmailTemplatesResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetEmailTemplatesResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetEmailTemplatesResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetEmailTemplatesResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetEmailTemplatesResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetEmailTemplatesResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetEmailTemplatesResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetEmailTemplatesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetEmailTemplatesResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetEmailTemplatesResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetEmailTemplatesResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetEmailTemplatesResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetEmailTemplatesResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetEmailTemplatesResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetEmailTemplatesResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetEmailTemplatesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetEmailTemplatesResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetEmailTemplatesResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetEventLogResponse1.md b/client/docs/GetEventLogResponse1.md deleted file mode 100644 index 8d02ea4..0000000 --- a/client/docs/GetEventLogResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetEventLogResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Events** | [**[]EventLogEntry**](EventLogEntry.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetEventLogResponse1 - -`func NewGetEventLogResponse1(events []EventLogEntry, status APIStatus, reason string, code string, ) *GetEventLogResponse1` - -NewGetEventLogResponse1 instantiates a new GetEventLogResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetEventLogResponse1WithDefaults - -`func NewGetEventLogResponse1WithDefaults() *GetEventLogResponse1` - -NewGetEventLogResponse1WithDefaults instantiates a new GetEventLogResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEvents - -`func (o *GetEventLogResponse1) GetEvents() []EventLogEntry` - -GetEvents returns the Events field if non-nil, zero value otherwise. - -### GetEventsOk - -`func (o *GetEventLogResponse1) GetEventsOk() (*[]EventLogEntry, bool)` - -GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEvents - -`func (o *GetEventLogResponse1) SetEvents(v []EventLogEntry)` - -SetEvents sets Events field to given value. - - -### GetStatus - -`func (o *GetEventLogResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetEventLogResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetEventLogResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetEventLogResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetEventLogResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetEventLogResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetEventLogResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetEventLogResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetEventLogResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetEventLogResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetEventLogResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetEventLogResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetEventLogResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetEventLogResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetEventLogResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetEventLogResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetEventLogResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetEventLogResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetEventLogResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetEventLogResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetEventLogResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetEventLogResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetEventLogResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetEventLogResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetEventLogResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetEventLogResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetEventLogResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetEventLogResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetEventLogResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsPublicResponse.md b/client/docs/GetFeedPostsPublicResponse.md deleted file mode 100644 index 820be1c..0000000 --- a/client/docs/GetFeedPostsPublicResponse.md +++ /dev/null @@ -1,384 +0,0 @@ -# GetFeedPostsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**MyReacts** | Pointer to **map[string]map[string]bool** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**FeedPosts** | [**[]FeedPost**](FeedPost.md) | | -**User** | Pointer to [**NullableUserSessionInfo**](UserSessionInfo.md) | | [optional] -**UrlIdWS** | Pointer to **string** | | [optional] -**UserIdWS** | Pointer to **string** | | [optional] -**TenantIdWS** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetFeedPostsPublicResponse - -`func NewGetFeedPostsPublicResponse(status APIStatus, feedPosts []FeedPost, reason string, code string, ) *GetFeedPostsPublicResponse` - -NewGetFeedPostsPublicResponse instantiates a new GetFeedPostsPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetFeedPostsPublicResponseWithDefaults - -`func NewGetFeedPostsPublicResponseWithDefaults() *GetFeedPostsPublicResponse` - -NewGetFeedPostsPublicResponseWithDefaults instantiates a new GetFeedPostsPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetMyReacts - -`func (o *GetFeedPostsPublicResponse) GetMyReacts() map[string]map[string]bool` - -GetMyReacts returns the MyReacts field if non-nil, zero value otherwise. - -### GetMyReactsOk - -`func (o *GetFeedPostsPublicResponse) GetMyReactsOk() (*map[string]map[string]bool, bool)` - -GetMyReactsOk returns a tuple with the MyReacts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMyReacts - -`func (o *GetFeedPostsPublicResponse) SetMyReacts(v map[string]map[string]bool)` - -SetMyReacts sets MyReacts field to given value. - -### HasMyReacts - -`func (o *GetFeedPostsPublicResponse) HasMyReacts() bool` - -HasMyReacts returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetFeedPostsPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetFeedPostsPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetFeedPostsPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetFeedPosts - -`func (o *GetFeedPostsPublicResponse) GetFeedPosts() []FeedPost` - -GetFeedPosts returns the FeedPosts field if non-nil, zero value otherwise. - -### GetFeedPostsOk - -`func (o *GetFeedPostsPublicResponse) GetFeedPostsOk() (*[]FeedPost, bool)` - -GetFeedPostsOk returns a tuple with the FeedPosts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeedPosts - -`func (o *GetFeedPostsPublicResponse) SetFeedPosts(v []FeedPost)` - -SetFeedPosts sets FeedPosts field to given value. - - -### GetUser - -`func (o *GetFeedPostsPublicResponse) GetUser() UserSessionInfo` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *GetFeedPostsPublicResponse) GetUserOk() (*UserSessionInfo, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *GetFeedPostsPublicResponse) SetUser(v UserSessionInfo)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *GetFeedPostsPublicResponse) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### SetUserNil - -`func (o *GetFeedPostsPublicResponse) SetUserNil(b bool)` - - SetUserNil sets the value for User to be an explicit nil - -### UnsetUser -`func (o *GetFeedPostsPublicResponse) UnsetUser()` - -UnsetUser ensures that no value is present for User, not even an explicit nil -### GetUrlIdWS - -`func (o *GetFeedPostsPublicResponse) GetUrlIdWS() string` - -GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. - -### GetUrlIdWSOk - -`func (o *GetFeedPostsPublicResponse) GetUrlIdWSOk() (*string, bool)` - -GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrlIdWS - -`func (o *GetFeedPostsPublicResponse) SetUrlIdWS(v string)` - -SetUrlIdWS sets UrlIdWS field to given value. - -### HasUrlIdWS - -`func (o *GetFeedPostsPublicResponse) HasUrlIdWS() bool` - -HasUrlIdWS returns a boolean if a field has been set. - -### GetUserIdWS - -`func (o *GetFeedPostsPublicResponse) GetUserIdWS() string` - -GetUserIdWS returns the UserIdWS field if non-nil, zero value otherwise. - -### GetUserIdWSOk - -`func (o *GetFeedPostsPublicResponse) GetUserIdWSOk() (*string, bool)` - -GetUserIdWSOk returns a tuple with the UserIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserIdWS - -`func (o *GetFeedPostsPublicResponse) SetUserIdWS(v string)` - -SetUserIdWS sets UserIdWS field to given value. - -### HasUserIdWS - -`func (o *GetFeedPostsPublicResponse) HasUserIdWS() bool` - -HasUserIdWS returns a boolean if a field has been set. - -### GetTenantIdWS - -`func (o *GetFeedPostsPublicResponse) GetTenantIdWS() string` - -GetTenantIdWS returns the TenantIdWS field if non-nil, zero value otherwise. - -### GetTenantIdWSOk - -`func (o *GetFeedPostsPublicResponse) GetTenantIdWSOk() (*string, bool)` - -GetTenantIdWSOk returns a tuple with the TenantIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantIdWS - -`func (o *GetFeedPostsPublicResponse) SetTenantIdWS(v string)` - -SetTenantIdWS sets TenantIdWS field to given value. - -### HasTenantIdWS - -`func (o *GetFeedPostsPublicResponse) HasTenantIdWS() bool` - -HasTenantIdWS returns a boolean if a field has been set. - -### GetReason - -`func (o *GetFeedPostsPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetFeedPostsPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetFeedPostsPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetFeedPostsPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetFeedPostsPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetFeedPostsPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetFeedPostsPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetFeedPostsPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetFeedPostsPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetFeedPostsPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetFeedPostsPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetFeedPostsPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetFeedPostsPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetFeedPostsPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetFeedPostsPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetFeedPostsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetFeedPostsPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetFeedPostsPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetFeedPostsPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetFeedPostsPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetFeedPostsPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetFeedPostsPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetFeedPostsPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetFeedPostsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetFeedPostsPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetFeedPostsPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsResponse1.md b/client/docs/GetFeedPostsResponse1.md deleted file mode 100644 index 74b2829..0000000 --- a/client/docs/GetFeedPostsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetFeedPostsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**FeedPosts** | [**[]FeedPost**](FeedPost.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetFeedPostsResponse1 - -`func NewGetFeedPostsResponse1(status APIStatus, feedPosts []FeedPost, reason string, code string, ) *GetFeedPostsResponse1` - -NewGetFeedPostsResponse1 instantiates a new GetFeedPostsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetFeedPostsResponse1WithDefaults - -`func NewGetFeedPostsResponse1WithDefaults() *GetFeedPostsResponse1` - -NewGetFeedPostsResponse1WithDefaults instantiates a new GetFeedPostsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetFeedPostsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetFeedPostsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetFeedPostsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetFeedPosts - -`func (o *GetFeedPostsResponse1) GetFeedPosts() []FeedPost` - -GetFeedPosts returns the FeedPosts field if non-nil, zero value otherwise. - -### GetFeedPostsOk - -`func (o *GetFeedPostsResponse1) GetFeedPostsOk() (*[]FeedPost, bool)` - -GetFeedPostsOk returns a tuple with the FeedPosts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeedPosts - -`func (o *GetFeedPostsResponse1) SetFeedPosts(v []FeedPost)` - -SetFeedPosts sets FeedPosts field to given value. - - -### GetReason - -`func (o *GetFeedPostsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetFeedPostsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetFeedPostsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetFeedPostsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetFeedPostsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetFeedPostsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetFeedPostsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetFeedPostsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetFeedPostsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetFeedPostsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetFeedPostsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetFeedPostsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetFeedPostsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetFeedPostsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetFeedPostsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetFeedPostsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetFeedPostsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetFeedPostsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetFeedPostsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetFeedPostsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetFeedPostsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetFeedPostsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetFeedPostsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetFeedPostsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetFeedPostsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetFeedPostsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetFeedPostsStatsResponse.md b/client/docs/GetFeedPostsStatsResponse.md deleted file mode 100644 index a0d91d0..0000000 --- a/client/docs/GetFeedPostsStatsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetFeedPostsStatsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Stats** | [**map[string]FeedPostStats**](FeedPostStats.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetFeedPostsStatsResponse - -`func NewGetFeedPostsStatsResponse(status APIStatus, stats map[string]FeedPostStats, reason string, code string, ) *GetFeedPostsStatsResponse` - -NewGetFeedPostsStatsResponse instantiates a new GetFeedPostsStatsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetFeedPostsStatsResponseWithDefaults - -`func NewGetFeedPostsStatsResponseWithDefaults() *GetFeedPostsStatsResponse` - -NewGetFeedPostsStatsResponseWithDefaults instantiates a new GetFeedPostsStatsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetFeedPostsStatsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetFeedPostsStatsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetFeedPostsStatsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetStats - -`func (o *GetFeedPostsStatsResponse) GetStats() map[string]FeedPostStats` - -GetStats returns the Stats field if non-nil, zero value otherwise. - -### GetStatsOk - -`func (o *GetFeedPostsStatsResponse) GetStatsOk() (*map[string]FeedPostStats, bool)` - -GetStatsOk returns a tuple with the Stats field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStats - -`func (o *GetFeedPostsStatsResponse) SetStats(v map[string]FeedPostStats)` - -SetStats sets Stats field to given value. - - -### GetReason - -`func (o *GetFeedPostsStatsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetFeedPostsStatsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetFeedPostsStatsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetFeedPostsStatsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetFeedPostsStatsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetFeedPostsStatsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetFeedPostsStatsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetFeedPostsStatsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetFeedPostsStatsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetFeedPostsStatsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetFeedPostsStatsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetFeedPostsStatsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetFeedPostsStatsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetFeedPostsStatsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetFeedPostsStatsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetFeedPostsStatsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetFeedPostsStatsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetFeedPostsStatsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetFeedPostsStatsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetFeedPostsStatsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetFeedPostsStatsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetFeedPostsStatsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetFeedPostsStatsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetFeedPostsStatsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetFeedPostsStatsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetFeedPostsStatsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifLargeResponse.md b/client/docs/GetGifLargeResponse.md deleted file mode 100644 index 760cb6a..0000000 --- a/client/docs/GetGifLargeResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetGifLargeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Src** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetGifLargeResponse - -`func NewGetGifLargeResponse(src string, status APIStatus, reason string, code string, ) *GetGifLargeResponse` - -NewGetGifLargeResponse instantiates a new GetGifLargeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetGifLargeResponseWithDefaults - -`func NewGetGifLargeResponseWithDefaults() *GetGifLargeResponse` - -NewGetGifLargeResponseWithDefaults instantiates a new GetGifLargeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSrc - -`func (o *GetGifLargeResponse) GetSrc() string` - -GetSrc returns the Src field if non-nil, zero value otherwise. - -### GetSrcOk - -`func (o *GetGifLargeResponse) GetSrcOk() (*string, bool)` - -GetSrcOk returns a tuple with the Src field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSrc - -`func (o *GetGifLargeResponse) SetSrc(v string)` - -SetSrc sets Src field to given value. - - -### GetStatus - -`func (o *GetGifLargeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetGifLargeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetGifLargeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetGifLargeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetGifLargeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetGifLargeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetGifLargeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetGifLargeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetGifLargeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetGifLargeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetGifLargeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetGifLargeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetGifLargeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetGifLargeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetGifLargeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetGifLargeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetGifLargeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetGifLargeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetGifLargeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetGifLargeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetGifLargeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetGifLargeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetGifLargeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetGifLargeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetGifLargeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetGifLargeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetGifLargeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetGifLargeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetGifLargeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetGifsSearchResponse.md b/client/docs/GetGifsSearchResponse.md index f904a71..02c764b 100644 --- a/client/docs/GetGifsSearchResponse.md +++ b/client/docs/GetGifsSearchResponse.md @@ -7,18 +7,12 @@ Name | Type | Description | Notes **Images** | [**[][]GifSearchResponseImagesInnerInner**]([]GifSearchResponseImagesInnerInner.md) | | **Status** | [**APIStatus**](APIStatus.md) | | **Code** | **string** | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewGetGifsSearchResponse -`func NewGetGifsSearchResponse(images [][]GifSearchResponseImagesInnerInner, status APIStatus, code string, reason string, ) *GetGifsSearchResponse` +`func NewGetGifsSearchResponse(images [][]GifSearchResponseImagesInnerInner, status APIStatus, code string, ) *GetGifsSearchResponse` NewGetGifsSearchResponse instantiates a new GetGifsSearchResponse object This constructor will assign default values to properties that have it defined, @@ -93,151 +87,6 @@ and a boolean to check if the value has been set. SetCode sets Code field to given value. -### GetReason - -`func (o *GetGifsSearchResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetGifsSearchResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetGifsSearchResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *GetGifsSearchResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetGifsSearchResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetGifsSearchResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetGifsSearchResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetGifsSearchResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetGifsSearchResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetGifsSearchResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetGifsSearchResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetGifsSearchResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetGifsSearchResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetGifsSearchResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetGifsSearchResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetGifsSearchResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetGifsSearchResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetGifsSearchResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetGifsSearchResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetGifsSearchResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetGifsSearchResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetGifsSearchResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetGifsSearchResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/GetGlobalEventLogResponse.md b/client/docs/GetGlobalEventLogResponse.md deleted file mode 100644 index 4693ed6..0000000 --- a/client/docs/GetGlobalEventLogResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetGlobalEventLogResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Events** | [**[]EventLogEntry**](EventLogEntry.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetGlobalEventLogResponse - -`func NewGetGlobalEventLogResponse(events []EventLogEntry, status APIStatus, reason string, code string, ) *GetGlobalEventLogResponse` - -NewGetGlobalEventLogResponse instantiates a new GetGlobalEventLogResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetGlobalEventLogResponseWithDefaults - -`func NewGetGlobalEventLogResponseWithDefaults() *GetGlobalEventLogResponse` - -NewGetGlobalEventLogResponseWithDefaults instantiates a new GetGlobalEventLogResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEvents - -`func (o *GetGlobalEventLogResponse) GetEvents() []EventLogEntry` - -GetEvents returns the Events field if non-nil, zero value otherwise. - -### GetEventsOk - -`func (o *GetGlobalEventLogResponse) GetEventsOk() (*[]EventLogEntry, bool)` - -GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEvents - -`func (o *GetGlobalEventLogResponse) SetEvents(v []EventLogEntry)` - -SetEvents sets Events field to given value. - - -### GetStatus - -`func (o *GetGlobalEventLogResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetGlobalEventLogResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetGlobalEventLogResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetGlobalEventLogResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetGlobalEventLogResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetGlobalEventLogResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetGlobalEventLogResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetGlobalEventLogResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetGlobalEventLogResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetGlobalEventLogResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetGlobalEventLogResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetGlobalEventLogResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetGlobalEventLogResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetGlobalEventLogResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetGlobalEventLogResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetGlobalEventLogResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetGlobalEventLogResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetGlobalEventLogResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetGlobalEventLogResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetGlobalEventLogResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetGlobalEventLogResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetGlobalEventLogResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetGlobalEventLogResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetGlobalEventLogResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetGlobalEventLogResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetGlobalEventLogResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetGlobalEventLogResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetGlobalEventLogResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetGlobalEventLogResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetHashTagsResponse1.md b/client/docs/GetHashTagsResponse1.md deleted file mode 100644 index be24e8e..0000000 --- a/client/docs/GetHashTagsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetHashTagsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**HashTags** | [**[]TenantHashTag**](TenantHashTag.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetHashTagsResponse1 - -`func NewGetHashTagsResponse1(status APIStatus, hashTags []TenantHashTag, reason string, code string, ) *GetHashTagsResponse1` - -NewGetHashTagsResponse1 instantiates a new GetHashTagsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetHashTagsResponse1WithDefaults - -`func NewGetHashTagsResponse1WithDefaults() *GetHashTagsResponse1` - -NewGetHashTagsResponse1WithDefaults instantiates a new GetHashTagsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetHashTagsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetHashTagsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetHashTagsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetHashTags - -`func (o *GetHashTagsResponse1) GetHashTags() []TenantHashTag` - -GetHashTags returns the HashTags field if non-nil, zero value otherwise. - -### GetHashTagsOk - -`func (o *GetHashTagsResponse1) GetHashTagsOk() (*[]TenantHashTag, bool)` - -GetHashTagsOk returns a tuple with the HashTags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHashTags - -`func (o *GetHashTagsResponse1) SetHashTags(v []TenantHashTag)` - -SetHashTags sets HashTags field to given value. - - -### GetReason - -`func (o *GetHashTagsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetHashTagsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetHashTagsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetHashTagsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetHashTagsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetHashTagsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetHashTagsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetHashTagsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetHashTagsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetHashTagsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetHashTagsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetHashTagsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetHashTagsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetHashTagsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetHashTagsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetHashTagsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetHashTagsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetHashTagsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetHashTagsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetHashTagsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetHashTagsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetHashTagsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetHashTagsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetHashTagsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetHashTagsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetHashTagsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetLogsResponse.md b/client/docs/GetLogsResponse.md deleted file mode 100644 index 77cd470..0000000 --- a/client/docs/GetLogsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetLogsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Logs** | [**[]ModerationAPICommentLog**](ModerationAPICommentLog.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetLogsResponse - -`func NewGetLogsResponse(logs []ModerationAPICommentLog, status APIStatus, reason string, code string, ) *GetLogsResponse` - -NewGetLogsResponse instantiates a new GetLogsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetLogsResponseWithDefaults - -`func NewGetLogsResponseWithDefaults() *GetLogsResponse` - -NewGetLogsResponseWithDefaults instantiates a new GetLogsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetLogs - -`func (o *GetLogsResponse) GetLogs() []ModerationAPICommentLog` - -GetLogs returns the Logs field if non-nil, zero value otherwise. - -### GetLogsOk - -`func (o *GetLogsResponse) GetLogsOk() (*[]ModerationAPICommentLog, bool)` - -GetLogsOk returns a tuple with the Logs field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLogs - -`func (o *GetLogsResponse) SetLogs(v []ModerationAPICommentLog)` - -SetLogs sets Logs field to given value. - - -### GetStatus - -`func (o *GetLogsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetLogsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetLogsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetLogsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetLogsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetLogsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetLogsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetLogsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetLogsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetLogsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetLogsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetLogsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetLogsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetLogsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetLogsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetLogsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetLogsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetLogsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetLogsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetLogsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetLogsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetLogsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetLogsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetLogsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetLogsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetLogsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetLogsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetLogsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetLogsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesForUserResponse.md b/client/docs/GetManualBadgesForUserResponse.md deleted file mode 100644 index eb3404b..0000000 --- a/client/docs/GetManualBadgesForUserResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetManualBadgesForUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Badges** | [**[]UserBadge**](UserBadge.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetManualBadgesForUserResponse - -`func NewGetManualBadgesForUserResponse(badges []UserBadge, status APIStatus, reason string, code string, ) *GetManualBadgesForUserResponse` - -NewGetManualBadgesForUserResponse instantiates a new GetManualBadgesForUserResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetManualBadgesForUserResponseWithDefaults - -`func NewGetManualBadgesForUserResponseWithDefaults() *GetManualBadgesForUserResponse` - -NewGetManualBadgesForUserResponseWithDefaults instantiates a new GetManualBadgesForUserResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetBadges - -`func (o *GetManualBadgesForUserResponse) GetBadges() []UserBadge` - -GetBadges returns the Badges field if non-nil, zero value otherwise. - -### GetBadgesOk - -`func (o *GetManualBadgesForUserResponse) GetBadgesOk() (*[]UserBadge, bool)` - -GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBadges - -`func (o *GetManualBadgesForUserResponse) SetBadges(v []UserBadge)` - -SetBadges sets Badges field to given value. - - -### GetStatus - -`func (o *GetManualBadgesForUserResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetManualBadgesForUserResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetManualBadgesForUserResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetManualBadgesForUserResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetManualBadgesForUserResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetManualBadgesForUserResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetManualBadgesForUserResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetManualBadgesForUserResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetManualBadgesForUserResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetManualBadgesForUserResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetManualBadgesForUserResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetManualBadgesForUserResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetManualBadgesForUserResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetManualBadgesForUserResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetManualBadgesForUserResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetManualBadgesForUserResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetManualBadgesForUserResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetManualBadgesForUserResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetManualBadgesForUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetManualBadgesForUserResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetManualBadgesForUserResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetManualBadgesForUserResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetManualBadgesForUserResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetManualBadgesForUserResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetManualBadgesForUserResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetManualBadgesForUserResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetManualBadgesForUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetManualBadgesForUserResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetManualBadgesForUserResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetManualBadgesResponse.md b/client/docs/GetManualBadgesResponse.md deleted file mode 100644 index 90213c6..0000000 --- a/client/docs/GetManualBadgesResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetManualBadgesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Badges** | [**[]TenantBadge**](TenantBadge.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetManualBadgesResponse - -`func NewGetManualBadgesResponse(badges []TenantBadge, status APIStatus, reason string, code string, ) *GetManualBadgesResponse` - -NewGetManualBadgesResponse instantiates a new GetManualBadgesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetManualBadgesResponseWithDefaults - -`func NewGetManualBadgesResponseWithDefaults() *GetManualBadgesResponse` - -NewGetManualBadgesResponseWithDefaults instantiates a new GetManualBadgesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetBadges - -`func (o *GetManualBadgesResponse) GetBadges() []TenantBadge` - -GetBadges returns the Badges field if non-nil, zero value otherwise. - -### GetBadgesOk - -`func (o *GetManualBadgesResponse) GetBadgesOk() (*[]TenantBadge, bool)` - -GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBadges - -`func (o *GetManualBadgesResponse) SetBadges(v []TenantBadge)` - -SetBadges sets Badges field to given value. - - -### GetStatus - -`func (o *GetManualBadgesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetManualBadgesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetManualBadgesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetManualBadgesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetManualBadgesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetManualBadgesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetManualBadgesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetManualBadgesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetManualBadgesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetManualBadgesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetManualBadgesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetManualBadgesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetManualBadgesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetManualBadgesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetManualBadgesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetManualBadgesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetManualBadgesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetManualBadgesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetManualBadgesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetManualBadgesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetManualBadgesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetManualBadgesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetManualBadgesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetManualBadgesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetManualBadgesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetManualBadgesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetManualBadgesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetManualBadgesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetManualBadgesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentResponse.md b/client/docs/GetModerationCommentResponse.md deleted file mode 100644 index 867973e..0000000 --- a/client/docs/GetModerationCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetModerationCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comment** | [**ModerationAPIComment**](ModerationAPIComment.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetModerationCommentResponse - -`func NewGetModerationCommentResponse(comment ModerationAPIComment, status APIStatus, reason string, code string, ) *GetModerationCommentResponse` - -NewGetModerationCommentResponse instantiates a new GetModerationCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetModerationCommentResponseWithDefaults - -`func NewGetModerationCommentResponseWithDefaults() *GetModerationCommentResponse` - -NewGetModerationCommentResponseWithDefaults instantiates a new GetModerationCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComment - -`func (o *GetModerationCommentResponse) GetComment() ModerationAPIComment` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *GetModerationCommentResponse) GetCommentOk() (*ModerationAPIComment, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *GetModerationCommentResponse) SetComment(v ModerationAPIComment)` - -SetComment sets Comment field to given value. - - -### GetStatus - -`func (o *GetModerationCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetModerationCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetModerationCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetModerationCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetModerationCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetModerationCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetModerationCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetModerationCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetModerationCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetModerationCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetModerationCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetModerationCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetModerationCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetModerationCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetModerationCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetModerationCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetModerationCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetModerationCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetModerationCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetModerationCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetModerationCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetModerationCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetModerationCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetModerationCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetModerationCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetModerationCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetModerationCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetModerationCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetModerationCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModerationCommentTextResponse.md b/client/docs/GetModerationCommentTextResponse.md deleted file mode 100644 index f590249..0000000 --- a/client/docs/GetModerationCommentTextResponse.md +++ /dev/null @@ -1,259 +0,0 @@ -# GetModerationCommentTextResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comment** | Pointer to **NullableString** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetModerationCommentTextResponse - -`func NewGetModerationCommentTextResponse(status APIStatus, reason string, code string, ) *GetModerationCommentTextResponse` - -NewGetModerationCommentTextResponse instantiates a new GetModerationCommentTextResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetModerationCommentTextResponseWithDefaults - -`func NewGetModerationCommentTextResponseWithDefaults() *GetModerationCommentTextResponse` - -NewGetModerationCommentTextResponseWithDefaults instantiates a new GetModerationCommentTextResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComment - -`func (o *GetModerationCommentTextResponse) GetComment() string` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *GetModerationCommentTextResponse) GetCommentOk() (*string, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *GetModerationCommentTextResponse) SetComment(v string)` - -SetComment sets Comment field to given value. - -### HasComment - -`func (o *GetModerationCommentTextResponse) HasComment() bool` - -HasComment returns a boolean if a field has been set. - -### SetCommentNil - -`func (o *GetModerationCommentTextResponse) SetCommentNil(b bool)` - - SetCommentNil sets the value for Comment to be an explicit nil - -### UnsetComment -`func (o *GetModerationCommentTextResponse) UnsetComment()` - -UnsetComment ensures that no value is present for Comment, not even an explicit nil -### GetStatus - -`func (o *GetModerationCommentTextResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetModerationCommentTextResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetModerationCommentTextResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetModerationCommentTextResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetModerationCommentTextResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetModerationCommentTextResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetModerationCommentTextResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetModerationCommentTextResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetModerationCommentTextResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetModerationCommentTextResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetModerationCommentTextResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetModerationCommentTextResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetModerationCommentTextResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetModerationCommentTextResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetModerationCommentTextResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetModerationCommentTextResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetModerationCommentTextResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetModerationCommentTextResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetModerationCommentTextResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetModerationCommentTextResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetModerationCommentTextResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetModerationCommentTextResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetModerationCommentTextResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetModerationCommentTextResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetModerationCommentTextResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetModerationCommentTextResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetModerationCommentTextResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetModerationCommentTextResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetModerationCommentTextResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorResponse1.md b/client/docs/GetModeratorResponse1.md deleted file mode 100644 index 175344f..0000000 --- a/client/docs/GetModeratorResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetModeratorResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Moderator** | [**Moderator**](Moderator.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetModeratorResponse1 - -`func NewGetModeratorResponse1(status APIStatus, moderator Moderator, reason string, code string, ) *GetModeratorResponse1` - -NewGetModeratorResponse1 instantiates a new GetModeratorResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetModeratorResponse1WithDefaults - -`func NewGetModeratorResponse1WithDefaults() *GetModeratorResponse1` - -NewGetModeratorResponse1WithDefaults instantiates a new GetModeratorResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetModeratorResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetModeratorResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetModeratorResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetModerator - -`func (o *GetModeratorResponse1) GetModerator() Moderator` - -GetModerator returns the Moderator field if non-nil, zero value otherwise. - -### GetModeratorOk - -`func (o *GetModeratorResponse1) GetModeratorOk() (*Moderator, bool)` - -GetModeratorOk returns a tuple with the Moderator field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModerator - -`func (o *GetModeratorResponse1) SetModerator(v Moderator)` - -SetModerator sets Moderator field to given value. - - -### GetReason - -`func (o *GetModeratorResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetModeratorResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetModeratorResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetModeratorResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetModeratorResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetModeratorResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetModeratorResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetModeratorResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetModeratorResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetModeratorResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetModeratorResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetModeratorResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetModeratorResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetModeratorResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetModeratorResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetModeratorResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetModeratorResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetModeratorResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetModeratorResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetModeratorResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetModeratorResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetModeratorResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetModeratorResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetModeratorResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetModeratorResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetModeratorResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetModeratorsResponse1.md b/client/docs/GetModeratorsResponse1.md deleted file mode 100644 index ff8b46b..0000000 --- a/client/docs/GetModeratorsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetModeratorsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Moderators** | [**[]Moderator**](Moderator.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetModeratorsResponse1 - -`func NewGetModeratorsResponse1(status APIStatus, moderators []Moderator, reason string, code string, ) *GetModeratorsResponse1` - -NewGetModeratorsResponse1 instantiates a new GetModeratorsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetModeratorsResponse1WithDefaults - -`func NewGetModeratorsResponse1WithDefaults() *GetModeratorsResponse1` - -NewGetModeratorsResponse1WithDefaults instantiates a new GetModeratorsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetModeratorsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetModeratorsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetModeratorsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetModerators - -`func (o *GetModeratorsResponse1) GetModerators() []Moderator` - -GetModerators returns the Moderators field if non-nil, zero value otherwise. - -### GetModeratorsOk - -`func (o *GetModeratorsResponse1) GetModeratorsOk() (*[]Moderator, bool)` - -GetModeratorsOk returns a tuple with the Moderators field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModerators - -`func (o *GetModeratorsResponse1) SetModerators(v []Moderator)` - -SetModerators sets Moderators field to given value. - - -### GetReason - -`func (o *GetModeratorsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetModeratorsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetModeratorsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetModeratorsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetModeratorsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetModeratorsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetModeratorsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetModeratorsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetModeratorsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetModeratorsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetModeratorsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetModeratorsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetModeratorsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetModeratorsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetModeratorsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetModeratorsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetModeratorsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetModeratorsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetModeratorsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetModeratorsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetModeratorsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetModeratorsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetModeratorsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetModeratorsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetModeratorsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetModeratorsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationCountResponse1.md b/client/docs/GetNotificationCountResponse1.md deleted file mode 100644 index a79f6b6..0000000 --- a/client/docs/GetNotificationCountResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Count** | **float64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetNotificationCountResponse1 - -`func NewGetNotificationCountResponse1(status APIStatus, count float64, reason string, code string, ) *GetNotificationCountResponse1` - -NewGetNotificationCountResponse1 instantiates a new GetNotificationCountResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetNotificationCountResponse1WithDefaults - -`func NewGetNotificationCountResponse1WithDefaults() *GetNotificationCountResponse1` - -NewGetNotificationCountResponse1WithDefaults instantiates a new GetNotificationCountResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetNotificationCountResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetNotificationCountResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCount - -`func (o *GetNotificationCountResponse1) GetCount() float64` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *GetNotificationCountResponse1) GetCountOk() (*float64, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *GetNotificationCountResponse1) SetCount(v float64)` - -SetCount sets Count field to given value. - - -### GetReason - -`func (o *GetNotificationCountResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetNotificationCountResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetNotificationCountResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetNotificationCountResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetNotificationCountResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetNotificationCountResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetNotificationCountResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetNotificationCountResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetNotificationCountResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetNotificationCountResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetNotificationCountResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetNotificationCountResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetNotificationCountResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetNotificationCountResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetNotificationCountResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetNotificationCountResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetNotificationCountResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetNotificationCountResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetNotificationCountResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetNotificationsResponse1.md b/client/docs/GetNotificationsResponse1.md deleted file mode 100644 index 4238c40..0000000 --- a/client/docs/GetNotificationsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetNotificationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Notifications** | [**[]UserNotification**](UserNotification.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetNotificationsResponse1 - -`func NewGetNotificationsResponse1(status APIStatus, notifications []UserNotification, reason string, code string, ) *GetNotificationsResponse1` - -NewGetNotificationsResponse1 instantiates a new GetNotificationsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetNotificationsResponse1WithDefaults - -`func NewGetNotificationsResponse1WithDefaults() *GetNotificationsResponse1` - -NewGetNotificationsResponse1WithDefaults instantiates a new GetNotificationsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetNotificationsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetNotificationsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetNotificationsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetNotifications - -`func (o *GetNotificationsResponse1) GetNotifications() []UserNotification` - -GetNotifications returns the Notifications field if non-nil, zero value otherwise. - -### GetNotificationsOk - -`func (o *GetNotificationsResponse1) GetNotificationsOk() (*[]UserNotification, bool)` - -GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotifications - -`func (o *GetNotificationsResponse1) SetNotifications(v []UserNotification)` - -SetNotifications sets Notifications field to given value. - - -### GetReason - -`func (o *GetNotificationsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetNotificationsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetNotificationsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetNotificationsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetNotificationsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetNotificationsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetNotificationsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetNotificationsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetNotificationsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetNotificationsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetNotificationsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetNotificationsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetNotificationsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetNotificationsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetNotificationsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetNotificationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetNotificationsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetNotificationsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetNotificationsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetNotificationsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetNotificationsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetNotificationsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetNotificationsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetNotificationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetNotificationsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetNotificationsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOfflineUsersResponse.md b/client/docs/GetOfflineUsersResponse.md deleted file mode 100644 index 8bc91a7..0000000 --- a/client/docs/GetOfflineUsersResponse.md +++ /dev/null @@ -1,306 +0,0 @@ -# GetOfflineUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**NextAfterUserId** | **NullableString** | | -**NextAfterName** | **NullableString** | | -**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetOfflineUsersResponse - -`func NewGetOfflineUsersResponse(nextAfterUserId NullableString, nextAfterName NullableString, users []PageUserEntry, status APIStatus, reason string, code string, ) *GetOfflineUsersResponse` - -NewGetOfflineUsersResponse instantiates a new GetOfflineUsersResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOfflineUsersResponseWithDefaults - -`func NewGetOfflineUsersResponseWithDefaults() *GetOfflineUsersResponse` - -NewGetOfflineUsersResponseWithDefaults instantiates a new GetOfflineUsersResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNextAfterUserId - -`func (o *GetOfflineUsersResponse) GetNextAfterUserId() string` - -GetNextAfterUserId returns the NextAfterUserId field if non-nil, zero value otherwise. - -### GetNextAfterUserIdOk - -`func (o *GetOfflineUsersResponse) GetNextAfterUserIdOk() (*string, bool)` - -GetNextAfterUserIdOk returns a tuple with the NextAfterUserId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNextAfterUserId - -`func (o *GetOfflineUsersResponse) SetNextAfterUserId(v string)` - -SetNextAfterUserId sets NextAfterUserId field to given value. - - -### SetNextAfterUserIdNil - -`func (o *GetOfflineUsersResponse) SetNextAfterUserIdNil(b bool)` - - SetNextAfterUserIdNil sets the value for NextAfterUserId to be an explicit nil - -### UnsetNextAfterUserId -`func (o *GetOfflineUsersResponse) UnsetNextAfterUserId()` - -UnsetNextAfterUserId ensures that no value is present for NextAfterUserId, not even an explicit nil -### GetNextAfterName - -`func (o *GetOfflineUsersResponse) GetNextAfterName() string` - -GetNextAfterName returns the NextAfterName field if non-nil, zero value otherwise. - -### GetNextAfterNameOk - -`func (o *GetOfflineUsersResponse) GetNextAfterNameOk() (*string, bool)` - -GetNextAfterNameOk returns a tuple with the NextAfterName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNextAfterName - -`func (o *GetOfflineUsersResponse) SetNextAfterName(v string)` - -SetNextAfterName sets NextAfterName field to given value. - - -### SetNextAfterNameNil - -`func (o *GetOfflineUsersResponse) SetNextAfterNameNil(b bool)` - - SetNextAfterNameNil sets the value for NextAfterName to be an explicit nil - -### UnsetNextAfterName -`func (o *GetOfflineUsersResponse) UnsetNextAfterName()` - -UnsetNextAfterName ensures that no value is present for NextAfterName, not even an explicit nil -### GetUsers - -`func (o *GetOfflineUsersResponse) GetUsers() []PageUserEntry` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *GetOfflineUsersResponse) GetUsersOk() (*[]PageUserEntry, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *GetOfflineUsersResponse) SetUsers(v []PageUserEntry)` - -SetUsers sets Users field to given value. - - -### GetStatus - -`func (o *GetOfflineUsersResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetOfflineUsersResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetOfflineUsersResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetOfflineUsersResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetOfflineUsersResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetOfflineUsersResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetOfflineUsersResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetOfflineUsersResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetOfflineUsersResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetOfflineUsersResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetOfflineUsersResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetOfflineUsersResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetOfflineUsersResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetOfflineUsersResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetOfflineUsersResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetOfflineUsersResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetOfflineUsersResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetOfflineUsersResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetOfflineUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetOfflineUsersResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetOfflineUsersResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetOfflineUsersResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetOfflineUsersResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetOfflineUsersResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetOfflineUsersResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetOfflineUsersResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetOfflineUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetOfflineUsersResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetOfflineUsersResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetOnlineUsersResponse.md b/client/docs/GetOnlineUsersResponse.md deleted file mode 100644 index 3145f3f..0000000 --- a/client/docs/GetOnlineUsersResponse.md +++ /dev/null @@ -1,348 +0,0 @@ -# GetOnlineUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**NextAfterUserId** | **NullableString** | | -**NextAfterName** | **NullableString** | | -**TotalCount** | **float64** | | -**AnonCount** | **float64** | | -**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetOnlineUsersResponse - -`func NewGetOnlineUsersResponse(nextAfterUserId NullableString, nextAfterName NullableString, totalCount float64, anonCount float64, users []PageUserEntry, status APIStatus, reason string, code string, ) *GetOnlineUsersResponse` - -NewGetOnlineUsersResponse instantiates a new GetOnlineUsersResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetOnlineUsersResponseWithDefaults - -`func NewGetOnlineUsersResponseWithDefaults() *GetOnlineUsersResponse` - -NewGetOnlineUsersResponseWithDefaults instantiates a new GetOnlineUsersResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNextAfterUserId - -`func (o *GetOnlineUsersResponse) GetNextAfterUserId() string` - -GetNextAfterUserId returns the NextAfterUserId field if non-nil, zero value otherwise. - -### GetNextAfterUserIdOk - -`func (o *GetOnlineUsersResponse) GetNextAfterUserIdOk() (*string, bool)` - -GetNextAfterUserIdOk returns a tuple with the NextAfterUserId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNextAfterUserId - -`func (o *GetOnlineUsersResponse) SetNextAfterUserId(v string)` - -SetNextAfterUserId sets NextAfterUserId field to given value. - - -### SetNextAfterUserIdNil - -`func (o *GetOnlineUsersResponse) SetNextAfterUserIdNil(b bool)` - - SetNextAfterUserIdNil sets the value for NextAfterUserId to be an explicit nil - -### UnsetNextAfterUserId -`func (o *GetOnlineUsersResponse) UnsetNextAfterUserId()` - -UnsetNextAfterUserId ensures that no value is present for NextAfterUserId, not even an explicit nil -### GetNextAfterName - -`func (o *GetOnlineUsersResponse) GetNextAfterName() string` - -GetNextAfterName returns the NextAfterName field if non-nil, zero value otherwise. - -### GetNextAfterNameOk - -`func (o *GetOnlineUsersResponse) GetNextAfterNameOk() (*string, bool)` - -GetNextAfterNameOk returns a tuple with the NextAfterName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNextAfterName - -`func (o *GetOnlineUsersResponse) SetNextAfterName(v string)` - -SetNextAfterName sets NextAfterName field to given value. - - -### SetNextAfterNameNil - -`func (o *GetOnlineUsersResponse) SetNextAfterNameNil(b bool)` - - SetNextAfterNameNil sets the value for NextAfterName to be an explicit nil - -### UnsetNextAfterName -`func (o *GetOnlineUsersResponse) UnsetNextAfterName()` - -UnsetNextAfterName ensures that no value is present for NextAfterName, not even an explicit nil -### GetTotalCount - -`func (o *GetOnlineUsersResponse) GetTotalCount() float64` - -GetTotalCount returns the TotalCount field if non-nil, zero value otherwise. - -### GetTotalCountOk - -`func (o *GetOnlineUsersResponse) GetTotalCountOk() (*float64, bool)` - -GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTotalCount - -`func (o *GetOnlineUsersResponse) SetTotalCount(v float64)` - -SetTotalCount sets TotalCount field to given value. - - -### GetAnonCount - -`func (o *GetOnlineUsersResponse) GetAnonCount() float64` - -GetAnonCount returns the AnonCount field if non-nil, zero value otherwise. - -### GetAnonCountOk - -`func (o *GetOnlineUsersResponse) GetAnonCountOk() (*float64, bool)` - -GetAnonCountOk returns a tuple with the AnonCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAnonCount - -`func (o *GetOnlineUsersResponse) SetAnonCount(v float64)` - -SetAnonCount sets AnonCount field to given value. - - -### GetUsers - -`func (o *GetOnlineUsersResponse) GetUsers() []PageUserEntry` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *GetOnlineUsersResponse) GetUsersOk() (*[]PageUserEntry, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *GetOnlineUsersResponse) SetUsers(v []PageUserEntry)` - -SetUsers sets Users field to given value. - - -### GetStatus - -`func (o *GetOnlineUsersResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetOnlineUsersResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetOnlineUsersResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetOnlineUsersResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetOnlineUsersResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetOnlineUsersResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetOnlineUsersResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetOnlineUsersResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetOnlineUsersResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetOnlineUsersResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetOnlineUsersResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetOnlineUsersResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetOnlineUsersResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetOnlineUsersResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetOnlineUsersResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetOnlineUsersResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetOnlineUsersResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetOnlineUsersResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetOnlineUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetOnlineUsersResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetOnlineUsersResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetOnlineUsersResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetOnlineUsersResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetOnlineUsersResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetOnlineUsersResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetOnlineUsersResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetOnlineUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetOnlineUsersResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetOnlineUsersResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPagesPublicResponse.md b/client/docs/GetPagesPublicResponse.md deleted file mode 100644 index 73b6be3..0000000 --- a/client/docs/GetPagesPublicResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# GetPagesPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**NextCursor** | **NullableString** | | -**Pages** | [**[]PublicPage**](PublicPage.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetPagesPublicResponse - -`func NewGetPagesPublicResponse(nextCursor NullableString, pages []PublicPage, status APIStatus, reason string, code string, ) *GetPagesPublicResponse` - -NewGetPagesPublicResponse instantiates a new GetPagesPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetPagesPublicResponseWithDefaults - -`func NewGetPagesPublicResponseWithDefaults() *GetPagesPublicResponse` - -NewGetPagesPublicResponseWithDefaults instantiates a new GetPagesPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNextCursor - -`func (o *GetPagesPublicResponse) GetNextCursor() string` - -GetNextCursor returns the NextCursor field if non-nil, zero value otherwise. - -### GetNextCursorOk - -`func (o *GetPagesPublicResponse) GetNextCursorOk() (*string, bool)` - -GetNextCursorOk returns a tuple with the NextCursor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNextCursor - -`func (o *GetPagesPublicResponse) SetNextCursor(v string)` - -SetNextCursor sets NextCursor field to given value. - - -### SetNextCursorNil - -`func (o *GetPagesPublicResponse) SetNextCursorNil(b bool)` - - SetNextCursorNil sets the value for NextCursor to be an explicit nil - -### UnsetNextCursor -`func (o *GetPagesPublicResponse) UnsetNextCursor()` - -UnsetNextCursor ensures that no value is present for NextCursor, not even an explicit nil -### GetPages - -`func (o *GetPagesPublicResponse) GetPages() []PublicPage` - -GetPages returns the Pages field if non-nil, zero value otherwise. - -### GetPagesOk - -`func (o *GetPagesPublicResponse) GetPagesOk() (*[]PublicPage, bool)` - -GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPages - -`func (o *GetPagesPublicResponse) SetPages(v []PublicPage)` - -SetPages sets Pages field to given value. - - -### GetStatus - -`func (o *GetPagesPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetPagesPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetPagesPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetPagesPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetPagesPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetPagesPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetPagesPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetPagesPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetPagesPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetPagesPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetPagesPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetPagesPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetPagesPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetPagesPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetPagesPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetPagesPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetPagesPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetPagesPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetPagesPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetPagesPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetPagesPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetPagesPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetPagesPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetPagesPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetPagesPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetPagesPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetPagesPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetPagesPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetPagesPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventCountResponse1.md b/client/docs/GetPendingWebhookEventCountResponse1.md deleted file mode 100644 index 893cc77..0000000 --- a/client/docs/GetPendingWebhookEventCountResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetPendingWebhookEventCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Count** | **float64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetPendingWebhookEventCountResponse1 - -`func NewGetPendingWebhookEventCountResponse1(status APIStatus, count float64, reason string, code string, ) *GetPendingWebhookEventCountResponse1` - -NewGetPendingWebhookEventCountResponse1 instantiates a new GetPendingWebhookEventCountResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetPendingWebhookEventCountResponse1WithDefaults - -`func NewGetPendingWebhookEventCountResponse1WithDefaults() *GetPendingWebhookEventCountResponse1` - -NewGetPendingWebhookEventCountResponse1WithDefaults instantiates a new GetPendingWebhookEventCountResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetPendingWebhookEventCountResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetPendingWebhookEventCountResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetPendingWebhookEventCountResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCount - -`func (o *GetPendingWebhookEventCountResponse1) GetCount() float64` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *GetPendingWebhookEventCountResponse1) GetCountOk() (*float64, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *GetPendingWebhookEventCountResponse1) SetCount(v float64)` - -SetCount sets Count field to given value. - - -### GetReason - -`func (o *GetPendingWebhookEventCountResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetPendingWebhookEventCountResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetPendingWebhookEventCountResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetPendingWebhookEventCountResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetPendingWebhookEventCountResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetPendingWebhookEventCountResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetPendingWebhookEventCountResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetPendingWebhookEventCountResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetPendingWebhookEventCountResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetPendingWebhookEventCountResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetPendingWebhookEventCountResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetPendingWebhookEventCountResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetPendingWebhookEventCountResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetPendingWebhookEventCountResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetPendingWebhookEventCountResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetPendingWebhookEventCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetPendingWebhookEventCountResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetPendingWebhookEventCountResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetPendingWebhookEventCountResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetPendingWebhookEventCountResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetPendingWebhookEventCountResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetPendingWebhookEventCountResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetPendingWebhookEventCountResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetPendingWebhookEventCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetPendingWebhookEventCountResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetPendingWebhookEventCountResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPendingWebhookEventsResponse1.md b/client/docs/GetPendingWebhookEventsResponse1.md deleted file mode 100644 index 3145541..0000000 --- a/client/docs/GetPendingWebhookEventsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetPendingWebhookEventsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**PendingWebhookEvents** | [**[]PendingCommentToSyncOutbound**](PendingCommentToSyncOutbound.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetPendingWebhookEventsResponse1 - -`func NewGetPendingWebhookEventsResponse1(status APIStatus, pendingWebhookEvents []PendingCommentToSyncOutbound, reason string, code string, ) *GetPendingWebhookEventsResponse1` - -NewGetPendingWebhookEventsResponse1 instantiates a new GetPendingWebhookEventsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetPendingWebhookEventsResponse1WithDefaults - -`func NewGetPendingWebhookEventsResponse1WithDefaults() *GetPendingWebhookEventsResponse1` - -NewGetPendingWebhookEventsResponse1WithDefaults instantiates a new GetPendingWebhookEventsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetPendingWebhookEventsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetPendingWebhookEventsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetPendingWebhookEventsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetPendingWebhookEvents - -`func (o *GetPendingWebhookEventsResponse1) GetPendingWebhookEvents() []PendingCommentToSyncOutbound` - -GetPendingWebhookEvents returns the PendingWebhookEvents field if non-nil, zero value otherwise. - -### GetPendingWebhookEventsOk - -`func (o *GetPendingWebhookEventsResponse1) GetPendingWebhookEventsOk() (*[]PendingCommentToSyncOutbound, bool)` - -GetPendingWebhookEventsOk returns a tuple with the PendingWebhookEvents field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPendingWebhookEvents - -`func (o *GetPendingWebhookEventsResponse1) SetPendingWebhookEvents(v []PendingCommentToSyncOutbound)` - -SetPendingWebhookEvents sets PendingWebhookEvents field to given value. - - -### GetReason - -`func (o *GetPendingWebhookEventsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetPendingWebhookEventsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetPendingWebhookEventsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetPendingWebhookEventsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetPendingWebhookEventsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetPendingWebhookEventsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetPendingWebhookEventsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetPendingWebhookEventsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetPendingWebhookEventsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetPendingWebhookEventsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetPendingWebhookEventsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetPendingWebhookEventsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetPendingWebhookEventsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetPendingWebhookEventsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetPendingWebhookEventsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetPendingWebhookEventsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetPendingWebhookEventsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetPendingWebhookEventsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetPendingWebhookEventsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetPendingWebhookEventsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetPendingWebhookEventsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetPendingWebhookEventsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetPendingWebhookEventsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetPendingWebhookEventsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetPendingWebhookEventsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetPendingWebhookEventsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetPreBanSummaryResponse.md b/client/docs/GetPreBanSummaryResponse.md deleted file mode 100644 index 33b13fd..0000000 --- a/client/docs/GetPreBanSummaryResponse.md +++ /dev/null @@ -1,265 +0,0 @@ -# GetPreBanSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Usernames** | **[]string** | | -**Count** | **float64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetPreBanSummaryResponse - -`func NewGetPreBanSummaryResponse(status APIStatus, usernames []string, count float64, reason string, code string, ) *GetPreBanSummaryResponse` - -NewGetPreBanSummaryResponse instantiates a new GetPreBanSummaryResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetPreBanSummaryResponseWithDefaults - -`func NewGetPreBanSummaryResponseWithDefaults() *GetPreBanSummaryResponse` - -NewGetPreBanSummaryResponseWithDefaults instantiates a new GetPreBanSummaryResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetPreBanSummaryResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetPreBanSummaryResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetPreBanSummaryResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUsernames - -`func (o *GetPreBanSummaryResponse) GetUsernames() []string` - -GetUsernames returns the Usernames field if non-nil, zero value otherwise. - -### GetUsernamesOk - -`func (o *GetPreBanSummaryResponse) GetUsernamesOk() (*[]string, bool)` - -GetUsernamesOk returns a tuple with the Usernames field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsernames - -`func (o *GetPreBanSummaryResponse) SetUsernames(v []string)` - -SetUsernames sets Usernames field to given value. - - -### GetCount - -`func (o *GetPreBanSummaryResponse) GetCount() float64` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *GetPreBanSummaryResponse) GetCountOk() (*float64, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *GetPreBanSummaryResponse) SetCount(v float64)` - -SetCount sets Count field to given value. - - -### GetReason - -`func (o *GetPreBanSummaryResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetPreBanSummaryResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetPreBanSummaryResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetPreBanSummaryResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetPreBanSummaryResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetPreBanSummaryResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetPreBanSummaryResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetPreBanSummaryResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetPreBanSummaryResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetPreBanSummaryResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetPreBanSummaryResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetPreBanSummaryResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetPreBanSummaryResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetPreBanSummaryResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetPreBanSummaryResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetPreBanSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetPreBanSummaryResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetPreBanSummaryResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetPreBanSummaryResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetPreBanSummaryResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetPreBanSummaryResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetPreBanSummaryResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetPreBanSummaryResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetPreBanSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetPreBanSummaryResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetPreBanSummaryResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigResponse1.md b/client/docs/GetQuestionConfigResponse1.md deleted file mode 100644 index 50ff36f..0000000 --- a/client/docs/GetQuestionConfigResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetQuestionConfigResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionConfig** | [**QuestionConfig**](QuestionConfig.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetQuestionConfigResponse1 - -`func NewGetQuestionConfigResponse1(status APIStatus, questionConfig QuestionConfig, reason string, code string, ) *GetQuestionConfigResponse1` - -NewGetQuestionConfigResponse1 instantiates a new GetQuestionConfigResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetQuestionConfigResponse1WithDefaults - -`func NewGetQuestionConfigResponse1WithDefaults() *GetQuestionConfigResponse1` - -NewGetQuestionConfigResponse1WithDefaults instantiates a new GetQuestionConfigResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetQuestionConfigResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetQuestionConfigResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetQuestionConfigResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionConfig - -`func (o *GetQuestionConfigResponse1) GetQuestionConfig() QuestionConfig` - -GetQuestionConfig returns the QuestionConfig field if non-nil, zero value otherwise. - -### GetQuestionConfigOk - -`func (o *GetQuestionConfigResponse1) GetQuestionConfigOk() (*QuestionConfig, bool)` - -GetQuestionConfigOk returns a tuple with the QuestionConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionConfig - -`func (o *GetQuestionConfigResponse1) SetQuestionConfig(v QuestionConfig)` - -SetQuestionConfig sets QuestionConfig field to given value. - - -### GetReason - -`func (o *GetQuestionConfigResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetQuestionConfigResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetQuestionConfigResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetQuestionConfigResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetQuestionConfigResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetQuestionConfigResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetQuestionConfigResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetQuestionConfigResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetQuestionConfigResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetQuestionConfigResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetQuestionConfigResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetQuestionConfigResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetQuestionConfigResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetQuestionConfigResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetQuestionConfigResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetQuestionConfigResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetQuestionConfigResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetQuestionConfigResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetQuestionConfigResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetQuestionConfigResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetQuestionConfigResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetQuestionConfigResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetQuestionConfigResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetQuestionConfigResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetQuestionConfigResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetQuestionConfigResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionConfigsResponse1.md b/client/docs/GetQuestionConfigsResponse1.md deleted file mode 100644 index 63a5324..0000000 --- a/client/docs/GetQuestionConfigsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetQuestionConfigsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionConfigs** | [**[]QuestionConfig**](QuestionConfig.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetQuestionConfigsResponse1 - -`func NewGetQuestionConfigsResponse1(status APIStatus, questionConfigs []QuestionConfig, reason string, code string, ) *GetQuestionConfigsResponse1` - -NewGetQuestionConfigsResponse1 instantiates a new GetQuestionConfigsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetQuestionConfigsResponse1WithDefaults - -`func NewGetQuestionConfigsResponse1WithDefaults() *GetQuestionConfigsResponse1` - -NewGetQuestionConfigsResponse1WithDefaults instantiates a new GetQuestionConfigsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetQuestionConfigsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetQuestionConfigsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetQuestionConfigsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionConfigs - -`func (o *GetQuestionConfigsResponse1) GetQuestionConfigs() []QuestionConfig` - -GetQuestionConfigs returns the QuestionConfigs field if non-nil, zero value otherwise. - -### GetQuestionConfigsOk - -`func (o *GetQuestionConfigsResponse1) GetQuestionConfigsOk() (*[]QuestionConfig, bool)` - -GetQuestionConfigsOk returns a tuple with the QuestionConfigs field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionConfigs - -`func (o *GetQuestionConfigsResponse1) SetQuestionConfigs(v []QuestionConfig)` - -SetQuestionConfigs sets QuestionConfigs field to given value. - - -### GetReason - -`func (o *GetQuestionConfigsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetQuestionConfigsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetQuestionConfigsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetQuestionConfigsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetQuestionConfigsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetQuestionConfigsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetQuestionConfigsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetQuestionConfigsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetQuestionConfigsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetQuestionConfigsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetQuestionConfigsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetQuestionConfigsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetQuestionConfigsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetQuestionConfigsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetQuestionConfigsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetQuestionConfigsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetQuestionConfigsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetQuestionConfigsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetQuestionConfigsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetQuestionConfigsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetQuestionConfigsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetQuestionConfigsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetQuestionConfigsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetQuestionConfigsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetQuestionConfigsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetQuestionConfigsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultResponse1.md b/client/docs/GetQuestionResultResponse1.md deleted file mode 100644 index 352a9e1..0000000 --- a/client/docs/GetQuestionResultResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetQuestionResultResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionResult** | [**QuestionResult**](QuestionResult.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetQuestionResultResponse1 - -`func NewGetQuestionResultResponse1(status APIStatus, questionResult QuestionResult, reason string, code string, ) *GetQuestionResultResponse1` - -NewGetQuestionResultResponse1 instantiates a new GetQuestionResultResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetQuestionResultResponse1WithDefaults - -`func NewGetQuestionResultResponse1WithDefaults() *GetQuestionResultResponse1` - -NewGetQuestionResultResponse1WithDefaults instantiates a new GetQuestionResultResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetQuestionResultResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetQuestionResultResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetQuestionResultResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionResult - -`func (o *GetQuestionResultResponse1) GetQuestionResult() QuestionResult` - -GetQuestionResult returns the QuestionResult field if non-nil, zero value otherwise. - -### GetQuestionResultOk - -`func (o *GetQuestionResultResponse1) GetQuestionResultOk() (*QuestionResult, bool)` - -GetQuestionResultOk returns a tuple with the QuestionResult field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionResult - -`func (o *GetQuestionResultResponse1) SetQuestionResult(v QuestionResult)` - -SetQuestionResult sets QuestionResult field to given value. - - -### GetReason - -`func (o *GetQuestionResultResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetQuestionResultResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetQuestionResultResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetQuestionResultResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetQuestionResultResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetQuestionResultResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetQuestionResultResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetQuestionResultResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetQuestionResultResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetQuestionResultResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetQuestionResultResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetQuestionResultResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetQuestionResultResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetQuestionResultResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetQuestionResultResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetQuestionResultResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetQuestionResultResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetQuestionResultResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetQuestionResultResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetQuestionResultResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetQuestionResultResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetQuestionResultResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetQuestionResultResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetQuestionResultResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetQuestionResultResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetQuestionResultResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetQuestionResultsResponse1.md b/client/docs/GetQuestionResultsResponse1.md deleted file mode 100644 index 513d79f..0000000 --- a/client/docs/GetQuestionResultsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetQuestionResultsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**QuestionResults** | [**[]QuestionResult**](QuestionResult.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetQuestionResultsResponse1 - -`func NewGetQuestionResultsResponse1(status APIStatus, questionResults []QuestionResult, reason string, code string, ) *GetQuestionResultsResponse1` - -NewGetQuestionResultsResponse1 instantiates a new GetQuestionResultsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetQuestionResultsResponse1WithDefaults - -`func NewGetQuestionResultsResponse1WithDefaults() *GetQuestionResultsResponse1` - -NewGetQuestionResultsResponse1WithDefaults instantiates a new GetQuestionResultsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetQuestionResultsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetQuestionResultsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetQuestionResultsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetQuestionResults - -`func (o *GetQuestionResultsResponse1) GetQuestionResults() []QuestionResult` - -GetQuestionResults returns the QuestionResults field if non-nil, zero value otherwise. - -### GetQuestionResultsOk - -`func (o *GetQuestionResultsResponse1) GetQuestionResultsOk() (*[]QuestionResult, bool)` - -GetQuestionResultsOk returns a tuple with the QuestionResults field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetQuestionResults - -`func (o *GetQuestionResultsResponse1) SetQuestionResults(v []QuestionResult)` - -SetQuestionResults sets QuestionResults field to given value. - - -### GetReason - -`func (o *GetQuestionResultsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetQuestionResultsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetQuestionResultsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetQuestionResultsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetQuestionResultsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetQuestionResultsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetQuestionResultsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetQuestionResultsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetQuestionResultsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetQuestionResultsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetQuestionResultsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetQuestionResultsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetQuestionResultsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetQuestionResultsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetQuestionResultsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetQuestionResultsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetQuestionResultsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetQuestionResultsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetQuestionResultsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetQuestionResultsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetQuestionResultsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetQuestionResultsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetQuestionResultsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetQuestionResultsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetQuestionResultsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetQuestionResultsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchCommentsSummaryResponse.md b/client/docs/GetSearchCommentsSummaryResponse.md deleted file mode 100644 index 8065839..0000000 --- a/client/docs/GetSearchCommentsSummaryResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetSearchCommentsSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CommentCount** | **int32** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetSearchCommentsSummaryResponse - -`func NewGetSearchCommentsSummaryResponse(commentCount int32, status APIStatus, reason string, code string, ) *GetSearchCommentsSummaryResponse` - -NewGetSearchCommentsSummaryResponse instantiates a new GetSearchCommentsSummaryResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetSearchCommentsSummaryResponseWithDefaults - -`func NewGetSearchCommentsSummaryResponseWithDefaults() *GetSearchCommentsSummaryResponse` - -NewGetSearchCommentsSummaryResponseWithDefaults instantiates a new GetSearchCommentsSummaryResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCommentCount - -`func (o *GetSearchCommentsSummaryResponse) GetCommentCount() int32` - -GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. - -### GetCommentCountOk - -`func (o *GetSearchCommentsSummaryResponse) GetCommentCountOk() (*int32, bool)` - -GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentCount - -`func (o *GetSearchCommentsSummaryResponse) SetCommentCount(v int32)` - -SetCommentCount sets CommentCount field to given value. - - -### GetStatus - -`func (o *GetSearchCommentsSummaryResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetSearchCommentsSummaryResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetSearchCommentsSummaryResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetSearchCommentsSummaryResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetSearchCommentsSummaryResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetSearchCommentsSummaryResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetSearchCommentsSummaryResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetSearchCommentsSummaryResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetSearchCommentsSummaryResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetSearchCommentsSummaryResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetSearchCommentsSummaryResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetSearchCommentsSummaryResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetSearchCommentsSummaryResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetSearchCommentsSummaryResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetSearchCommentsSummaryResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetSearchCommentsSummaryResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetSearchCommentsSummaryResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetSearchCommentsSummaryResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetSearchCommentsSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetSearchCommentsSummaryResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetSearchCommentsSummaryResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetSearchCommentsSummaryResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetSearchCommentsSummaryResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetSearchCommentsSummaryResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetSearchCommentsSummaryResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetSearchCommentsSummaryResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetSearchCommentsSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetSearchCommentsSummaryResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetSearchCommentsSummaryResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchPagesResponse.md b/client/docs/GetSearchPagesResponse.md deleted file mode 100644 index a4de00f..0000000 --- a/client/docs/GetSearchPagesResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetSearchPagesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Pages** | [**[]ModerationPageSearchProjected**](ModerationPageSearchProjected.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetSearchPagesResponse - -`func NewGetSearchPagesResponse(pages []ModerationPageSearchProjected, status APIStatus, reason string, code string, ) *GetSearchPagesResponse` - -NewGetSearchPagesResponse instantiates a new GetSearchPagesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetSearchPagesResponseWithDefaults - -`func NewGetSearchPagesResponseWithDefaults() *GetSearchPagesResponse` - -NewGetSearchPagesResponseWithDefaults instantiates a new GetSearchPagesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPages - -`func (o *GetSearchPagesResponse) GetPages() []ModerationPageSearchProjected` - -GetPages returns the Pages field if non-nil, zero value otherwise. - -### GetPagesOk - -`func (o *GetSearchPagesResponse) GetPagesOk() (*[]ModerationPageSearchProjected, bool)` - -GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPages - -`func (o *GetSearchPagesResponse) SetPages(v []ModerationPageSearchProjected)` - -SetPages sets Pages field to given value. - - -### GetStatus - -`func (o *GetSearchPagesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetSearchPagesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetSearchPagesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetSearchPagesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetSearchPagesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetSearchPagesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetSearchPagesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetSearchPagesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetSearchPagesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetSearchPagesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetSearchPagesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetSearchPagesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetSearchPagesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetSearchPagesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetSearchPagesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetSearchPagesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetSearchPagesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetSearchPagesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetSearchPagesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetSearchPagesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetSearchPagesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetSearchPagesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetSearchPagesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetSearchPagesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetSearchPagesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetSearchPagesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetSearchPagesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetSearchPagesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetSearchPagesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSitesResponse.md b/client/docs/GetSearchSitesResponse.md deleted file mode 100644 index 5e30b33..0000000 --- a/client/docs/GetSearchSitesResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetSearchSitesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Sites** | [**[]ModerationSiteSearchProjected**](ModerationSiteSearchProjected.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetSearchSitesResponse - -`func NewGetSearchSitesResponse(sites []ModerationSiteSearchProjected, status APIStatus, reason string, code string, ) *GetSearchSitesResponse` - -NewGetSearchSitesResponse instantiates a new GetSearchSitesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetSearchSitesResponseWithDefaults - -`func NewGetSearchSitesResponseWithDefaults() *GetSearchSitesResponse` - -NewGetSearchSitesResponseWithDefaults instantiates a new GetSearchSitesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSites - -`func (o *GetSearchSitesResponse) GetSites() []ModerationSiteSearchProjected` - -GetSites returns the Sites field if non-nil, zero value otherwise. - -### GetSitesOk - -`func (o *GetSearchSitesResponse) GetSitesOk() (*[]ModerationSiteSearchProjected, bool)` - -GetSitesOk returns a tuple with the Sites field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSites - -`func (o *GetSearchSitesResponse) SetSites(v []ModerationSiteSearchProjected)` - -SetSites sets Sites field to given value. - - -### GetStatus - -`func (o *GetSearchSitesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetSearchSitesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetSearchSitesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetSearchSitesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetSearchSitesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetSearchSitesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetSearchSitesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetSearchSitesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetSearchSitesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetSearchSitesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetSearchSitesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetSearchSitesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetSearchSitesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetSearchSitesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetSearchSitesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetSearchSitesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetSearchSitesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetSearchSitesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetSearchSitesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetSearchSitesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetSearchSitesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetSearchSitesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetSearchSitesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetSearchSitesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetSearchSitesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetSearchSitesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetSearchSitesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetSearchSitesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetSearchSitesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchSuggestResponse.md b/client/docs/GetSearchSuggestResponse.md deleted file mode 100644 index 045a57c..0000000 --- a/client/docs/GetSearchSuggestResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# GetSearchSuggestResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Pages** | Pointer to [**[]ModerationPageSearchProjected**](ModerationPageSearchProjected.md) | | [optional] -**Users** | Pointer to [**[]ModerationUserSearchProjected**](ModerationUserSearchProjected.md) | | [optional] -**Code** | **string** | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetSearchSuggestResponse - -`func NewGetSearchSuggestResponse(status APIStatus, code string, reason string, ) *GetSearchSuggestResponse` - -NewGetSearchSuggestResponse instantiates a new GetSearchSuggestResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetSearchSuggestResponseWithDefaults - -`func NewGetSearchSuggestResponseWithDefaults() *GetSearchSuggestResponse` - -NewGetSearchSuggestResponseWithDefaults instantiates a new GetSearchSuggestResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetSearchSuggestResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetSearchSuggestResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetSearchSuggestResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetPages - -`func (o *GetSearchSuggestResponse) GetPages() []ModerationPageSearchProjected` - -GetPages returns the Pages field if non-nil, zero value otherwise. - -### GetPagesOk - -`func (o *GetSearchSuggestResponse) GetPagesOk() (*[]ModerationPageSearchProjected, bool)` - -GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPages - -`func (o *GetSearchSuggestResponse) SetPages(v []ModerationPageSearchProjected)` - -SetPages sets Pages field to given value. - -### HasPages - -`func (o *GetSearchSuggestResponse) HasPages() bool` - -HasPages returns a boolean if a field has been set. - -### GetUsers - -`func (o *GetSearchSuggestResponse) GetUsers() []ModerationUserSearchProjected` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *GetSearchSuggestResponse) GetUsersOk() (*[]ModerationUserSearchProjected, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *GetSearchSuggestResponse) SetUsers(v []ModerationUserSearchProjected)` - -SetUsers sets Users field to given value. - -### HasUsers - -`func (o *GetSearchSuggestResponse) HasUsers() bool` - -HasUsers returns a boolean if a field has been set. - -### GetCode - -`func (o *GetSearchSuggestResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetSearchSuggestResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetSearchSuggestResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *GetSearchSuggestResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetSearchSuggestResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetSearchSuggestResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *GetSearchSuggestResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetSearchSuggestResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetSearchSuggestResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetSearchSuggestResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetSearchSuggestResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetSearchSuggestResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetSearchSuggestResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetSearchSuggestResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetSearchSuggestResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetSearchSuggestResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetSearchSuggestResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetSearchSuggestResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetSearchSuggestResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetSearchSuggestResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetSearchSuggestResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetSearchSuggestResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetSearchSuggestResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetSearchSuggestResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetSearchSuggestResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetSearchSuggestResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetSearchUsersResponse.md b/client/docs/GetSearchUsersResponse.md deleted file mode 100644 index 3bdb618..0000000 --- a/client/docs/GetSearchUsersResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetSearchUsersResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Users** | [**[]ModerationUserSearchProjected**](ModerationUserSearchProjected.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetSearchUsersResponse - -`func NewGetSearchUsersResponse(users []ModerationUserSearchProjected, status APIStatus, reason string, code string, ) *GetSearchUsersResponse` - -NewGetSearchUsersResponse instantiates a new GetSearchUsersResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetSearchUsersResponseWithDefaults - -`func NewGetSearchUsersResponseWithDefaults() *GetSearchUsersResponse` - -NewGetSearchUsersResponseWithDefaults instantiates a new GetSearchUsersResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUsers - -`func (o *GetSearchUsersResponse) GetUsers() []ModerationUserSearchProjected` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *GetSearchUsersResponse) GetUsersOk() (*[]ModerationUserSearchProjected, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *GetSearchUsersResponse) SetUsers(v []ModerationUserSearchProjected)` - -SetUsers sets Users field to given value. - - -### GetStatus - -`func (o *GetSearchUsersResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetSearchUsersResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetSearchUsersResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetSearchUsersResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetSearchUsersResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetSearchUsersResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetSearchUsersResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetSearchUsersResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetSearchUsersResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetSearchUsersResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetSearchUsersResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetSearchUsersResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetSearchUsersResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetSearchUsersResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetSearchUsersResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetSearchUsersResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetSearchUsersResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetSearchUsersResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetSearchUsersResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetSearchUsersResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetSearchUsersResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetSearchUsersResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetSearchUsersResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetSearchUsersResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetSearchUsersResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetSearchUsersResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetSearchUsersResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetSearchUsersResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetSearchUsersResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantDailyUsagesResponse1.md b/client/docs/GetTenantDailyUsagesResponse1.md deleted file mode 100644 index bc87b75..0000000 --- a/client/docs/GetTenantDailyUsagesResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantDailyUsagesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantDailyUsages** | [**[]APITenantDailyUsage**](APITenantDailyUsage.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantDailyUsagesResponse1 - -`func NewGetTenantDailyUsagesResponse1(status APIStatus, tenantDailyUsages []APITenantDailyUsage, reason string, code string, ) *GetTenantDailyUsagesResponse1` - -NewGetTenantDailyUsagesResponse1 instantiates a new GetTenantDailyUsagesResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantDailyUsagesResponse1WithDefaults - -`func NewGetTenantDailyUsagesResponse1WithDefaults() *GetTenantDailyUsagesResponse1` - -NewGetTenantDailyUsagesResponse1WithDefaults instantiates a new GetTenantDailyUsagesResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantDailyUsagesResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantDailyUsagesResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantDailyUsagesResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantDailyUsages - -`func (o *GetTenantDailyUsagesResponse1) GetTenantDailyUsages() []APITenantDailyUsage` - -GetTenantDailyUsages returns the TenantDailyUsages field if non-nil, zero value otherwise. - -### GetTenantDailyUsagesOk - -`func (o *GetTenantDailyUsagesResponse1) GetTenantDailyUsagesOk() (*[]APITenantDailyUsage, bool)` - -GetTenantDailyUsagesOk returns a tuple with the TenantDailyUsages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantDailyUsages - -`func (o *GetTenantDailyUsagesResponse1) SetTenantDailyUsages(v []APITenantDailyUsage)` - -SetTenantDailyUsages sets TenantDailyUsages field to given value. - - -### GetReason - -`func (o *GetTenantDailyUsagesResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantDailyUsagesResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantDailyUsagesResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantDailyUsagesResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantDailyUsagesResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantDailyUsagesResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantDailyUsagesResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantDailyUsagesResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantDailyUsagesResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantDailyUsagesResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantDailyUsagesResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantDailyUsagesResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantDailyUsagesResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantDailyUsagesResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantDailyUsagesResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantDailyUsagesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantDailyUsagesResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantDailyUsagesResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantDailyUsagesResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantDailyUsagesResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantDailyUsagesResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantDailyUsagesResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantDailyUsagesResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantDailyUsagesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantDailyUsagesResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantDailyUsagesResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackageResponse1.md b/client/docs/GetTenantPackageResponse1.md deleted file mode 100644 index e62cc16..0000000 --- a/client/docs/GetTenantPackageResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantPackageResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantPackage** | [**TenantPackage**](TenantPackage.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantPackageResponse1 - -`func NewGetTenantPackageResponse1(status APIStatus, tenantPackage TenantPackage, reason string, code string, ) *GetTenantPackageResponse1` - -NewGetTenantPackageResponse1 instantiates a new GetTenantPackageResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantPackageResponse1WithDefaults - -`func NewGetTenantPackageResponse1WithDefaults() *GetTenantPackageResponse1` - -NewGetTenantPackageResponse1WithDefaults instantiates a new GetTenantPackageResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantPackageResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantPackageResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantPackageResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantPackage - -`func (o *GetTenantPackageResponse1) GetTenantPackage() TenantPackage` - -GetTenantPackage returns the TenantPackage field if non-nil, zero value otherwise. - -### GetTenantPackageOk - -`func (o *GetTenantPackageResponse1) GetTenantPackageOk() (*TenantPackage, bool)` - -GetTenantPackageOk returns a tuple with the TenantPackage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantPackage - -`func (o *GetTenantPackageResponse1) SetTenantPackage(v TenantPackage)` - -SetTenantPackage sets TenantPackage field to given value. - - -### GetReason - -`func (o *GetTenantPackageResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantPackageResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantPackageResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantPackageResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantPackageResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantPackageResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantPackageResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantPackageResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantPackageResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantPackageResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantPackageResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantPackageResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantPackageResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantPackageResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantPackageResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantPackageResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantPackageResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantPackageResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantPackageResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantPackageResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantPackageResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantPackageResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantPackageResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantPackageResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantPackageResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantPackageResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantPackagesResponse1.md b/client/docs/GetTenantPackagesResponse1.md deleted file mode 100644 index 8efaba2..0000000 --- a/client/docs/GetTenantPackagesResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantPackagesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantPackages** | [**[]TenantPackage**](TenantPackage.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantPackagesResponse1 - -`func NewGetTenantPackagesResponse1(status APIStatus, tenantPackages []TenantPackage, reason string, code string, ) *GetTenantPackagesResponse1` - -NewGetTenantPackagesResponse1 instantiates a new GetTenantPackagesResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantPackagesResponse1WithDefaults - -`func NewGetTenantPackagesResponse1WithDefaults() *GetTenantPackagesResponse1` - -NewGetTenantPackagesResponse1WithDefaults instantiates a new GetTenantPackagesResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantPackagesResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantPackagesResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantPackagesResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantPackages - -`func (o *GetTenantPackagesResponse1) GetTenantPackages() []TenantPackage` - -GetTenantPackages returns the TenantPackages field if non-nil, zero value otherwise. - -### GetTenantPackagesOk - -`func (o *GetTenantPackagesResponse1) GetTenantPackagesOk() (*[]TenantPackage, bool)` - -GetTenantPackagesOk returns a tuple with the TenantPackages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantPackages - -`func (o *GetTenantPackagesResponse1) SetTenantPackages(v []TenantPackage)` - -SetTenantPackages sets TenantPackages field to given value. - - -### GetReason - -`func (o *GetTenantPackagesResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantPackagesResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantPackagesResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantPackagesResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantPackagesResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantPackagesResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantPackagesResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantPackagesResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantPackagesResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantPackagesResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantPackagesResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantPackagesResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantPackagesResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantPackagesResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantPackagesResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantPackagesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantPackagesResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantPackagesResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantPackagesResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantPackagesResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantPackagesResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantPackagesResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantPackagesResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantPackagesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantPackagesResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantPackagesResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantResponse1.md b/client/docs/GetTenantResponse1.md deleted file mode 100644 index 2b246e1..0000000 --- a/client/docs/GetTenantResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Tenant** | [**APITenant**](APITenant.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantResponse1 - -`func NewGetTenantResponse1(status APIStatus, tenant APITenant, reason string, code string, ) *GetTenantResponse1` - -NewGetTenantResponse1 instantiates a new GetTenantResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantResponse1WithDefaults - -`func NewGetTenantResponse1WithDefaults() *GetTenantResponse1` - -NewGetTenantResponse1WithDefaults instantiates a new GetTenantResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenant - -`func (o *GetTenantResponse1) GetTenant() APITenant` - -GetTenant returns the Tenant field if non-nil, zero value otherwise. - -### GetTenantOk - -`func (o *GetTenantResponse1) GetTenantOk() (*APITenant, bool)` - -GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenant - -`func (o *GetTenantResponse1) SetTenant(v APITenant)` - -SetTenant sets Tenant field to given value. - - -### GetReason - -`func (o *GetTenantResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUserResponse1.md b/client/docs/GetTenantUserResponse1.md deleted file mode 100644 index a43edd3..0000000 --- a/client/docs/GetTenantUserResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantUser** | [**User**](User.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantUserResponse1 - -`func NewGetTenantUserResponse1(status APIStatus, tenantUser User, reason string, code string, ) *GetTenantUserResponse1` - -NewGetTenantUserResponse1 instantiates a new GetTenantUserResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantUserResponse1WithDefaults - -`func NewGetTenantUserResponse1WithDefaults() *GetTenantUserResponse1` - -NewGetTenantUserResponse1WithDefaults instantiates a new GetTenantUserResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantUserResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantUserResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantUserResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantUser - -`func (o *GetTenantUserResponse1) GetTenantUser() User` - -GetTenantUser returns the TenantUser field if non-nil, zero value otherwise. - -### GetTenantUserOk - -`func (o *GetTenantUserResponse1) GetTenantUserOk() (*User, bool)` - -GetTenantUserOk returns a tuple with the TenantUser field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantUser - -`func (o *GetTenantUserResponse1) SetTenantUser(v User)` - -SetTenantUser sets TenantUser field to given value. - - -### GetReason - -`func (o *GetTenantUserResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantUserResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantUserResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantUserResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantUserResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantUserResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantUserResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantUserResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantUserResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantUserResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantUserResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantUserResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantUserResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantUserResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantUserResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantUserResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantUserResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantUserResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantUserResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantUserResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantUserResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantUserResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantUserResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantUserResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantUsersResponse1.md b/client/docs/GetTenantUsersResponse1.md deleted file mode 100644 index ed7cc3a..0000000 --- a/client/docs/GetTenantUsersResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TenantUsers** | [**[]User**](User.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantUsersResponse1 - -`func NewGetTenantUsersResponse1(status APIStatus, tenantUsers []User, reason string, code string, ) *GetTenantUsersResponse1` - -NewGetTenantUsersResponse1 instantiates a new GetTenantUsersResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantUsersResponse1WithDefaults - -`func NewGetTenantUsersResponse1WithDefaults() *GetTenantUsersResponse1` - -NewGetTenantUsersResponse1WithDefaults instantiates a new GetTenantUsersResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantUsersResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantUsersResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantUsersResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenantUsers - -`func (o *GetTenantUsersResponse1) GetTenantUsers() []User` - -GetTenantUsers returns the TenantUsers field if non-nil, zero value otherwise. - -### GetTenantUsersOk - -`func (o *GetTenantUsersResponse1) GetTenantUsersOk() (*[]User, bool)` - -GetTenantUsersOk returns a tuple with the TenantUsers field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenantUsers - -`func (o *GetTenantUsersResponse1) SetTenantUsers(v []User)` - -SetTenantUsers sets TenantUsers field to given value. - - -### GetReason - -`func (o *GetTenantUsersResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantUsersResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantUsersResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantUsersResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantUsersResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantUsersResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantUsersResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantUsersResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantUsersResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantUsersResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantUsersResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantUsersResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantUsersResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantUsersResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantUsersResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantUsersResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantUsersResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantUsersResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantUsersResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantUsersResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantUsersResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantUsersResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantUsersResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantUsersResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTenantsResponse1.md b/client/docs/GetTenantsResponse1.md deleted file mode 100644 index 64f3550..0000000 --- a/client/docs/GetTenantsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTenantsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Tenants** | [**[]APITenant**](APITenant.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTenantsResponse1 - -`func NewGetTenantsResponse1(status APIStatus, tenants []APITenant, reason string, code string, ) *GetTenantsResponse1` - -NewGetTenantsResponse1 instantiates a new GetTenantsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTenantsResponse1WithDefaults - -`func NewGetTenantsResponse1WithDefaults() *GetTenantsResponse1` - -NewGetTenantsResponse1WithDefaults instantiates a new GetTenantsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTenantsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTenantsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTenantsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTenants - -`func (o *GetTenantsResponse1) GetTenants() []APITenant` - -GetTenants returns the Tenants field if non-nil, zero value otherwise. - -### GetTenantsOk - -`func (o *GetTenantsResponse1) GetTenantsOk() (*[]APITenant, bool)` - -GetTenantsOk returns a tuple with the Tenants field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTenants - -`func (o *GetTenantsResponse1) SetTenants(v []APITenant)` - -SetTenants sets Tenants field to given value. - - -### GetReason - -`func (o *GetTenantsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTenantsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTenantsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTenantsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTenantsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTenantsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTenantsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTenantsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTenantsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTenantsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTenantsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTenantsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTenantsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTenantsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTenantsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTenantsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTenantsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTenantsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTenantsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTenantsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTenantsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTenantsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTenantsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTenantsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTenantsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTenantsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketResponse1.md b/client/docs/GetTicketResponse1.md deleted file mode 100644 index 36c0403..0000000 --- a/client/docs/GetTicketResponse1.md +++ /dev/null @@ -1,265 +0,0 @@ -# GetTicketResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Ticket** | [**APITicketDetail**](APITicketDetail.md) | | -**AvailableStates** | **[]float64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTicketResponse1 - -`func NewGetTicketResponse1(status APIStatus, ticket APITicketDetail, availableStates []float64, reason string, code string, ) *GetTicketResponse1` - -NewGetTicketResponse1 instantiates a new GetTicketResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTicketResponse1WithDefaults - -`func NewGetTicketResponse1WithDefaults() *GetTicketResponse1` - -NewGetTicketResponse1WithDefaults instantiates a new GetTicketResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTicketResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTicketResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTicketResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTicket - -`func (o *GetTicketResponse1) GetTicket() APITicketDetail` - -GetTicket returns the Ticket field if non-nil, zero value otherwise. - -### GetTicketOk - -`func (o *GetTicketResponse1) GetTicketOk() (*APITicketDetail, bool)` - -GetTicketOk returns a tuple with the Ticket field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTicket - -`func (o *GetTicketResponse1) SetTicket(v APITicketDetail)` - -SetTicket sets Ticket field to given value. - - -### GetAvailableStates - -`func (o *GetTicketResponse1) GetAvailableStates() []float64` - -GetAvailableStates returns the AvailableStates field if non-nil, zero value otherwise. - -### GetAvailableStatesOk - -`func (o *GetTicketResponse1) GetAvailableStatesOk() (*[]float64, bool)` - -GetAvailableStatesOk returns a tuple with the AvailableStates field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAvailableStates - -`func (o *GetTicketResponse1) SetAvailableStates(v []float64)` - -SetAvailableStates sets AvailableStates field to given value. - - -### GetReason - -`func (o *GetTicketResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTicketResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTicketResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTicketResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTicketResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTicketResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTicketResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTicketResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTicketResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTicketResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTicketResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTicketResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTicketResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTicketResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTicketResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTicketResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTicketResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTicketResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTicketResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTicketResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTicketResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTicketResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTicketResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTicketResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTicketResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTicketResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTicketsResponse1.md b/client/docs/GetTicketsResponse1.md deleted file mode 100644 index e6029ec..0000000 --- a/client/docs/GetTicketsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTicketsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Tickets** | [**[]APITicket**](APITicket.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTicketsResponse1 - -`func NewGetTicketsResponse1(status APIStatus, tickets []APITicket, reason string, code string, ) *GetTicketsResponse1` - -NewGetTicketsResponse1 instantiates a new GetTicketsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTicketsResponse1WithDefaults - -`func NewGetTicketsResponse1WithDefaults() *GetTicketsResponse1` - -NewGetTicketsResponse1WithDefaults instantiates a new GetTicketsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetTicketsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTicketsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTicketsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTickets - -`func (o *GetTicketsResponse1) GetTickets() []APITicket` - -GetTickets returns the Tickets field if non-nil, zero value otherwise. - -### GetTicketsOk - -`func (o *GetTicketsResponse1) GetTicketsOk() (*[]APITicket, bool)` - -GetTicketsOk returns a tuple with the Tickets field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTickets - -`func (o *GetTicketsResponse1) SetTickets(v []APITicket)` - -SetTickets sets Tickets field to given value. - - -### GetReason - -`func (o *GetTicketsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTicketsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTicketsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTicketsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTicketsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTicketsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTicketsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTicketsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTicketsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTicketsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTicketsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTicketsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTicketsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTicketsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTicketsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTicketsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTicketsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTicketsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTicketsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTicketsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTicketsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTicketsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTicketsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTicketsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTicketsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTicketsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTranslationsResponse1.md b/client/docs/GetTranslationsResponse1.md deleted file mode 100644 index c1d870d..0000000 --- a/client/docs/GetTranslationsResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetTranslationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Translations** | **map[string]string** | Construct a type with a set of properties K of type T | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTranslationsResponse1 - -`func NewGetTranslationsResponse1(translations map[string]string, status APIStatus, reason string, code string, ) *GetTranslationsResponse1` - -NewGetTranslationsResponse1 instantiates a new GetTranslationsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTranslationsResponse1WithDefaults - -`func NewGetTranslationsResponse1WithDefaults() *GetTranslationsResponse1` - -NewGetTranslationsResponse1WithDefaults instantiates a new GetTranslationsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetTranslations - -`func (o *GetTranslationsResponse1) GetTranslations() map[string]string` - -GetTranslations returns the Translations field if non-nil, zero value otherwise. - -### GetTranslationsOk - -`func (o *GetTranslationsResponse1) GetTranslationsOk() (*map[string]string, bool)` - -GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslations - -`func (o *GetTranslationsResponse1) SetTranslations(v map[string]string)` - -SetTranslations sets Translations field to given value. - - -### GetStatus - -`func (o *GetTranslationsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTranslationsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTranslationsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetTranslationsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTranslationsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTranslationsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTranslationsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTranslationsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTranslationsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTranslationsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTranslationsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTranslationsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTranslationsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTranslationsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTranslationsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTranslationsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTranslationsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTranslationsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTranslationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTranslationsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTranslationsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTranslationsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTranslationsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTranslationsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTranslationsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTranslationsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTranslationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTranslationsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTranslationsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetTrustFactorResponse.md b/client/docs/GetTrustFactorResponse.md deleted file mode 100644 index 0f2a2c9..0000000 --- a/client/docs/GetTrustFactorResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# GetTrustFactorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ManualTrustFactor** | Pointer to **float64** | | [optional] -**AutoTrustFactor** | Pointer to **float64** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetTrustFactorResponse - -`func NewGetTrustFactorResponse(status APIStatus, reason string, code string, ) *GetTrustFactorResponse` - -NewGetTrustFactorResponse instantiates a new GetTrustFactorResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetTrustFactorResponseWithDefaults - -`func NewGetTrustFactorResponseWithDefaults() *GetTrustFactorResponse` - -NewGetTrustFactorResponseWithDefaults instantiates a new GetTrustFactorResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetManualTrustFactor - -`func (o *GetTrustFactorResponse) GetManualTrustFactor() float64` - -GetManualTrustFactor returns the ManualTrustFactor field if non-nil, zero value otherwise. - -### GetManualTrustFactorOk - -`func (o *GetTrustFactorResponse) GetManualTrustFactorOk() (*float64, bool)` - -GetManualTrustFactorOk returns a tuple with the ManualTrustFactor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetManualTrustFactor - -`func (o *GetTrustFactorResponse) SetManualTrustFactor(v float64)` - -SetManualTrustFactor sets ManualTrustFactor field to given value. - -### HasManualTrustFactor - -`func (o *GetTrustFactorResponse) HasManualTrustFactor() bool` - -HasManualTrustFactor returns a boolean if a field has been set. - -### GetAutoTrustFactor - -`func (o *GetTrustFactorResponse) GetAutoTrustFactor() float64` - -GetAutoTrustFactor returns the AutoTrustFactor field if non-nil, zero value otherwise. - -### GetAutoTrustFactorOk - -`func (o *GetTrustFactorResponse) GetAutoTrustFactorOk() (*float64, bool)` - -GetAutoTrustFactorOk returns a tuple with the AutoTrustFactor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAutoTrustFactor - -`func (o *GetTrustFactorResponse) SetAutoTrustFactor(v float64)` - -SetAutoTrustFactor sets AutoTrustFactor field to given value. - -### HasAutoTrustFactor - -`func (o *GetTrustFactorResponse) HasAutoTrustFactor() bool` - -HasAutoTrustFactor returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetTrustFactorResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetTrustFactorResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetTrustFactorResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetTrustFactorResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetTrustFactorResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetTrustFactorResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetTrustFactorResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetTrustFactorResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetTrustFactorResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetTrustFactorResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetTrustFactorResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetTrustFactorResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetTrustFactorResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetTrustFactorResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetTrustFactorResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetTrustFactorResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetTrustFactorResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetTrustFactorResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetTrustFactorResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetTrustFactorResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetTrustFactorResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetTrustFactorResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetTrustFactorResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetTrustFactorResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetTrustFactorResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetTrustFactorResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetTrustFactorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetTrustFactorResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetTrustFactorResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByIdResponse.md b/client/docs/GetUserBadgeProgressByIdResponse.md deleted file mode 100644 index 5449244..0000000 --- a/client/docs/GetUserBadgeProgressByIdResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserBadgeProgressByIdResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBadgeProgressByIdResponse - -`func NewGetUserBadgeProgressByIdResponse(status APIStatus, userBadgeProgress UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressByIdResponse` - -NewGetUserBadgeProgressByIdResponse instantiates a new GetUserBadgeProgressByIdResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBadgeProgressByIdResponseWithDefaults - -`func NewGetUserBadgeProgressByIdResponseWithDefaults() *GetUserBadgeProgressByIdResponse` - -NewGetUserBadgeProgressByIdResponseWithDefaults instantiates a new GetUserBadgeProgressByIdResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserBadgeProgressByIdResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBadgeProgressByIdResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBadgeProgressByIdResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadgeProgress - -`func (o *GetUserBadgeProgressByIdResponse) GetUserBadgeProgress() UserBadgeProgress` - -GetUserBadgeProgress returns the UserBadgeProgress field if non-nil, zero value otherwise. - -### GetUserBadgeProgressOk - -`func (o *GetUserBadgeProgressByIdResponse) GetUserBadgeProgressOk() (*UserBadgeProgress, bool)` - -GetUserBadgeProgressOk returns a tuple with the UserBadgeProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadgeProgress - -`func (o *GetUserBadgeProgressByIdResponse) SetUserBadgeProgress(v UserBadgeProgress)` - -SetUserBadgeProgress sets UserBadgeProgress field to given value. - - -### GetReason - -`func (o *GetUserBadgeProgressByIdResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBadgeProgressByIdResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBadgeProgressByIdResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBadgeProgressByIdResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBadgeProgressByIdResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBadgeProgressByIdResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBadgeProgressByIdResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBadgeProgressByIdResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBadgeProgressByIdResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBadgeProgressByIdResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBadgeProgressByIdResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBadgeProgressByIdResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBadgeProgressByIdResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBadgeProgressByIdResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBadgeProgressByIdResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBadgeProgressByIdResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBadgeProgressByIdResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBadgeProgressByIdResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBadgeProgressByIdResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBadgeProgressByIdResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBadgeProgressByIdResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBadgeProgressByIdResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBadgeProgressByIdResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBadgeProgressByIdResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBadgeProgressByIdResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBadgeProgressByIdResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressByUserIdResponse.md b/client/docs/GetUserBadgeProgressByUserIdResponse.md deleted file mode 100644 index 74681f2..0000000 --- a/client/docs/GetUserBadgeProgressByUserIdResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserBadgeProgressByUserIdResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadgeProgress** | [**UserBadgeProgress**](UserBadgeProgress.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBadgeProgressByUserIdResponse - -`func NewGetUserBadgeProgressByUserIdResponse(status APIStatus, userBadgeProgress UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressByUserIdResponse` - -NewGetUserBadgeProgressByUserIdResponse instantiates a new GetUserBadgeProgressByUserIdResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBadgeProgressByUserIdResponseWithDefaults - -`func NewGetUserBadgeProgressByUserIdResponseWithDefaults() *GetUserBadgeProgressByUserIdResponse` - -NewGetUserBadgeProgressByUserIdResponseWithDefaults instantiates a new GetUserBadgeProgressByUserIdResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserBadgeProgressByUserIdResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBadgeProgressByUserIdResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadgeProgress - -`func (o *GetUserBadgeProgressByUserIdResponse) GetUserBadgeProgress() UserBadgeProgress` - -GetUserBadgeProgress returns the UserBadgeProgress field if non-nil, zero value otherwise. - -### GetUserBadgeProgressOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetUserBadgeProgressOk() (*UserBadgeProgress, bool)` - -GetUserBadgeProgressOk returns a tuple with the UserBadgeProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadgeProgress - -`func (o *GetUserBadgeProgressByUserIdResponse) SetUserBadgeProgress(v UserBadgeProgress)` - -SetUserBadgeProgress sets UserBadgeProgress field to given value. - - -### GetReason - -`func (o *GetUserBadgeProgressByUserIdResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBadgeProgressByUserIdResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBadgeProgressByUserIdResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBadgeProgressByUserIdResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBadgeProgressByUserIdResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBadgeProgressByUserIdResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBadgeProgressByUserIdResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBadgeProgressByUserIdResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBadgeProgressByUserIdResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBadgeProgressByUserIdResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBadgeProgressByUserIdResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBadgeProgressByUserIdResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBadgeProgressByUserIdResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBadgeProgressByUserIdResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBadgeProgressByUserIdResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBadgeProgressByUserIdResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBadgeProgressByUserIdResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBadgeProgressByUserIdResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBadgeProgressByUserIdResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBadgeProgressByUserIdResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeProgressListResponse.md b/client/docs/GetUserBadgeProgressListResponse.md deleted file mode 100644 index 1d77f22..0000000 --- a/client/docs/GetUserBadgeProgressListResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserBadgeProgressListResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadgeProgresses** | [**[]UserBadgeProgress**](UserBadgeProgress.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBadgeProgressListResponse - -`func NewGetUserBadgeProgressListResponse(status APIStatus, userBadgeProgresses []UserBadgeProgress, reason string, code string, ) *GetUserBadgeProgressListResponse` - -NewGetUserBadgeProgressListResponse instantiates a new GetUserBadgeProgressListResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBadgeProgressListResponseWithDefaults - -`func NewGetUserBadgeProgressListResponseWithDefaults() *GetUserBadgeProgressListResponse` - -NewGetUserBadgeProgressListResponseWithDefaults instantiates a new GetUserBadgeProgressListResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserBadgeProgressListResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBadgeProgressListResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBadgeProgressListResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadgeProgresses - -`func (o *GetUserBadgeProgressListResponse) GetUserBadgeProgresses() []UserBadgeProgress` - -GetUserBadgeProgresses returns the UserBadgeProgresses field if non-nil, zero value otherwise. - -### GetUserBadgeProgressesOk - -`func (o *GetUserBadgeProgressListResponse) GetUserBadgeProgressesOk() (*[]UserBadgeProgress, bool)` - -GetUserBadgeProgressesOk returns a tuple with the UserBadgeProgresses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadgeProgresses - -`func (o *GetUserBadgeProgressListResponse) SetUserBadgeProgresses(v []UserBadgeProgress)` - -SetUserBadgeProgresses sets UserBadgeProgresses field to given value. - - -### GetReason - -`func (o *GetUserBadgeProgressListResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBadgeProgressListResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBadgeProgressListResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBadgeProgressListResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBadgeProgressListResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBadgeProgressListResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBadgeProgressListResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBadgeProgressListResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBadgeProgressListResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBadgeProgressListResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBadgeProgressListResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBadgeProgressListResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBadgeProgressListResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBadgeProgressListResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBadgeProgressListResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBadgeProgressListResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBadgeProgressListResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBadgeProgressListResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBadgeProgressListResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBadgeProgressListResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBadgeProgressListResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBadgeProgressListResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBadgeProgressListResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBadgeProgressListResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBadgeProgressListResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBadgeProgressListResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgeResponse.md b/client/docs/GetUserBadgeResponse.md deleted file mode 100644 index f8f59af..0000000 --- a/client/docs/GetUserBadgeResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadge** | [**UserBadge**](UserBadge.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBadgeResponse - -`func NewGetUserBadgeResponse(status APIStatus, userBadge UserBadge, reason string, code string, ) *GetUserBadgeResponse` - -NewGetUserBadgeResponse instantiates a new GetUserBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBadgeResponseWithDefaults - -`func NewGetUserBadgeResponseWithDefaults() *GetUserBadgeResponse` - -NewGetUserBadgeResponseWithDefaults instantiates a new GetUserBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadge - -`func (o *GetUserBadgeResponse) GetUserBadge() UserBadge` - -GetUserBadge returns the UserBadge field if non-nil, zero value otherwise. - -### GetUserBadgeOk - -`func (o *GetUserBadgeResponse) GetUserBadgeOk() (*UserBadge, bool)` - -GetUserBadgeOk returns a tuple with the UserBadge field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadge - -`func (o *GetUserBadgeResponse) SetUserBadge(v UserBadge)` - -SetUserBadge sets UserBadge field to given value. - - -### GetReason - -`func (o *GetUserBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBadgesResponse.md b/client/docs/GetUserBadgesResponse.md deleted file mode 100644 index 5636287..0000000 --- a/client/docs/GetUserBadgesResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserBadgesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserBadges** | [**[]UserBadge**](UserBadge.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBadgesResponse - -`func NewGetUserBadgesResponse(status APIStatus, userBadges []UserBadge, reason string, code string, ) *GetUserBadgesResponse` - -NewGetUserBadgesResponse instantiates a new GetUserBadgesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBadgesResponseWithDefaults - -`func NewGetUserBadgesResponseWithDefaults() *GetUserBadgesResponse` - -NewGetUserBadgesResponseWithDefaults instantiates a new GetUserBadgesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserBadgesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBadgesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBadgesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserBadges - -`func (o *GetUserBadgesResponse) GetUserBadges() []UserBadge` - -GetUserBadges returns the UserBadges field if non-nil, zero value otherwise. - -### GetUserBadgesOk - -`func (o *GetUserBadgesResponse) GetUserBadgesOk() (*[]UserBadge, bool)` - -GetUserBadgesOk returns a tuple with the UserBadges field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserBadges - -`func (o *GetUserBadgesResponse) SetUserBadges(v []UserBadge)` - -SetUserBadges sets UserBadges field to given value. - - -### GetReason - -`func (o *GetUserBadgesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBadgesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBadgesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBadgesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBadgesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBadgesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBadgesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBadgesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBadgesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBadgesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBadgesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBadgesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBadgesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBadgesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBadgesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBadgesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBadgesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBadgesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBadgesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBadgesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBadgesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBadgesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBadgesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBadgesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBadgesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBadgesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserBanPreferenceResponse.md b/client/docs/GetUserBanPreferenceResponse.md deleted file mode 100644 index 800419b..0000000 --- a/client/docs/GetUserBanPreferenceResponse.md +++ /dev/null @@ -1,254 +0,0 @@ -# GetUserBanPreferenceResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Preferences** | [**NullableAPIModerateUserBanPreferences**](APIModerateUserBanPreferences.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserBanPreferenceResponse - -`func NewGetUserBanPreferenceResponse(preferences NullableAPIModerateUserBanPreferences, status APIStatus, reason string, code string, ) *GetUserBanPreferenceResponse` - -NewGetUserBanPreferenceResponse instantiates a new GetUserBanPreferenceResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserBanPreferenceResponseWithDefaults - -`func NewGetUserBanPreferenceResponseWithDefaults() *GetUserBanPreferenceResponse` - -NewGetUserBanPreferenceResponseWithDefaults instantiates a new GetUserBanPreferenceResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPreferences - -`func (o *GetUserBanPreferenceResponse) GetPreferences() APIModerateUserBanPreferences` - -GetPreferences returns the Preferences field if non-nil, zero value otherwise. - -### GetPreferencesOk - -`func (o *GetUserBanPreferenceResponse) GetPreferencesOk() (*APIModerateUserBanPreferences, bool)` - -GetPreferencesOk returns a tuple with the Preferences field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPreferences - -`func (o *GetUserBanPreferenceResponse) SetPreferences(v APIModerateUserBanPreferences)` - -SetPreferences sets Preferences field to given value. - - -### SetPreferencesNil - -`func (o *GetUserBanPreferenceResponse) SetPreferencesNil(b bool)` - - SetPreferencesNil sets the value for Preferences to be an explicit nil - -### UnsetPreferences -`func (o *GetUserBanPreferenceResponse) UnsetPreferences()` - -UnsetPreferences ensures that no value is present for Preferences, not even an explicit nil -### GetStatus - -`func (o *GetUserBanPreferenceResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserBanPreferenceResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserBanPreferenceResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetUserBanPreferenceResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserBanPreferenceResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserBanPreferenceResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserBanPreferenceResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserBanPreferenceResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserBanPreferenceResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserBanPreferenceResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserBanPreferenceResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserBanPreferenceResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserBanPreferenceResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserBanPreferenceResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserBanPreferenceResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserBanPreferenceResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserBanPreferenceResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserBanPreferenceResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserBanPreferenceResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserBanPreferenceResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserBanPreferenceResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserBanPreferenceResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserBanPreferenceResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserBanPreferenceResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserBanPreferenceResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserBanPreferenceResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserBanPreferenceResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserBanPreferenceResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserBanPreferenceResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserInternalProfileResponse1.md b/client/docs/GetUserInternalProfileResponse1.md deleted file mode 100644 index b834054..0000000 --- a/client/docs/GetUserInternalProfileResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserInternalProfileResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Profile** | [**GetUserInternalProfileResponseProfile**](GetUserInternalProfileResponseProfile.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserInternalProfileResponse1 - -`func NewGetUserInternalProfileResponse1(profile GetUserInternalProfileResponseProfile, status APIStatus, reason string, code string, ) *GetUserInternalProfileResponse1` - -NewGetUserInternalProfileResponse1 instantiates a new GetUserInternalProfileResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserInternalProfileResponse1WithDefaults - -`func NewGetUserInternalProfileResponse1WithDefaults() *GetUserInternalProfileResponse1` - -NewGetUserInternalProfileResponse1WithDefaults instantiates a new GetUserInternalProfileResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetProfile - -`func (o *GetUserInternalProfileResponse1) GetProfile() GetUserInternalProfileResponseProfile` - -GetProfile returns the Profile field if non-nil, zero value otherwise. - -### GetProfileOk - -`func (o *GetUserInternalProfileResponse1) GetProfileOk() (*GetUserInternalProfileResponseProfile, bool)` - -GetProfileOk returns a tuple with the Profile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProfile - -`func (o *GetUserInternalProfileResponse1) SetProfile(v GetUserInternalProfileResponseProfile)` - -SetProfile sets Profile field to given value. - - -### GetStatus - -`func (o *GetUserInternalProfileResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserInternalProfileResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserInternalProfileResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetUserInternalProfileResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserInternalProfileResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserInternalProfileResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserInternalProfileResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserInternalProfileResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserInternalProfileResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserInternalProfileResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserInternalProfileResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserInternalProfileResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserInternalProfileResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserInternalProfileResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserInternalProfileResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserInternalProfileResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserInternalProfileResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserInternalProfileResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserInternalProfileResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserInternalProfileResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserInternalProfileResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserInternalProfileResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserInternalProfileResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserInternalProfileResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserInternalProfileResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserInternalProfileResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserInternalProfileResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserInternalProfileResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserInternalProfileResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationCountResponse1.md b/client/docs/GetUserNotificationCountResponse1.md deleted file mode 100644 index 2f11f6e..0000000 --- a/client/docs/GetUserNotificationCountResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserNotificationCountResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Count** | **int64** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserNotificationCountResponse1 - -`func NewGetUserNotificationCountResponse1(status APIStatus, count int64, reason string, code string, ) *GetUserNotificationCountResponse1` - -NewGetUserNotificationCountResponse1 instantiates a new GetUserNotificationCountResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserNotificationCountResponse1WithDefaults - -`func NewGetUserNotificationCountResponse1WithDefaults() *GetUserNotificationCountResponse1` - -NewGetUserNotificationCountResponse1WithDefaults instantiates a new GetUserNotificationCountResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserNotificationCountResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserNotificationCountResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserNotificationCountResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCount - -`func (o *GetUserNotificationCountResponse1) GetCount() int64` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *GetUserNotificationCountResponse1) GetCountOk() (*int64, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *GetUserNotificationCountResponse1) SetCount(v int64)` - -SetCount sets Count field to given value. - - -### GetReason - -`func (o *GetUserNotificationCountResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserNotificationCountResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserNotificationCountResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserNotificationCountResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserNotificationCountResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserNotificationCountResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserNotificationCountResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserNotificationCountResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserNotificationCountResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserNotificationCountResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserNotificationCountResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserNotificationCountResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserNotificationCountResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserNotificationCountResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserNotificationCountResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserNotificationCountResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserNotificationCountResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserNotificationCountResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserNotificationCountResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserNotificationCountResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserNotificationCountResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserNotificationCountResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserNotificationCountResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserNotificationCountResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserNotificationCountResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserNotificationCountResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserNotificationsResponse.md b/client/docs/GetUserNotificationsResponse.md deleted file mode 100644 index 14d4b22..0000000 --- a/client/docs/GetUserNotificationsResponse.md +++ /dev/null @@ -1,312 +0,0 @@ -# GetUserNotificationsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Translations** | Pointer to **map[string]string** | Construct a type with a set of properties K of type T | [optional] -**IsSubscribed** | **bool** | | -**HasMore** | **bool** | | -**Notifications** | [**[]RenderableUserNotification**](RenderableUserNotification.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserNotificationsResponse - -`func NewGetUserNotificationsResponse(isSubscribed bool, hasMore bool, notifications []RenderableUserNotification, status APIStatus, reason string, code string, ) *GetUserNotificationsResponse` - -NewGetUserNotificationsResponse instantiates a new GetUserNotificationsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserNotificationsResponseWithDefaults - -`func NewGetUserNotificationsResponseWithDefaults() *GetUserNotificationsResponse` - -NewGetUserNotificationsResponseWithDefaults instantiates a new GetUserNotificationsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetTranslations - -`func (o *GetUserNotificationsResponse) GetTranslations() map[string]string` - -GetTranslations returns the Translations field if non-nil, zero value otherwise. - -### GetTranslationsOk - -`func (o *GetUserNotificationsResponse) GetTranslationsOk() (*map[string]string, bool)` - -GetTranslationsOk returns a tuple with the Translations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslations - -`func (o *GetUserNotificationsResponse) SetTranslations(v map[string]string)` - -SetTranslations sets Translations field to given value. - -### HasTranslations - -`func (o *GetUserNotificationsResponse) HasTranslations() bool` - -HasTranslations returns a boolean if a field has been set. - -### GetIsSubscribed - -`func (o *GetUserNotificationsResponse) GetIsSubscribed() bool` - -GetIsSubscribed returns the IsSubscribed field if non-nil, zero value otherwise. - -### GetIsSubscribedOk - -`func (o *GetUserNotificationsResponse) GetIsSubscribedOk() (*bool, bool)` - -GetIsSubscribedOk returns a tuple with the IsSubscribed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSubscribed - -`func (o *GetUserNotificationsResponse) SetIsSubscribed(v bool)` - -SetIsSubscribed sets IsSubscribed field to given value. - - -### GetHasMore - -`func (o *GetUserNotificationsResponse) GetHasMore() bool` - -GetHasMore returns the HasMore field if non-nil, zero value otherwise. - -### GetHasMoreOk - -`func (o *GetUserNotificationsResponse) GetHasMoreOk() (*bool, bool)` - -GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasMore - -`func (o *GetUserNotificationsResponse) SetHasMore(v bool)` - -SetHasMore sets HasMore field to given value. - - -### GetNotifications - -`func (o *GetUserNotificationsResponse) GetNotifications() []RenderableUserNotification` - -GetNotifications returns the Notifications field if non-nil, zero value otherwise. - -### GetNotificationsOk - -`func (o *GetUserNotificationsResponse) GetNotificationsOk() (*[]RenderableUserNotification, bool)` - -GetNotificationsOk returns a tuple with the Notifications field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotifications - -`func (o *GetUserNotificationsResponse) SetNotifications(v []RenderableUserNotification)` - -SetNotifications sets Notifications field to given value. - - -### GetStatus - -`func (o *GetUserNotificationsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserNotificationsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserNotificationsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetUserNotificationsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserNotificationsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserNotificationsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserNotificationsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserNotificationsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserNotificationsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserNotificationsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserNotificationsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserNotificationsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserNotificationsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserNotificationsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserNotificationsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserNotificationsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserNotificationsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserNotificationsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserNotificationsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserNotificationsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserNotificationsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserNotificationsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserNotificationsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserNotificationsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserNotificationsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserNotificationsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserNotificationsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserNotificationsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserNotificationsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserPresenceStatusesResponse1.md b/client/docs/GetUserPresenceStatusesResponse1.md deleted file mode 100644 index d79845d..0000000 --- a/client/docs/GetUserPresenceStatusesResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserPresenceStatusesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**UserIdsOnline** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserPresenceStatusesResponse1 - -`func NewGetUserPresenceStatusesResponse1(status APIStatus, userIdsOnline map[string]bool, reason string, code string, ) *GetUserPresenceStatusesResponse1` - -NewGetUserPresenceStatusesResponse1 instantiates a new GetUserPresenceStatusesResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserPresenceStatusesResponse1WithDefaults - -`func NewGetUserPresenceStatusesResponse1WithDefaults() *GetUserPresenceStatusesResponse1` - -NewGetUserPresenceStatusesResponse1WithDefaults instantiates a new GetUserPresenceStatusesResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserPresenceStatusesResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserPresenceStatusesResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserPresenceStatusesResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUserIdsOnline - -`func (o *GetUserPresenceStatusesResponse1) GetUserIdsOnline() map[string]bool` - -GetUserIdsOnline returns the UserIdsOnline field if non-nil, zero value otherwise. - -### GetUserIdsOnlineOk - -`func (o *GetUserPresenceStatusesResponse1) GetUserIdsOnlineOk() (*map[string]bool, bool)` - -GetUserIdsOnlineOk returns a tuple with the UserIdsOnline field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserIdsOnline - -`func (o *GetUserPresenceStatusesResponse1) SetUserIdsOnline(v map[string]bool)` - -SetUserIdsOnline sets UserIdsOnline field to given value. - - -### GetReason - -`func (o *GetUserPresenceStatusesResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserPresenceStatusesResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserPresenceStatusesResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserPresenceStatusesResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserPresenceStatusesResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserPresenceStatusesResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserPresenceStatusesResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserPresenceStatusesResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserPresenceStatusesResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserPresenceStatusesResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserPresenceStatusesResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserPresenceStatusesResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserPresenceStatusesResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserPresenceStatusesResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserPresenceStatusesResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserPresenceStatusesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserPresenceStatusesResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserPresenceStatusesResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserPresenceStatusesResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserPresenceStatusesResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserPresenceStatusesResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserPresenceStatusesResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserPresenceStatusesResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserPresenceStatusesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserPresenceStatusesResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserPresenceStatusesResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserReactsPublicResponse.md b/client/docs/GetUserReactsPublicResponse.md deleted file mode 100644 index a41c341..0000000 --- a/client/docs/GetUserReactsPublicResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserReactsPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reacts** | **map[string]map[string]bool** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserReactsPublicResponse - -`func NewGetUserReactsPublicResponse(status APIStatus, reacts map[string]map[string]bool, reason string, code string, ) *GetUserReactsPublicResponse` - -NewGetUserReactsPublicResponse instantiates a new GetUserReactsPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserReactsPublicResponseWithDefaults - -`func NewGetUserReactsPublicResponseWithDefaults() *GetUserReactsPublicResponse` - -NewGetUserReactsPublicResponseWithDefaults instantiates a new GetUserReactsPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserReactsPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserReactsPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserReactsPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReacts - -`func (o *GetUserReactsPublicResponse) GetReacts() map[string]map[string]bool` - -GetReacts returns the Reacts field if non-nil, zero value otherwise. - -### GetReactsOk - -`func (o *GetUserReactsPublicResponse) GetReactsOk() (*map[string]map[string]bool, bool)` - -GetReactsOk returns a tuple with the Reacts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReacts - -`func (o *GetUserReactsPublicResponse) SetReacts(v map[string]map[string]bool)` - -SetReacts sets Reacts field to given value. - - -### GetReason - -`func (o *GetUserReactsPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserReactsPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserReactsPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserReactsPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserReactsPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserReactsPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserReactsPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserReactsPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserReactsPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserReactsPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserReactsPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserReactsPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserReactsPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserReactsPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserReactsPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserReactsPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserReactsPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserReactsPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserReactsPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserReactsPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserReactsPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserReactsPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserReactsPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserReactsPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserReactsPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserReactsPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUserResponse1.md b/client/docs/GetUserResponse1.md deleted file mode 100644 index 1d3a8ef..0000000 --- a/client/docs/GetUserResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**User** | [**User**](User.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUserResponse1 - -`func NewGetUserResponse1(status APIStatus, user User, reason string, code string, ) *GetUserResponse1` - -NewGetUserResponse1 instantiates a new GetUserResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUserResponse1WithDefaults - -`func NewGetUserResponse1WithDefaults() *GetUserResponse1` - -NewGetUserResponse1WithDefaults instantiates a new GetUserResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetUserResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUserResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUserResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetUser - -`func (o *GetUserResponse1) GetUser() User` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *GetUserResponse1) GetUserOk() (*User, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *GetUserResponse1) SetUser(v User)` - -SetUser sets User field to given value. - - -### GetReason - -`func (o *GetUserResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUserResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUserResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUserResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUserResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUserResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUserResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUserResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUserResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUserResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUserResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUserResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUserResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUserResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUserResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUserResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUserResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUserResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUserResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUserResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUserResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUserResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUserResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUserResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetUsersInfoResponse.md b/client/docs/GetUsersInfoResponse.md deleted file mode 100644 index a8c04c4..0000000 --- a/client/docs/GetUsersInfoResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetUsersInfoResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Users** | [**[]PageUserEntry**](PageUserEntry.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetUsersInfoResponse - -`func NewGetUsersInfoResponse(users []PageUserEntry, status APIStatus, reason string, code string, ) *GetUsersInfoResponse` - -NewGetUsersInfoResponse instantiates a new GetUsersInfoResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetUsersInfoResponseWithDefaults - -`func NewGetUsersInfoResponseWithDefaults() *GetUsersInfoResponse` - -NewGetUsersInfoResponseWithDefaults instantiates a new GetUsersInfoResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUsers - -`func (o *GetUsersInfoResponse) GetUsers() []PageUserEntry` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *GetUsersInfoResponse) GetUsersOk() (*[]PageUserEntry, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *GetUsersInfoResponse) SetUsers(v []PageUserEntry)` - -SetUsers sets Users field to given value. - - -### GetStatus - -`func (o *GetUsersInfoResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetUsersInfoResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetUsersInfoResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetUsersInfoResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetUsersInfoResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetUsersInfoResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetUsersInfoResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetUsersInfoResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetUsersInfoResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetUsersInfoResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetUsersInfoResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetUsersInfoResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetUsersInfoResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetUsersInfoResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetUsersInfoResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetUsersInfoResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetUsersInfoResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetUsersInfoResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetUsersInfoResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetUsersInfoResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetUsersInfoResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetUsersInfoResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetUsersInfoResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetUsersInfoResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetUsersInfoResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetUsersInfoResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetUsersInfoResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetUsersInfoResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetUsersInfoResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV1PageLikesResponse.md b/client/docs/GetV1PageLikesResponse.md deleted file mode 100644 index dd1c271..0000000 --- a/client/docs/GetV1PageLikesResponse.md +++ /dev/null @@ -1,307 +0,0 @@ -# GetV1PageLikesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**UrlIdWS** | **string** | | -**DidLike** | **bool** | | -**CommentCount** | **int32** | | -**LikeCount** | **int32** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetV1PageLikesResponse - -`func NewGetV1PageLikesResponse(urlIdWS string, didLike bool, commentCount int32, likeCount int32, status APIStatus, reason string, code string, ) *GetV1PageLikesResponse` - -NewGetV1PageLikesResponse instantiates a new GetV1PageLikesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetV1PageLikesResponseWithDefaults - -`func NewGetV1PageLikesResponseWithDefaults() *GetV1PageLikesResponse` - -NewGetV1PageLikesResponseWithDefaults instantiates a new GetV1PageLikesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUrlIdWS - -`func (o *GetV1PageLikesResponse) GetUrlIdWS() string` - -GetUrlIdWS returns the UrlIdWS field if non-nil, zero value otherwise. - -### GetUrlIdWSOk - -`func (o *GetV1PageLikesResponse) GetUrlIdWSOk() (*string, bool)` - -GetUrlIdWSOk returns a tuple with the UrlIdWS field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUrlIdWS - -`func (o *GetV1PageLikesResponse) SetUrlIdWS(v string)` - -SetUrlIdWS sets UrlIdWS field to given value. - - -### GetDidLike - -`func (o *GetV1PageLikesResponse) GetDidLike() bool` - -GetDidLike returns the DidLike field if non-nil, zero value otherwise. - -### GetDidLikeOk - -`func (o *GetV1PageLikesResponse) GetDidLikeOk() (*bool, bool)` - -GetDidLikeOk returns a tuple with the DidLike field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDidLike - -`func (o *GetV1PageLikesResponse) SetDidLike(v bool)` - -SetDidLike sets DidLike field to given value. - - -### GetCommentCount - -`func (o *GetV1PageLikesResponse) GetCommentCount() int32` - -GetCommentCount returns the CommentCount field if non-nil, zero value otherwise. - -### GetCommentCountOk - -`func (o *GetV1PageLikesResponse) GetCommentCountOk() (*int32, bool)` - -GetCommentCountOk returns a tuple with the CommentCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentCount - -`func (o *GetV1PageLikesResponse) SetCommentCount(v int32)` - -SetCommentCount sets CommentCount field to given value. - - -### GetLikeCount - -`func (o *GetV1PageLikesResponse) GetLikeCount() int32` - -GetLikeCount returns the LikeCount field if non-nil, zero value otherwise. - -### GetLikeCountOk - -`func (o *GetV1PageLikesResponse) GetLikeCountOk() (*int32, bool)` - -GetLikeCountOk returns a tuple with the LikeCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLikeCount - -`func (o *GetV1PageLikesResponse) SetLikeCount(v int32)` - -SetLikeCount sets LikeCount field to given value. - - -### GetStatus - -`func (o *GetV1PageLikesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetV1PageLikesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetV1PageLikesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetV1PageLikesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetV1PageLikesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetV1PageLikesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetV1PageLikesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetV1PageLikesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetV1PageLikesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetV1PageLikesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetV1PageLikesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetV1PageLikesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetV1PageLikesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetV1PageLikesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetV1PageLikesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetV1PageLikesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetV1PageLikesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetV1PageLikesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetV1PageLikesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetV1PageLikesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetV1PageLikesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetV1PageLikesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetV1PageLikesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetV1PageLikesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetV1PageLikesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetV1PageLikesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetV1PageLikesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetV1PageLikesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetV1PageLikesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactUsersResponse1.md b/client/docs/GetV2PageReactUsersResponse1.md deleted file mode 100644 index 365a82a..0000000 --- a/client/docs/GetV2PageReactUsersResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# GetV2PageReactUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**UserNames** | **[]string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetV2PageReactUsersResponse1 - -`func NewGetV2PageReactUsersResponse1(userNames []string, status APIStatus, reason string, code string, ) *GetV2PageReactUsersResponse1` - -NewGetV2PageReactUsersResponse1 instantiates a new GetV2PageReactUsersResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetV2PageReactUsersResponse1WithDefaults - -`func NewGetV2PageReactUsersResponse1WithDefaults() *GetV2PageReactUsersResponse1` - -NewGetV2PageReactUsersResponse1WithDefaults instantiates a new GetV2PageReactUsersResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetUserNames - -`func (o *GetV2PageReactUsersResponse1) GetUserNames() []string` - -GetUserNames returns the UserNames field if non-nil, zero value otherwise. - -### GetUserNamesOk - -`func (o *GetV2PageReactUsersResponse1) GetUserNamesOk() (*[]string, bool)` - -GetUserNamesOk returns a tuple with the UserNames field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserNames - -`func (o *GetV2PageReactUsersResponse1) SetUserNames(v []string)` - -SetUserNames sets UserNames field to given value. - - -### GetStatus - -`func (o *GetV2PageReactUsersResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetV2PageReactUsersResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetV2PageReactUsersResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetV2PageReactUsersResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetV2PageReactUsersResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetV2PageReactUsersResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetV2PageReactUsersResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetV2PageReactUsersResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetV2PageReactUsersResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetV2PageReactUsersResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetV2PageReactUsersResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetV2PageReactUsersResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetV2PageReactUsersResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetV2PageReactUsersResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetV2PageReactUsersResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetV2PageReactUsersResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetV2PageReactUsersResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetV2PageReactUsersResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetV2PageReactUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetV2PageReactUsersResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetV2PageReactUsersResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetV2PageReactUsersResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetV2PageReactUsersResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetV2PageReactUsersResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetV2PageReactUsersResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetV2PageReactUsersResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetV2PageReactUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetV2PageReactUsersResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetV2PageReactUsersResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetV2PageReactsResponse.md b/client/docs/GetV2PageReactsResponse.md deleted file mode 100644 index 453f35f..0000000 --- a/client/docs/GetV2PageReactsResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# GetV2PageReactsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ReactedIds** | Pointer to **[]string** | | [optional] -**Counts** | Pointer to **map[string]float64** | Construct a type with a set of properties K of type T | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetV2PageReactsResponse - -`func NewGetV2PageReactsResponse(status APIStatus, reason string, code string, ) *GetV2PageReactsResponse` - -NewGetV2PageReactsResponse instantiates a new GetV2PageReactsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetV2PageReactsResponseWithDefaults - -`func NewGetV2PageReactsResponseWithDefaults() *GetV2PageReactsResponse` - -NewGetV2PageReactsResponseWithDefaults instantiates a new GetV2PageReactsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetReactedIds - -`func (o *GetV2PageReactsResponse) GetReactedIds() []string` - -GetReactedIds returns the ReactedIds field if non-nil, zero value otherwise. - -### GetReactedIdsOk - -`func (o *GetV2PageReactsResponse) GetReactedIdsOk() (*[]string, bool)` - -GetReactedIdsOk returns a tuple with the ReactedIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReactedIds - -`func (o *GetV2PageReactsResponse) SetReactedIds(v []string)` - -SetReactedIds sets ReactedIds field to given value. - -### HasReactedIds - -`func (o *GetV2PageReactsResponse) HasReactedIds() bool` - -HasReactedIds returns a boolean if a field has been set. - -### GetCounts - -`func (o *GetV2PageReactsResponse) GetCounts() map[string]float64` - -GetCounts returns the Counts field if non-nil, zero value otherwise. - -### GetCountsOk - -`func (o *GetV2PageReactsResponse) GetCountsOk() (*map[string]float64, bool)` - -GetCountsOk returns a tuple with the Counts field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCounts - -`func (o *GetV2PageReactsResponse) SetCounts(v map[string]float64)` - -SetCounts sets Counts field to given value. - -### HasCounts - -`func (o *GetV2PageReactsResponse) HasCounts() bool` - -HasCounts returns a boolean if a field has been set. - -### GetStatus - -`func (o *GetV2PageReactsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetV2PageReactsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetV2PageReactsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *GetV2PageReactsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetV2PageReactsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetV2PageReactsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetV2PageReactsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetV2PageReactsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetV2PageReactsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetV2PageReactsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetV2PageReactsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetV2PageReactsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetV2PageReactsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetV2PageReactsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetV2PageReactsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetV2PageReactsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetV2PageReactsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetV2PageReactsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetV2PageReactsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetV2PageReactsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetV2PageReactsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetV2PageReactsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetV2PageReactsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetV2PageReactsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetV2PageReactsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetV2PageReactsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetV2PageReactsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetV2PageReactsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetV2PageReactsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesForUserResponse1.md b/client/docs/GetVotesForUserResponse1.md deleted file mode 100644 index 7c50163..0000000 --- a/client/docs/GetVotesForUserResponse1.md +++ /dev/null @@ -1,286 +0,0 @@ -# GetVotesForUserResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**AppliedAuthorizedVotes** | [**[]PublicVote**](PublicVote.md) | | -**AppliedAnonymousVotes** | [**[]PublicVote**](PublicVote.md) | | -**PendingVotes** | [**[]PublicVote**](PublicVote.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetVotesForUserResponse1 - -`func NewGetVotesForUserResponse1(status APIStatus, appliedAuthorizedVotes []PublicVote, appliedAnonymousVotes []PublicVote, pendingVotes []PublicVote, reason string, code string, ) *GetVotesForUserResponse1` - -NewGetVotesForUserResponse1 instantiates a new GetVotesForUserResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetVotesForUserResponse1WithDefaults - -`func NewGetVotesForUserResponse1WithDefaults() *GetVotesForUserResponse1` - -NewGetVotesForUserResponse1WithDefaults instantiates a new GetVotesForUserResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetVotesForUserResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetVotesForUserResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetVotesForUserResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetAppliedAuthorizedVotes - -`func (o *GetVotesForUserResponse1) GetAppliedAuthorizedVotes() []PublicVote` - -GetAppliedAuthorizedVotes returns the AppliedAuthorizedVotes field if non-nil, zero value otherwise. - -### GetAppliedAuthorizedVotesOk - -`func (o *GetVotesForUserResponse1) GetAppliedAuthorizedVotesOk() (*[]PublicVote, bool)` - -GetAppliedAuthorizedVotesOk returns a tuple with the AppliedAuthorizedVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppliedAuthorizedVotes - -`func (o *GetVotesForUserResponse1) SetAppliedAuthorizedVotes(v []PublicVote)` - -SetAppliedAuthorizedVotes sets AppliedAuthorizedVotes field to given value. - - -### GetAppliedAnonymousVotes - -`func (o *GetVotesForUserResponse1) GetAppliedAnonymousVotes() []PublicVote` - -GetAppliedAnonymousVotes returns the AppliedAnonymousVotes field if non-nil, zero value otherwise. - -### GetAppliedAnonymousVotesOk - -`func (o *GetVotesForUserResponse1) GetAppliedAnonymousVotesOk() (*[]PublicVote, bool)` - -GetAppliedAnonymousVotesOk returns a tuple with the AppliedAnonymousVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppliedAnonymousVotes - -`func (o *GetVotesForUserResponse1) SetAppliedAnonymousVotes(v []PublicVote)` - -SetAppliedAnonymousVotes sets AppliedAnonymousVotes field to given value. - - -### GetPendingVotes - -`func (o *GetVotesForUserResponse1) GetPendingVotes() []PublicVote` - -GetPendingVotes returns the PendingVotes field if non-nil, zero value otherwise. - -### GetPendingVotesOk - -`func (o *GetVotesForUserResponse1) GetPendingVotesOk() (*[]PublicVote, bool)` - -GetPendingVotesOk returns a tuple with the PendingVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPendingVotes - -`func (o *GetVotesForUserResponse1) SetPendingVotes(v []PublicVote)` - -SetPendingVotes sets PendingVotes field to given value. - - -### GetReason - -`func (o *GetVotesForUserResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetVotesForUserResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetVotesForUserResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetVotesForUserResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetVotesForUserResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetVotesForUserResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetVotesForUserResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetVotesForUserResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetVotesForUserResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetVotesForUserResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetVotesForUserResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetVotesForUserResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetVotesForUserResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetVotesForUserResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetVotesForUserResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetVotesForUserResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetVotesForUserResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetVotesForUserResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetVotesForUserResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetVotesForUserResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetVotesForUserResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetVotesForUserResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetVotesForUserResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetVotesForUserResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetVotesForUserResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetVotesForUserResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/GetVotesResponse1.md b/client/docs/GetVotesResponse1.md deleted file mode 100644 index 0b7cb4d..0000000 --- a/client/docs/GetVotesResponse1.md +++ /dev/null @@ -1,286 +0,0 @@ -# GetVotesResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**AppliedAuthorizedVotes** | [**[]PublicVote**](PublicVote.md) | | -**AppliedAnonymousVotes** | [**[]PublicVote**](PublicVote.md) | | -**PendingVotes** | [**[]PublicVote**](PublicVote.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewGetVotesResponse1 - -`func NewGetVotesResponse1(status APIStatus, appliedAuthorizedVotes []PublicVote, appliedAnonymousVotes []PublicVote, pendingVotes []PublicVote, reason string, code string, ) *GetVotesResponse1` - -NewGetVotesResponse1 instantiates a new GetVotesResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewGetVotesResponse1WithDefaults - -`func NewGetVotesResponse1WithDefaults() *GetVotesResponse1` - -NewGetVotesResponse1WithDefaults instantiates a new GetVotesResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *GetVotesResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GetVotesResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GetVotesResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetAppliedAuthorizedVotes - -`func (o *GetVotesResponse1) GetAppliedAuthorizedVotes() []PublicVote` - -GetAppliedAuthorizedVotes returns the AppliedAuthorizedVotes field if non-nil, zero value otherwise. - -### GetAppliedAuthorizedVotesOk - -`func (o *GetVotesResponse1) GetAppliedAuthorizedVotesOk() (*[]PublicVote, bool)` - -GetAppliedAuthorizedVotesOk returns a tuple with the AppliedAuthorizedVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppliedAuthorizedVotes - -`func (o *GetVotesResponse1) SetAppliedAuthorizedVotes(v []PublicVote)` - -SetAppliedAuthorizedVotes sets AppliedAuthorizedVotes field to given value. - - -### GetAppliedAnonymousVotes - -`func (o *GetVotesResponse1) GetAppliedAnonymousVotes() []PublicVote` - -GetAppliedAnonymousVotes returns the AppliedAnonymousVotes field if non-nil, zero value otherwise. - -### GetAppliedAnonymousVotesOk - -`func (o *GetVotesResponse1) GetAppliedAnonymousVotesOk() (*[]PublicVote, bool)` - -GetAppliedAnonymousVotesOk returns a tuple with the AppliedAnonymousVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAppliedAnonymousVotes - -`func (o *GetVotesResponse1) SetAppliedAnonymousVotes(v []PublicVote)` - -SetAppliedAnonymousVotes sets AppliedAnonymousVotes field to given value. - - -### GetPendingVotes - -`func (o *GetVotesResponse1) GetPendingVotes() []PublicVote` - -GetPendingVotes returns the PendingVotes field if non-nil, zero value otherwise. - -### GetPendingVotesOk - -`func (o *GetVotesResponse1) GetPendingVotesOk() (*[]PublicVote, bool)` - -GetPendingVotesOk returns a tuple with the PendingVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPendingVotes - -`func (o *GetVotesResponse1) SetPendingVotes(v []PublicVote)` - -SetPendingVotes sets PendingVotes field to given value. - - -### GetReason - -`func (o *GetVotesResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *GetVotesResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *GetVotesResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *GetVotesResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *GetVotesResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *GetVotesResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *GetVotesResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *GetVotesResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *GetVotesResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *GetVotesResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *GetVotesResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *GetVotesResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *GetVotesResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *GetVotesResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *GetVotesResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *GetVotesResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *GetVotesResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *GetVotesResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *GetVotesResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *GetVotesResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *GetVotesResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *GetVotesResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *GetVotesResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *GetVotesResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *GetVotesResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *GetVotesResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/LockCommentResponse.md b/client/docs/LockCommentResponse.md deleted file mode 100644 index af0c612..0000000 --- a/client/docs/LockCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# LockCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewLockCommentResponse - -`func NewLockCommentResponse(status APIStatus, reason string, code string, ) *LockCommentResponse` - -NewLockCommentResponse instantiates a new LockCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewLockCommentResponseWithDefaults - -`func NewLockCommentResponseWithDefaults() *LockCommentResponse` - -NewLockCommentResponseWithDefaults instantiates a new LockCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *LockCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *LockCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *LockCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *LockCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *LockCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *LockCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *LockCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *LockCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *LockCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *LockCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *LockCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *LockCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *LockCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *LockCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *LockCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *LockCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *LockCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *LockCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *LockCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *LockCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *LockCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *LockCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *LockCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *LockCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *LockCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *LockCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *LockCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *LockCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *LockCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index 999e992..25001d9 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -52,7 +52,7 @@ Method | HTTP request | Description ## DeleteModerationVote -> DeleteModerationVoteResponse DeleteModerationVote(ctx, commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> VoteDeleteResponse DeleteModerationVote(ctx, commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -82,7 +82,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.DeleteModerationVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteModerationVote`: DeleteModerationVoteResponse + // response from `DeleteModerationVote`: VoteDeleteResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.DeleteModerationVote`: %v\n", resp) } ``` @@ -111,7 +111,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteModerationVoteResponse**](DeleteModerationVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -129,7 +129,7 @@ No authorization required ## GetApiComments -> GetApiCommentsResponse GetApiComments(ctx).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIGetCommentsResponse GetApiComments(ctx).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -164,7 +164,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiComments``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiComments`: GetApiCommentsResponse + // response from `GetApiComments`: ModerationAPIGetCommentsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiComments`: %v\n", resp) } ``` @@ -193,7 +193,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiCommentsResponse**](GetApiCommentsResponse.md) +[**ModerationAPIGetCommentsResponse**](ModerationAPIGetCommentsResponse.md) ### Authorization @@ -211,7 +211,7 @@ No authorization required ## GetApiExportStatus -> GetApiExportStatusResponse GetApiExportStatus(ctx).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() +> ModerationExportStatusResponse GetApiExportStatus(ctx).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() @@ -239,7 +239,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiExportStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiExportStatus`: GetApiExportStatusResponse + // response from `GetApiExportStatus`: ModerationExportStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiExportStatus`: %v\n", resp) } ``` @@ -261,7 +261,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiExportStatusResponse**](GetApiExportStatusResponse.md) +[**ModerationExportStatusResponse**](ModerationExportStatusResponse.md) ### Authorization @@ -279,7 +279,7 @@ No authorization required ## GetApiIds -> GetApiIdsResponse GetApiIds(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIGetCommentIdsResponse GetApiIds(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -312,7 +312,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetApiIds`: GetApiIdsResponse + // response from `GetApiIds`: ModerationAPIGetCommentIdsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetApiIds`: %v\n", resp) } ``` @@ -339,7 +339,7 @@ Name | Type | Description | Notes ### Return type -[**GetApiIdsResponse**](GetApiIdsResponse.md) +[**ModerationAPIGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md) ### Authorization @@ -357,7 +357,7 @@ No authorization required ## GetBanUsersFromComment -> GetBanUsersFromCommentResponse GetBanUsersFromComment(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() +> GetBannedUsersFromCommentResponse GetBanUsersFromComment(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -385,7 +385,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetBanUsersFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetBanUsersFromComment`: GetBanUsersFromCommentResponse + // response from `GetBanUsersFromComment`: GetBannedUsersFromCommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetBanUsersFromComment`: %v\n", resp) } ``` @@ -411,7 +411,7 @@ Name | Type | Description | Notes ### Return type -[**GetBanUsersFromCommentResponse**](GetBanUsersFromCommentResponse.md) +[**GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md) ### Authorization @@ -429,7 +429,7 @@ No authorization required ## GetCommentBanStatus -> GetCommentBanStatusResponse1 GetCommentBanStatus(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() +> GetCommentBanStatusResponse GetCommentBanStatus(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -457,7 +457,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCommentBanStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentBanStatus`: GetCommentBanStatusResponse1 + // response from `GetCommentBanStatus`: GetCommentBanStatusResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCommentBanStatus`: %v\n", resp) } ``` @@ -483,7 +483,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentBanStatusResponse1**](GetCommentBanStatusResponse1.md) +[**GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md) ### Authorization @@ -501,7 +501,7 @@ No authorization required ## GetCommentChildren -> GetCommentChildrenResponse GetCommentChildren(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIChildCommentsResponse GetCommentChildren(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -529,7 +529,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCommentChildren``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentChildren`: GetCommentChildrenResponse + // response from `GetCommentChildren`: ModerationAPIChildCommentsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCommentChildren`: %v\n", resp) } ``` @@ -555,7 +555,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentChildrenResponse**](GetCommentChildrenResponse.md) +[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -573,7 +573,7 @@ No authorization required ## GetCount -> GetCountResponse GetCount(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPICountCommentsResponse GetCount(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() @@ -605,7 +605,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCount`: GetCountResponse + // response from `GetCount`: ModerationAPICountCommentsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCount`: %v\n", resp) } ``` @@ -631,7 +631,7 @@ Name | Type | Description | Notes ### Return type -[**GetCountResponse**](GetCountResponse.md) +[**ModerationAPICountCommentsResponse**](ModerationAPICountCommentsResponse.md) ### Authorization @@ -649,7 +649,7 @@ No authorization required ## GetCounts -> GetCountsResponse GetCounts(ctx).TenantId(tenantId).Sso(sso).Execute() +> GetBannedUsersCountResponse GetCounts(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -676,7 +676,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCounts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCounts`: GetCountsResponse + // response from `GetCounts`: GetBannedUsersCountResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetCounts`: %v\n", resp) } ``` @@ -697,7 +697,7 @@ Name | Type | Description | Notes ### Return type -[**GetCountsResponse**](GetCountsResponse.md) +[**GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md) ### Authorization @@ -715,7 +715,7 @@ No authorization required ## GetLogs -> GetLogsResponse GetLogs(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIGetLogsResponse GetLogs(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -743,7 +743,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetLogs``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetLogs`: GetLogsResponse + // response from `GetLogs`: ModerationAPIGetLogsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetLogs`: %v\n", resp) } ``` @@ -769,7 +769,7 @@ Name | Type | Description | Notes ### Return type -[**GetLogsResponse**](GetLogsResponse.md) +[**ModerationAPIGetLogsResponse**](ModerationAPIGetLogsResponse.md) ### Authorization @@ -787,7 +787,7 @@ No authorization required ## GetManualBadges -> GetManualBadgesResponse GetManualBadges(ctx).TenantId(tenantId).Sso(sso).Execute() +> GetTenantManualBadgesResponse GetManualBadges(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -814,7 +814,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetManualBadges``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetManualBadges`: GetManualBadgesResponse + // response from `GetManualBadges`: GetTenantManualBadgesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetManualBadges`: %v\n", resp) } ``` @@ -835,7 +835,7 @@ Name | Type | Description | Notes ### Return type -[**GetManualBadgesResponse**](GetManualBadgesResponse.md) +[**GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md) ### Authorization @@ -853,7 +853,7 @@ No authorization required ## GetManualBadgesForUser -> GetManualBadgesForUserResponse GetManualBadgesForUser(ctx).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() +> GetUserManualBadgesResponse GetManualBadgesForUser(ctx).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() @@ -882,7 +882,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetManualBadgesForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetManualBadgesForUser`: GetManualBadgesForUserResponse + // response from `GetManualBadgesForUser`: GetUserManualBadgesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetManualBadgesForUser`: %v\n", resp) } ``` @@ -905,7 +905,7 @@ Name | Type | Description | Notes ### Return type -[**GetManualBadgesForUserResponse**](GetManualBadgesForUserResponse.md) +[**GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md) ### Authorization @@ -923,7 +923,7 @@ No authorization required ## GetModerationComment -> GetModerationCommentResponse GetModerationComment(ctx, commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPICommentResponse GetModerationComment(ctx, commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() @@ -953,7 +953,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetModerationComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerationComment`: GetModerationCommentResponse + // response from `GetModerationComment`: ModerationAPICommentResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetModerationComment`: %v\n", resp) } ``` @@ -981,7 +981,7 @@ Name | Type | Description | Notes ### Return type -[**GetModerationCommentResponse**](GetModerationCommentResponse.md) +[**ModerationAPICommentResponse**](ModerationAPICommentResponse.md) ### Authorization @@ -999,7 +999,7 @@ No authorization required ## GetModerationCommentText -> GetModerationCommentTextResponse GetModerationCommentText(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() +> GetCommentTextResponse GetModerationCommentText(ctx, commentId).TenantId(tenantId).Sso(sso).Execute() @@ -1027,7 +1027,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetModerationCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetModerationCommentText`: GetModerationCommentTextResponse + // response from `GetModerationCommentText`: GetCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetModerationCommentText`: %v\n", resp) } ``` @@ -1053,7 +1053,7 @@ Name | Type | Description | Notes ### Return type -[**GetModerationCommentTextResponse**](GetModerationCommentTextResponse.md) +[**GetCommentTextResponse**](GetCommentTextResponse.md) ### Authorization @@ -1071,7 +1071,7 @@ No authorization required ## GetPreBanSummary -> GetPreBanSummaryResponse GetPreBanSummary(ctx, commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() +> PreBanSummary GetPreBanSummary(ctx, commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() @@ -1102,7 +1102,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPreBanSummary`: GetPreBanSummaryResponse + // response from `GetPreBanSummary`: PreBanSummary fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetPreBanSummary`: %v\n", resp) } ``` @@ -1131,7 +1131,7 @@ Name | Type | Description | Notes ### Return type -[**GetPreBanSummaryResponse**](GetPreBanSummaryResponse.md) +[**PreBanSummary**](PreBanSummary.md) ### Authorization @@ -1149,7 +1149,7 @@ No authorization required ## GetSearchCommentsSummary -> GetSearchCommentsSummaryResponse GetSearchCommentsSummary(ctx).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() +> ModerationCommentSearchResponse GetSearchCommentsSummary(ctx).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() @@ -1179,7 +1179,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchCommentsSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchCommentsSummary`: GetSearchCommentsSummaryResponse + // response from `GetSearchCommentsSummary`: ModerationCommentSearchResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchCommentsSummary`: %v\n", resp) } ``` @@ -1203,7 +1203,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchCommentsSummaryResponse**](GetSearchCommentsSummaryResponse.md) +[**ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md) ### Authorization @@ -1221,7 +1221,7 @@ No authorization required ## GetSearchPages -> GetSearchPagesResponse GetSearchPages(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationPageSearchResponse GetSearchPages(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1249,7 +1249,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchPages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchPages`: GetSearchPagesResponse + // response from `GetSearchPages`: ModerationPageSearchResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchPages`: %v\n", resp) } ``` @@ -1271,7 +1271,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchPagesResponse**](GetSearchPagesResponse.md) +[**ModerationPageSearchResponse**](ModerationPageSearchResponse.md) ### Authorization @@ -1289,7 +1289,7 @@ No authorization required ## GetSearchSites -> GetSearchSitesResponse GetSearchSites(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationSiteSearchResponse GetSearchSites(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1317,7 +1317,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSites``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchSites`: GetSearchSitesResponse + // response from `GetSearchSites`: ModerationSiteSearchResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchSites`: %v\n", resp) } ``` @@ -1339,7 +1339,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchSitesResponse**](GetSearchSitesResponse.md) +[**ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md) ### Authorization @@ -1357,7 +1357,7 @@ No authorization required ## GetSearchSuggest -> GetSearchSuggestResponse GetSearchSuggest(ctx).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() +> ModerationSuggestResponse GetSearchSuggest(ctx).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() @@ -1385,7 +1385,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSuggest``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchSuggest`: GetSearchSuggestResponse + // response from `GetSearchSuggest`: ModerationSuggestResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchSuggest`: %v\n", resp) } ``` @@ -1407,7 +1407,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchSuggestResponse**](GetSearchSuggestResponse.md) +[**ModerationSuggestResponse**](ModerationSuggestResponse.md) ### Authorization @@ -1425,7 +1425,7 @@ No authorization required ## GetSearchUsers -> GetSearchUsersResponse GetSearchUsers(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationUserSearchResponse GetSearchUsers(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() @@ -1453,7 +1453,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetSearchUsers`: GetSearchUsersResponse + // response from `GetSearchUsers`: ModerationUserSearchResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetSearchUsers`: %v\n", resp) } ``` @@ -1475,7 +1475,7 @@ Name | Type | Description | Notes ### Return type -[**GetSearchUsersResponse**](GetSearchUsersResponse.md) +[**ModerationUserSearchResponse**](ModerationUserSearchResponse.md) ### Authorization @@ -1493,7 +1493,7 @@ No authorization required ## GetTrustFactor -> GetTrustFactorResponse GetTrustFactor(ctx).UserId(userId).TenantId(tenantId).Sso(sso).Execute() +> GetUserTrustFactorResponse GetTrustFactor(ctx).UserId(userId).TenantId(tenantId).Sso(sso).Execute() @@ -1521,7 +1521,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTrustFactor`: GetTrustFactorResponse + // response from `GetTrustFactor`: GetUserTrustFactorResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetTrustFactor`: %v\n", resp) } ``` @@ -1543,7 +1543,7 @@ Name | Type | Description | Notes ### Return type -[**GetTrustFactorResponse**](GetTrustFactorResponse.md) +[**GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md) ### Authorization @@ -1561,7 +1561,7 @@ No authorization required ## GetUserBanPreference -> GetUserBanPreferenceResponse GetUserBanPreference(ctx).TenantId(tenantId).Sso(sso).Execute() +> APIModerateGetUserBanPreferencesResponse GetUserBanPreference(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -1588,7 +1588,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetUserBanPreference``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserBanPreference`: GetUserBanPreferenceResponse + // response from `GetUserBanPreference`: APIModerateGetUserBanPreferencesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetUserBanPreference`: %v\n", resp) } ``` @@ -1609,7 +1609,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserBanPreferenceResponse**](GetUserBanPreferenceResponse.md) +[**APIModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md) ### Authorization @@ -1627,7 +1627,7 @@ No authorization required ## GetUserInternalProfile -> GetUserInternalProfileResponse1 GetUserInternalProfile(ctx).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() +> GetUserInternalProfileResponse GetUserInternalProfile(ctx).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() @@ -1655,7 +1655,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetUserInternalProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserInternalProfile`: GetUserInternalProfileResponse1 + // response from `GetUserInternalProfile`: GetUserInternalProfileResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.GetUserInternalProfile`: %v\n", resp) } ``` @@ -1677,7 +1677,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserInternalProfileResponse1**](GetUserInternalProfileResponse1.md) +[**GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md) ### Authorization @@ -1695,7 +1695,7 @@ No authorization required ## PostAdjustCommentVotes -> PostAdjustCommentVotesResponse PostAdjustCommentVotes(ctx, commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> AdjustVotesResponse PostAdjustCommentVotes(ctx, commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -1725,7 +1725,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostAdjustCommentVotes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostAdjustCommentVotes`: PostAdjustCommentVotesResponse + // response from `PostAdjustCommentVotes`: AdjustVotesResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostAdjustCommentVotes`: %v\n", resp) } ``` @@ -1753,7 +1753,7 @@ Name | Type | Description | Notes ### Return type -[**PostAdjustCommentVotesResponse**](PostAdjustCommentVotesResponse.md) +[**AdjustVotesResponse**](AdjustVotesResponse.md) ### Authorization @@ -1771,7 +1771,7 @@ No authorization required ## PostApiExport -> PostApiExportResponse PostApiExport(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() +> ModerationExportResponse PostApiExport(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() @@ -1803,7 +1803,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostApiExport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostApiExport`: PostApiExportResponse + // response from `PostApiExport`: ModerationExportResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostApiExport`: %v\n", resp) } ``` @@ -1829,7 +1829,7 @@ Name | Type | Description | Notes ### Return type -[**PostApiExportResponse**](PostApiExportResponse.md) +[**ModerationExportResponse**](ModerationExportResponse.md) ### Authorization @@ -1847,7 +1847,7 @@ No authorization required ## PostBanUserFromComment -> PostBanUserFromCommentResponse PostBanUserFromComment(ctx, commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() +> BanUserFromCommentResult PostBanUserFromComment(ctx, commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() @@ -1883,7 +1883,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBanUserFromComment`: PostBanUserFromCommentResponse + // response from `PostBanUserFromComment`: BanUserFromCommentResult fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBanUserFromComment`: %v\n", resp) } ``` @@ -1917,7 +1917,7 @@ Name | Type | Description | Notes ### Return type -[**PostBanUserFromCommentResponse**](PostBanUserFromCommentResponse.md) +[**BanUserFromCommentResult**](BanUserFromCommentResult.md) ### Authorization @@ -1935,7 +1935,7 @@ No authorization required ## PostBanUserUndo -> PostBanUserUndoResponse PostBanUserUndo(ctx).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostBanUserUndo(ctx).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() @@ -1963,7 +1963,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserUndo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBanUserUndo`: PostBanUserUndoResponse + // response from `PostBanUserUndo`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBanUserUndo`: %v\n", resp) } ``` @@ -1985,7 +1985,7 @@ Name | Type | Description | Notes ### Return type -[**PostBanUserUndoResponse**](PostBanUserUndoResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2003,7 +2003,7 @@ No authorization required ## PostBulkPreBanSummary -> PostBulkPreBanSummaryResponse PostBulkPreBanSummary(ctx).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() +> BulkPreBanSummary PostBulkPreBanSummary(ctx).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() @@ -2034,7 +2034,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBulkPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostBulkPreBanSummary`: PostBulkPreBanSummaryResponse + // response from `PostBulkPreBanSummary`: BulkPreBanSummary fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostBulkPreBanSummary`: %v\n", resp) } ``` @@ -2059,7 +2059,7 @@ Name | Type | Description | Notes ### Return type -[**PostBulkPreBanSummaryResponse**](PostBulkPreBanSummaryResponse.md) +[**BulkPreBanSummary**](BulkPreBanSummary.md) ### Authorization @@ -2077,7 +2077,7 @@ No authorization required ## PostCommentsByIds -> PostCommentsByIdsResponse PostCommentsByIds(ctx).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIChildCommentsResponse PostCommentsByIds(ctx).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() @@ -2105,7 +2105,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostCommentsByIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostCommentsByIds`: PostCommentsByIdsResponse + // response from `PostCommentsByIds`: ModerationAPIChildCommentsResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostCommentsByIds`: %v\n", resp) } ``` @@ -2127,7 +2127,7 @@ Name | Type | Description | Notes ### Return type -[**PostCommentsByIdsResponse**](PostCommentsByIdsResponse.md) +[**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md) ### Authorization @@ -2145,7 +2145,7 @@ No authorization required ## PostFlagComment -> PostFlagCommentResponse PostFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2174,7 +2174,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostFlagComment`: PostFlagCommentResponse + // response from `PostFlagComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostFlagComment`: %v\n", resp) } ``` @@ -2201,7 +2201,7 @@ Name | Type | Description | Notes ### Return type -[**PostFlagCommentResponse**](PostFlagCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2293,7 +2293,7 @@ No authorization required ## PostRestoreDeletedComment -> PostRestoreDeletedCommentResponse PostRestoreDeletedComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostRestoreDeletedComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2322,7 +2322,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostRestoreDeletedComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostRestoreDeletedComment`: PostRestoreDeletedCommentResponse + // response from `PostRestoreDeletedComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostRestoreDeletedComment`: %v\n", resp) } ``` @@ -2349,7 +2349,7 @@ Name | Type | Description | Notes ### Return type -[**PostRestoreDeletedCommentResponse**](PostRestoreDeletedCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2367,7 +2367,7 @@ No authorization required ## PostSetCommentApprovalStatus -> PostSetCommentApprovalStatusResponse PostSetCommentApprovalStatus(ctx, commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> SetCommentApprovedResponse PostSetCommentApprovalStatus(ctx, commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2397,7 +2397,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentApprovalStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentApprovalStatus`: PostSetCommentApprovalStatusResponse + // response from `PostSetCommentApprovalStatus`: SetCommentApprovedResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentApprovalStatus`: %v\n", resp) } ``` @@ -2425,7 +2425,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentApprovalStatusResponse**](PostSetCommentApprovalStatusResponse.md) +[**SetCommentApprovedResponse**](SetCommentApprovedResponse.md) ### Authorization @@ -2443,7 +2443,7 @@ No authorization required ## PostSetCommentReviewStatus -> PostSetCommentReviewStatusResponse PostSetCommentReviewStatus(ctx, commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostSetCommentReviewStatus(ctx, commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2473,7 +2473,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentReviewStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentReviewStatus`: PostSetCommentReviewStatusResponse + // response from `PostSetCommentReviewStatus`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentReviewStatus`: %v\n", resp) } ``` @@ -2501,7 +2501,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentReviewStatusResponse**](PostSetCommentReviewStatusResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2519,7 +2519,7 @@ No authorization required ## PostSetCommentSpamStatus -> PostSetCommentSpamStatusResponse PostSetCommentSpamStatus(ctx, commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostSetCommentSpamStatus(ctx, commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2550,7 +2550,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentSpamStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentSpamStatus`: PostSetCommentSpamStatusResponse + // response from `PostSetCommentSpamStatus`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentSpamStatus`: %v\n", resp) } ``` @@ -2579,7 +2579,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentSpamStatusResponse**](PostSetCommentSpamStatusResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2597,7 +2597,7 @@ No authorization required ## PostSetCommentText -> PostSetCommentTextResponse PostSetCommentText(ctx, commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> SetCommentTextResponse PostSetCommentText(ctx, commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2627,7 +2627,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostSetCommentText`: PostSetCommentTextResponse + // response from `PostSetCommentText`: SetCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostSetCommentText`: %v\n", resp) } ``` @@ -2655,7 +2655,7 @@ Name | Type | Description | Notes ### Return type -[**PostSetCommentTextResponse**](PostSetCommentTextResponse.md) +[**SetCommentTextResponse**](SetCommentTextResponse.md) ### Authorization @@ -2673,7 +2673,7 @@ No authorization required ## PostUnFlagComment -> PostUnFlagCommentResponse PostUnFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostUnFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2702,7 +2702,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostUnFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostUnFlagComment`: PostUnFlagCommentResponse + // response from `PostUnFlagComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostUnFlagComment`: %v\n", resp) } ``` @@ -2729,7 +2729,7 @@ Name | Type | Description | Notes ### Return type -[**PostUnFlagCommentResponse**](PostUnFlagCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2747,7 +2747,7 @@ No authorization required ## PostVote -> PostVoteResponse PostVote(ctx, commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> VoteResponse PostVote(ctx, commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2777,7 +2777,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostVote`: PostVoteResponse + // response from `PostVote`: VoteResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostVote`: %v\n", resp) } ``` @@ -2805,7 +2805,7 @@ Name | Type | Description | Notes ### Return type -[**PostVoteResponse**](PostVoteResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization @@ -2823,7 +2823,7 @@ No authorization required ## PutAwardBadge -> PutAwardBadgeResponse PutAwardBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> AwardUserBadgeResponse PutAwardBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2854,7 +2854,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutAwardBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutAwardBadge`: PutAwardBadgeResponse + // response from `PutAwardBadge`: AwardUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutAwardBadge`: %v\n", resp) } ``` @@ -2879,7 +2879,7 @@ Name | Type | Description | Notes ### Return type -[**PutAwardBadgeResponse**](PutAwardBadgeResponse.md) +[**AwardUserBadgeResponse**](AwardUserBadgeResponse.md) ### Authorization @@ -2897,7 +2897,7 @@ No authorization required ## PutCloseThread -> PutCloseThreadResponse PutCloseThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PutCloseThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() @@ -2925,7 +2925,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutCloseThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutCloseThread`: PutCloseThreadResponse + // response from `PutCloseThread`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutCloseThread`: %v\n", resp) } ``` @@ -2947,7 +2947,7 @@ Name | Type | Description | Notes ### Return type -[**PutCloseThreadResponse**](PutCloseThreadResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2965,7 +2965,7 @@ No authorization required ## PutRemoveBadge -> PutRemoveBadgeResponse PutRemoveBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> RemoveUserBadgeResponse PutRemoveBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() @@ -2996,7 +2996,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutRemoveBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutRemoveBadge`: PutRemoveBadgeResponse + // response from `PutRemoveBadge`: RemoveUserBadgeResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutRemoveBadge`: %v\n", resp) } ``` @@ -3021,7 +3021,7 @@ Name | Type | Description | Notes ### Return type -[**PutRemoveBadgeResponse**](PutRemoveBadgeResponse.md) +[**RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md) ### Authorization @@ -3039,7 +3039,7 @@ No authorization required ## PutReopenThread -> PutReopenThreadResponse PutReopenThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PutReopenThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() @@ -3067,7 +3067,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutReopenThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PutReopenThread`: PutReopenThreadResponse + // response from `PutReopenThread`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PutReopenThread`: %v\n", resp) } ``` @@ -3089,7 +3089,7 @@ Name | Type | Description | Notes ### Return type -[**PutReopenThreadResponse**](PutReopenThreadResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3107,7 +3107,7 @@ No authorization required ## SetTrustFactor -> SetTrustFactorResponse SetTrustFactor(ctx).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() +> SetUserTrustFactorResponse SetTrustFactor(ctx).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() @@ -3136,7 +3136,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.SetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SetTrustFactor`: SetTrustFactorResponse + // response from `SetTrustFactor`: SetUserTrustFactorResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.SetTrustFactor`: %v\n", resp) } ``` @@ -3159,7 +3159,7 @@ Name | Type | Description | Notes ### Return type -[**SetTrustFactorResponse**](SetTrustFactorResponse.md) +[**SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md) ### Authorization diff --git a/client/docs/PatchHashTagResponse.md b/client/docs/PatchHashTagResponse.md deleted file mode 100644 index 4c12a63..0000000 --- a/client/docs/PatchHashTagResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PatchHashTagResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**HashTag** | [**TenantHashTag**](TenantHashTag.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPatchHashTagResponse - -`func NewPatchHashTagResponse(status APIStatus, hashTag TenantHashTag, reason string, code string, ) *PatchHashTagResponse` - -NewPatchHashTagResponse instantiates a new PatchHashTagResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPatchHashTagResponseWithDefaults - -`func NewPatchHashTagResponseWithDefaults() *PatchHashTagResponse` - -NewPatchHashTagResponseWithDefaults instantiates a new PatchHashTagResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PatchHashTagResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PatchHashTagResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PatchHashTagResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetHashTag - -`func (o *PatchHashTagResponse) GetHashTag() TenantHashTag` - -GetHashTag returns the HashTag field if non-nil, zero value otherwise. - -### GetHashTagOk - -`func (o *PatchHashTagResponse) GetHashTagOk() (*TenantHashTag, bool)` - -GetHashTagOk returns a tuple with the HashTag field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHashTag - -`func (o *PatchHashTagResponse) SetHashTag(v TenantHashTag)` - -SetHashTag sets HashTag field to given value. - - -### GetReason - -`func (o *PatchHashTagResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PatchHashTagResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PatchHashTagResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PatchHashTagResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PatchHashTagResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PatchHashTagResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PatchHashTagResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PatchHashTagResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PatchHashTagResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PatchHashTagResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PatchHashTagResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PatchHashTagResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PatchHashTagResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PatchHashTagResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PatchHashTagResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PatchHashTagResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PatchHashTagResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PatchHashTagResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PatchHashTagResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PatchHashTagResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PatchHashTagResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PatchHashTagResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PatchHashTagResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PatchHashTagResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PatchHashTagResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PatchHashTagResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PinCommentResponse.md b/client/docs/PinCommentResponse.md deleted file mode 100644 index bf3ee63..0000000 --- a/client/docs/PinCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PinCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CommentPositions** | [**map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md) | Construct a type with a set of properties K of type T | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPinCommentResponse - -`func NewPinCommentResponse(commentPositions map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, status APIStatus, reason string, code string, ) *PinCommentResponse` - -NewPinCommentResponse instantiates a new PinCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPinCommentResponseWithDefaults - -`func NewPinCommentResponseWithDefaults() *PinCommentResponse` - -NewPinCommentResponseWithDefaults instantiates a new PinCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCommentPositions - -`func (o *PinCommentResponse) GetCommentPositions() map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue` - -GetCommentPositions returns the CommentPositions field if non-nil, zero value otherwise. - -### GetCommentPositionsOk - -`func (o *PinCommentResponse) GetCommentPositionsOk() (*map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, bool)` - -GetCommentPositionsOk returns a tuple with the CommentPositions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentPositions - -`func (o *PinCommentResponse) SetCommentPositions(v map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue)` - -SetCommentPositions sets CommentPositions field to given value. - - -### GetStatus - -`func (o *PinCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PinCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PinCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PinCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PinCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PinCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PinCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PinCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PinCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PinCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PinCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PinCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PinCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PinCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PinCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PinCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PinCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PinCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PinCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PinCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PinCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PinCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PinCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PinCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PinCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PinCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PinCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PinCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PinCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostAdjustCommentVotesResponse.md b/client/docs/PostAdjustCommentVotesResponse.md deleted file mode 100644 index c14380a..0000000 --- a/client/docs/PostAdjustCommentVotesResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PostAdjustCommentVotesResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**NewCommentVotes** | **int32** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostAdjustCommentVotesResponse - -`func NewPostAdjustCommentVotesResponse(status APIStatus, newCommentVotes int32, reason string, code string, ) *PostAdjustCommentVotesResponse` - -NewPostAdjustCommentVotesResponse instantiates a new PostAdjustCommentVotesResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostAdjustCommentVotesResponseWithDefaults - -`func NewPostAdjustCommentVotesResponseWithDefaults() *PostAdjustCommentVotesResponse` - -NewPostAdjustCommentVotesResponseWithDefaults instantiates a new PostAdjustCommentVotesResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostAdjustCommentVotesResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostAdjustCommentVotesResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostAdjustCommentVotesResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetNewCommentVotes - -`func (o *PostAdjustCommentVotesResponse) GetNewCommentVotes() int32` - -GetNewCommentVotes returns the NewCommentVotes field if non-nil, zero value otherwise. - -### GetNewCommentVotesOk - -`func (o *PostAdjustCommentVotesResponse) GetNewCommentVotesOk() (*int32, bool)` - -GetNewCommentVotesOk returns a tuple with the NewCommentVotes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNewCommentVotes - -`func (o *PostAdjustCommentVotesResponse) SetNewCommentVotes(v int32)` - -SetNewCommentVotes sets NewCommentVotes field to given value. - - -### GetReason - -`func (o *PostAdjustCommentVotesResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostAdjustCommentVotesResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostAdjustCommentVotesResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostAdjustCommentVotesResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostAdjustCommentVotesResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostAdjustCommentVotesResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostAdjustCommentVotesResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostAdjustCommentVotesResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostAdjustCommentVotesResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostAdjustCommentVotesResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostAdjustCommentVotesResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostAdjustCommentVotesResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostAdjustCommentVotesResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostAdjustCommentVotesResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostAdjustCommentVotesResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostAdjustCommentVotesResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostAdjustCommentVotesResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostAdjustCommentVotesResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostAdjustCommentVotesResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostAdjustCommentVotesResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostAdjustCommentVotesResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostAdjustCommentVotesResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostAdjustCommentVotesResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostAdjustCommentVotesResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostAdjustCommentVotesResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostAdjustCommentVotesResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostApiExportResponse.md b/client/docs/PostApiExportResponse.md deleted file mode 100644 index c8f69b7..0000000 --- a/client/docs/PostApiExportResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PostApiExportResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**BatchJobId** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostApiExportResponse - -`func NewPostApiExportResponse(status APIStatus, batchJobId string, reason string, code string, ) *PostApiExportResponse` - -NewPostApiExportResponse instantiates a new PostApiExportResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostApiExportResponseWithDefaults - -`func NewPostApiExportResponseWithDefaults() *PostApiExportResponse` - -NewPostApiExportResponseWithDefaults instantiates a new PostApiExportResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostApiExportResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostApiExportResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostApiExportResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetBatchJobId - -`func (o *PostApiExportResponse) GetBatchJobId() string` - -GetBatchJobId returns the BatchJobId field if non-nil, zero value otherwise. - -### GetBatchJobIdOk - -`func (o *PostApiExportResponse) GetBatchJobIdOk() (*string, bool)` - -GetBatchJobIdOk returns a tuple with the BatchJobId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBatchJobId - -`func (o *PostApiExportResponse) SetBatchJobId(v string)` - -SetBatchJobId sets BatchJobId field to given value. - - -### GetReason - -`func (o *PostApiExportResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostApiExportResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostApiExportResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostApiExportResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostApiExportResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostApiExportResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostApiExportResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostApiExportResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostApiExportResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostApiExportResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostApiExportResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostApiExportResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostApiExportResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostApiExportResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostApiExportResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostApiExportResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostApiExportResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostApiExportResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostApiExportResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostApiExportResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostApiExportResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostApiExportResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostApiExportResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostApiExportResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostApiExportResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostApiExportResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserFromCommentResponse.md b/client/docs/PostBanUserFromCommentResponse.md deleted file mode 100644 index 09f1bc5..0000000 --- a/client/docs/PostBanUserFromCommentResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# PostBanUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Changelog** | Pointer to [**APIBanUserChangeLog**](APIBanUserChangeLog.md) | | [optional] -**Code** | **string** | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostBanUserFromCommentResponse - -`func NewPostBanUserFromCommentResponse(status APIStatus, code string, reason string, ) *PostBanUserFromCommentResponse` - -NewPostBanUserFromCommentResponse instantiates a new PostBanUserFromCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostBanUserFromCommentResponseWithDefaults - -`func NewPostBanUserFromCommentResponseWithDefaults() *PostBanUserFromCommentResponse` - -NewPostBanUserFromCommentResponseWithDefaults instantiates a new PostBanUserFromCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostBanUserFromCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostBanUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostBanUserFromCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetChangelog - -`func (o *PostBanUserFromCommentResponse) GetChangelog() APIBanUserChangeLog` - -GetChangelog returns the Changelog field if non-nil, zero value otherwise. - -### GetChangelogOk - -`func (o *PostBanUserFromCommentResponse) GetChangelogOk() (*APIBanUserChangeLog, bool)` - -GetChangelogOk returns a tuple with the Changelog field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChangelog - -`func (o *PostBanUserFromCommentResponse) SetChangelog(v APIBanUserChangeLog)` - -SetChangelog sets Changelog field to given value. - -### HasChangelog - -`func (o *PostBanUserFromCommentResponse) HasChangelog() bool` - -HasChangelog returns a boolean if a field has been set. - -### GetCode - -`func (o *PostBanUserFromCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostBanUserFromCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostBanUserFromCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *PostBanUserFromCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostBanUserFromCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostBanUserFromCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *PostBanUserFromCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostBanUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostBanUserFromCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostBanUserFromCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostBanUserFromCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostBanUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostBanUserFromCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostBanUserFromCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostBanUserFromCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostBanUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostBanUserFromCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostBanUserFromCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostBanUserFromCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostBanUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostBanUserFromCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostBanUserFromCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostBanUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostBanUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostBanUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostBanUserFromCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBanUserUndoResponse.md b/client/docs/PostBanUserUndoResponse.md deleted file mode 100644 index 8dd805d..0000000 --- a/client/docs/PostBanUserUndoResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostBanUserUndoResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostBanUserUndoResponse - -`func NewPostBanUserUndoResponse(status APIStatus, reason string, code string, ) *PostBanUserUndoResponse` - -NewPostBanUserUndoResponse instantiates a new PostBanUserUndoResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostBanUserUndoResponseWithDefaults - -`func NewPostBanUserUndoResponseWithDefaults() *PostBanUserUndoResponse` - -NewPostBanUserUndoResponseWithDefaults instantiates a new PostBanUserUndoResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostBanUserUndoResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostBanUserUndoResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostBanUserUndoResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostBanUserUndoResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostBanUserUndoResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostBanUserUndoResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostBanUserUndoResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostBanUserUndoResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostBanUserUndoResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostBanUserUndoResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostBanUserUndoResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostBanUserUndoResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostBanUserUndoResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostBanUserUndoResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostBanUserUndoResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostBanUserUndoResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostBanUserUndoResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostBanUserUndoResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostBanUserUndoResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostBanUserUndoResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostBanUserUndoResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostBanUserUndoResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostBanUserUndoResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostBanUserUndoResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostBanUserUndoResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostBanUserUndoResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostBanUserUndoResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostBanUserUndoResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostBanUserUndoResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostBulkPreBanSummaryResponse.md b/client/docs/PostBulkPreBanSummaryResponse.md deleted file mode 100644 index ee6be2d..0000000 --- a/client/docs/PostBulkPreBanSummaryResponse.md +++ /dev/null @@ -1,328 +0,0 @@ -# PostBulkPreBanSummaryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**TotalRelatedCommentCount** | **int32** | | -**EmailDomains** | **[]string** | | -**Emails** | **[]string** | | -**UserIds** | **[]string** | | -**IpHashes** | **[]string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostBulkPreBanSummaryResponse - -`func NewPostBulkPreBanSummaryResponse(status APIStatus, totalRelatedCommentCount int32, emailDomains []string, emails []string, userIds []string, ipHashes []string, reason string, code string, ) *PostBulkPreBanSummaryResponse` - -NewPostBulkPreBanSummaryResponse instantiates a new PostBulkPreBanSummaryResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostBulkPreBanSummaryResponseWithDefaults - -`func NewPostBulkPreBanSummaryResponseWithDefaults() *PostBulkPreBanSummaryResponse` - -NewPostBulkPreBanSummaryResponseWithDefaults instantiates a new PostBulkPreBanSummaryResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostBulkPreBanSummaryResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostBulkPreBanSummaryResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostBulkPreBanSummaryResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetTotalRelatedCommentCount - -`func (o *PostBulkPreBanSummaryResponse) GetTotalRelatedCommentCount() int32` - -GetTotalRelatedCommentCount returns the TotalRelatedCommentCount field if non-nil, zero value otherwise. - -### GetTotalRelatedCommentCountOk - -`func (o *PostBulkPreBanSummaryResponse) GetTotalRelatedCommentCountOk() (*int32, bool)` - -GetTotalRelatedCommentCountOk returns a tuple with the TotalRelatedCommentCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTotalRelatedCommentCount - -`func (o *PostBulkPreBanSummaryResponse) SetTotalRelatedCommentCount(v int32)` - -SetTotalRelatedCommentCount sets TotalRelatedCommentCount field to given value. - - -### GetEmailDomains - -`func (o *PostBulkPreBanSummaryResponse) GetEmailDomains() []string` - -GetEmailDomains returns the EmailDomains field if non-nil, zero value otherwise. - -### GetEmailDomainsOk - -`func (o *PostBulkPreBanSummaryResponse) GetEmailDomainsOk() (*[]string, bool)` - -GetEmailDomainsOk returns a tuple with the EmailDomains field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmailDomains - -`func (o *PostBulkPreBanSummaryResponse) SetEmailDomains(v []string)` - -SetEmailDomains sets EmailDomains field to given value. - - -### GetEmails - -`func (o *PostBulkPreBanSummaryResponse) GetEmails() []string` - -GetEmails returns the Emails field if non-nil, zero value otherwise. - -### GetEmailsOk - -`func (o *PostBulkPreBanSummaryResponse) GetEmailsOk() (*[]string, bool)` - -GetEmailsOk returns a tuple with the Emails field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmails - -`func (o *PostBulkPreBanSummaryResponse) SetEmails(v []string)` - -SetEmails sets Emails field to given value. - - -### GetUserIds - -`func (o *PostBulkPreBanSummaryResponse) GetUserIds() []string` - -GetUserIds returns the UserIds field if non-nil, zero value otherwise. - -### GetUserIdsOk - -`func (o *PostBulkPreBanSummaryResponse) GetUserIdsOk() (*[]string, bool)` - -GetUserIdsOk returns a tuple with the UserIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserIds - -`func (o *PostBulkPreBanSummaryResponse) SetUserIds(v []string)` - -SetUserIds sets UserIds field to given value. - - -### GetIpHashes - -`func (o *PostBulkPreBanSummaryResponse) GetIpHashes() []string` - -GetIpHashes returns the IpHashes field if non-nil, zero value otherwise. - -### GetIpHashesOk - -`func (o *PostBulkPreBanSummaryResponse) GetIpHashesOk() (*[]string, bool)` - -GetIpHashesOk returns a tuple with the IpHashes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIpHashes - -`func (o *PostBulkPreBanSummaryResponse) SetIpHashes(v []string)` - -SetIpHashes sets IpHashes field to given value. - - -### GetReason - -`func (o *PostBulkPreBanSummaryResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostBulkPreBanSummaryResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostBulkPreBanSummaryResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostBulkPreBanSummaryResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostBulkPreBanSummaryResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostBulkPreBanSummaryResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostBulkPreBanSummaryResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostBulkPreBanSummaryResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostBulkPreBanSummaryResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostBulkPreBanSummaryResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostBulkPreBanSummaryResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostBulkPreBanSummaryResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostBulkPreBanSummaryResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostBulkPreBanSummaryResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostBulkPreBanSummaryResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostBulkPreBanSummaryResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostBulkPreBanSummaryResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostBulkPreBanSummaryResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostBulkPreBanSummaryResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostBulkPreBanSummaryResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostBulkPreBanSummaryResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostBulkPreBanSummaryResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostBulkPreBanSummaryResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostBulkPreBanSummaryResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostBulkPreBanSummaryResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostBulkPreBanSummaryResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostCommentsByIdsResponse.md b/client/docs/PostCommentsByIdsResponse.md deleted file mode 100644 index 188a637..0000000 --- a/client/docs/PostCommentsByIdsResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PostCommentsByIdsResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comments** | [**[]ModerationAPIComment**](ModerationAPIComment.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostCommentsByIdsResponse - -`func NewPostCommentsByIdsResponse(comments []ModerationAPIComment, status APIStatus, reason string, code string, ) *PostCommentsByIdsResponse` - -NewPostCommentsByIdsResponse instantiates a new PostCommentsByIdsResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostCommentsByIdsResponseWithDefaults - -`func NewPostCommentsByIdsResponseWithDefaults() *PostCommentsByIdsResponse` - -NewPostCommentsByIdsResponseWithDefaults instantiates a new PostCommentsByIdsResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComments - -`func (o *PostCommentsByIdsResponse) GetComments() []ModerationAPIComment` - -GetComments returns the Comments field if non-nil, zero value otherwise. - -### GetCommentsOk - -`func (o *PostCommentsByIdsResponse) GetCommentsOk() (*[]ModerationAPIComment, bool)` - -GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComments - -`func (o *PostCommentsByIdsResponse) SetComments(v []ModerationAPIComment)` - -SetComments sets Comments field to given value. - - -### GetStatus - -`func (o *PostCommentsByIdsResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostCommentsByIdsResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostCommentsByIdsResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostCommentsByIdsResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostCommentsByIdsResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostCommentsByIdsResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostCommentsByIdsResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostCommentsByIdsResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostCommentsByIdsResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostCommentsByIdsResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostCommentsByIdsResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostCommentsByIdsResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostCommentsByIdsResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostCommentsByIdsResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostCommentsByIdsResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostCommentsByIdsResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostCommentsByIdsResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostCommentsByIdsResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostCommentsByIdsResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostCommentsByIdsResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostCommentsByIdsResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostCommentsByIdsResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostCommentsByIdsResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostCommentsByIdsResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostCommentsByIdsResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostCommentsByIdsResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostCommentsByIdsResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostCommentsByIdsResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostCommentsByIdsResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostFlagCommentResponse.md b/client/docs/PostFlagCommentResponse.md deleted file mode 100644 index 5af79d1..0000000 --- a/client/docs/PostFlagCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostFlagCommentResponse - -`func NewPostFlagCommentResponse(status APIStatus, reason string, code string, ) *PostFlagCommentResponse` - -NewPostFlagCommentResponse instantiates a new PostFlagCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostFlagCommentResponseWithDefaults - -`func NewPostFlagCommentResponseWithDefaults() *PostFlagCommentResponse` - -NewPostFlagCommentResponseWithDefaults instantiates a new PostFlagCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostFlagCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostFlagCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostFlagCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostFlagCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostFlagCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostFlagCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostFlagCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostFlagCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostFlagCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostFlagCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostFlagCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostFlagCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostFlagCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostFlagCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostFlagCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostFlagCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostFlagCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostFlagCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostFlagCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostFlagCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostFlagCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostFlagCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentResponse.md index ccb556c..c243fe2 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentResponse.md @@ -5,20 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Action** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] +**Status** | **string** | | ## Methods ### NewPostRemoveCommentResponse -`func NewPostRemoveCommentResponse(action string, status APIStatus, reason string, code string, ) *PostRemoveCommentResponse` +`func NewPostRemoveCommentResponse(action string, status string, ) *PostRemoveCommentResponse` NewPostRemoveCommentResponse instantiates a new PostRemoveCommentResponse object This constructor will assign default values to properties that have it defined, @@ -55,189 +48,24 @@ SetAction sets Action field to given value. ### GetStatus -`func (o *PostRemoveCommentResponse) GetStatus() APIStatus` +`func (o *PostRemoveCommentResponse) GetStatus() string` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PostRemoveCommentResponse) GetStatusOk() (*APIStatus, bool)` +`func (o *PostRemoveCommentResponse) GetStatusOk() (*string, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PostRemoveCommentResponse) SetStatus(v APIStatus)` +`func (o *PostRemoveCommentResponse) SetStatus(v string)` SetStatus sets Status field to given value. -### GetReason - -`func (o *PostRemoveCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostRemoveCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostRemoveCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostRemoveCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostRemoveCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostRemoveCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostRemoveCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostRemoveCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostRemoveCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostRemoveCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostRemoveCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostRemoveCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostRemoveCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostRemoveCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostRemoveCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostRemoveCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostRemoveCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostRemoveCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostRemoveCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostRemoveCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostRemoveCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostRemoveCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostRemoveCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostRemoveCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostRemoveCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostRemoveCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/PostRestoreDeletedCommentResponse.md b/client/docs/PostRestoreDeletedCommentResponse.md deleted file mode 100644 index 079617c..0000000 --- a/client/docs/PostRestoreDeletedCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostRestoreDeletedCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostRestoreDeletedCommentResponse - -`func NewPostRestoreDeletedCommentResponse(status APIStatus, reason string, code string, ) *PostRestoreDeletedCommentResponse` - -NewPostRestoreDeletedCommentResponse instantiates a new PostRestoreDeletedCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostRestoreDeletedCommentResponseWithDefaults - -`func NewPostRestoreDeletedCommentResponseWithDefaults() *PostRestoreDeletedCommentResponse` - -NewPostRestoreDeletedCommentResponseWithDefaults instantiates a new PostRestoreDeletedCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostRestoreDeletedCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostRestoreDeletedCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostRestoreDeletedCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostRestoreDeletedCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostRestoreDeletedCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostRestoreDeletedCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostRestoreDeletedCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostRestoreDeletedCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostRestoreDeletedCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostRestoreDeletedCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostRestoreDeletedCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostRestoreDeletedCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostRestoreDeletedCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostRestoreDeletedCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostRestoreDeletedCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostRestoreDeletedCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostRestoreDeletedCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostRestoreDeletedCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostRestoreDeletedCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostRestoreDeletedCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostRestoreDeletedCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostRestoreDeletedCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostRestoreDeletedCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostRestoreDeletedCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostRestoreDeletedCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostRestoreDeletedCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostRestoreDeletedCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostRestoreDeletedCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostRestoreDeletedCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentApprovalStatusResponse.md b/client/docs/PostSetCommentApprovalStatusResponse.md deleted file mode 100644 index c4f260e..0000000 --- a/client/docs/PostSetCommentApprovalStatusResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# PostSetCommentApprovalStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**DidResetFlaggedCount** | Pointer to **bool** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostSetCommentApprovalStatusResponse - -`func NewPostSetCommentApprovalStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentApprovalStatusResponse` - -NewPostSetCommentApprovalStatusResponse instantiates a new PostSetCommentApprovalStatusResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostSetCommentApprovalStatusResponseWithDefaults - -`func NewPostSetCommentApprovalStatusResponseWithDefaults() *PostSetCommentApprovalStatusResponse` - -NewPostSetCommentApprovalStatusResponseWithDefaults instantiates a new PostSetCommentApprovalStatusResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDidResetFlaggedCount - -`func (o *PostSetCommentApprovalStatusResponse) GetDidResetFlaggedCount() bool` - -GetDidResetFlaggedCount returns the DidResetFlaggedCount field if non-nil, zero value otherwise. - -### GetDidResetFlaggedCountOk - -`func (o *PostSetCommentApprovalStatusResponse) GetDidResetFlaggedCountOk() (*bool, bool)` - -GetDidResetFlaggedCountOk returns a tuple with the DidResetFlaggedCount field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDidResetFlaggedCount - -`func (o *PostSetCommentApprovalStatusResponse) SetDidResetFlaggedCount(v bool)` - -SetDidResetFlaggedCount sets DidResetFlaggedCount field to given value. - -### HasDidResetFlaggedCount - -`func (o *PostSetCommentApprovalStatusResponse) HasDidResetFlaggedCount() bool` - -HasDidResetFlaggedCount returns a boolean if a field has been set. - -### GetStatus - -`func (o *PostSetCommentApprovalStatusResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostSetCommentApprovalStatusResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostSetCommentApprovalStatusResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostSetCommentApprovalStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostSetCommentApprovalStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostSetCommentApprovalStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostSetCommentApprovalStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostSetCommentApprovalStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostSetCommentApprovalStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostSetCommentApprovalStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostSetCommentApprovalStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostSetCommentApprovalStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostSetCommentApprovalStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostSetCommentApprovalStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostSetCommentApprovalStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostSetCommentApprovalStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostSetCommentApprovalStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostSetCommentApprovalStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostSetCommentApprovalStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostSetCommentApprovalStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostSetCommentApprovalStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostSetCommentApprovalStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostSetCommentApprovalStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostSetCommentApprovalStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostSetCommentApprovalStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostSetCommentApprovalStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostSetCommentApprovalStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostSetCommentApprovalStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostSetCommentApprovalStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentReviewStatusResponse.md b/client/docs/PostSetCommentReviewStatusResponse.md deleted file mode 100644 index 635b5d0..0000000 --- a/client/docs/PostSetCommentReviewStatusResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostSetCommentReviewStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostSetCommentReviewStatusResponse - -`func NewPostSetCommentReviewStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentReviewStatusResponse` - -NewPostSetCommentReviewStatusResponse instantiates a new PostSetCommentReviewStatusResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostSetCommentReviewStatusResponseWithDefaults - -`func NewPostSetCommentReviewStatusResponseWithDefaults() *PostSetCommentReviewStatusResponse` - -NewPostSetCommentReviewStatusResponseWithDefaults instantiates a new PostSetCommentReviewStatusResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostSetCommentReviewStatusResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostSetCommentReviewStatusResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostSetCommentReviewStatusResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostSetCommentReviewStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostSetCommentReviewStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostSetCommentReviewStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostSetCommentReviewStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostSetCommentReviewStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostSetCommentReviewStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostSetCommentReviewStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostSetCommentReviewStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostSetCommentReviewStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostSetCommentReviewStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostSetCommentReviewStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostSetCommentReviewStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostSetCommentReviewStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostSetCommentReviewStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostSetCommentReviewStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostSetCommentReviewStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostSetCommentReviewStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostSetCommentReviewStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostSetCommentReviewStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostSetCommentReviewStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostSetCommentReviewStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostSetCommentReviewStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostSetCommentReviewStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostSetCommentReviewStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostSetCommentReviewStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostSetCommentReviewStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentSpamStatusResponse.md b/client/docs/PostSetCommentSpamStatusResponse.md deleted file mode 100644 index 51ef93b..0000000 --- a/client/docs/PostSetCommentSpamStatusResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostSetCommentSpamStatusResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostSetCommentSpamStatusResponse - -`func NewPostSetCommentSpamStatusResponse(status APIStatus, reason string, code string, ) *PostSetCommentSpamStatusResponse` - -NewPostSetCommentSpamStatusResponse instantiates a new PostSetCommentSpamStatusResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostSetCommentSpamStatusResponseWithDefaults - -`func NewPostSetCommentSpamStatusResponseWithDefaults() *PostSetCommentSpamStatusResponse` - -NewPostSetCommentSpamStatusResponseWithDefaults instantiates a new PostSetCommentSpamStatusResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostSetCommentSpamStatusResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostSetCommentSpamStatusResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostSetCommentSpamStatusResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostSetCommentSpamStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostSetCommentSpamStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostSetCommentSpamStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostSetCommentSpamStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostSetCommentSpamStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostSetCommentSpamStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostSetCommentSpamStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostSetCommentSpamStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostSetCommentSpamStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostSetCommentSpamStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostSetCommentSpamStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostSetCommentSpamStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostSetCommentSpamStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostSetCommentSpamStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostSetCommentSpamStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostSetCommentSpamStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostSetCommentSpamStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostSetCommentSpamStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostSetCommentSpamStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostSetCommentSpamStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostSetCommentSpamStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostSetCommentSpamStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostSetCommentSpamStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostSetCommentSpamStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostSetCommentSpamStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostSetCommentSpamStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostSetCommentTextResponse.md b/client/docs/PostSetCommentTextResponse.md deleted file mode 100644 index ece99c7..0000000 --- a/client/docs/PostSetCommentTextResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# PostSetCommentTextResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**NewCommentTextHTML** | **string** | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostSetCommentTextResponse - -`func NewPostSetCommentTextResponse(newCommentTextHTML string, status APIStatus, reason string, code string, ) *PostSetCommentTextResponse` - -NewPostSetCommentTextResponse instantiates a new PostSetCommentTextResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostSetCommentTextResponseWithDefaults - -`func NewPostSetCommentTextResponseWithDefaults() *PostSetCommentTextResponse` - -NewPostSetCommentTextResponseWithDefaults instantiates a new PostSetCommentTextResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNewCommentTextHTML - -`func (o *PostSetCommentTextResponse) GetNewCommentTextHTML() string` - -GetNewCommentTextHTML returns the NewCommentTextHTML field if non-nil, zero value otherwise. - -### GetNewCommentTextHTMLOk - -`func (o *PostSetCommentTextResponse) GetNewCommentTextHTMLOk() (*string, bool)` - -GetNewCommentTextHTMLOk returns a tuple with the NewCommentTextHTML field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNewCommentTextHTML - -`func (o *PostSetCommentTextResponse) SetNewCommentTextHTML(v string)` - -SetNewCommentTextHTML sets NewCommentTextHTML field to given value. - - -### GetStatus - -`func (o *PostSetCommentTextResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostSetCommentTextResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostSetCommentTextResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostSetCommentTextResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostSetCommentTextResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostSetCommentTextResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostSetCommentTextResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostSetCommentTextResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostSetCommentTextResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostSetCommentTextResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostSetCommentTextResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostSetCommentTextResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostSetCommentTextResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostSetCommentTextResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostSetCommentTextResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostSetCommentTextResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostSetCommentTextResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostSetCommentTextResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostSetCommentTextResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostSetCommentTextResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostSetCommentTextResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostSetCommentTextResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostSetCommentTextResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostSetCommentTextResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostSetCommentTextResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostSetCommentTextResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostSetCommentTextResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostSetCommentTextResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostSetCommentTextResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostUnFlagCommentResponse.md b/client/docs/PostUnFlagCommentResponse.md deleted file mode 100644 index fd12a5f..0000000 --- a/client/docs/PostUnFlagCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PostUnFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostUnFlagCommentResponse - -`func NewPostUnFlagCommentResponse(status APIStatus, reason string, code string, ) *PostUnFlagCommentResponse` - -NewPostUnFlagCommentResponse instantiates a new PostUnFlagCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostUnFlagCommentResponseWithDefaults - -`func NewPostUnFlagCommentResponseWithDefaults() *PostUnFlagCommentResponse` - -NewPostUnFlagCommentResponseWithDefaults instantiates a new PostUnFlagCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostUnFlagCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostUnFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostUnFlagCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PostUnFlagCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostUnFlagCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostUnFlagCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostUnFlagCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostUnFlagCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostUnFlagCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostUnFlagCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostUnFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostUnFlagCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostUnFlagCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostUnFlagCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostUnFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostUnFlagCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostUnFlagCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostUnFlagCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostUnFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostUnFlagCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostUnFlagCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostUnFlagCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostUnFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostUnFlagCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostUnFlagCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostUnFlagCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostUnFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostUnFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostUnFlagCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PostVoteResponse.md b/client/docs/PostVoteResponse.md deleted file mode 100644 index 6273ac8..0000000 --- a/client/docs/PostVoteResponse.md +++ /dev/null @@ -1,327 +0,0 @@ -# PostVoteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**VoteId** | Pointer to **string** | | [optional] -**IsVerified** | Pointer to **bool** | | [optional] -**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**EditKey** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPostVoteResponse - -`func NewPostVoteResponse(status APIStatus, reason string, code string, ) *PostVoteResponse` - -NewPostVoteResponse instantiates a new PostVoteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPostVoteResponseWithDefaults - -`func NewPostVoteResponseWithDefaults() *PostVoteResponse` - -NewPostVoteResponseWithDefaults instantiates a new PostVoteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PostVoteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PostVoteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PostVoteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetVoteId - -`func (o *PostVoteResponse) GetVoteId() string` - -GetVoteId returns the VoteId field if non-nil, zero value otherwise. - -### GetVoteIdOk - -`func (o *PostVoteResponse) GetVoteIdOk() (*string, bool)` - -GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVoteId - -`func (o *PostVoteResponse) SetVoteId(v string)` - -SetVoteId sets VoteId field to given value. - -### HasVoteId - -`func (o *PostVoteResponse) HasVoteId() bool` - -HasVoteId returns a boolean if a field has been set. - -### GetIsVerified - -`func (o *PostVoteResponse) GetIsVerified() bool` - -GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. - -### GetIsVerifiedOk - -`func (o *PostVoteResponse) GetIsVerifiedOk() (*bool, bool)` - -GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsVerified - -`func (o *PostVoteResponse) SetIsVerified(v bool)` - -SetIsVerified sets IsVerified field to given value. - -### HasIsVerified - -`func (o *PostVoteResponse) HasIsVerified() bool` - -HasIsVerified returns a boolean if a field has been set. - -### GetUser - -`func (o *PostVoteResponse) GetUser() VoteResponseUser` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *PostVoteResponse) GetUserOk() (*VoteResponseUser, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *PostVoteResponse) SetUser(v VoteResponseUser)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *PostVoteResponse) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetEditKey - -`func (o *PostVoteResponse) GetEditKey() string` - -GetEditKey returns the EditKey field if non-nil, zero value otherwise. - -### GetEditKeyOk - -`func (o *PostVoteResponse) GetEditKeyOk() (*string, bool)` - -GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEditKey - -`func (o *PostVoteResponse) SetEditKey(v string)` - -SetEditKey sets EditKey field to given value. - -### HasEditKey - -`func (o *PostVoteResponse) HasEditKey() bool` - -HasEditKey returns a boolean if a field has been set. - -### GetReason - -`func (o *PostVoteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PostVoteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PostVoteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PostVoteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PostVoteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PostVoteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PostVoteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PostVoteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PostVoteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PostVoteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PostVoteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PostVoteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PostVoteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PostVoteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PostVoteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PostVoteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PostVoteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PostVoteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PostVoteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PostVoteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PostVoteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PostVoteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PostVoteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PostVoteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PostVoteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PostVoteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PublicAPI.md b/client/docs/PublicAPI.md index d6ee68e..60d9be5 100644 --- a/client/docs/PublicAPI.md +++ b/client/docs/PublicAPI.md @@ -61,7 +61,7 @@ Method | HTTP request | Description ## BlockFromCommentPublic -> BlockFromCommentPublicResponse BlockFromCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() +> BlockSuccess BlockFromCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() @@ -90,7 +90,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.BlockFromCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `BlockFromCommentPublic`: BlockFromCommentPublicResponse + // response from `BlockFromCommentPublic`: BlockSuccess fmt.Fprintf(os.Stdout, "Response from `PublicAPI.BlockFromCommentPublic`: %v\n", resp) } ``` @@ -117,7 +117,7 @@ Name | Type | Description | Notes ### Return type -[**BlockFromCommentPublicResponse**](BlockFromCommentPublicResponse.md) +[**BlockSuccess**](BlockSuccess.md) ### Authorization @@ -135,7 +135,7 @@ No authorization required ## CheckedCommentsForBlocked -> CheckedCommentsForBlockedResponse CheckedCommentsForBlocked(ctx).TenantId(tenantId).CommentIds(commentIds).Sso(sso).Execute() +> CheckBlockedCommentsResponse CheckedCommentsForBlocked(ctx).TenantId(tenantId).CommentIds(commentIds).Sso(sso).Execute() @@ -163,7 +163,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CheckedCommentsForBlocked``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CheckedCommentsForBlocked`: CheckedCommentsForBlockedResponse + // response from `CheckedCommentsForBlocked`: CheckBlockedCommentsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CheckedCommentsForBlocked`: %v\n", resp) } ``` @@ -185,7 +185,7 @@ Name | Type | Description | Notes ### Return type -[**CheckedCommentsForBlockedResponse**](CheckedCommentsForBlockedResponse.md) +[**CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md) ### Authorization @@ -203,7 +203,7 @@ No authorization required ## CreateCommentPublic -> CreateCommentPublicResponse CreateCommentPublic(ctx, tenantId).UrlId(urlId).BroadcastId(broadcastId).CommentData(commentData).SessionId(sessionId).Sso(sso).Execute() +> SaveCommentsResponseWithPresence CreateCommentPublic(ctx, tenantId).UrlId(urlId).BroadcastId(broadcastId).CommentData(commentData).SessionId(sessionId).Sso(sso).Execute() @@ -234,7 +234,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateCommentPublic`: CreateCommentPublicResponse + // response from `CreateCommentPublic`: SaveCommentsResponseWithPresence fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateCommentPublic`: %v\n", resp) } ``` @@ -263,7 +263,7 @@ Name | Type | Description | Notes ### Return type -[**CreateCommentPublicResponse**](CreateCommentPublicResponse.md) +[**SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md) ### Authorization @@ -281,7 +281,7 @@ No authorization required ## CreateFeedPostPublic -> CreateFeedPostPublicResponse CreateFeedPostPublic(ctx, tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() +> CreateFeedPostResponse CreateFeedPostPublic(ctx, tenantId).CreateFeedPostParams(createFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -310,7 +310,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateFeedPostPublic`: CreateFeedPostPublicResponse + // response from `CreateFeedPostPublic`: CreateFeedPostResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateFeedPostPublic`: %v\n", resp) } ``` @@ -337,7 +337,7 @@ Name | Type | Description | Notes ### Return type -[**CreateFeedPostPublicResponse**](CreateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -355,7 +355,7 @@ No authorization required ## CreateV1PageReact -> CreateV1PageReactResponse CreateV1PageReact(ctx, tenantId).UrlId(urlId).Title(title).Execute() +> CreateV1PageReact CreateV1PageReact(ctx, tenantId).UrlId(urlId).Title(title).Execute() @@ -383,7 +383,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateV1PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateV1PageReact`: CreateV1PageReactResponse + // response from `CreateV1PageReact`: CreateV1PageReact fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateV1PageReact`: %v\n", resp) } ``` @@ -409,7 +409,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV1PageReactResponse**](CreateV1PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -427,7 +427,7 @@ No authorization required ## CreateV2PageReact -> CreateV2PageReactResponse CreateV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Title(title).Execute() +> CreateV1PageReact CreateV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Title(title).Execute() @@ -456,7 +456,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.CreateV2PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CreateV2PageReact`: CreateV2PageReactResponse + // response from `CreateV2PageReact`: CreateV1PageReact fmt.Fprintf(os.Stdout, "Response from `PublicAPI.CreateV2PageReact`: %v\n", resp) } ``` @@ -483,7 +483,7 @@ Name | Type | Description | Notes ### Return type -[**CreateV2PageReactResponse**](CreateV2PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -501,7 +501,7 @@ No authorization required ## DeleteCommentPublic -> DeleteCommentPublicResponse DeleteCommentPublic(ctx, tenantId, commentId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() +> PublicAPIDeleteCommentResponse DeleteCommentPublic(ctx, tenantId, commentId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() @@ -531,7 +531,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteCommentPublic`: DeleteCommentPublicResponse + // response from `DeleteCommentPublic`: PublicAPIDeleteCommentResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteCommentPublic`: %v\n", resp) } ``` @@ -560,7 +560,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentPublicResponse**](DeleteCommentPublicResponse.md) +[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md) ### Authorization @@ -578,7 +578,7 @@ No authorization required ## DeleteCommentVote -> DeleteCommentVoteResponse DeleteCommentVote(ctx, tenantId, commentId, voteId).UrlId(urlId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() +> VoteDeleteResponse DeleteCommentVote(ctx, tenantId, commentId, voteId).UrlId(urlId).BroadcastId(broadcastId).EditKey(editKey).Sso(sso).Execute() @@ -610,7 +610,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteCommentVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteCommentVote`: DeleteCommentVoteResponse + // response from `DeleteCommentVote`: VoteDeleteResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteCommentVote`: %v\n", resp) } ``` @@ -642,7 +642,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteCommentVoteResponse**](DeleteCommentVoteResponse.md) +[**VoteDeleteResponse**](VoteDeleteResponse.md) ### Authorization @@ -735,7 +735,7 @@ No authorization required ## DeleteV1PageReact -> DeleteV1PageReactResponse DeleteV1PageReact(ctx, tenantId).UrlId(urlId).Execute() +> CreateV1PageReact DeleteV1PageReact(ctx, tenantId).UrlId(urlId).Execute() @@ -762,7 +762,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteV1PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteV1PageReact`: DeleteV1PageReactResponse + // response from `DeleteV1PageReact`: CreateV1PageReact fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteV1PageReact`: %v\n", resp) } ``` @@ -787,7 +787,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteV1PageReactResponse**](DeleteV1PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -805,7 +805,7 @@ No authorization required ## DeleteV2PageReact -> DeleteV2PageReactResponse DeleteV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Execute() +> CreateV1PageReact DeleteV2PageReact(ctx, tenantId).UrlId(urlId).Id(id).Execute() @@ -833,7 +833,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.DeleteV2PageReact``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DeleteV2PageReact`: DeleteV2PageReactResponse + // response from `DeleteV2PageReact`: CreateV1PageReact fmt.Fprintf(os.Stdout, "Response from `PublicAPI.DeleteV2PageReact`: %v\n", resp) } ``` @@ -859,7 +859,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteV2PageReactResponse**](DeleteV2PageReactResponse.md) +[**CreateV1PageReact**](CreateV1PageReact.md) ### Authorization @@ -877,7 +877,7 @@ No authorization required ## FlagCommentPublic -> FlagCommentPublicResponse FlagCommentPublic(ctx, commentId).TenantId(tenantId).IsFlagged(isFlagged).Sso(sso).Execute() +> APIEmptyResponse FlagCommentPublic(ctx, commentId).TenantId(tenantId).IsFlagged(isFlagged).Sso(sso).Execute() @@ -906,7 +906,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.FlagCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FlagCommentPublic`: FlagCommentPublicResponse + // response from `FlagCommentPublic`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.FlagCommentPublic`: %v\n", resp) } ``` @@ -933,7 +933,7 @@ Name | Type | Description | Notes ### Return type -[**FlagCommentPublicResponse**](FlagCommentPublicResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -951,7 +951,7 @@ No authorization required ## GetCommentText -> GetCommentTextResponse1 GetCommentText(ctx, tenantId, commentId).EditKey(editKey).Sso(sso).Execute() +> PublicAPIGetCommentTextResponse GetCommentText(ctx, tenantId, commentId).EditKey(editKey).Sso(sso).Execute() @@ -980,7 +980,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentText`: GetCommentTextResponse1 + // response from `GetCommentText`: PublicAPIGetCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentText`: %v\n", resp) } ``` @@ -1008,7 +1008,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentTextResponse1**](GetCommentTextResponse1.md) +[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md) ### Authorization @@ -1026,7 +1026,7 @@ No authorization required ## GetCommentVoteUserNames -> GetCommentVoteUserNamesResponse GetCommentVoteUserNames(ctx, tenantId, commentId).Dir(dir).Sso(sso).Execute() +> GetCommentVoteUserNamesSuccessResponse GetCommentVoteUserNames(ctx, tenantId, commentId).Dir(dir).Sso(sso).Execute() @@ -1055,7 +1055,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentVoteUserNames``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentVoteUserNames`: GetCommentVoteUserNamesResponse + // response from `GetCommentVoteUserNames`: GetCommentVoteUserNamesSuccessResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentVoteUserNames`: %v\n", resp) } ``` @@ -1083,7 +1083,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentVoteUserNamesResponse**](GetCommentVoteUserNamesResponse.md) +[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md) ### Authorization @@ -1101,7 +1101,7 @@ No authorization required ## GetCommentsForUser -> GetCommentsForUserResponse1 GetCommentsForUser(ctx).UserId(userId).Direction(direction).RepliesToUserId(repliesToUserId).Page(page).Includei10n(includei10n).Locale(locale).IsCrawler(isCrawler).Execute() +> GetCommentsForUserResponse GetCommentsForUser(ctx).UserId(userId).Direction(direction).RepliesToUserId(repliesToUserId).Page(page).Includei10n(includei10n).Locale(locale).IsCrawler(isCrawler).Execute() @@ -1133,7 +1133,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentsForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentsForUser`: GetCommentsForUserResponse1 + // response from `GetCommentsForUser`: GetCommentsForUserResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentsForUser`: %v\n", resp) } ``` @@ -1159,7 +1159,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsForUserResponse1**](GetCommentsForUserResponse1.md) +[**GetCommentsForUserResponse**](GetCommentsForUserResponse.md) ### Authorization @@ -1177,7 +1177,7 @@ No authorization required ## GetCommentsPublic -> GetCommentsPublicResponse GetCommentsPublic(ctx, tenantId).UrlId(urlId).Page(page).Direction(direction).Sso(sso).Skip(skip).SkipChildren(skipChildren).Limit(limit).LimitChildren(limitChildren).CountChildren(countChildren).FetchPageForCommentId(fetchPageForCommentId).IncludeConfig(includeConfig).CountAll(countAll).Includei10n(includei10n).Locale(locale).Modules(modules).IsCrawler(isCrawler).IncludeNotificationCount(includeNotificationCount).AsTree(asTree).MaxTreeDepth(maxTreeDepth).UseFullTranslationIds(useFullTranslationIds).ParentId(parentId).SearchText(searchText).HashTags(hashTags).UserId(userId).CustomConfigStr(customConfigStr).AfterCommentId(afterCommentId).BeforeCommentId(beforeCommentId).Execute() +> GetCommentsResponseWithPresencePublicComment GetCommentsPublic(ctx, tenantId).UrlId(urlId).Page(page).Direction(direction).Sso(sso).Skip(skip).SkipChildren(skipChildren).Limit(limit).LimitChildren(limitChildren).CountChildren(countChildren).FetchPageForCommentId(fetchPageForCommentId).IncludeConfig(includeConfig).CountAll(countAll).Includei10n(includei10n).Locale(locale).Modules(modules).IsCrawler(isCrawler).IncludeNotificationCount(includeNotificationCount).AsTree(asTree).MaxTreeDepth(maxTreeDepth).UseFullTranslationIds(useFullTranslationIds).ParentId(parentId).SearchText(searchText).HashTags(hashTags).UserId(userId).CustomConfigStr(customConfigStr).AfterCommentId(afterCommentId).BeforeCommentId(beforeCommentId).Execute() @@ -1232,7 +1232,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetCommentsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetCommentsPublic`: GetCommentsPublicResponse + // response from `GetCommentsPublic`: GetCommentsResponseWithPresencePublicComment fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetCommentsPublic`: %v\n", resp) } ``` @@ -1283,7 +1283,7 @@ Name | Type | Description | Notes ### Return type -[**GetCommentsPublicResponse**](GetCommentsPublicResponse.md) +[**GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresencePublicComment.md) ### Authorization @@ -1301,7 +1301,7 @@ No authorization required ## GetEventLog -> GetEventLogResponse1 GetEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() +> GetEventLogResponse GetEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() @@ -1333,7 +1333,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetEventLog``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetEventLog`: GetEventLogResponse1 + // response from `GetEventLog`: GetEventLogResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetEventLog`: %v\n", resp) } ``` @@ -1361,7 +1361,7 @@ Name | Type | Description | Notes ### Return type -[**GetEventLogResponse1**](GetEventLogResponse1.md) +[**GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -1379,7 +1379,7 @@ No authorization required ## GetFeedPostsPublic -> GetFeedPostsPublicResponse GetFeedPostsPublic(ctx, tenantId).AfterId(afterId).Limit(limit).Tags(tags).Sso(sso).IsCrawler(isCrawler).IncludeUserInfo(includeUserInfo).Execute() +> PublicFeedPostsResponse GetFeedPostsPublic(ctx, tenantId).AfterId(afterId).Limit(limit).Tags(tags).Sso(sso).IsCrawler(isCrawler).IncludeUserInfo(includeUserInfo).Execute() @@ -1413,7 +1413,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetFeedPostsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPostsPublic`: GetFeedPostsPublicResponse + // response from `GetFeedPostsPublic`: PublicFeedPostsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetFeedPostsPublic`: %v\n", resp) } ``` @@ -1443,7 +1443,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsPublicResponse**](GetFeedPostsPublicResponse.md) +[**PublicFeedPostsResponse**](PublicFeedPostsResponse.md) ### Authorization @@ -1461,7 +1461,7 @@ No authorization required ## GetFeedPostsStats -> GetFeedPostsStatsResponse GetFeedPostsStats(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() +> FeedPostsStatsResponse GetFeedPostsStats(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() @@ -1489,7 +1489,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetFeedPostsStats``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetFeedPostsStats`: GetFeedPostsStatsResponse + // response from `GetFeedPostsStats`: FeedPostsStatsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetFeedPostsStats`: %v\n", resp) } ``` @@ -1515,7 +1515,7 @@ Name | Type | Description | Notes ### Return type -[**GetFeedPostsStatsResponse**](GetFeedPostsStatsResponse.md) +[**FeedPostsStatsResponse**](FeedPostsStatsResponse.md) ### Authorization @@ -1533,7 +1533,7 @@ No authorization required ## GetGifLarge -> GetGifLargeResponse GetGifLarge(ctx, tenantId).LargeInternalURLSanitized(largeInternalURLSanitized).Execute() +> GifGetLargeResponse GetGifLarge(ctx, tenantId).LargeInternalURLSanitized(largeInternalURLSanitized).Execute() @@ -1560,7 +1560,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetGifLarge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetGifLarge`: GetGifLargeResponse + // response from `GetGifLarge`: GifGetLargeResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetGifLarge`: %v\n", resp) } ``` @@ -1585,7 +1585,7 @@ Name | Type | Description | Notes ### Return type -[**GetGifLargeResponse**](GetGifLargeResponse.md) +[**GifGetLargeResponse**](GifGetLargeResponse.md) ### Authorization @@ -1753,7 +1753,7 @@ No authorization required ## GetGlobalEventLog -> GetGlobalEventLogResponse GetGlobalEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() +> GetEventLogResponse GetGlobalEventLog(ctx, tenantId).UrlId(urlId).UserIdWS(userIdWS).StartTime(startTime).EndTime(endTime).Execute() @@ -1785,7 +1785,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetGlobalEventLog``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetGlobalEventLog`: GetGlobalEventLogResponse + // response from `GetGlobalEventLog`: GetEventLogResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetGlobalEventLog`: %v\n", resp) } ``` @@ -1813,7 +1813,7 @@ Name | Type | Description | Notes ### Return type -[**GetGlobalEventLogResponse**](GetGlobalEventLogResponse.md) +[**GetEventLogResponse**](GetEventLogResponse.md) ### Authorization @@ -1831,7 +1831,7 @@ No authorization required ## GetOfflineUsers -> GetOfflineUsersResponse GetOfflineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() +> PageUsersOfflineResponse GetOfflineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() @@ -1862,7 +1862,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetOfflineUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetOfflineUsers`: GetOfflineUsersResponse + // response from `GetOfflineUsers`: PageUsersOfflineResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetOfflineUsers`: %v\n", resp) } ``` @@ -1889,7 +1889,7 @@ Name | Type | Description | Notes ### Return type -[**GetOfflineUsersResponse**](GetOfflineUsersResponse.md) +[**PageUsersOfflineResponse**](PageUsersOfflineResponse.md) ### Authorization @@ -1907,7 +1907,7 @@ No authorization required ## GetOnlineUsers -> GetOnlineUsersResponse GetOnlineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() +> PageUsersOnlineResponse GetOnlineUsers(ctx, tenantId).UrlId(urlId).AfterName(afterName).AfterUserId(afterUserId).Execute() @@ -1938,7 +1938,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetOnlineUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetOnlineUsers`: GetOnlineUsersResponse + // response from `GetOnlineUsers`: PageUsersOnlineResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetOnlineUsers`: %v\n", resp) } ``` @@ -1965,7 +1965,7 @@ Name | Type | Description | Notes ### Return type -[**GetOnlineUsersResponse**](GetOnlineUsersResponse.md) +[**PageUsersOnlineResponse**](PageUsersOnlineResponse.md) ### Authorization @@ -1983,7 +1983,7 @@ No authorization required ## GetPagesPublic -> GetPagesPublicResponse GetPagesPublic(ctx, tenantId).Cursor(cursor).Limit(limit).Q(q).SortBy(sortBy).HasComments(hasComments).Execute() +> GetPublicPagesResponse GetPagesPublic(ctx, tenantId).Cursor(cursor).Limit(limit).Q(q).SortBy(sortBy).HasComments(hasComments).Execute() @@ -2016,7 +2016,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetPagesPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetPagesPublic`: GetPagesPublicResponse + // response from `GetPagesPublic`: GetPublicPagesResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetPagesPublic`: %v\n", resp) } ``` @@ -2045,7 +2045,7 @@ Name | Type | Description | Notes ### Return type -[**GetPagesPublicResponse**](GetPagesPublicResponse.md) +[**GetPublicPagesResponse**](GetPublicPagesResponse.md) ### Authorization @@ -2063,7 +2063,7 @@ No authorization required ## GetTranslations -> GetTranslationsResponse1 GetTranslations(ctx, namespace, component).Locale(locale).UseFullTranslationIds(useFullTranslationIds).Execute() +> GetTranslationsResponse GetTranslations(ctx, namespace, component).Locale(locale).UseFullTranslationIds(useFullTranslationIds).Execute() @@ -2092,7 +2092,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetTranslations``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetTranslations`: GetTranslationsResponse1 + // response from `GetTranslations`: GetTranslationsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetTranslations`: %v\n", resp) } ``` @@ -2120,7 +2120,7 @@ Name | Type | Description | Notes ### Return type -[**GetTranslationsResponse1**](GetTranslationsResponse1.md) +[**GetTranslationsResponse**](GetTranslationsResponse.md) ### Authorization @@ -2138,7 +2138,7 @@ No authorization required ## GetUserNotificationCount -> GetUserNotificationCountResponse1 GetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() +> GetUserNotificationCountResponse GetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -2165,7 +2165,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserNotificationCount`: GetUserNotificationCountResponse1 + // response from `GetUserNotificationCount`: GetUserNotificationCountResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserNotificationCount`: %v\n", resp) } ``` @@ -2186,7 +2186,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationCountResponse1**](GetUserNotificationCountResponse1.md) +[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md) ### Authorization @@ -2204,7 +2204,7 @@ No authorization required ## GetUserNotifications -> GetUserNotificationsResponse GetUserNotifications(ctx).TenantId(tenantId).UrlId(urlId).PageSize(pageSize).AfterId(afterId).IncludeContext(includeContext).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).IncludeTranslations(includeTranslations).IncludeTenantNotifications(includeTenantNotifications).Sso(sso).Execute() +> GetMyNotificationsResponse GetUserNotifications(ctx).TenantId(tenantId).UrlId(urlId).PageSize(pageSize).AfterId(afterId).IncludeContext(includeContext).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).IncludeTranslations(includeTranslations).IncludeTenantNotifications(includeTenantNotifications).Sso(sso).Execute() @@ -2241,7 +2241,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserNotifications`: GetUserNotificationsResponse + // response from `GetUserNotifications`: GetMyNotificationsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserNotifications`: %v\n", resp) } ``` @@ -2272,7 +2272,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserNotificationsResponse**](GetUserNotificationsResponse.md) +[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md) ### Authorization @@ -2290,7 +2290,7 @@ No authorization required ## GetUserPresenceStatuses -> GetUserPresenceStatusesResponse1 GetUserPresenceStatuses(ctx).TenantId(tenantId).UrlIdWS(urlIdWS).UserIds(userIds).Execute() +> GetUserPresenceStatusesResponse GetUserPresenceStatuses(ctx).TenantId(tenantId).UrlIdWS(urlIdWS).UserIds(userIds).Execute() @@ -2318,7 +2318,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserPresenceStatuses``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserPresenceStatuses`: GetUserPresenceStatusesResponse1 + // response from `GetUserPresenceStatuses`: GetUserPresenceStatusesResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserPresenceStatuses`: %v\n", resp) } ``` @@ -2340,7 +2340,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserPresenceStatusesResponse1**](GetUserPresenceStatusesResponse1.md) +[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md) ### Authorization @@ -2358,7 +2358,7 @@ No authorization required ## GetUserReactsPublic -> GetUserReactsPublicResponse GetUserReactsPublic(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() +> UserReactsResponse GetUserReactsPublic(ctx, tenantId).PostIds(postIds).Sso(sso).Execute() @@ -2386,7 +2386,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUserReactsPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUserReactsPublic`: GetUserReactsPublicResponse + // response from `GetUserReactsPublic`: UserReactsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUserReactsPublic`: %v\n", resp) } ``` @@ -2412,7 +2412,7 @@ Name | Type | Description | Notes ### Return type -[**GetUserReactsPublicResponse**](GetUserReactsPublicResponse.md) +[**UserReactsResponse**](UserReactsResponse.md) ### Authorization @@ -2430,7 +2430,7 @@ No authorization required ## GetUsersInfo -> GetUsersInfoResponse GetUsersInfo(ctx, tenantId).Ids(ids).Execute() +> PageUsersInfoResponse GetUsersInfo(ctx, tenantId).Ids(ids).Execute() @@ -2459,7 +2459,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetUsersInfo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetUsersInfo`: GetUsersInfoResponse + // response from `GetUsersInfo`: PageUsersInfoResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetUsersInfo`: %v\n", resp) } ``` @@ -2484,7 +2484,7 @@ Name | Type | Description | Notes ### Return type -[**GetUsersInfoResponse**](GetUsersInfoResponse.md) +[**PageUsersInfoResponse**](PageUsersInfoResponse.md) ### Authorization @@ -2502,7 +2502,7 @@ No authorization required ## GetV1PageLikes -> GetV1PageLikesResponse GetV1PageLikes(ctx, tenantId).UrlId(urlId).Execute() +> GetV1PageLikes GetV1PageLikes(ctx, tenantId).UrlId(urlId).Execute() @@ -2529,7 +2529,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV1PageLikes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV1PageLikes`: GetV1PageLikesResponse + // response from `GetV1PageLikes`: GetV1PageLikes fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV1PageLikes`: %v\n", resp) } ``` @@ -2554,7 +2554,7 @@ Name | Type | Description | Notes ### Return type -[**GetV1PageLikesResponse**](GetV1PageLikesResponse.md) +[**GetV1PageLikes**](GetV1PageLikes.md) ### Authorization @@ -2572,7 +2572,7 @@ No authorization required ## GetV2PageReactUsers -> GetV2PageReactUsersResponse1 GetV2PageReactUsers(ctx, tenantId).UrlId(urlId).Id(id).Execute() +> GetV2PageReactUsersResponse GetV2PageReactUsers(ctx, tenantId).UrlId(urlId).Id(id).Execute() @@ -2600,7 +2600,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV2PageReactUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV2PageReactUsers`: GetV2PageReactUsersResponse1 + // response from `GetV2PageReactUsers`: GetV2PageReactUsersResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV2PageReactUsers`: %v\n", resp) } ``` @@ -2626,7 +2626,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactUsersResponse1**](GetV2PageReactUsersResponse1.md) +[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md) ### Authorization @@ -2644,7 +2644,7 @@ No authorization required ## GetV2PageReacts -> GetV2PageReactsResponse GetV2PageReacts(ctx, tenantId).UrlId(urlId).Execute() +> GetV2PageReacts GetV2PageReacts(ctx, tenantId).UrlId(urlId).Execute() @@ -2671,7 +2671,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.GetV2PageReacts``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetV2PageReacts`: GetV2PageReactsResponse + // response from `GetV2PageReacts`: GetV2PageReacts fmt.Fprintf(os.Stdout, "Response from `PublicAPI.GetV2PageReacts`: %v\n", resp) } ``` @@ -2696,7 +2696,7 @@ Name | Type | Description | Notes ### Return type -[**GetV2PageReactsResponse**](GetV2PageReactsResponse.md) +[**GetV2PageReacts**](GetV2PageReacts.md) ### Authorization @@ -2714,7 +2714,7 @@ No authorization required ## LockComment -> LockCommentResponse LockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> APIEmptyResponse LockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2743,7 +2743,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.LockComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `LockComment`: LockCommentResponse + // response from `LockComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.LockComment`: %v\n", resp) } ``` @@ -2771,7 +2771,7 @@ Name | Type | Description | Notes ### Return type -[**LockCommentResponse**](LockCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -2848,7 +2848,7 @@ No authorization required ## PinComment -> PinCommentResponse PinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> ChangeCommentPinStatusResponse PinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2877,7 +2877,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.PinComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PinComment`: PinCommentResponse + // response from `PinComment`: ChangeCommentPinStatusResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.PinComment`: %v\n", resp) } ``` @@ -2905,7 +2905,7 @@ Name | Type | Description | Notes ### Return type -[**PinCommentResponse**](PinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -2923,7 +2923,7 @@ No authorization required ## ReactFeedPostPublic -> ReactFeedPostPublicResponse ReactFeedPostPublic(ctx, tenantId, postId).ReactBodyParams(reactBodyParams).IsUndo(isUndo).BroadcastId(broadcastId).Sso(sso).Execute() +> ReactFeedPostResponse ReactFeedPostPublic(ctx, tenantId, postId).ReactBodyParams(reactBodyParams).IsUndo(isUndo).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2954,7 +2954,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ReactFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReactFeedPostPublic`: ReactFeedPostPublicResponse + // response from `ReactFeedPostPublic`: ReactFeedPostResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ReactFeedPostPublic`: %v\n", resp) } ``` @@ -2984,7 +2984,7 @@ Name | Type | Description | Notes ### Return type -[**ReactFeedPostPublicResponse**](ReactFeedPostPublicResponse.md) +[**ReactFeedPostResponse**](ReactFeedPostResponse.md) ### Authorization @@ -3002,7 +3002,7 @@ No authorization required ## ResetUserNotificationCount -> ResetUserNotificationCountResponse ResetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() +> ResetUserNotificationsResponse ResetUserNotificationCount(ctx).TenantId(tenantId).Sso(sso).Execute() @@ -3029,7 +3029,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ResetUserNotificationCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ResetUserNotificationCount`: ResetUserNotificationCountResponse + // response from `ResetUserNotificationCount`: ResetUserNotificationsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ResetUserNotificationCount`: %v\n", resp) } ``` @@ -3050,7 +3050,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationCountResponse**](ResetUserNotificationCountResponse.md) +[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -3068,7 +3068,7 @@ No authorization required ## ResetUserNotifications -> ResetUserNotificationsResponse1 ResetUserNotifications(ctx).TenantId(tenantId).AfterId(afterId).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).Sso(sso).Execute() +> ResetUserNotificationsResponse ResetUserNotifications(ctx).TenantId(tenantId).AfterId(afterId).AfterCreatedAt(afterCreatedAt).UnreadOnly(unreadOnly).DmOnly(dmOnly).NoDm(noDm).Sso(sso).Execute() @@ -3100,7 +3100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.ResetUserNotifications``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ResetUserNotifications`: ResetUserNotificationsResponse1 + // response from `ResetUserNotifications`: ResetUserNotificationsResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.ResetUserNotifications`: %v\n", resp) } ``` @@ -3126,7 +3126,7 @@ Name | Type | Description | Notes ### Return type -[**ResetUserNotificationsResponse1**](ResetUserNotificationsResponse1.md) +[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md) ### Authorization @@ -3144,7 +3144,7 @@ No authorization required ## SearchUsers -> SearchUsersResponse1 SearchUsers(ctx, tenantId).UrlId(urlId).UsernameStartsWith(usernameStartsWith).MentionGroupIds(mentionGroupIds).Sso(sso).SearchSection(searchSection).Execute() +> SearchUsersResult SearchUsers(ctx, tenantId).UrlId(urlId).UsernameStartsWith(usernameStartsWith).MentionGroupIds(mentionGroupIds).Sso(sso).SearchSection(searchSection).Execute() @@ -3175,7 +3175,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.SearchUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SearchUsers`: SearchUsersResponse1 + // response from `SearchUsers`: SearchUsersResult fmt.Fprintf(os.Stdout, "Response from `PublicAPI.SearchUsers`: %v\n", resp) } ``` @@ -3204,7 +3204,7 @@ Name | Type | Description | Notes ### Return type -[**SearchUsersResponse1**](SearchUsersResponse1.md) +[**SearchUsersResult**](SearchUsersResult.md) ### Authorization @@ -3222,7 +3222,7 @@ No authorization required ## SetCommentText -> SetCommentTextResponse1 SetCommentText(ctx, tenantId, commentId).BroadcastId(broadcastId).CommentTextUpdateRequest(commentTextUpdateRequest).EditKey(editKey).Sso(sso).Execute() +> PublicAPISetCommentTextResponse SetCommentText(ctx, tenantId, commentId).BroadcastId(broadcastId).CommentTextUpdateRequest(commentTextUpdateRequest).EditKey(editKey).Sso(sso).Execute() @@ -3253,7 +3253,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.SetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `SetCommentText`: SetCommentTextResponse1 + // response from `SetCommentText`: PublicAPISetCommentTextResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.SetCommentText`: %v\n", resp) } ``` @@ -3283,7 +3283,7 @@ Name | Type | Description | Notes ### Return type -[**SetCommentTextResponse1**](SetCommentTextResponse1.md) +[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md) ### Authorization @@ -3301,7 +3301,7 @@ No authorization required ## UnBlockCommentPublic -> UnBlockCommentPublicResponse UnBlockCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() +> UnblockSuccess UnBlockCommentPublic(ctx, commentId).TenantId(tenantId).PublicBlockFromCommentParams(publicBlockFromCommentParams).Sso(sso).Execute() @@ -3330,7 +3330,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnBlockCommentPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnBlockCommentPublic`: UnBlockCommentPublicResponse + // response from `UnBlockCommentPublic`: UnblockSuccess fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnBlockCommentPublic`: %v\n", resp) } ``` @@ -3357,7 +3357,7 @@ Name | Type | Description | Notes ### Return type -[**UnBlockCommentPublicResponse**](UnBlockCommentPublicResponse.md) +[**UnblockSuccess**](UnblockSuccess.md) ### Authorization @@ -3375,7 +3375,7 @@ No authorization required ## UnLockComment -> UnLockCommentResponse UnLockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> APIEmptyResponse UnLockComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3404,7 +3404,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnLockComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnLockComment`: UnLockCommentResponse + // response from `UnLockComment`: APIEmptyResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnLockComment`: %v\n", resp) } ``` @@ -3432,7 +3432,7 @@ Name | Type | Description | Notes ### Return type -[**UnLockCommentResponse**](UnLockCommentResponse.md) +[**APIEmptyResponse**](APIEmptyResponse.md) ### Authorization @@ -3450,7 +3450,7 @@ No authorization required ## UnPinComment -> UnPinCommentResponse UnPinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() +> ChangeCommentPinStatusResponse UnPinComment(ctx, tenantId, commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3479,7 +3479,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UnPinComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UnPinComment`: UnPinCommentResponse + // response from `UnPinComment`: ChangeCommentPinStatusResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UnPinComment`: %v\n", resp) } ``` @@ -3507,7 +3507,7 @@ Name | Type | Description | Notes ### Return type -[**UnPinCommentResponse**](UnPinCommentResponse.md) +[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md) ### Authorization @@ -3525,7 +3525,7 @@ No authorization required ## UpdateFeedPostPublic -> UpdateFeedPostPublicResponse UpdateFeedPostPublic(ctx, tenantId, postId).UpdateFeedPostParams(updateFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() +> CreateFeedPostResponse UpdateFeedPostPublic(ctx, tenantId, postId).UpdateFeedPostParams(updateFeedPostParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -3555,7 +3555,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.UpdateFeedPostPublic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UpdateFeedPostPublic`: UpdateFeedPostPublicResponse + // response from `UpdateFeedPostPublic`: CreateFeedPostResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.UpdateFeedPostPublic`: %v\n", resp) } ``` @@ -3584,7 +3584,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateFeedPostPublicResponse**](UpdateFeedPostPublicResponse.md) +[**CreateFeedPostResponse**](CreateFeedPostResponse.md) ### Authorization @@ -3912,7 +3912,7 @@ No authorization required ## VoteComment -> VoteCommentResponse VoteComment(ctx, tenantId, commentId).UrlId(urlId).BroadcastId(broadcastId).VoteBodyParams(voteBodyParams).SessionId(sessionId).Sso(sso).Execute() +> VoteResponse VoteComment(ctx, tenantId, commentId).UrlId(urlId).BroadcastId(broadcastId).VoteBodyParams(voteBodyParams).SessionId(sessionId).Sso(sso).Execute() @@ -3944,7 +3944,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PublicAPI.VoteComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VoteComment`: VoteCommentResponse + // response from `VoteComment`: VoteResponse fmt.Fprintf(os.Stdout, "Response from `PublicAPI.VoteComment`: %v\n", resp) } ``` @@ -3975,7 +3975,7 @@ Name | Type | Description | Notes ### Return type -[**VoteCommentResponse**](VoteCommentResponse.md) +[**VoteResponse**](VoteResponse.md) ### Authorization diff --git a/client/docs/PutAwardBadgeResponse.md b/client/docs/PutAwardBadgeResponse.md deleted file mode 100644 index d6b8240..0000000 --- a/client/docs/PutAwardBadgeResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# PutAwardBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Notes** | Pointer to **[]string** | | [optional] -**Badges** | Pointer to [**[]CommentUserBadgeInfo**](CommentUserBadgeInfo.md) | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPutAwardBadgeResponse - -`func NewPutAwardBadgeResponse(status APIStatus, reason string, code string, ) *PutAwardBadgeResponse` - -NewPutAwardBadgeResponse instantiates a new PutAwardBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPutAwardBadgeResponseWithDefaults - -`func NewPutAwardBadgeResponseWithDefaults() *PutAwardBadgeResponse` - -NewPutAwardBadgeResponseWithDefaults instantiates a new PutAwardBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNotes - -`func (o *PutAwardBadgeResponse) GetNotes() []string` - -GetNotes returns the Notes field if non-nil, zero value otherwise. - -### GetNotesOk - -`func (o *PutAwardBadgeResponse) GetNotesOk() (*[]string, bool)` - -GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNotes - -`func (o *PutAwardBadgeResponse) SetNotes(v []string)` - -SetNotes sets Notes field to given value. - -### HasNotes - -`func (o *PutAwardBadgeResponse) HasNotes() bool` - -HasNotes returns a boolean if a field has been set. - -### GetBadges - -`func (o *PutAwardBadgeResponse) GetBadges() []CommentUserBadgeInfo` - -GetBadges returns the Badges field if non-nil, zero value otherwise. - -### GetBadgesOk - -`func (o *PutAwardBadgeResponse) GetBadgesOk() (*[]CommentUserBadgeInfo, bool)` - -GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBadges - -`func (o *PutAwardBadgeResponse) SetBadges(v []CommentUserBadgeInfo)` - -SetBadges sets Badges field to given value. - -### HasBadges - -`func (o *PutAwardBadgeResponse) HasBadges() bool` - -HasBadges returns a boolean if a field has been set. - -### GetStatus - -`func (o *PutAwardBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PutAwardBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PutAwardBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PutAwardBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PutAwardBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PutAwardBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PutAwardBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PutAwardBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PutAwardBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PutAwardBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PutAwardBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PutAwardBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PutAwardBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PutAwardBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PutAwardBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PutAwardBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PutAwardBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PutAwardBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PutAwardBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PutAwardBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PutAwardBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PutAwardBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PutAwardBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PutAwardBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PutAwardBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PutAwardBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PutAwardBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PutAwardBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PutAwardBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutCloseThreadResponse.md b/client/docs/PutCloseThreadResponse.md deleted file mode 100644 index 2f1716c..0000000 --- a/client/docs/PutCloseThreadResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PutCloseThreadResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPutCloseThreadResponse - -`func NewPutCloseThreadResponse(status APIStatus, reason string, code string, ) *PutCloseThreadResponse` - -NewPutCloseThreadResponse instantiates a new PutCloseThreadResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPutCloseThreadResponseWithDefaults - -`func NewPutCloseThreadResponseWithDefaults() *PutCloseThreadResponse` - -NewPutCloseThreadResponseWithDefaults instantiates a new PutCloseThreadResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PutCloseThreadResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PutCloseThreadResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PutCloseThreadResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PutCloseThreadResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PutCloseThreadResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PutCloseThreadResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PutCloseThreadResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PutCloseThreadResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PutCloseThreadResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PutCloseThreadResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PutCloseThreadResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PutCloseThreadResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PutCloseThreadResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PutCloseThreadResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PutCloseThreadResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PutCloseThreadResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PutCloseThreadResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PutCloseThreadResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PutCloseThreadResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PutCloseThreadResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PutCloseThreadResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PutCloseThreadResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PutCloseThreadResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PutCloseThreadResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PutCloseThreadResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PutCloseThreadResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PutCloseThreadResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PutCloseThreadResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PutCloseThreadResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutRemoveBadgeResponse.md b/client/docs/PutRemoveBadgeResponse.md deleted file mode 100644 index 0f7b4a4..0000000 --- a/client/docs/PutRemoveBadgeResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# PutRemoveBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Badges** | Pointer to [**[]CommentUserBadgeInfo**](CommentUserBadgeInfo.md) | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPutRemoveBadgeResponse - -`func NewPutRemoveBadgeResponse(status APIStatus, reason string, code string, ) *PutRemoveBadgeResponse` - -NewPutRemoveBadgeResponse instantiates a new PutRemoveBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPutRemoveBadgeResponseWithDefaults - -`func NewPutRemoveBadgeResponseWithDefaults() *PutRemoveBadgeResponse` - -NewPutRemoveBadgeResponseWithDefaults instantiates a new PutRemoveBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetBadges - -`func (o *PutRemoveBadgeResponse) GetBadges() []CommentUserBadgeInfo` - -GetBadges returns the Badges field if non-nil, zero value otherwise. - -### GetBadgesOk - -`func (o *PutRemoveBadgeResponse) GetBadgesOk() (*[]CommentUserBadgeInfo, bool)` - -GetBadgesOk returns a tuple with the Badges field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBadges - -`func (o *PutRemoveBadgeResponse) SetBadges(v []CommentUserBadgeInfo)` - -SetBadges sets Badges field to given value. - -### HasBadges - -`func (o *PutRemoveBadgeResponse) HasBadges() bool` - -HasBadges returns a boolean if a field has been set. - -### GetStatus - -`func (o *PutRemoveBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PutRemoveBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PutRemoveBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PutRemoveBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PutRemoveBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PutRemoveBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PutRemoveBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PutRemoveBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PutRemoveBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PutRemoveBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PutRemoveBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PutRemoveBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PutRemoveBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PutRemoveBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PutRemoveBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PutRemoveBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PutRemoveBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PutRemoveBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PutRemoveBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PutRemoveBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PutRemoveBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PutRemoveBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PutRemoveBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PutRemoveBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PutRemoveBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PutRemoveBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PutRemoveBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PutRemoveBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PutRemoveBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/PutReopenThreadResponse.md b/client/docs/PutReopenThreadResponse.md deleted file mode 100644 index 243433b..0000000 --- a/client/docs/PutReopenThreadResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# PutReopenThreadResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewPutReopenThreadResponse - -`func NewPutReopenThreadResponse(status APIStatus, reason string, code string, ) *PutReopenThreadResponse` - -NewPutReopenThreadResponse instantiates a new PutReopenThreadResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPutReopenThreadResponseWithDefaults - -`func NewPutReopenThreadResponseWithDefaults() *PutReopenThreadResponse` - -NewPutReopenThreadResponseWithDefaults instantiates a new PutReopenThreadResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *PutReopenThreadResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *PutReopenThreadResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *PutReopenThreadResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *PutReopenThreadResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *PutReopenThreadResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *PutReopenThreadResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *PutReopenThreadResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *PutReopenThreadResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *PutReopenThreadResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *PutReopenThreadResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *PutReopenThreadResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *PutReopenThreadResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *PutReopenThreadResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *PutReopenThreadResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *PutReopenThreadResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *PutReopenThreadResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *PutReopenThreadResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *PutReopenThreadResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *PutReopenThreadResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *PutReopenThreadResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *PutReopenThreadResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *PutReopenThreadResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *PutReopenThreadResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *PutReopenThreadResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *PutReopenThreadResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *PutReopenThreadResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *PutReopenThreadResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *PutReopenThreadResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *PutReopenThreadResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReactFeedPostPublicResponse.md b/client/docs/ReactFeedPostPublicResponse.md deleted file mode 100644 index f9fb38c..0000000 --- a/client/docs/ReactFeedPostPublicResponse.md +++ /dev/null @@ -1,265 +0,0 @@ -# ReactFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**ReactType** | **string** | | -**IsUndo** | **bool** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewReactFeedPostPublicResponse - -`func NewReactFeedPostPublicResponse(status APIStatus, reactType string, isUndo bool, reason string, code string, ) *ReactFeedPostPublicResponse` - -NewReactFeedPostPublicResponse instantiates a new ReactFeedPostPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewReactFeedPostPublicResponseWithDefaults - -`func NewReactFeedPostPublicResponseWithDefaults() *ReactFeedPostPublicResponse` - -NewReactFeedPostPublicResponseWithDefaults instantiates a new ReactFeedPostPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ReactFeedPostPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ReactFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ReactFeedPostPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReactType - -`func (o *ReactFeedPostPublicResponse) GetReactType() string` - -GetReactType returns the ReactType field if non-nil, zero value otherwise. - -### GetReactTypeOk - -`func (o *ReactFeedPostPublicResponse) GetReactTypeOk() (*string, bool)` - -GetReactTypeOk returns a tuple with the ReactType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReactType - -`func (o *ReactFeedPostPublicResponse) SetReactType(v string)` - -SetReactType sets ReactType field to given value. - - -### GetIsUndo - -`func (o *ReactFeedPostPublicResponse) GetIsUndo() bool` - -GetIsUndo returns the IsUndo field if non-nil, zero value otherwise. - -### GetIsUndoOk - -`func (o *ReactFeedPostPublicResponse) GetIsUndoOk() (*bool, bool)` - -GetIsUndoOk returns a tuple with the IsUndo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsUndo - -`func (o *ReactFeedPostPublicResponse) SetIsUndo(v bool)` - -SetIsUndo sets IsUndo field to given value. - - -### GetReason - -`func (o *ReactFeedPostPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ReactFeedPostPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ReactFeedPostPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *ReactFeedPostPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ReactFeedPostPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ReactFeedPostPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *ReactFeedPostPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ReactFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ReactFeedPostPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ReactFeedPostPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ReactFeedPostPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ReactFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ReactFeedPostPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ReactFeedPostPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ReactFeedPostPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ReactFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ReactFeedPostPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ReactFeedPostPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ReactFeedPostPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ReactFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ReactFeedPostPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ReactFeedPostPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ReactFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ReactFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ReactFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ReactFeedPostPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/RenderEmailTemplateResponse1.md b/client/docs/RenderEmailTemplateResponse1.md deleted file mode 100644 index a2a39ea..0000000 --- a/client/docs/RenderEmailTemplateResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# RenderEmailTemplateResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Html** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewRenderEmailTemplateResponse1 - -`func NewRenderEmailTemplateResponse1(status APIStatus, html string, reason string, code string, ) *RenderEmailTemplateResponse1` - -NewRenderEmailTemplateResponse1 instantiates a new RenderEmailTemplateResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewRenderEmailTemplateResponse1WithDefaults - -`func NewRenderEmailTemplateResponse1WithDefaults() *RenderEmailTemplateResponse1` - -NewRenderEmailTemplateResponse1WithDefaults instantiates a new RenderEmailTemplateResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *RenderEmailTemplateResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *RenderEmailTemplateResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *RenderEmailTemplateResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetHtml - -`func (o *RenderEmailTemplateResponse1) GetHtml() string` - -GetHtml returns the Html field if non-nil, zero value otherwise. - -### GetHtmlOk - -`func (o *RenderEmailTemplateResponse1) GetHtmlOk() (*string, bool)` - -GetHtmlOk returns a tuple with the Html field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHtml - -`func (o *RenderEmailTemplateResponse1) SetHtml(v string)` - -SetHtml sets Html field to given value. - - -### GetReason - -`func (o *RenderEmailTemplateResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *RenderEmailTemplateResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *RenderEmailTemplateResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *RenderEmailTemplateResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *RenderEmailTemplateResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *RenderEmailTemplateResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *RenderEmailTemplateResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *RenderEmailTemplateResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *RenderEmailTemplateResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *RenderEmailTemplateResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *RenderEmailTemplateResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *RenderEmailTemplateResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *RenderEmailTemplateResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *RenderEmailTemplateResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *RenderEmailTemplateResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *RenderEmailTemplateResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *RenderEmailTemplateResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *RenderEmailTemplateResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *RenderEmailTemplateResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *RenderEmailTemplateResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *RenderEmailTemplateResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *RenderEmailTemplateResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *RenderEmailTemplateResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *RenderEmailTemplateResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *RenderEmailTemplateResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *RenderEmailTemplateResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantPackageResponse.md b/client/docs/ReplaceTenantPackageResponse.md deleted file mode 100644 index 4c71c0d..0000000 --- a/client/docs/ReplaceTenantPackageResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# ReplaceTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewReplaceTenantPackageResponse - -`func NewReplaceTenantPackageResponse(status APIStatus, reason string, code string, ) *ReplaceTenantPackageResponse` - -NewReplaceTenantPackageResponse instantiates a new ReplaceTenantPackageResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewReplaceTenantPackageResponseWithDefaults - -`func NewReplaceTenantPackageResponseWithDefaults() *ReplaceTenantPackageResponse` - -NewReplaceTenantPackageResponseWithDefaults instantiates a new ReplaceTenantPackageResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ReplaceTenantPackageResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ReplaceTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ReplaceTenantPackageResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *ReplaceTenantPackageResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ReplaceTenantPackageResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ReplaceTenantPackageResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *ReplaceTenantPackageResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ReplaceTenantPackageResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ReplaceTenantPackageResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *ReplaceTenantPackageResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ReplaceTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ReplaceTenantPackageResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ReplaceTenantPackageResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ReplaceTenantPackageResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ReplaceTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ReplaceTenantPackageResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ReplaceTenantPackageResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ReplaceTenantPackageResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ReplaceTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ReplaceTenantPackageResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ReplaceTenantPackageResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ReplaceTenantPackageResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ReplaceTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ReplaceTenantPackageResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ReplaceTenantPackageResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ReplaceTenantPackageResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ReplaceTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ReplaceTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ReplaceTenantPackageResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ReplaceTenantUserResponse.md b/client/docs/ReplaceTenantUserResponse.md deleted file mode 100644 index ea04901..0000000 --- a/client/docs/ReplaceTenantUserResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# ReplaceTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewReplaceTenantUserResponse - -`func NewReplaceTenantUserResponse(status APIStatus, reason string, code string, ) *ReplaceTenantUserResponse` - -NewReplaceTenantUserResponse instantiates a new ReplaceTenantUserResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewReplaceTenantUserResponseWithDefaults - -`func NewReplaceTenantUserResponseWithDefaults() *ReplaceTenantUserResponse` - -NewReplaceTenantUserResponseWithDefaults instantiates a new ReplaceTenantUserResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ReplaceTenantUserResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ReplaceTenantUserResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ReplaceTenantUserResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *ReplaceTenantUserResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ReplaceTenantUserResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ReplaceTenantUserResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *ReplaceTenantUserResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ReplaceTenantUserResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ReplaceTenantUserResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *ReplaceTenantUserResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ReplaceTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ReplaceTenantUserResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ReplaceTenantUserResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ReplaceTenantUserResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ReplaceTenantUserResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ReplaceTenantUserResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ReplaceTenantUserResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ReplaceTenantUserResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ReplaceTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ReplaceTenantUserResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ReplaceTenantUserResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ReplaceTenantUserResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ReplaceTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ReplaceTenantUserResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ReplaceTenantUserResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ReplaceTenantUserResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ReplaceTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ReplaceTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ReplaceTenantUserResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationCountResponse.md b/client/docs/ResetUserNotificationCountResponse.md deleted file mode 100644 index b2af2dd..0000000 --- a/client/docs/ResetUserNotificationCountResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# ResetUserNotificationCountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Code** | **string** | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewResetUserNotificationCountResponse - -`func NewResetUserNotificationCountResponse(status APIStatus, code string, reason string, ) *ResetUserNotificationCountResponse` - -NewResetUserNotificationCountResponse instantiates a new ResetUserNotificationCountResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewResetUserNotificationCountResponseWithDefaults - -`func NewResetUserNotificationCountResponseWithDefaults() *ResetUserNotificationCountResponse` - -NewResetUserNotificationCountResponseWithDefaults instantiates a new ResetUserNotificationCountResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ResetUserNotificationCountResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ResetUserNotificationCountResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ResetUserNotificationCountResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCode - -`func (o *ResetUserNotificationCountResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ResetUserNotificationCountResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ResetUserNotificationCountResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *ResetUserNotificationCountResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ResetUserNotificationCountResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ResetUserNotificationCountResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *ResetUserNotificationCountResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ResetUserNotificationCountResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ResetUserNotificationCountResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ResetUserNotificationCountResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ResetUserNotificationCountResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ResetUserNotificationCountResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ResetUserNotificationCountResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ResetUserNotificationCountResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ResetUserNotificationCountResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ResetUserNotificationCountResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ResetUserNotificationCountResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ResetUserNotificationCountResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ResetUserNotificationCountResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ResetUserNotificationCountResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ResetUserNotificationCountResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ResetUserNotificationCountResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ResetUserNotificationCountResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ResetUserNotificationCountResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ResetUserNotificationCountResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ResetUserNotificationCountResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/ResetUserNotificationsResponse1.md b/client/docs/ResetUserNotificationsResponse1.md deleted file mode 100644 index 2d54257..0000000 --- a/client/docs/ResetUserNotificationsResponse1.md +++ /dev/null @@ -1,223 +0,0 @@ -# ResetUserNotificationsResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Code** | **string** | | -**Reason** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewResetUserNotificationsResponse1 - -`func NewResetUserNotificationsResponse1(status APIStatus, code string, reason string, ) *ResetUserNotificationsResponse1` - -NewResetUserNotificationsResponse1 instantiates a new ResetUserNotificationsResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewResetUserNotificationsResponse1WithDefaults - -`func NewResetUserNotificationsResponse1WithDefaults() *ResetUserNotificationsResponse1` - -NewResetUserNotificationsResponse1WithDefaults instantiates a new ResetUserNotificationsResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *ResetUserNotificationsResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *ResetUserNotificationsResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *ResetUserNotificationsResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCode - -`func (o *ResetUserNotificationsResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *ResetUserNotificationsResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *ResetUserNotificationsResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *ResetUserNotificationsResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *ResetUserNotificationsResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *ResetUserNotificationsResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetSecondaryCode - -`func (o *ResetUserNotificationsResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *ResetUserNotificationsResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *ResetUserNotificationsResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *ResetUserNotificationsResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *ResetUserNotificationsResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *ResetUserNotificationsResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *ResetUserNotificationsResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *ResetUserNotificationsResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *ResetUserNotificationsResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *ResetUserNotificationsResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *ResetUserNotificationsResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *ResetUserNotificationsResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *ResetUserNotificationsResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *ResetUserNotificationsResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *ResetUserNotificationsResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *ResetUserNotificationsResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *ResetUserNotificationsResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *ResetUserNotificationsResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *ResetUserNotificationsResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *ResetUserNotificationsResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SaveCommentResponse.md b/client/docs/SaveCommentResponse.md deleted file mode 100644 index bfe01b6..0000000 --- a/client/docs/SaveCommentResponse.md +++ /dev/null @@ -1,301 +0,0 @@ -# SaveCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Comment** | [**APIComment**](APIComment.md) | | -**User** | [**NullableUserSessionInfo**](UserSessionInfo.md) | | -**ModuleData** | Pointer to **map[string]map[string]interface{}** | Construct a type with a set of properties K of type T | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSaveCommentResponse - -`func NewSaveCommentResponse(status APIStatus, comment APIComment, user NullableUserSessionInfo, reason string, code string, ) *SaveCommentResponse` - -NewSaveCommentResponse instantiates a new SaveCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSaveCommentResponseWithDefaults - -`func NewSaveCommentResponseWithDefaults() *SaveCommentResponse` - -NewSaveCommentResponseWithDefaults instantiates a new SaveCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *SaveCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SaveCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SaveCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetComment - -`func (o *SaveCommentResponse) GetComment() APIComment` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *SaveCommentResponse) GetCommentOk() (*APIComment, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *SaveCommentResponse) SetComment(v APIComment)` - -SetComment sets Comment field to given value. - - -### GetUser - -`func (o *SaveCommentResponse) GetUser() UserSessionInfo` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *SaveCommentResponse) GetUserOk() (*UserSessionInfo, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *SaveCommentResponse) SetUser(v UserSessionInfo)` - -SetUser sets User field to given value. - - -### SetUserNil - -`func (o *SaveCommentResponse) SetUserNil(b bool)` - - SetUserNil sets the value for User to be an explicit nil - -### UnsetUser -`func (o *SaveCommentResponse) UnsetUser()` - -UnsetUser ensures that no value is present for User, not even an explicit nil -### GetModuleData - -`func (o *SaveCommentResponse) GetModuleData() map[string]map[string]interface{}` - -GetModuleData returns the ModuleData field if non-nil, zero value otherwise. - -### GetModuleDataOk - -`func (o *SaveCommentResponse) GetModuleDataOk() (*map[string]map[string]interface{}, bool)` - -GetModuleDataOk returns a tuple with the ModuleData field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetModuleData - -`func (o *SaveCommentResponse) SetModuleData(v map[string]map[string]interface{})` - -SetModuleData sets ModuleData field to given value. - -### HasModuleData - -`func (o *SaveCommentResponse) HasModuleData() bool` - -HasModuleData returns a boolean if a field has been set. - -### GetReason - -`func (o *SaveCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SaveCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SaveCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SaveCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SaveCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SaveCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SaveCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SaveCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SaveCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SaveCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SaveCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SaveCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SaveCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SaveCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SaveCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SaveCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SaveCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SaveCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SaveCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SaveCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SaveCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SaveCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SaveCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SaveCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SaveCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SaveCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SearchUsersResponse1.md b/client/docs/SearchUsersResponse1.md deleted file mode 100644 index fdb82fe..0000000 --- a/client/docs/SearchUsersResponse1.md +++ /dev/null @@ -1,265 +0,0 @@ -# SearchUsersResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Sections** | [**[]UserSearchSectionResult**](UserSearchSectionResult.md) | | -**Users** | [**[]UserSearchResult**](UserSearchResult.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSearchUsersResponse1 - -`func NewSearchUsersResponse1(status APIStatus, sections []UserSearchSectionResult, users []UserSearchResult, reason string, code string, ) *SearchUsersResponse1` - -NewSearchUsersResponse1 instantiates a new SearchUsersResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSearchUsersResponse1WithDefaults - -`func NewSearchUsersResponse1WithDefaults() *SearchUsersResponse1` - -NewSearchUsersResponse1WithDefaults instantiates a new SearchUsersResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *SearchUsersResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SearchUsersResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SearchUsersResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetSections - -`func (o *SearchUsersResponse1) GetSections() []UserSearchSectionResult` - -GetSections returns the Sections field if non-nil, zero value otherwise. - -### GetSectionsOk - -`func (o *SearchUsersResponse1) GetSectionsOk() (*[]UserSearchSectionResult, bool)` - -GetSectionsOk returns a tuple with the Sections field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSections - -`func (o *SearchUsersResponse1) SetSections(v []UserSearchSectionResult)` - -SetSections sets Sections field to given value. - - -### GetUsers - -`func (o *SearchUsersResponse1) GetUsers() []UserSearchResult` - -GetUsers returns the Users field if non-nil, zero value otherwise. - -### GetUsersOk - -`func (o *SearchUsersResponse1) GetUsersOk() (*[]UserSearchResult, bool)` - -GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsers - -`func (o *SearchUsersResponse1) SetUsers(v []UserSearchResult)` - -SetUsers sets Users field to given value. - - -### GetReason - -`func (o *SearchUsersResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SearchUsersResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SearchUsersResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SearchUsersResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SearchUsersResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SearchUsersResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SearchUsersResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SearchUsersResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SearchUsersResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SearchUsersResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SearchUsersResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SearchUsersResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SearchUsersResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SearchUsersResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SearchUsersResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SearchUsersResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SearchUsersResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SearchUsersResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SearchUsersResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SearchUsersResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SearchUsersResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SearchUsersResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SearchUsersResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SearchUsersResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SearchUsersResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SearchUsersResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendInviteResponse.md b/client/docs/SendInviteResponse.md deleted file mode 100644 index b66a610..0000000 --- a/client/docs/SendInviteResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# SendInviteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSendInviteResponse - -`func NewSendInviteResponse(status APIStatus, reason string, code string, ) *SendInviteResponse` - -NewSendInviteResponse instantiates a new SendInviteResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSendInviteResponseWithDefaults - -`func NewSendInviteResponseWithDefaults() *SendInviteResponse` - -NewSendInviteResponseWithDefaults instantiates a new SendInviteResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *SendInviteResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SendInviteResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SendInviteResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *SendInviteResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SendInviteResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SendInviteResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SendInviteResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SendInviteResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SendInviteResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SendInviteResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SendInviteResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SendInviteResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SendInviteResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SendInviteResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SendInviteResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SendInviteResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SendInviteResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SendInviteResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SendInviteResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SendInviteResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SendInviteResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SendInviteResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SendInviteResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SendInviteResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SendInviteResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SendInviteResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SendInviteResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SendInviteResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SendInviteResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SendLoginLinkResponse.md b/client/docs/SendLoginLinkResponse.md deleted file mode 100644 index b2a312d..0000000 --- a/client/docs/SendLoginLinkResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# SendLoginLinkResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSendLoginLinkResponse - -`func NewSendLoginLinkResponse(status APIStatus, reason string, code string, ) *SendLoginLinkResponse` - -NewSendLoginLinkResponse instantiates a new SendLoginLinkResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSendLoginLinkResponseWithDefaults - -`func NewSendLoginLinkResponseWithDefaults() *SendLoginLinkResponse` - -NewSendLoginLinkResponseWithDefaults instantiates a new SendLoginLinkResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *SendLoginLinkResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SendLoginLinkResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SendLoginLinkResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *SendLoginLinkResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SendLoginLinkResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SendLoginLinkResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SendLoginLinkResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SendLoginLinkResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SendLoginLinkResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SendLoginLinkResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SendLoginLinkResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SendLoginLinkResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SendLoginLinkResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SendLoginLinkResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SendLoginLinkResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SendLoginLinkResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SendLoginLinkResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SendLoginLinkResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SendLoginLinkResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SendLoginLinkResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SendLoginLinkResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SendLoginLinkResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SendLoginLinkResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SendLoginLinkResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SendLoginLinkResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SendLoginLinkResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SendLoginLinkResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SendLoginLinkResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SendLoginLinkResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetCommentTextResponse1.md b/client/docs/SetCommentTextResponse1.md deleted file mode 100644 index 76ef03d..0000000 --- a/client/docs/SetCommentTextResponse1.md +++ /dev/null @@ -1,244 +0,0 @@ -# SetCommentTextResponse1 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Comment** | [**SetCommentTextResult**](SetCommentTextResult.md) | | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSetCommentTextResponse1 - -`func NewSetCommentTextResponse1(comment SetCommentTextResult, status APIStatus, reason string, code string, ) *SetCommentTextResponse1` - -NewSetCommentTextResponse1 instantiates a new SetCommentTextResponse1 object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSetCommentTextResponse1WithDefaults - -`func NewSetCommentTextResponse1WithDefaults() *SetCommentTextResponse1` - -NewSetCommentTextResponse1WithDefaults instantiates a new SetCommentTextResponse1 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetComment - -`func (o *SetCommentTextResponse1) GetComment() SetCommentTextResult` - -GetComment returns the Comment field if non-nil, zero value otherwise. - -### GetCommentOk - -`func (o *SetCommentTextResponse1) GetCommentOk() (*SetCommentTextResult, bool)` - -GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetComment - -`func (o *SetCommentTextResponse1) SetComment(v SetCommentTextResult)` - -SetComment sets Comment field to given value. - - -### GetStatus - -`func (o *SetCommentTextResponse1) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SetCommentTextResponse1) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SetCommentTextResponse1) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *SetCommentTextResponse1) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SetCommentTextResponse1) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SetCommentTextResponse1) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SetCommentTextResponse1) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SetCommentTextResponse1) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SetCommentTextResponse1) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SetCommentTextResponse1) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SetCommentTextResponse1) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SetCommentTextResponse1) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SetCommentTextResponse1) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SetCommentTextResponse1) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SetCommentTextResponse1) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SetCommentTextResponse1) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SetCommentTextResponse1) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SetCommentTextResponse1) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SetCommentTextResponse1) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SetCommentTextResponse1) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SetCommentTextResponse1) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SetCommentTextResponse1) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SetCommentTextResponse1) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SetCommentTextResponse1) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SetCommentTextResponse1) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SetCommentTextResponse1) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SetCommentTextResponse1) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SetCommentTextResponse1) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SetCommentTextResponse1) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/SetTrustFactorResponse.md b/client/docs/SetTrustFactorResponse.md deleted file mode 100644 index e7869db..0000000 --- a/client/docs/SetTrustFactorResponse.md +++ /dev/null @@ -1,249 +0,0 @@ -# SetTrustFactorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PreviousManualTrustFactor** | Pointer to **float64** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewSetTrustFactorResponse - -`func NewSetTrustFactorResponse(status APIStatus, reason string, code string, ) *SetTrustFactorResponse` - -NewSetTrustFactorResponse instantiates a new SetTrustFactorResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSetTrustFactorResponseWithDefaults - -`func NewSetTrustFactorResponseWithDefaults() *SetTrustFactorResponse` - -NewSetTrustFactorResponseWithDefaults instantiates a new SetTrustFactorResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPreviousManualTrustFactor - -`func (o *SetTrustFactorResponse) GetPreviousManualTrustFactor() float64` - -GetPreviousManualTrustFactor returns the PreviousManualTrustFactor field if non-nil, zero value otherwise. - -### GetPreviousManualTrustFactorOk - -`func (o *SetTrustFactorResponse) GetPreviousManualTrustFactorOk() (*float64, bool)` - -GetPreviousManualTrustFactorOk returns a tuple with the PreviousManualTrustFactor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPreviousManualTrustFactor - -`func (o *SetTrustFactorResponse) SetPreviousManualTrustFactor(v float64)` - -SetPreviousManualTrustFactor sets PreviousManualTrustFactor field to given value. - -### HasPreviousManualTrustFactor - -`func (o *SetTrustFactorResponse) HasPreviousManualTrustFactor() bool` - -HasPreviousManualTrustFactor returns a boolean if a field has been set. - -### GetStatus - -`func (o *SetTrustFactorResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *SetTrustFactorResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *SetTrustFactorResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *SetTrustFactorResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *SetTrustFactorResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *SetTrustFactorResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *SetTrustFactorResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *SetTrustFactorResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *SetTrustFactorResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *SetTrustFactorResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *SetTrustFactorResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *SetTrustFactorResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *SetTrustFactorResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *SetTrustFactorResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *SetTrustFactorResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *SetTrustFactorResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *SetTrustFactorResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *SetTrustFactorResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *SetTrustFactorResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *SetTrustFactorResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *SetTrustFactorResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *SetTrustFactorResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *SetTrustFactorResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *SetTrustFactorResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *SetTrustFactorResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *SetTrustFactorResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *SetTrustFactorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *SetTrustFactorResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *SetTrustFactorResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockCommentPublicResponse.md b/client/docs/UnBlockCommentPublicResponse.md deleted file mode 100644 index b2264e8..0000000 --- a/client/docs/UnBlockCommentPublicResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# UnBlockCommentPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUnBlockCommentPublicResponse - -`func NewUnBlockCommentPublicResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *UnBlockCommentPublicResponse` - -NewUnBlockCommentPublicResponse instantiates a new UnBlockCommentPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUnBlockCommentPublicResponseWithDefaults - -`func NewUnBlockCommentPublicResponseWithDefaults() *UnBlockCommentPublicResponse` - -NewUnBlockCommentPublicResponseWithDefaults instantiates a new UnBlockCommentPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UnBlockCommentPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UnBlockCommentPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UnBlockCommentPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCommentStatuses - -`func (o *UnBlockCommentPublicResponse) GetCommentStatuses() map[string]bool` - -GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. - -### GetCommentStatusesOk - -`func (o *UnBlockCommentPublicResponse) GetCommentStatusesOk() (*map[string]bool, bool)` - -GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentStatuses - -`func (o *UnBlockCommentPublicResponse) SetCommentStatuses(v map[string]bool)` - -SetCommentStatuses sets CommentStatuses field to given value. - - -### GetReason - -`func (o *UnBlockCommentPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UnBlockCommentPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UnBlockCommentPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UnBlockCommentPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UnBlockCommentPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UnBlockCommentPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UnBlockCommentPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UnBlockCommentPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UnBlockCommentPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UnBlockCommentPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UnBlockCommentPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UnBlockCommentPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UnBlockCommentPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UnBlockCommentPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UnBlockCommentPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UnBlockCommentPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UnBlockCommentPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UnBlockCommentPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UnBlockCommentPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UnBlockCommentPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UnBlockCommentPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UnBlockCommentPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UnBlockCommentPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UnBlockCommentPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UnBlockCommentPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UnBlockCommentPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnBlockUserFromCommentResponse.md b/client/docs/UnBlockUserFromCommentResponse.md deleted file mode 100644 index 4568bcd..0000000 --- a/client/docs/UnBlockUserFromCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# UnBlockUserFromCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**CommentStatuses** | **map[string]bool** | Construct a type with a set of properties K of type T | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUnBlockUserFromCommentResponse - -`func NewUnBlockUserFromCommentResponse(status APIStatus, commentStatuses map[string]bool, reason string, code string, ) *UnBlockUserFromCommentResponse` - -NewUnBlockUserFromCommentResponse instantiates a new UnBlockUserFromCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUnBlockUserFromCommentResponseWithDefaults - -`func NewUnBlockUserFromCommentResponseWithDefaults() *UnBlockUserFromCommentResponse` - -NewUnBlockUserFromCommentResponseWithDefaults instantiates a new UnBlockUserFromCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UnBlockUserFromCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UnBlockUserFromCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UnBlockUserFromCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCommentStatuses - -`func (o *UnBlockUserFromCommentResponse) GetCommentStatuses() map[string]bool` - -GetCommentStatuses returns the CommentStatuses field if non-nil, zero value otherwise. - -### GetCommentStatusesOk - -`func (o *UnBlockUserFromCommentResponse) GetCommentStatusesOk() (*map[string]bool, bool)` - -GetCommentStatusesOk returns a tuple with the CommentStatuses field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentStatuses - -`func (o *UnBlockUserFromCommentResponse) SetCommentStatuses(v map[string]bool)` - -SetCommentStatuses sets CommentStatuses field to given value. - - -### GetReason - -`func (o *UnBlockUserFromCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UnBlockUserFromCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UnBlockUserFromCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UnBlockUserFromCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UnBlockUserFromCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UnBlockUserFromCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UnBlockUserFromCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UnBlockUserFromCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UnBlockUserFromCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UnBlockUserFromCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UnBlockUserFromCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UnBlockUserFromCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UnBlockUserFromCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UnBlockUserFromCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UnBlockUserFromCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UnBlockUserFromCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UnBlockUserFromCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UnBlockUserFromCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UnBlockUserFromCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UnBlockUserFromCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UnBlockUserFromCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UnBlockUserFromCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UnBlockUserFromCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UnBlockUserFromCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UnBlockUserFromCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UnBlockUserFromCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnFlagCommentResponse.md b/client/docs/UnFlagCommentResponse.md deleted file mode 100644 index cd42254..0000000 --- a/client/docs/UnFlagCommentResponse.md +++ /dev/null @@ -1,275 +0,0 @@ -# UnFlagCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**StatusCode** | Pointer to **int32** | | [optional] -**Status** | [**APIStatus**](APIStatus.md) | | -**Code** | **string** | | -**Reason** | **string** | | -**WasUnapproved** | Pointer to **bool** | | [optional] -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUnFlagCommentResponse - -`func NewUnFlagCommentResponse(status APIStatus, code string, reason string, ) *UnFlagCommentResponse` - -NewUnFlagCommentResponse instantiates a new UnFlagCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUnFlagCommentResponseWithDefaults - -`func NewUnFlagCommentResponseWithDefaults() *UnFlagCommentResponse` - -NewUnFlagCommentResponseWithDefaults instantiates a new UnFlagCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatusCode - -`func (o *UnFlagCommentResponse) GetStatusCode() int32` - -GetStatusCode returns the StatusCode field if non-nil, zero value otherwise. - -### GetStatusCodeOk - -`func (o *UnFlagCommentResponse) GetStatusCodeOk() (*int32, bool)` - -GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusCode - -`func (o *UnFlagCommentResponse) SetStatusCode(v int32)` - -SetStatusCode sets StatusCode field to given value. - -### HasStatusCode - -`func (o *UnFlagCommentResponse) HasStatusCode() bool` - -HasStatusCode returns a boolean if a field has been set. - -### GetStatus - -`func (o *UnFlagCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UnFlagCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UnFlagCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetCode - -`func (o *UnFlagCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UnFlagCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UnFlagCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetReason - -`func (o *UnFlagCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UnFlagCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UnFlagCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetWasUnapproved - -`func (o *UnFlagCommentResponse) GetWasUnapproved() bool` - -GetWasUnapproved returns the WasUnapproved field if non-nil, zero value otherwise. - -### GetWasUnapprovedOk - -`func (o *UnFlagCommentResponse) GetWasUnapprovedOk() (*bool, bool)` - -GetWasUnapprovedOk returns a tuple with the WasUnapproved field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWasUnapproved - -`func (o *UnFlagCommentResponse) SetWasUnapproved(v bool)` - -SetWasUnapproved sets WasUnapproved field to given value. - -### HasWasUnapproved - -`func (o *UnFlagCommentResponse) HasWasUnapproved() bool` - -HasWasUnapproved returns a boolean if a field has been set. - -### GetSecondaryCode - -`func (o *UnFlagCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UnFlagCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UnFlagCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UnFlagCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UnFlagCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UnFlagCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UnFlagCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UnFlagCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UnFlagCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UnFlagCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UnFlagCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UnFlagCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UnFlagCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UnFlagCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UnFlagCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UnFlagCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UnFlagCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UnFlagCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UnFlagCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UnFlagCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnLockCommentResponse.md b/client/docs/UnLockCommentResponse.md deleted file mode 100644 index 9633fd5..0000000 --- a/client/docs/UnLockCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UnLockCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUnLockCommentResponse - -`func NewUnLockCommentResponse(status APIStatus, reason string, code string, ) *UnLockCommentResponse` - -NewUnLockCommentResponse instantiates a new UnLockCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUnLockCommentResponseWithDefaults - -`func NewUnLockCommentResponseWithDefaults() *UnLockCommentResponse` - -NewUnLockCommentResponseWithDefaults instantiates a new UnLockCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UnLockCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UnLockCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UnLockCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UnLockCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UnLockCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UnLockCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UnLockCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UnLockCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UnLockCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UnLockCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UnLockCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UnLockCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UnLockCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UnLockCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UnLockCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UnLockCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UnLockCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UnLockCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UnLockCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UnLockCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UnLockCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UnLockCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UnLockCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UnLockCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UnLockCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UnLockCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UnLockCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UnLockCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UnLockCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UnPinCommentResponse.md b/client/docs/UnPinCommentResponse.md deleted file mode 100644 index 9252bf7..0000000 --- a/client/docs/UnPinCommentResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# UnPinCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CommentPositions** | [**map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue**](RecordStringBeforeStringOrNullAfterStringOrNullValue.md) | Construct a type with a set of properties K of type T | -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUnPinCommentResponse - -`func NewUnPinCommentResponse(commentPositions map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, status APIStatus, reason string, code string, ) *UnPinCommentResponse` - -NewUnPinCommentResponse instantiates a new UnPinCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUnPinCommentResponseWithDefaults - -`func NewUnPinCommentResponseWithDefaults() *UnPinCommentResponse` - -NewUnPinCommentResponseWithDefaults instantiates a new UnPinCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCommentPositions - -`func (o *UnPinCommentResponse) GetCommentPositions() map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue` - -GetCommentPositions returns the CommentPositions field if non-nil, zero value otherwise. - -### GetCommentPositionsOk - -`func (o *UnPinCommentResponse) GetCommentPositionsOk() (*map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue, bool)` - -GetCommentPositionsOk returns a tuple with the CommentPositions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCommentPositions - -`func (o *UnPinCommentResponse) SetCommentPositions(v map[string]RecordStringBeforeStringOrNullAfterStringOrNullValue)` - -SetCommentPositions sets CommentPositions field to given value. - - -### GetStatus - -`func (o *UnPinCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UnPinCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UnPinCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UnPinCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UnPinCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UnPinCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UnPinCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UnPinCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UnPinCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UnPinCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UnPinCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UnPinCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UnPinCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UnPinCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UnPinCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UnPinCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UnPinCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UnPinCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UnPinCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UnPinCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UnPinCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UnPinCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UnPinCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UnPinCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UnPinCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UnPinCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UnPinCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UnPinCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UnPinCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateCommentResponse.md b/client/docs/UpdateCommentResponse.md deleted file mode 100644 index c9a2c25..0000000 --- a/client/docs/UpdateCommentResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateCommentResponse - -`func NewUpdateCommentResponse(status APIStatus, reason string, code string, ) *UpdateCommentResponse` - -NewUpdateCommentResponse instantiates a new UpdateCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateCommentResponseWithDefaults - -`func NewUpdateCommentResponseWithDefaults() *UpdateCommentResponse` - -NewUpdateCommentResponseWithDefaults instantiates a new UpdateCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateEmailTemplateResponse.md b/client/docs/UpdateEmailTemplateResponse.md deleted file mode 100644 index 5abdc5a..0000000 --- a/client/docs/UpdateEmailTemplateResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateEmailTemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateEmailTemplateResponse - -`func NewUpdateEmailTemplateResponse(status APIStatus, reason string, code string, ) *UpdateEmailTemplateResponse` - -NewUpdateEmailTemplateResponse instantiates a new UpdateEmailTemplateResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateEmailTemplateResponseWithDefaults - -`func NewUpdateEmailTemplateResponseWithDefaults() *UpdateEmailTemplateResponse` - -NewUpdateEmailTemplateResponseWithDefaults instantiates a new UpdateEmailTemplateResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateEmailTemplateResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateEmailTemplateResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateEmailTemplateResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateEmailTemplateResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateEmailTemplateResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateEmailTemplateResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateEmailTemplateResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateEmailTemplateResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateEmailTemplateResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateEmailTemplateResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateEmailTemplateResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateEmailTemplateResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateEmailTemplateResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateEmailTemplateResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateEmailTemplateResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateEmailTemplateResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateEmailTemplateResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateEmailTemplateResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateEmailTemplateResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateEmailTemplateResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateEmailTemplateResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateEmailTemplateResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateEmailTemplateResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateEmailTemplateResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateEmailTemplateResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateEmailTemplateResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateEmailTemplateResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateEmailTemplateResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateEmailTemplateResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostPublicResponse.md b/client/docs/UpdateFeedPostPublicResponse.md deleted file mode 100644 index 3c225fd..0000000 --- a/client/docs/UpdateFeedPostPublicResponse.md +++ /dev/null @@ -1,244 +0,0 @@ -# UpdateFeedPostPublicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**FeedPost** | [**FeedPost**](FeedPost.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateFeedPostPublicResponse - -`func NewUpdateFeedPostPublicResponse(status APIStatus, feedPost FeedPost, reason string, code string, ) *UpdateFeedPostPublicResponse` - -NewUpdateFeedPostPublicResponse instantiates a new UpdateFeedPostPublicResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateFeedPostPublicResponseWithDefaults - -`func NewUpdateFeedPostPublicResponseWithDefaults() *UpdateFeedPostPublicResponse` - -NewUpdateFeedPostPublicResponseWithDefaults instantiates a new UpdateFeedPostPublicResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateFeedPostPublicResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateFeedPostPublicResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetFeedPost - -`func (o *UpdateFeedPostPublicResponse) GetFeedPost() FeedPost` - -GetFeedPost returns the FeedPost field if non-nil, zero value otherwise. - -### GetFeedPostOk - -`func (o *UpdateFeedPostPublicResponse) GetFeedPostOk() (*FeedPost, bool)` - -GetFeedPostOk returns a tuple with the FeedPost field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFeedPost - -`func (o *UpdateFeedPostPublicResponse) SetFeedPost(v FeedPost)` - -SetFeedPost sets FeedPost field to given value. - - -### GetReason - -`func (o *UpdateFeedPostPublicResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateFeedPostPublicResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateFeedPostPublicResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateFeedPostPublicResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateFeedPostPublicResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateFeedPostPublicResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateFeedPostPublicResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateFeedPostPublicResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateFeedPostPublicResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateFeedPostPublicResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateFeedPostPublicResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateFeedPostPublicResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateFeedPostPublicResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateFeedPostPublicResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateFeedPostPublicResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateFeedPostPublicResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateFeedPostPublicResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateFeedPostPublicResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateFeedPostPublicResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateFeedPostPublicResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateFeedPostPublicResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateFeedPostPublicResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateFeedPostPublicResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateFeedPostPublicResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateFeedPostPublicResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateFeedPostPublicResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateFeedPostResponse.md b/client/docs/UpdateFeedPostResponse.md deleted file mode 100644 index 2b068d4..0000000 --- a/client/docs/UpdateFeedPostResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateFeedPostResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateFeedPostResponse - -`func NewUpdateFeedPostResponse(status APIStatus, reason string, code string, ) *UpdateFeedPostResponse` - -NewUpdateFeedPostResponse instantiates a new UpdateFeedPostResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateFeedPostResponseWithDefaults - -`func NewUpdateFeedPostResponseWithDefaults() *UpdateFeedPostResponse` - -NewUpdateFeedPostResponseWithDefaults instantiates a new UpdateFeedPostResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateFeedPostResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateFeedPostResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateFeedPostResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateFeedPostResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateFeedPostResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateFeedPostResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateFeedPostResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateFeedPostResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateFeedPostResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateFeedPostResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateFeedPostResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateFeedPostResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateFeedPostResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateFeedPostResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateFeedPostResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateFeedPostResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateFeedPostResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateFeedPostResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateFeedPostResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateFeedPostResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateFeedPostResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateFeedPostResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateFeedPostResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateFeedPostResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateFeedPostResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateFeedPostResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateFeedPostResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateFeedPostResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateFeedPostResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateModeratorResponse.md b/client/docs/UpdateModeratorResponse.md deleted file mode 100644 index f5d725e..0000000 --- a/client/docs/UpdateModeratorResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateModeratorResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateModeratorResponse - -`func NewUpdateModeratorResponse(status APIStatus, reason string, code string, ) *UpdateModeratorResponse` - -NewUpdateModeratorResponse instantiates a new UpdateModeratorResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateModeratorResponseWithDefaults - -`func NewUpdateModeratorResponseWithDefaults() *UpdateModeratorResponse` - -NewUpdateModeratorResponseWithDefaults instantiates a new UpdateModeratorResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateModeratorResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateModeratorResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateModeratorResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateModeratorResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateModeratorResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateModeratorResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateModeratorResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateModeratorResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateModeratorResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateModeratorResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateModeratorResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateModeratorResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateModeratorResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateModeratorResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateModeratorResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateModeratorResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateModeratorResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateModeratorResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateModeratorResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateModeratorResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateModeratorResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateModeratorResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateModeratorResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateModeratorResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateModeratorResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateModeratorResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateModeratorResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateModeratorResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateModeratorResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateNotificationResponse.md b/client/docs/UpdateNotificationResponse.md deleted file mode 100644 index 6fc8cdf..0000000 --- a/client/docs/UpdateNotificationResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateNotificationResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateNotificationResponse - -`func NewUpdateNotificationResponse(status APIStatus, reason string, code string, ) *UpdateNotificationResponse` - -NewUpdateNotificationResponse instantiates a new UpdateNotificationResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateNotificationResponseWithDefaults - -`func NewUpdateNotificationResponseWithDefaults() *UpdateNotificationResponse` - -NewUpdateNotificationResponseWithDefaults instantiates a new UpdateNotificationResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateNotificationResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateNotificationResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateNotificationResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateNotificationResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateNotificationResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateNotificationResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateNotificationResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateNotificationResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateNotificationResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateNotificationResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateNotificationResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateNotificationResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateNotificationResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateNotificationResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateNotificationResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateNotificationResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateNotificationResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateNotificationResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateNotificationResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateNotificationResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateNotificationResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateNotificationResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateNotificationResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateNotificationResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateNotificationResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateNotificationResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateNotificationResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateNotificationResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateNotificationResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionConfigResponse.md b/client/docs/UpdateQuestionConfigResponse.md deleted file mode 100644 index f6517fc..0000000 --- a/client/docs/UpdateQuestionConfigResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateQuestionConfigResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateQuestionConfigResponse - -`func NewUpdateQuestionConfigResponse(status APIStatus, reason string, code string, ) *UpdateQuestionConfigResponse` - -NewUpdateQuestionConfigResponse instantiates a new UpdateQuestionConfigResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateQuestionConfigResponseWithDefaults - -`func NewUpdateQuestionConfigResponseWithDefaults() *UpdateQuestionConfigResponse` - -NewUpdateQuestionConfigResponseWithDefaults instantiates a new UpdateQuestionConfigResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateQuestionConfigResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateQuestionConfigResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateQuestionConfigResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateQuestionConfigResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateQuestionConfigResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateQuestionConfigResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateQuestionConfigResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateQuestionConfigResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateQuestionConfigResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateQuestionConfigResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateQuestionConfigResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateQuestionConfigResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateQuestionConfigResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateQuestionConfigResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateQuestionConfigResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateQuestionConfigResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateQuestionConfigResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateQuestionConfigResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateQuestionConfigResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateQuestionConfigResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateQuestionConfigResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateQuestionConfigResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateQuestionConfigResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateQuestionConfigResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateQuestionConfigResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateQuestionConfigResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateQuestionConfigResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateQuestionConfigResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateQuestionConfigResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateQuestionResultResponse.md b/client/docs/UpdateQuestionResultResponse.md deleted file mode 100644 index 4a449e6..0000000 --- a/client/docs/UpdateQuestionResultResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateQuestionResultResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateQuestionResultResponse - -`func NewUpdateQuestionResultResponse(status APIStatus, reason string, code string, ) *UpdateQuestionResultResponse` - -NewUpdateQuestionResultResponse instantiates a new UpdateQuestionResultResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateQuestionResultResponseWithDefaults - -`func NewUpdateQuestionResultResponseWithDefaults() *UpdateQuestionResultResponse` - -NewUpdateQuestionResultResponseWithDefaults instantiates a new UpdateQuestionResultResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateQuestionResultResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateQuestionResultResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateQuestionResultResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateQuestionResultResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateQuestionResultResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateQuestionResultResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateQuestionResultResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateQuestionResultResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateQuestionResultResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateQuestionResultResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateQuestionResultResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateQuestionResultResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateQuestionResultResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateQuestionResultResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateQuestionResultResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateQuestionResultResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateQuestionResultResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateQuestionResultResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateQuestionResultResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateQuestionResultResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateQuestionResultResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateQuestionResultResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateQuestionResultResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateQuestionResultResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateQuestionResultResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateQuestionResultResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateQuestionResultResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateQuestionResultResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateQuestionResultResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantPackageResponse.md b/client/docs/UpdateTenantPackageResponse.md deleted file mode 100644 index a841638..0000000 --- a/client/docs/UpdateTenantPackageResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateTenantPackageResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateTenantPackageResponse - -`func NewUpdateTenantPackageResponse(status APIStatus, reason string, code string, ) *UpdateTenantPackageResponse` - -NewUpdateTenantPackageResponse instantiates a new UpdateTenantPackageResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateTenantPackageResponseWithDefaults - -`func NewUpdateTenantPackageResponseWithDefaults() *UpdateTenantPackageResponse` - -NewUpdateTenantPackageResponseWithDefaults instantiates a new UpdateTenantPackageResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateTenantPackageResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateTenantPackageResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateTenantPackageResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateTenantPackageResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateTenantPackageResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateTenantPackageResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateTenantPackageResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateTenantPackageResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateTenantPackageResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateTenantPackageResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateTenantPackageResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateTenantPackageResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateTenantPackageResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateTenantPackageResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateTenantPackageResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateTenantPackageResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateTenantPackageResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateTenantPackageResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateTenantPackageResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateTenantPackageResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateTenantPackageResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateTenantPackageResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateTenantPackageResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateTenantPackageResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateTenantPackageResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateTenantPackageResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateTenantPackageResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateTenantPackageResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateTenantPackageResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantResponse.md b/client/docs/UpdateTenantResponse.md deleted file mode 100644 index a64bec1..0000000 --- a/client/docs/UpdateTenantResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateTenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateTenantResponse - -`func NewUpdateTenantResponse(status APIStatus, reason string, code string, ) *UpdateTenantResponse` - -NewUpdateTenantResponse instantiates a new UpdateTenantResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateTenantResponseWithDefaults - -`func NewUpdateTenantResponseWithDefaults() *UpdateTenantResponse` - -NewUpdateTenantResponseWithDefaults instantiates a new UpdateTenantResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateTenantResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateTenantResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateTenantResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateTenantResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateTenantResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateTenantResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateTenantResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateTenantResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateTenantResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateTenantResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateTenantResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateTenantResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateTenantResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateTenantResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateTenantResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateTenantResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateTenantResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateTenantResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateTenantResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateTenantResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateTenantResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateTenantResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateTenantResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateTenantResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateTenantResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateTenantResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateTenantResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateTenantResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateTenantResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateTenantUserResponse.md b/client/docs/UpdateTenantUserResponse.md deleted file mode 100644 index 3d7f66c..0000000 --- a/client/docs/UpdateTenantUserResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateTenantUserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateTenantUserResponse - -`func NewUpdateTenantUserResponse(status APIStatus, reason string, code string, ) *UpdateTenantUserResponse` - -NewUpdateTenantUserResponse instantiates a new UpdateTenantUserResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateTenantUserResponseWithDefaults - -`func NewUpdateTenantUserResponseWithDefaults() *UpdateTenantUserResponse` - -NewUpdateTenantUserResponseWithDefaults instantiates a new UpdateTenantUserResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateTenantUserResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateTenantUserResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateTenantUserResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateTenantUserResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateTenantUserResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateTenantUserResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateTenantUserResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateTenantUserResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateTenantUserResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateTenantUserResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateTenantUserResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateTenantUserResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateTenantUserResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateTenantUserResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateTenantUserResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateTenantUserResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateTenantUserResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateTenantUserResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateTenantUserResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateTenantUserResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateTenantUserResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateTenantUserResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateTenantUserResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateTenantUserResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateTenantUserResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateTenantUserResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateTenantUserResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateTenantUserResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateTenantUserResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserBadgeResponse.md b/client/docs/UpdateUserBadgeResponse.md deleted file mode 100644 index a50e8c5..0000000 --- a/client/docs/UpdateUserBadgeResponse.md +++ /dev/null @@ -1,223 +0,0 @@ -# UpdateUserBadgeResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewUpdateUserBadgeResponse - -`func NewUpdateUserBadgeResponse(status APIStatus, reason string, code string, ) *UpdateUserBadgeResponse` - -NewUpdateUserBadgeResponse instantiates a new UpdateUserBadgeResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewUpdateUserBadgeResponseWithDefaults - -`func NewUpdateUserBadgeResponseWithDefaults() *UpdateUserBadgeResponse` - -NewUpdateUserBadgeResponseWithDefaults instantiates a new UpdateUserBadgeResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *UpdateUserBadgeResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *UpdateUserBadgeResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *UpdateUserBadgeResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetReason - -`func (o *UpdateUserBadgeResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateUserBadgeResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateUserBadgeResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateUserBadgeResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateUserBadgeResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateUserBadgeResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateUserBadgeResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateUserBadgeResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateUserBadgeResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateUserBadgeResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateUserBadgeResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateUserBadgeResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateUserBadgeResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateUserBadgeResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateUserBadgeResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateUserBadgeResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateUserBadgeResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateUserBadgeResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateUserBadgeResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateUserBadgeResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateUserBadgeResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateUserBadgeResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateUserBadgeResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateUserBadgeResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateUserBadgeResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateUserBadgeResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md index 47f1be3..bc0f6c8 100644 --- a/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md @@ -8,19 +8,12 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationCommentSubscriptionStatusResponse -`func NewUpdateUserNotificationCommentSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationCommentSubscriptionStatusResponse` +`func NewUpdateUserNotificationCommentSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationCommentSubscriptionStatusResponse` NewUpdateUserNotificationCommentSubscriptionStatusResponse instantiates a new UpdateUserNotificationCommentSubscriptionStatusResponse object This constructor will assign default values to properties that have it defined, @@ -115,171 +108,6 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. -### GetReason - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateUserNotificationCommentSubscriptionStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md index f3efbec..d882a63 100644 --- a/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +++ b/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md @@ -8,19 +8,12 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationPageSubscriptionStatusResponse -`func NewUpdateUserNotificationPageSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationPageSubscriptionStatusResponse` +`func NewUpdateUserNotificationPageSubscriptionStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationPageSubscriptionStatusResponse` NewUpdateUserNotificationPageSubscriptionStatusResponse instantiates a new UpdateUserNotificationPageSubscriptionStatusResponse object This constructor will assign default values to properties that have it defined, @@ -115,171 +108,6 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. -### GetReason - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateUserNotificationPageSubscriptionStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/UpdateUserNotificationStatusResponse.md b/client/docs/UpdateUserNotificationStatusResponse.md index c33bd04..9dd4ff9 100644 --- a/client/docs/UpdateUserNotificationStatusResponse.md +++ b/client/docs/UpdateUserNotificationStatusResponse.md @@ -8,19 +8,12 @@ Name | Type | Description | Notes **MatchedCount** | **int64** | | **ModifiedCount** | **int64** | | **Note** | **string** | | -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] ## Methods ### NewUpdateUserNotificationStatusResponse -`func NewUpdateUserNotificationStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, reason string, code string, ) *UpdateUserNotificationStatusResponse` +`func NewUpdateUserNotificationStatusResponse(status APIStatus, matchedCount int64, modifiedCount int64, note string, ) *UpdateUserNotificationStatusResponse` NewUpdateUserNotificationStatusResponse instantiates a new UpdateUserNotificationStatusResponse object This constructor will assign default values to properties that have it defined, @@ -115,171 +108,6 @@ and a boolean to check if the value has been set. SetNote sets Note field to given value. -### GetReason - -`func (o *UpdateUserNotificationStatusResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *UpdateUserNotificationStatusResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *UpdateUserNotificationStatusResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *UpdateUserNotificationStatusResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *UpdateUserNotificationStatusResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *UpdateUserNotificationStatusResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *UpdateUserNotificationStatusResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *UpdateUserNotificationStatusResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *UpdateUserNotificationStatusResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *UpdateUserNotificationStatusResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *UpdateUserNotificationStatusResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *UpdateUserNotificationStatusResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *UpdateUserNotificationStatusResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *UpdateUserNotificationStatusResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *UpdateUserNotificationStatusResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *UpdateUserNotificationStatusResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *UpdateUserNotificationStatusResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *UpdateUserNotificationStatusResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *UpdateUserNotificationStatusResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *UpdateUserNotificationStatusResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *UpdateUserNotificationStatusResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *UpdateUserNotificationStatusResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *UpdateUserNotificationStatusResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *UpdateUserNotificationStatusResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *UpdateUserNotificationStatusResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *UpdateUserNotificationStatusResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/client/docs/VoteCommentResponse.md b/client/docs/VoteCommentResponse.md deleted file mode 100644 index 472ff3e..0000000 --- a/client/docs/VoteCommentResponse.md +++ /dev/null @@ -1,327 +0,0 @@ -# VoteCommentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Status** | [**APIStatus**](APIStatus.md) | | -**VoteId** | Pointer to **string** | | [optional] -**IsVerified** | Pointer to **bool** | | [optional] -**User** | Pointer to [**VoteResponseUser**](VoteResponseUser.md) | | [optional] -**EditKey** | Pointer to **string** | | [optional] -**Reason** | **string** | | -**Code** | **string** | | -**SecondaryCode** | Pointer to **string** | | [optional] -**BannedUntil** | Pointer to **int64** | | [optional] -**MaxCharacterLength** | Pointer to **int32** | | [optional] -**TranslatedError** | Pointer to **string** | | [optional] -**CustomConfig** | Pointer to [**CustomConfigParameters**](CustomConfigParameters.md) | | [optional] - -## Methods - -### NewVoteCommentResponse - -`func NewVoteCommentResponse(status APIStatus, reason string, code string, ) *VoteCommentResponse` - -NewVoteCommentResponse instantiates a new VoteCommentResponse object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewVoteCommentResponseWithDefaults - -`func NewVoteCommentResponseWithDefaults() *VoteCommentResponse` - -NewVoteCommentResponseWithDefaults instantiates a new VoteCommentResponse object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStatus - -`func (o *VoteCommentResponse) GetStatus() APIStatus` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *VoteCommentResponse) GetStatusOk() (*APIStatus, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *VoteCommentResponse) SetStatus(v APIStatus)` - -SetStatus sets Status field to given value. - - -### GetVoteId - -`func (o *VoteCommentResponse) GetVoteId() string` - -GetVoteId returns the VoteId field if non-nil, zero value otherwise. - -### GetVoteIdOk - -`func (o *VoteCommentResponse) GetVoteIdOk() (*string, bool)` - -GetVoteIdOk returns a tuple with the VoteId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVoteId - -`func (o *VoteCommentResponse) SetVoteId(v string)` - -SetVoteId sets VoteId field to given value. - -### HasVoteId - -`func (o *VoteCommentResponse) HasVoteId() bool` - -HasVoteId returns a boolean if a field has been set. - -### GetIsVerified - -`func (o *VoteCommentResponse) GetIsVerified() bool` - -GetIsVerified returns the IsVerified field if non-nil, zero value otherwise. - -### GetIsVerifiedOk - -`func (o *VoteCommentResponse) GetIsVerifiedOk() (*bool, bool)` - -GetIsVerifiedOk returns a tuple with the IsVerified field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsVerified - -`func (o *VoteCommentResponse) SetIsVerified(v bool)` - -SetIsVerified sets IsVerified field to given value. - -### HasIsVerified - -`func (o *VoteCommentResponse) HasIsVerified() bool` - -HasIsVerified returns a boolean if a field has been set. - -### GetUser - -`func (o *VoteCommentResponse) GetUser() VoteResponseUser` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *VoteCommentResponse) GetUserOk() (*VoteResponseUser, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *VoteCommentResponse) SetUser(v VoteResponseUser)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *VoteCommentResponse) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetEditKey - -`func (o *VoteCommentResponse) GetEditKey() string` - -GetEditKey returns the EditKey field if non-nil, zero value otherwise. - -### GetEditKeyOk - -`func (o *VoteCommentResponse) GetEditKeyOk() (*string, bool)` - -GetEditKeyOk returns a tuple with the EditKey field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEditKey - -`func (o *VoteCommentResponse) SetEditKey(v string)` - -SetEditKey sets EditKey field to given value. - -### HasEditKey - -`func (o *VoteCommentResponse) HasEditKey() bool` - -HasEditKey returns a boolean if a field has been set. - -### GetReason - -`func (o *VoteCommentResponse) GetReason() string` - -GetReason returns the Reason field if non-nil, zero value otherwise. - -### GetReasonOk - -`func (o *VoteCommentResponse) GetReasonOk() (*string, bool)` - -GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetReason - -`func (o *VoteCommentResponse) SetReason(v string)` - -SetReason sets Reason field to given value. - - -### GetCode - -`func (o *VoteCommentResponse) GetCode() string` - -GetCode returns the Code field if non-nil, zero value otherwise. - -### GetCodeOk - -`func (o *VoteCommentResponse) GetCodeOk() (*string, bool)` - -GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCode - -`func (o *VoteCommentResponse) SetCode(v string)` - -SetCode sets Code field to given value. - - -### GetSecondaryCode - -`func (o *VoteCommentResponse) GetSecondaryCode() string` - -GetSecondaryCode returns the SecondaryCode field if non-nil, zero value otherwise. - -### GetSecondaryCodeOk - -`func (o *VoteCommentResponse) GetSecondaryCodeOk() (*string, bool)` - -GetSecondaryCodeOk returns a tuple with the SecondaryCode field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecondaryCode - -`func (o *VoteCommentResponse) SetSecondaryCode(v string)` - -SetSecondaryCode sets SecondaryCode field to given value. - -### HasSecondaryCode - -`func (o *VoteCommentResponse) HasSecondaryCode() bool` - -HasSecondaryCode returns a boolean if a field has been set. - -### GetBannedUntil - -`func (o *VoteCommentResponse) GetBannedUntil() int64` - -GetBannedUntil returns the BannedUntil field if non-nil, zero value otherwise. - -### GetBannedUntilOk - -`func (o *VoteCommentResponse) GetBannedUntilOk() (*int64, bool)` - -GetBannedUntilOk returns a tuple with the BannedUntil field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetBannedUntil - -`func (o *VoteCommentResponse) SetBannedUntil(v int64)` - -SetBannedUntil sets BannedUntil field to given value. - -### HasBannedUntil - -`func (o *VoteCommentResponse) HasBannedUntil() bool` - -HasBannedUntil returns a boolean if a field has been set. - -### GetMaxCharacterLength - -`func (o *VoteCommentResponse) GetMaxCharacterLength() int32` - -GetMaxCharacterLength returns the MaxCharacterLength field if non-nil, zero value otherwise. - -### GetMaxCharacterLengthOk - -`func (o *VoteCommentResponse) GetMaxCharacterLengthOk() (*int32, bool)` - -GetMaxCharacterLengthOk returns a tuple with the MaxCharacterLength field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMaxCharacterLength - -`func (o *VoteCommentResponse) SetMaxCharacterLength(v int32)` - -SetMaxCharacterLength sets MaxCharacterLength field to given value. - -### HasMaxCharacterLength - -`func (o *VoteCommentResponse) HasMaxCharacterLength() bool` - -HasMaxCharacterLength returns a boolean if a field has been set. - -### GetTranslatedError - -`func (o *VoteCommentResponse) GetTranslatedError() string` - -GetTranslatedError returns the TranslatedError field if non-nil, zero value otherwise. - -### GetTranslatedErrorOk - -`func (o *VoteCommentResponse) GetTranslatedErrorOk() (*string, bool)` - -GetTranslatedErrorOk returns a tuple with the TranslatedError field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTranslatedError - -`func (o *VoteCommentResponse) SetTranslatedError(v string)` - -SetTranslatedError sets TranslatedError field to given value. - -### HasTranslatedError - -`func (o *VoteCommentResponse) HasTranslatedError() bool` - -HasTranslatedError returns a boolean if a field has been set. - -### GetCustomConfig - -`func (o *VoteCommentResponse) GetCustomConfig() CustomConfigParameters` - -GetCustomConfig returns the CustomConfig field if non-nil, zero value otherwise. - -### GetCustomConfigOk - -`func (o *VoteCommentResponse) GetCustomConfigOk() (*CustomConfigParameters, bool)` - -GetCustomConfigOk returns a tuple with the CustomConfig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomConfig - -`func (o *VoteCommentResponse) SetCustomConfig(v CustomConfigParameters)` - -SetCustomConfig sets CustomConfig field to given value. - -### HasCustomConfig - -`func (o *VoteCommentResponse) HasCustomConfig() bool` - -HasCustomConfig returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/client/model_add_hash_tag_response.go b/client/model_add_hash_tag_response.go deleted file mode 100644 index b293c5b..0000000 --- a/client/model_add_hash_tag_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// AddHashTagResponse struct for AddHashTagResponse -type AddHashTagResponse struct { - APIError *APIError - CreateHashTagResponse *CreateHashTagResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *AddHashTagResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateHashTagResponse - err = json.Unmarshal(data, &dst.CreateHashTagResponse); - if err == nil { - jsonCreateHashTagResponse, _ := json.Marshal(dst.CreateHashTagResponse) - if string(jsonCreateHashTagResponse) == "{}" { // empty struct - dst.CreateHashTagResponse = nil - } else { - return nil // data stored in dst.CreateHashTagResponse, return on the first match - } - } else { - dst.CreateHashTagResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(AddHashTagResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src AddHashTagResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateHashTagResponse != nil { - return json.Marshal(&src.CreateHashTagResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableAddHashTagResponse struct { - value *AddHashTagResponse - isSet bool -} - -func (v NullableAddHashTagResponse) Get() *AddHashTagResponse { - return v.value -} - -func (v *NullableAddHashTagResponse) Set(val *AddHashTagResponse) { - v.value = val - v.isSet = true -} - -func (v NullableAddHashTagResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableAddHashTagResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAddHashTagResponse(val *AddHashTagResponse) *NullableAddHashTagResponse { - return &NullableAddHashTagResponse{value: val, isSet: true} -} - -func (v NullableAddHashTagResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableAddHashTagResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_add_hash_tags_bulk_response.go b/client/model_add_hash_tags_bulk_response.go deleted file mode 100644 index 7b8e442..0000000 --- a/client/model_add_hash_tags_bulk_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// AddHashTagsBulkResponse struct for AddHashTagsBulkResponse -type AddHashTagsBulkResponse struct { - APIError *APIError - BulkCreateHashTagsResponse *BulkCreateHashTagsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *AddHashTagsBulkResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BulkCreateHashTagsResponse - err = json.Unmarshal(data, &dst.BulkCreateHashTagsResponse); - if err == nil { - jsonBulkCreateHashTagsResponse, _ := json.Marshal(dst.BulkCreateHashTagsResponse) - if string(jsonBulkCreateHashTagsResponse) == "{}" { // empty struct - dst.BulkCreateHashTagsResponse = nil - } else { - return nil // data stored in dst.BulkCreateHashTagsResponse, return on the first match - } - } else { - dst.BulkCreateHashTagsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(AddHashTagsBulkResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src AddHashTagsBulkResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BulkCreateHashTagsResponse != nil { - return json.Marshal(&src.BulkCreateHashTagsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableAddHashTagsBulkResponse struct { - value *AddHashTagsBulkResponse - isSet bool -} - -func (v NullableAddHashTagsBulkResponse) Get() *AddHashTagsBulkResponse { - return v.value -} - -func (v *NullableAddHashTagsBulkResponse) Set(val *AddHashTagsBulkResponse) { - v.value = val - v.isSet = true -} - -func (v NullableAddHashTagsBulkResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableAddHashTagsBulkResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAddHashTagsBulkResponse(val *AddHashTagsBulkResponse) *NullableAddHashTagsBulkResponse { - return &NullableAddHashTagsBulkResponse{value: val, isSet: true} -} - -func (v NullableAddHashTagsBulkResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableAddHashTagsBulkResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_aggregate_question_results_response_1.go b/client/model_aggregate_question_results_response_1.go deleted file mode 100644 index dc4a105..0000000 --- a/client/model_aggregate_question_results_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// AggregateQuestionResultsResponse1 struct for AggregateQuestionResultsResponse1 -type AggregateQuestionResultsResponse1 struct { - APIError *APIError - AggregateQuestionResultsResponse *AggregateQuestionResultsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *AggregateQuestionResultsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into AggregateQuestionResultsResponse - err = json.Unmarshal(data, &dst.AggregateQuestionResultsResponse); - if err == nil { - jsonAggregateQuestionResultsResponse, _ := json.Marshal(dst.AggregateQuestionResultsResponse) - if string(jsonAggregateQuestionResultsResponse) == "{}" { // empty struct - dst.AggregateQuestionResultsResponse = nil - } else { - return nil // data stored in dst.AggregateQuestionResultsResponse, return on the first match - } - } else { - dst.AggregateQuestionResultsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(AggregateQuestionResultsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src AggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.AggregateQuestionResultsResponse != nil { - return json.Marshal(&src.AggregateQuestionResultsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableAggregateQuestionResultsResponse1 struct { - value *AggregateQuestionResultsResponse1 - isSet bool -} - -func (v NullableAggregateQuestionResultsResponse1) Get() *AggregateQuestionResultsResponse1 { - return v.value -} - -func (v *NullableAggregateQuestionResultsResponse1) Set(val *AggregateQuestionResultsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableAggregateQuestionResultsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableAggregateQuestionResultsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAggregateQuestionResultsResponse1(val *AggregateQuestionResultsResponse1) *NullableAggregateQuestionResultsResponse1 { - return &NullableAggregateQuestionResultsResponse1{value: val, isSet: true} -} - -func (v NullableAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableAggregateQuestionResultsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_block_from_comment_public_response.go b/client/model_block_from_comment_public_response.go deleted file mode 100644 index 9141900..0000000 --- a/client/model_block_from_comment_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// BlockFromCommentPublicResponse struct for BlockFromCommentPublicResponse -type BlockFromCommentPublicResponse struct { - APIError *APIError - BlockSuccess *BlockSuccess -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *BlockFromCommentPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BlockSuccess - err = json.Unmarshal(data, &dst.BlockSuccess); - if err == nil { - jsonBlockSuccess, _ := json.Marshal(dst.BlockSuccess) - if string(jsonBlockSuccess) == "{}" { // empty struct - dst.BlockSuccess = nil - } else { - return nil // data stored in dst.BlockSuccess, return on the first match - } - } else { - dst.BlockSuccess = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(BlockFromCommentPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BlockFromCommentPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BlockSuccess != nil { - return json.Marshal(&src.BlockSuccess) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableBlockFromCommentPublicResponse struct { - value *BlockFromCommentPublicResponse - isSet bool -} - -func (v NullableBlockFromCommentPublicResponse) Get() *BlockFromCommentPublicResponse { - return v.value -} - -func (v *NullableBlockFromCommentPublicResponse) Set(val *BlockFromCommentPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableBlockFromCommentPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableBlockFromCommentPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBlockFromCommentPublicResponse(val *BlockFromCommentPublicResponse) *NullableBlockFromCommentPublicResponse { - return &NullableBlockFromCommentPublicResponse{value: val, isSet: true} -} - -func (v NullableBlockFromCommentPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBlockFromCommentPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_block_user_from_comment_response.go b/client/model_block_user_from_comment_response.go deleted file mode 100644 index d18f6b6..0000000 --- a/client/model_block_user_from_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// BlockUserFromCommentResponse struct for BlockUserFromCommentResponse -type BlockUserFromCommentResponse struct { - APIError *APIError - BlockSuccess *BlockSuccess -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *BlockUserFromCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BlockSuccess - err = json.Unmarshal(data, &dst.BlockSuccess); - if err == nil { - jsonBlockSuccess, _ := json.Marshal(dst.BlockSuccess) - if string(jsonBlockSuccess) == "{}" { // empty struct - dst.BlockSuccess = nil - } else { - return nil // data stored in dst.BlockSuccess, return on the first match - } - } else { - dst.BlockSuccess = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(BlockUserFromCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BlockSuccess != nil { - return json.Marshal(&src.BlockSuccess) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableBlockUserFromCommentResponse struct { - value *BlockUserFromCommentResponse - isSet bool -} - -func (v NullableBlockUserFromCommentResponse) Get() *BlockUserFromCommentResponse { - return v.value -} - -func (v *NullableBlockUserFromCommentResponse) Set(val *BlockUserFromCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableBlockUserFromCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableBlockUserFromCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBlockUserFromCommentResponse(val *BlockUserFromCommentResponse) *NullableBlockUserFromCommentResponse { - return &NullableBlockUserFromCommentResponse{value: val, isSet: true} -} - -func (v NullableBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBlockUserFromCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_bulk_aggregate_question_results_response_1.go b/client/model_bulk_aggregate_question_results_response_1.go deleted file mode 100644 index 5df4818..0000000 --- a/client/model_bulk_aggregate_question_results_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// BulkAggregateQuestionResultsResponse1 struct for BulkAggregateQuestionResultsResponse1 -type BulkAggregateQuestionResultsResponse1 struct { - APIError *APIError - BulkAggregateQuestionResultsResponse *BulkAggregateQuestionResultsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *BulkAggregateQuestionResultsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BulkAggregateQuestionResultsResponse - err = json.Unmarshal(data, &dst.BulkAggregateQuestionResultsResponse); - if err == nil { - jsonBulkAggregateQuestionResultsResponse, _ := json.Marshal(dst.BulkAggregateQuestionResultsResponse) - if string(jsonBulkAggregateQuestionResultsResponse) == "{}" { // empty struct - dst.BulkAggregateQuestionResultsResponse = nil - } else { - return nil // data stored in dst.BulkAggregateQuestionResultsResponse, return on the first match - } - } else { - dst.BulkAggregateQuestionResultsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(BulkAggregateQuestionResultsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src BulkAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BulkAggregateQuestionResultsResponse != nil { - return json.Marshal(&src.BulkAggregateQuestionResultsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableBulkAggregateQuestionResultsResponse1 struct { - value *BulkAggregateQuestionResultsResponse1 - isSet bool -} - -func (v NullableBulkAggregateQuestionResultsResponse1) Get() *BulkAggregateQuestionResultsResponse1 { - return v.value -} - -func (v *NullableBulkAggregateQuestionResultsResponse1) Set(val *BulkAggregateQuestionResultsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableBulkAggregateQuestionResultsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableBulkAggregateQuestionResultsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableBulkAggregateQuestionResultsResponse1(val *BulkAggregateQuestionResultsResponse1) *NullableBulkAggregateQuestionResultsResponse1 { - return &NullableBulkAggregateQuestionResultsResponse1{value: val, isSet: true} -} - -func (v NullableBulkAggregateQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableBulkAggregateQuestionResultsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_change_ticket_state_response_1.go b/client/model_change_ticket_state_response_1.go deleted file mode 100644 index d3a324c..0000000 --- a/client/model_change_ticket_state_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ChangeTicketStateResponse1 struct for ChangeTicketStateResponse1 -type ChangeTicketStateResponse1 struct { - APIError *APIError - ChangeTicketStateResponse *ChangeTicketStateResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ChangeTicketStateResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ChangeTicketStateResponse - err = json.Unmarshal(data, &dst.ChangeTicketStateResponse); - if err == nil { - jsonChangeTicketStateResponse, _ := json.Marshal(dst.ChangeTicketStateResponse) - if string(jsonChangeTicketStateResponse) == "{}" { // empty struct - dst.ChangeTicketStateResponse = nil - } else { - return nil // data stored in dst.ChangeTicketStateResponse, return on the first match - } - } else { - dst.ChangeTicketStateResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ChangeTicketStateResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ChangeTicketStateResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ChangeTicketStateResponse != nil { - return json.Marshal(&src.ChangeTicketStateResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableChangeTicketStateResponse1 struct { - value *ChangeTicketStateResponse1 - isSet bool -} - -func (v NullableChangeTicketStateResponse1) Get() *ChangeTicketStateResponse1 { - return v.value -} - -func (v *NullableChangeTicketStateResponse1) Set(val *ChangeTicketStateResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableChangeTicketStateResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableChangeTicketStateResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableChangeTicketStateResponse1(val *ChangeTicketStateResponse1) *NullableChangeTicketStateResponse1 { - return &NullableChangeTicketStateResponse1{value: val, isSet: true} -} - -func (v NullableChangeTicketStateResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableChangeTicketStateResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_checked_comments_for_blocked_response.go b/client/model_checked_comments_for_blocked_response.go deleted file mode 100644 index 2125d1c..0000000 --- a/client/model_checked_comments_for_blocked_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CheckedCommentsForBlockedResponse struct for CheckedCommentsForBlockedResponse -type CheckedCommentsForBlockedResponse struct { - APIError *APIError - CheckBlockedCommentsResponse *CheckBlockedCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CheckedCommentsForBlockedResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CheckBlockedCommentsResponse - err = json.Unmarshal(data, &dst.CheckBlockedCommentsResponse); - if err == nil { - jsonCheckBlockedCommentsResponse, _ := json.Marshal(dst.CheckBlockedCommentsResponse) - if string(jsonCheckBlockedCommentsResponse) == "{}" { // empty struct - dst.CheckBlockedCommentsResponse = nil - } else { - return nil // data stored in dst.CheckBlockedCommentsResponse, return on the first match - } - } else { - dst.CheckBlockedCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CheckedCommentsForBlockedResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CheckedCommentsForBlockedResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CheckBlockedCommentsResponse != nil { - return json.Marshal(&src.CheckBlockedCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCheckedCommentsForBlockedResponse struct { - value *CheckedCommentsForBlockedResponse - isSet bool -} - -func (v NullableCheckedCommentsForBlockedResponse) Get() *CheckedCommentsForBlockedResponse { - return v.value -} - -func (v *NullableCheckedCommentsForBlockedResponse) Set(val *CheckedCommentsForBlockedResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCheckedCommentsForBlockedResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCheckedCommentsForBlockedResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCheckedCommentsForBlockedResponse(val *CheckedCommentsForBlockedResponse) *NullableCheckedCommentsForBlockedResponse { - return &NullableCheckedCommentsForBlockedResponse{value: val, isSet: true} -} - -func (v NullableCheckedCommentsForBlockedResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCheckedCommentsForBlockedResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_combine_comments_with_question_results_response.go b/client/model_combine_comments_with_question_results_response.go deleted file mode 100644 index 221c11d..0000000 --- a/client/model_combine_comments_with_question_results_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CombineCommentsWithQuestionResultsResponse struct for CombineCommentsWithQuestionResultsResponse -type CombineCommentsWithQuestionResultsResponse struct { - APIError *APIError - CombineQuestionResultsWithCommentsResponse *CombineQuestionResultsWithCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CombineCommentsWithQuestionResultsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CombineQuestionResultsWithCommentsResponse - err = json.Unmarshal(data, &dst.CombineQuestionResultsWithCommentsResponse); - if err == nil { - jsonCombineQuestionResultsWithCommentsResponse, _ := json.Marshal(dst.CombineQuestionResultsWithCommentsResponse) - if string(jsonCombineQuestionResultsWithCommentsResponse) == "{}" { // empty struct - dst.CombineQuestionResultsWithCommentsResponse = nil - } else { - return nil // data stored in dst.CombineQuestionResultsWithCommentsResponse, return on the first match - } - } else { - dst.CombineQuestionResultsWithCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CombineCommentsWithQuestionResultsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CombineCommentsWithQuestionResultsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CombineQuestionResultsWithCommentsResponse != nil { - return json.Marshal(&src.CombineQuestionResultsWithCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCombineCommentsWithQuestionResultsResponse struct { - value *CombineCommentsWithQuestionResultsResponse - isSet bool -} - -func (v NullableCombineCommentsWithQuestionResultsResponse) Get() *CombineCommentsWithQuestionResultsResponse { - return v.value -} - -func (v *NullableCombineCommentsWithQuestionResultsResponse) Set(val *CombineCommentsWithQuestionResultsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCombineCommentsWithQuestionResultsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCombineCommentsWithQuestionResultsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCombineCommentsWithQuestionResultsResponse(val *CombineCommentsWithQuestionResultsResponse) *NullableCombineCommentsWithQuestionResultsResponse { - return &NullableCombineCommentsWithQuestionResultsResponse{value: val, isSet: true} -} - -func (v NullableCombineCommentsWithQuestionResultsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCombineCommentsWithQuestionResultsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_comment_public_response.go b/client/model_create_comment_public_response.go deleted file mode 100644 index f067b14..0000000 --- a/client/model_create_comment_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateCommentPublicResponse struct for CreateCommentPublicResponse -type CreateCommentPublicResponse struct { - APIError *APIError - SaveCommentsResponseWithPresence *SaveCommentsResponseWithPresence -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateCommentPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into SaveCommentsResponseWithPresence - err = json.Unmarshal(data, &dst.SaveCommentsResponseWithPresence); - if err == nil { - jsonSaveCommentsResponseWithPresence, _ := json.Marshal(dst.SaveCommentsResponseWithPresence) - if string(jsonSaveCommentsResponseWithPresence) == "{}" { // empty struct - dst.SaveCommentsResponseWithPresence = nil - } else { - return nil // data stored in dst.SaveCommentsResponseWithPresence, return on the first match - } - } else { - dst.SaveCommentsResponseWithPresence = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateCommentPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateCommentPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.SaveCommentsResponseWithPresence != nil { - return json.Marshal(&src.SaveCommentsResponseWithPresence) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateCommentPublicResponse struct { - value *CreateCommentPublicResponse - isSet bool -} - -func (v NullableCreateCommentPublicResponse) Get() *CreateCommentPublicResponse { - return v.value -} - -func (v *NullableCreateCommentPublicResponse) Set(val *CreateCommentPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateCommentPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateCommentPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateCommentPublicResponse(val *CreateCommentPublicResponse) *NullableCreateCommentPublicResponse { - return &NullableCreateCommentPublicResponse{value: val, isSet: true} -} - -func (v NullableCreateCommentPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateCommentPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_email_template_response_1.go b/client/model_create_email_template_response_1.go deleted file mode 100644 index fc0c3cf..0000000 --- a/client/model_create_email_template_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateEmailTemplateResponse1 struct for CreateEmailTemplateResponse1 -type CreateEmailTemplateResponse1 struct { - APIError *APIError - CreateEmailTemplateResponse *CreateEmailTemplateResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateEmailTemplateResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateEmailTemplateResponse - err = json.Unmarshal(data, &dst.CreateEmailTemplateResponse); - if err == nil { - jsonCreateEmailTemplateResponse, _ := json.Marshal(dst.CreateEmailTemplateResponse) - if string(jsonCreateEmailTemplateResponse) == "{}" { // empty struct - dst.CreateEmailTemplateResponse = nil - } else { - return nil // data stored in dst.CreateEmailTemplateResponse, return on the first match - } - } else { - dst.CreateEmailTemplateResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateEmailTemplateResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateEmailTemplateResponse != nil { - return json.Marshal(&src.CreateEmailTemplateResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateEmailTemplateResponse1 struct { - value *CreateEmailTemplateResponse1 - isSet bool -} - -func (v NullableCreateEmailTemplateResponse1) Get() *CreateEmailTemplateResponse1 { - return v.value -} - -func (v *NullableCreateEmailTemplateResponse1) Set(val *CreateEmailTemplateResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateEmailTemplateResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateEmailTemplateResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateEmailTemplateResponse1(val *CreateEmailTemplateResponse1) *NullableCreateEmailTemplateResponse1 { - return &NullableCreateEmailTemplateResponse1{value: val, isSet: true} -} - -func (v NullableCreateEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateEmailTemplateResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_feed_post_public_response.go b/client/model_create_feed_post_public_response.go deleted file mode 100644 index ca42840..0000000 --- a/client/model_create_feed_post_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateFeedPostPublicResponse struct for CreateFeedPostPublicResponse -type CreateFeedPostPublicResponse struct { - APIError *APIError - CreateFeedPostResponse *CreateFeedPostResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateFeedPostPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateFeedPostResponse - err = json.Unmarshal(data, &dst.CreateFeedPostResponse); - if err == nil { - jsonCreateFeedPostResponse, _ := json.Marshal(dst.CreateFeedPostResponse) - if string(jsonCreateFeedPostResponse) == "{}" { // empty struct - dst.CreateFeedPostResponse = nil - } else { - return nil // data stored in dst.CreateFeedPostResponse, return on the first match - } - } else { - dst.CreateFeedPostResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateFeedPostPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateFeedPostResponse != nil { - return json.Marshal(&src.CreateFeedPostResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateFeedPostPublicResponse struct { - value *CreateFeedPostPublicResponse - isSet bool -} - -func (v NullableCreateFeedPostPublicResponse) Get() *CreateFeedPostPublicResponse { - return v.value -} - -func (v *NullableCreateFeedPostPublicResponse) Set(val *CreateFeedPostPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateFeedPostPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateFeedPostPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateFeedPostPublicResponse(val *CreateFeedPostPublicResponse) *NullableCreateFeedPostPublicResponse { - return &NullableCreateFeedPostPublicResponse{value: val, isSet: true} -} - -func (v NullableCreateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateFeedPostPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_feed_post_response_1.go b/client/model_create_feed_post_response_1.go deleted file mode 100644 index 739392e..0000000 --- a/client/model_create_feed_post_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateFeedPostResponse1 struct for CreateFeedPostResponse1 -type CreateFeedPostResponse1 struct { - APIError *APIError - CreateFeedPostsResponse *CreateFeedPostsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateFeedPostResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateFeedPostsResponse - err = json.Unmarshal(data, &dst.CreateFeedPostsResponse); - if err == nil { - jsonCreateFeedPostsResponse, _ := json.Marshal(dst.CreateFeedPostsResponse) - if string(jsonCreateFeedPostsResponse) == "{}" { // empty struct - dst.CreateFeedPostsResponse = nil - } else { - return nil // data stored in dst.CreateFeedPostsResponse, return on the first match - } - } else { - dst.CreateFeedPostsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateFeedPostResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateFeedPostResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateFeedPostsResponse != nil { - return json.Marshal(&src.CreateFeedPostsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateFeedPostResponse1 struct { - value *CreateFeedPostResponse1 - isSet bool -} - -func (v NullableCreateFeedPostResponse1) Get() *CreateFeedPostResponse1 { - return v.value -} - -func (v *NullableCreateFeedPostResponse1) Set(val *CreateFeedPostResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateFeedPostResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateFeedPostResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateFeedPostResponse1(val *CreateFeedPostResponse1) *NullableCreateFeedPostResponse1 { - return &NullableCreateFeedPostResponse1{value: val, isSet: true} -} - -func (v NullableCreateFeedPostResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateFeedPostResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_moderator_response_1.go b/client/model_create_moderator_response_1.go deleted file mode 100644 index 3ed3706..0000000 --- a/client/model_create_moderator_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateModeratorResponse1 struct for CreateModeratorResponse1 -type CreateModeratorResponse1 struct { - APIError *APIError - CreateModeratorResponse *CreateModeratorResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateModeratorResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateModeratorResponse - err = json.Unmarshal(data, &dst.CreateModeratorResponse); - if err == nil { - jsonCreateModeratorResponse, _ := json.Marshal(dst.CreateModeratorResponse) - if string(jsonCreateModeratorResponse) == "{}" { // empty struct - dst.CreateModeratorResponse = nil - } else { - return nil // data stored in dst.CreateModeratorResponse, return on the first match - } - } else { - dst.CreateModeratorResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateModeratorResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateModeratorResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateModeratorResponse != nil { - return json.Marshal(&src.CreateModeratorResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateModeratorResponse1 struct { - value *CreateModeratorResponse1 - isSet bool -} - -func (v NullableCreateModeratorResponse1) Get() *CreateModeratorResponse1 { - return v.value -} - -func (v *NullableCreateModeratorResponse1) Set(val *CreateModeratorResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateModeratorResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateModeratorResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateModeratorResponse1(val *CreateModeratorResponse1) *NullableCreateModeratorResponse1 { - return &NullableCreateModeratorResponse1{value: val, isSet: true} -} - -func (v NullableCreateModeratorResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateModeratorResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_question_config_response_1.go b/client/model_create_question_config_response_1.go deleted file mode 100644 index 17055d2..0000000 --- a/client/model_create_question_config_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateQuestionConfigResponse1 struct for CreateQuestionConfigResponse1 -type CreateQuestionConfigResponse1 struct { - APIError *APIError - CreateQuestionConfigResponse *CreateQuestionConfigResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateQuestionConfigResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateQuestionConfigResponse - err = json.Unmarshal(data, &dst.CreateQuestionConfigResponse); - if err == nil { - jsonCreateQuestionConfigResponse, _ := json.Marshal(dst.CreateQuestionConfigResponse) - if string(jsonCreateQuestionConfigResponse) == "{}" { // empty struct - dst.CreateQuestionConfigResponse = nil - } else { - return nil // data stored in dst.CreateQuestionConfigResponse, return on the first match - } - } else { - dst.CreateQuestionConfigResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateQuestionConfigResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateQuestionConfigResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateQuestionConfigResponse != nil { - return json.Marshal(&src.CreateQuestionConfigResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateQuestionConfigResponse1 struct { - value *CreateQuestionConfigResponse1 - isSet bool -} - -func (v NullableCreateQuestionConfigResponse1) Get() *CreateQuestionConfigResponse1 { - return v.value -} - -func (v *NullableCreateQuestionConfigResponse1) Set(val *CreateQuestionConfigResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateQuestionConfigResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateQuestionConfigResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateQuestionConfigResponse1(val *CreateQuestionConfigResponse1) *NullableCreateQuestionConfigResponse1 { - return &NullableCreateQuestionConfigResponse1{value: val, isSet: true} -} - -func (v NullableCreateQuestionConfigResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateQuestionConfigResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_question_result_response_1.go b/client/model_create_question_result_response_1.go deleted file mode 100644 index aa952d2..0000000 --- a/client/model_create_question_result_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateQuestionResultResponse1 struct for CreateQuestionResultResponse1 -type CreateQuestionResultResponse1 struct { - APIError *APIError - CreateQuestionResultResponse *CreateQuestionResultResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateQuestionResultResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateQuestionResultResponse - err = json.Unmarshal(data, &dst.CreateQuestionResultResponse); - if err == nil { - jsonCreateQuestionResultResponse, _ := json.Marshal(dst.CreateQuestionResultResponse) - if string(jsonCreateQuestionResultResponse) == "{}" { // empty struct - dst.CreateQuestionResultResponse = nil - } else { - return nil // data stored in dst.CreateQuestionResultResponse, return on the first match - } - } else { - dst.CreateQuestionResultResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateQuestionResultResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateQuestionResultResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateQuestionResultResponse != nil { - return json.Marshal(&src.CreateQuestionResultResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateQuestionResultResponse1 struct { - value *CreateQuestionResultResponse1 - isSet bool -} - -func (v NullableCreateQuestionResultResponse1) Get() *CreateQuestionResultResponse1 { - return v.value -} - -func (v *NullableCreateQuestionResultResponse1) Set(val *CreateQuestionResultResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateQuestionResultResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateQuestionResultResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateQuestionResultResponse1(val *CreateQuestionResultResponse1) *NullableCreateQuestionResultResponse1 { - return &NullableCreateQuestionResultResponse1{value: val, isSet: true} -} - -func (v NullableCreateQuestionResultResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateQuestionResultResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_tenant_package_response_1.go b/client/model_create_tenant_package_response_1.go deleted file mode 100644 index 6b6ea50..0000000 --- a/client/model_create_tenant_package_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateTenantPackageResponse1 struct for CreateTenantPackageResponse1 -type CreateTenantPackageResponse1 struct { - APIError *APIError - CreateTenantPackageResponse *CreateTenantPackageResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateTenantPackageResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateTenantPackageResponse - err = json.Unmarshal(data, &dst.CreateTenantPackageResponse); - if err == nil { - jsonCreateTenantPackageResponse, _ := json.Marshal(dst.CreateTenantPackageResponse) - if string(jsonCreateTenantPackageResponse) == "{}" { // empty struct - dst.CreateTenantPackageResponse = nil - } else { - return nil // data stored in dst.CreateTenantPackageResponse, return on the first match - } - } else { - dst.CreateTenantPackageResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantPackageResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateTenantPackageResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateTenantPackageResponse != nil { - return json.Marshal(&src.CreateTenantPackageResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateTenantPackageResponse1 struct { - value *CreateTenantPackageResponse1 - isSet bool -} - -func (v NullableCreateTenantPackageResponse1) Get() *CreateTenantPackageResponse1 { - return v.value -} - -func (v *NullableCreateTenantPackageResponse1) Set(val *CreateTenantPackageResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateTenantPackageResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateTenantPackageResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateTenantPackageResponse1(val *CreateTenantPackageResponse1) *NullableCreateTenantPackageResponse1 { - return &NullableCreateTenantPackageResponse1{value: val, isSet: true} -} - -func (v NullableCreateTenantPackageResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateTenantPackageResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_tenant_response_1.go b/client/model_create_tenant_response_1.go deleted file mode 100644 index 4bcde0e..0000000 --- a/client/model_create_tenant_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateTenantResponse1 struct for CreateTenantResponse1 -type CreateTenantResponse1 struct { - APIError *APIError - CreateTenantResponse *CreateTenantResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateTenantResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateTenantResponse - err = json.Unmarshal(data, &dst.CreateTenantResponse); - if err == nil { - jsonCreateTenantResponse, _ := json.Marshal(dst.CreateTenantResponse) - if string(jsonCreateTenantResponse) == "{}" { // empty struct - dst.CreateTenantResponse = nil - } else { - return nil // data stored in dst.CreateTenantResponse, return on the first match - } - } else { - dst.CreateTenantResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateTenantResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateTenantResponse != nil { - return json.Marshal(&src.CreateTenantResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateTenantResponse1 struct { - value *CreateTenantResponse1 - isSet bool -} - -func (v NullableCreateTenantResponse1) Get() *CreateTenantResponse1 { - return v.value -} - -func (v *NullableCreateTenantResponse1) Set(val *CreateTenantResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateTenantResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateTenantResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateTenantResponse1(val *CreateTenantResponse1) *NullableCreateTenantResponse1 { - return &NullableCreateTenantResponse1{value: val, isSet: true} -} - -func (v NullableCreateTenantResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateTenantResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_tenant_user_response_1.go b/client/model_create_tenant_user_response_1.go deleted file mode 100644 index b45ef09..0000000 --- a/client/model_create_tenant_user_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateTenantUserResponse1 struct for CreateTenantUserResponse1 -type CreateTenantUserResponse1 struct { - APIError *APIError - CreateTenantUserResponse *CreateTenantUserResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateTenantUserResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateTenantUserResponse - err = json.Unmarshal(data, &dst.CreateTenantUserResponse); - if err == nil { - jsonCreateTenantUserResponse, _ := json.Marshal(dst.CreateTenantUserResponse) - if string(jsonCreateTenantUserResponse) == "{}" { // empty struct - dst.CreateTenantUserResponse = nil - } else { - return nil // data stored in dst.CreateTenantUserResponse, return on the first match - } - } else { - dst.CreateTenantUserResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateTenantUserResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateTenantUserResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateTenantUserResponse != nil { - return json.Marshal(&src.CreateTenantUserResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateTenantUserResponse1 struct { - value *CreateTenantUserResponse1 - isSet bool -} - -func (v NullableCreateTenantUserResponse1) Get() *CreateTenantUserResponse1 { - return v.value -} - -func (v *NullableCreateTenantUserResponse1) Set(val *CreateTenantUserResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateTenantUserResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateTenantUserResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateTenantUserResponse1(val *CreateTenantUserResponse1) *NullableCreateTenantUserResponse1 { - return &NullableCreateTenantUserResponse1{value: val, isSet: true} -} - -func (v NullableCreateTenantUserResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateTenantUserResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_ticket_response_1.go b/client/model_create_ticket_response_1.go deleted file mode 100644 index 2c7a4d0..0000000 --- a/client/model_create_ticket_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateTicketResponse1 struct for CreateTicketResponse1 -type CreateTicketResponse1 struct { - APIError *APIError - CreateTicketResponse *CreateTicketResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateTicketResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateTicketResponse - err = json.Unmarshal(data, &dst.CreateTicketResponse); - if err == nil { - jsonCreateTicketResponse, _ := json.Marshal(dst.CreateTicketResponse) - if string(jsonCreateTicketResponse) == "{}" { // empty struct - dst.CreateTicketResponse = nil - } else { - return nil // data stored in dst.CreateTicketResponse, return on the first match - } - } else { - dst.CreateTicketResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateTicketResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateTicketResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateTicketResponse != nil { - return json.Marshal(&src.CreateTicketResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateTicketResponse1 struct { - value *CreateTicketResponse1 - isSet bool -} - -func (v NullableCreateTicketResponse1) Get() *CreateTicketResponse1 { - return v.value -} - -func (v *NullableCreateTicketResponse1) Set(val *CreateTicketResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableCreateTicketResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateTicketResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateTicketResponse1(val *CreateTicketResponse1) *NullableCreateTicketResponse1 { - return &NullableCreateTicketResponse1{value: val, isSet: true} -} - -func (v NullableCreateTicketResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateTicketResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_user_badge_response.go b/client/model_create_user_badge_response.go deleted file mode 100644 index 904b817..0000000 --- a/client/model_create_user_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateUserBadgeResponse struct for CreateUserBadgeResponse -type CreateUserBadgeResponse struct { - APICreateUserBadgeResponse *APICreateUserBadgeResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateUserBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APICreateUserBadgeResponse - err = json.Unmarshal(data, &dst.APICreateUserBadgeResponse); - if err == nil { - jsonAPICreateUserBadgeResponse, _ := json.Marshal(dst.APICreateUserBadgeResponse) - if string(jsonAPICreateUserBadgeResponse) == "{}" { // empty struct - dst.APICreateUserBadgeResponse = nil - } else { - return nil // data stored in dst.APICreateUserBadgeResponse, return on the first match - } - } else { - dst.APICreateUserBadgeResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateUserBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateUserBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APICreateUserBadgeResponse != nil { - return json.Marshal(&src.APICreateUserBadgeResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateUserBadgeResponse struct { - value *CreateUserBadgeResponse - isSet bool -} - -func (v NullableCreateUserBadgeResponse) Get() *CreateUserBadgeResponse { - return v.value -} - -func (v *NullableCreateUserBadgeResponse) Set(val *CreateUserBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateUserBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateUserBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateUserBadgeResponse(val *CreateUserBadgeResponse) *NullableCreateUserBadgeResponse { - return &NullableCreateUserBadgeResponse{value: val, isSet: true} -} - -func (v NullableCreateUserBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateUserBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_v1_page_react_response.go b/client/model_create_v1_page_react_response.go deleted file mode 100644 index d51c50f..0000000 --- a/client/model_create_v1_page_react_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateV1PageReactResponse struct for CreateV1PageReactResponse -type CreateV1PageReactResponse struct { - APIError *APIError - CreateV1PageReact *CreateV1PageReact -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateV1PageReactResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateV1PageReact - err = json.Unmarshal(data, &dst.CreateV1PageReact); - if err == nil { - jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) - if string(jsonCreateV1PageReact) == "{}" { // empty struct - dst.CreateV1PageReact = nil - } else { - return nil // data stored in dst.CreateV1PageReact, return on the first match - } - } else { - dst.CreateV1PageReact = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateV1PageReactResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateV1PageReactResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateV1PageReact != nil { - return json.Marshal(&src.CreateV1PageReact) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateV1PageReactResponse struct { - value *CreateV1PageReactResponse - isSet bool -} - -func (v NullableCreateV1PageReactResponse) Get() *CreateV1PageReactResponse { - return v.value -} - -func (v *NullableCreateV1PageReactResponse) Set(val *CreateV1PageReactResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateV1PageReactResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateV1PageReactResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateV1PageReactResponse(val *CreateV1PageReactResponse) *NullableCreateV1PageReactResponse { - return &NullableCreateV1PageReactResponse{value: val, isSet: true} -} - -func (v NullableCreateV1PageReactResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateV1PageReactResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_v2_page_react_response.go b/client/model_create_v2_page_react_response.go deleted file mode 100644 index 354b08a..0000000 --- a/client/model_create_v2_page_react_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateV2PageReactResponse struct for CreateV2PageReactResponse -type CreateV2PageReactResponse struct { - APIError *APIError - CreateV1PageReact *CreateV1PageReact -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateV2PageReactResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateV1PageReact - err = json.Unmarshal(data, &dst.CreateV1PageReact); - if err == nil { - jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) - if string(jsonCreateV1PageReact) == "{}" { // empty struct - dst.CreateV1PageReact = nil - } else { - return nil // data stored in dst.CreateV1PageReact, return on the first match - } - } else { - dst.CreateV1PageReact = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateV2PageReactResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateV2PageReactResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateV1PageReact != nil { - return json.Marshal(&src.CreateV1PageReact) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateV2PageReactResponse struct { - value *CreateV2PageReactResponse - isSet bool -} - -func (v NullableCreateV2PageReactResponse) Get() *CreateV2PageReactResponse { - return v.value -} - -func (v *NullableCreateV2PageReactResponse) Set(val *CreateV2PageReactResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateV2PageReactResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateV2PageReactResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateV2PageReactResponse(val *CreateV2PageReactResponse) *NullableCreateV2PageReactResponse { - return &NullableCreateV2PageReactResponse{value: val, isSet: true} -} - -func (v NullableCreateV2PageReactResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateV2PageReactResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_create_vote_response.go b/client/model_create_vote_response.go deleted file mode 100644 index 46d0e21..0000000 --- a/client/model_create_vote_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// CreateVoteResponse struct for CreateVoteResponse -type CreateVoteResponse struct { - APIError *APIError - VoteResponse *VoteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *CreateVoteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteResponse - err = json.Unmarshal(data, &dst.VoteResponse); - if err == nil { - jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) - if string(jsonVoteResponse) == "{}" { // empty struct - dst.VoteResponse = nil - } else { - return nil // data stored in dst.VoteResponse, return on the first match - } - } else { - dst.VoteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(CreateVoteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src CreateVoteResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteResponse != nil { - return json.Marshal(&src.VoteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableCreateVoteResponse struct { - value *CreateVoteResponse - isSet bool -} - -func (v NullableCreateVoteResponse) Get() *CreateVoteResponse { - return v.value -} - -func (v *NullableCreateVoteResponse) Set(val *CreateVoteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableCreateVoteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableCreateVoteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCreateVoteResponse(val *CreateVoteResponse) *NullableCreateVoteResponse { - return &NullableCreateVoteResponse{value: val, isSet: true} -} - -func (v NullableCreateVoteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCreateVoteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_comment_public_response.go b/client/model_delete_comment_public_response.go deleted file mode 100644 index 27de2d5..0000000 --- a/client/model_delete_comment_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteCommentPublicResponse struct for DeleteCommentPublicResponse -type DeleteCommentPublicResponse struct { - APIError *APIError - PublicAPIDeleteCommentResponse *PublicAPIDeleteCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteCommentPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PublicAPIDeleteCommentResponse - err = json.Unmarshal(data, &dst.PublicAPIDeleteCommentResponse); - if err == nil { - jsonPublicAPIDeleteCommentResponse, _ := json.Marshal(dst.PublicAPIDeleteCommentResponse) - if string(jsonPublicAPIDeleteCommentResponse) == "{}" { // empty struct - dst.PublicAPIDeleteCommentResponse = nil - } else { - return nil // data stored in dst.PublicAPIDeleteCommentResponse, return on the first match - } - } else { - dst.PublicAPIDeleteCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteCommentPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PublicAPIDeleteCommentResponse != nil { - return json.Marshal(&src.PublicAPIDeleteCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteCommentPublicResponse struct { - value *DeleteCommentPublicResponse - isSet bool -} - -func (v NullableDeleteCommentPublicResponse) Get() *DeleteCommentPublicResponse { - return v.value -} - -func (v *NullableDeleteCommentPublicResponse) Set(val *DeleteCommentPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteCommentPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteCommentPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteCommentPublicResponse(val *DeleteCommentPublicResponse) *NullableDeleteCommentPublicResponse { - return &NullableDeleteCommentPublicResponse{value: val, isSet: true} -} - -func (v NullableDeleteCommentPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteCommentPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_comment_response.go b/client/model_delete_comment_response.go deleted file mode 100644 index e96d4a5..0000000 --- a/client/model_delete_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteCommentResponse struct for DeleteCommentResponse -type DeleteCommentResponse struct { - APIError *APIError - DeleteCommentResult *DeleteCommentResult -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into DeleteCommentResult - err = json.Unmarshal(data, &dst.DeleteCommentResult); - if err == nil { - jsonDeleteCommentResult, _ := json.Marshal(dst.DeleteCommentResult) - if string(jsonDeleteCommentResult) == "{}" { // empty struct - dst.DeleteCommentResult = nil - } else { - return nil // data stored in dst.DeleteCommentResult, return on the first match - } - } else { - dst.DeleteCommentResult = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.DeleteCommentResult != nil { - return json.Marshal(&src.DeleteCommentResult) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteCommentResponse struct { - value *DeleteCommentResponse - isSet bool -} - -func (v NullableDeleteCommentResponse) Get() *DeleteCommentResponse { - return v.value -} - -func (v *NullableDeleteCommentResponse) Set(val *DeleteCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteCommentResponse(val *DeleteCommentResponse) *NullableDeleteCommentResponse { - return &NullableDeleteCommentResponse{value: val, isSet: true} -} - -func (v NullableDeleteCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_comment_vote_response.go b/client/model_delete_comment_vote_response.go deleted file mode 100644 index ff1f27e..0000000 --- a/client/model_delete_comment_vote_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteCommentVoteResponse struct for DeleteCommentVoteResponse -type DeleteCommentVoteResponse struct { - APIError *APIError - VoteDeleteResponse *VoteDeleteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteCommentVoteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteDeleteResponse - err = json.Unmarshal(data, &dst.VoteDeleteResponse); - if err == nil { - jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) - if string(jsonVoteDeleteResponse) == "{}" { // empty struct - dst.VoteDeleteResponse = nil - } else { - return nil // data stored in dst.VoteDeleteResponse, return on the first match - } - } else { - dst.VoteDeleteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteCommentVoteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteCommentVoteResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteDeleteResponse != nil { - return json.Marshal(&src.VoteDeleteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteCommentVoteResponse struct { - value *DeleteCommentVoteResponse - isSet bool -} - -func (v NullableDeleteCommentVoteResponse) Get() *DeleteCommentVoteResponse { - return v.value -} - -func (v *NullableDeleteCommentVoteResponse) Set(val *DeleteCommentVoteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteCommentVoteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteCommentVoteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteCommentVoteResponse(val *DeleteCommentVoteResponse) *NullableDeleteCommentVoteResponse { - return &NullableDeleteCommentVoteResponse{value: val, isSet: true} -} - -func (v NullableDeleteCommentVoteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteCommentVoteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_email_template_render_error_response.go b/client/model_delete_email_template_render_error_response.go deleted file mode 100644 index 74ee805..0000000 --- a/client/model_delete_email_template_render_error_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteEmailTemplateRenderErrorResponse struct for DeleteEmailTemplateRenderErrorResponse -type DeleteEmailTemplateRenderErrorResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteEmailTemplateRenderErrorResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteEmailTemplateRenderErrorResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteEmailTemplateRenderErrorResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteEmailTemplateRenderErrorResponse struct { - value *DeleteEmailTemplateRenderErrorResponse - isSet bool -} - -func (v NullableDeleteEmailTemplateRenderErrorResponse) Get() *DeleteEmailTemplateRenderErrorResponse { - return v.value -} - -func (v *NullableDeleteEmailTemplateRenderErrorResponse) Set(val *DeleteEmailTemplateRenderErrorResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteEmailTemplateRenderErrorResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteEmailTemplateRenderErrorResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteEmailTemplateRenderErrorResponse(val *DeleteEmailTemplateRenderErrorResponse) *NullableDeleteEmailTemplateRenderErrorResponse { - return &NullableDeleteEmailTemplateRenderErrorResponse{value: val, isSet: true} -} - -func (v NullableDeleteEmailTemplateRenderErrorResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteEmailTemplateRenderErrorResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_email_template_response.go b/client/model_delete_email_template_response.go deleted file mode 100644 index dacdc48..0000000 --- a/client/model_delete_email_template_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteEmailTemplateResponse struct for DeleteEmailTemplateResponse -type DeleteEmailTemplateResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteEmailTemplateResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteEmailTemplateResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteEmailTemplateResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteEmailTemplateResponse struct { - value *DeleteEmailTemplateResponse - isSet bool -} - -func (v NullableDeleteEmailTemplateResponse) Get() *DeleteEmailTemplateResponse { - return v.value -} - -func (v *NullableDeleteEmailTemplateResponse) Set(val *DeleteEmailTemplateResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteEmailTemplateResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteEmailTemplateResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteEmailTemplateResponse(val *DeleteEmailTemplateResponse) *NullableDeleteEmailTemplateResponse { - return &NullableDeleteEmailTemplateResponse{value: val, isSet: true} -} - -func (v NullableDeleteEmailTemplateResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteEmailTemplateResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_feed_post_public_response.go b/client/model_delete_feed_post_public_response.go index 3d9bd9e..c4cd91a 100644 --- a/client/model_delete_feed_post_public_response.go +++ b/client/model_delete_feed_post_public_response.go @@ -12,61 +12,112 @@ package client import ( "encoding/json" + "bytes" "fmt" ) +// checks if the DeleteFeedPostPublicResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &DeleteFeedPostPublicResponse{} // DeleteFeedPostPublicResponse struct for DeleteFeedPostPublicResponse type DeleteFeedPostPublicResponse struct { - APIError *APIError - DeleteFeedPostPublicResponseAnyOf *DeleteFeedPostPublicResponseAnyOf -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteFeedPostPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } + Status APIStatus `json:"status"` +} - // try to unmarshal JSON data into DeleteFeedPostPublicResponseAnyOf - err = json.Unmarshal(data, &dst.DeleteFeedPostPublicResponseAnyOf); - if err == nil { - jsonDeleteFeedPostPublicResponseAnyOf, _ := json.Marshal(dst.DeleteFeedPostPublicResponseAnyOf) - if string(jsonDeleteFeedPostPublicResponseAnyOf) == "{}" { // empty struct - dst.DeleteFeedPostPublicResponseAnyOf = nil - } else { - return nil // data stored in dst.DeleteFeedPostPublicResponseAnyOf, return on the first match - } - } else { - dst.DeleteFeedPostPublicResponseAnyOf = nil +type _DeleteFeedPostPublicResponse DeleteFeedPostPublicResponse + +// NewDeleteFeedPostPublicResponse instantiates a new DeleteFeedPostPublicResponse object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDeleteFeedPostPublicResponse(status APIStatus) *DeleteFeedPostPublicResponse { + this := DeleteFeedPostPublicResponse{} + this.Status = status + return &this +} + +// NewDeleteFeedPostPublicResponseWithDefaults instantiates a new DeleteFeedPostPublicResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDeleteFeedPostPublicResponseWithDefaults() *DeleteFeedPostPublicResponse { + this := DeleteFeedPostPublicResponse{} + return &this +} + +// GetStatus returns the Status field value +func (o *DeleteFeedPostPublicResponse) GetStatus() APIStatus { + if o == nil { + var ret APIStatus + return ret } - return fmt.Errorf("data failed to match schemas in anyOf(DeleteFeedPostPublicResponse)") + return o.Status } -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) +// GetStatusOk returns a tuple with the Status field value +// and a boolean to check if the value has been set. +func (o *DeleteFeedPostPublicResponse) GetStatusOk() (*APIStatus, bool) { + if o == nil { + return nil, false } + return &o.Status, true +} - if src.DeleteFeedPostPublicResponseAnyOf != nil { - return json.Marshal(&src.DeleteFeedPostPublicResponseAnyOf) +// SetStatus sets field value +func (o *DeleteFeedPostPublicResponse) SetStatus(v APIStatus) { + o.Status = v +} + +func (o DeleteFeedPostPublicResponse) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err } + return json.Marshal(toSerialize) +} - return nil, nil // no data in anyOf schemas +func (o DeleteFeedPostPublicResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["status"] = o.Status + return toSerialize, nil } +func (o *DeleteFeedPostPublicResponse) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "status", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varDeleteFeedPostPublicResponse := _DeleteFeedPostPublicResponse{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varDeleteFeedPostPublicResponse) + + if err != nil { + return err + } + + *o = DeleteFeedPostPublicResponse(varDeleteFeedPostPublicResponse) + + return err +} type NullableDeleteFeedPostPublicResponse struct { value *DeleteFeedPostPublicResponse diff --git a/client/model_delete_feed_post_public_response_any_of.go b/client/model_delete_feed_post_public_response_any_of.go deleted file mode 100644 index 4913de2..0000000 --- a/client/model_delete_feed_post_public_response_any_of.go +++ /dev/null @@ -1,158 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "bytes" - "fmt" -) - -// checks if the DeleteFeedPostPublicResponseAnyOf type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &DeleteFeedPostPublicResponseAnyOf{} - -// DeleteFeedPostPublicResponseAnyOf struct for DeleteFeedPostPublicResponseAnyOf -type DeleteFeedPostPublicResponseAnyOf struct { - Status APIStatus `json:"status"` -} - -type _DeleteFeedPostPublicResponseAnyOf DeleteFeedPostPublicResponseAnyOf - -// NewDeleteFeedPostPublicResponseAnyOf instantiates a new DeleteFeedPostPublicResponseAnyOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewDeleteFeedPostPublicResponseAnyOf(status APIStatus) *DeleteFeedPostPublicResponseAnyOf { - this := DeleteFeedPostPublicResponseAnyOf{} - this.Status = status - return &this -} - -// NewDeleteFeedPostPublicResponseAnyOfWithDefaults instantiates a new DeleteFeedPostPublicResponseAnyOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewDeleteFeedPostPublicResponseAnyOfWithDefaults() *DeleteFeedPostPublicResponseAnyOf { - this := DeleteFeedPostPublicResponseAnyOf{} - return &this -} - -// GetStatus returns the Status field value -func (o *DeleteFeedPostPublicResponseAnyOf) GetStatus() APIStatus { - if o == nil { - var ret APIStatus - return ret - } - - return o.Status -} - -// GetStatusOk returns a tuple with the Status field value -// and a boolean to check if the value has been set. -func (o *DeleteFeedPostPublicResponseAnyOf) GetStatusOk() (*APIStatus, bool) { - if o == nil { - return nil, false - } - return &o.Status, true -} - -// SetStatus sets field value -func (o *DeleteFeedPostPublicResponseAnyOf) SetStatus(v APIStatus) { - o.Status = v -} - -func (o DeleteFeedPostPublicResponseAnyOf) MarshalJSON() ([]byte, error) { - toSerialize,err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o DeleteFeedPostPublicResponseAnyOf) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - toSerialize["status"] = o.Status - return toSerialize, nil -} - -func (o *DeleteFeedPostPublicResponseAnyOf) UnmarshalJSON(data []byte) (err error) { - // This validates that all required properties are included in the JSON object - // by unmarshalling the object into a generic map with string keys and checking - // that every required field exists as a key in the generic map. - requiredProperties := []string{ - "status", - } - - allProperties := make(map[string]interface{}) - - err = json.Unmarshal(data, &allProperties) - - if err != nil { - return err; - } - - for _, requiredProperty := range(requiredProperties) { - if _, exists := allProperties[requiredProperty]; !exists { - return fmt.Errorf("no value given for required property %v", requiredProperty) - } - } - - varDeleteFeedPostPublicResponseAnyOf := _DeleteFeedPostPublicResponseAnyOf{} - - decoder := json.NewDecoder(bytes.NewReader(data)) - decoder.DisallowUnknownFields() - err = decoder.Decode(&varDeleteFeedPostPublicResponseAnyOf) - - if err != nil { - return err - } - - *o = DeleteFeedPostPublicResponseAnyOf(varDeleteFeedPostPublicResponseAnyOf) - - return err -} - -type NullableDeleteFeedPostPublicResponseAnyOf struct { - value *DeleteFeedPostPublicResponseAnyOf - isSet bool -} - -func (v NullableDeleteFeedPostPublicResponseAnyOf) Get() *DeleteFeedPostPublicResponseAnyOf { - return v.value -} - -func (v *NullableDeleteFeedPostPublicResponseAnyOf) Set(val *DeleteFeedPostPublicResponseAnyOf) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteFeedPostPublicResponseAnyOf) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteFeedPostPublicResponseAnyOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteFeedPostPublicResponseAnyOf(val *DeleteFeedPostPublicResponseAnyOf) *NullableDeleteFeedPostPublicResponseAnyOf { - return &NullableDeleteFeedPostPublicResponseAnyOf{value: val, isSet: true} -} - -func (v NullableDeleteFeedPostPublicResponseAnyOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteFeedPostPublicResponseAnyOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_hash_tag_response.go b/client/model_delete_hash_tag_response.go deleted file mode 100644 index 86c8e66..0000000 --- a/client/model_delete_hash_tag_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteHashTagResponse struct for DeleteHashTagResponse -type DeleteHashTagResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteHashTagResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteHashTagResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteHashTagResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteHashTagResponse struct { - value *DeleteHashTagResponse - isSet bool -} - -func (v NullableDeleteHashTagResponse) Get() *DeleteHashTagResponse { - return v.value -} - -func (v *NullableDeleteHashTagResponse) Set(val *DeleteHashTagResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteHashTagResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteHashTagResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteHashTagResponse(val *DeleteHashTagResponse) *NullableDeleteHashTagResponse { - return &NullableDeleteHashTagResponse{value: val, isSet: true} -} - -func (v NullableDeleteHashTagResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteHashTagResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_moderation_vote_response.go b/client/model_delete_moderation_vote_response.go deleted file mode 100644 index 2a6d527..0000000 --- a/client/model_delete_moderation_vote_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteModerationVoteResponse struct for DeleteModerationVoteResponse -type DeleteModerationVoteResponse struct { - APIError *APIError - VoteDeleteResponse *VoteDeleteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteModerationVoteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteDeleteResponse - err = json.Unmarshal(data, &dst.VoteDeleteResponse); - if err == nil { - jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) - if string(jsonVoteDeleteResponse) == "{}" { // empty struct - dst.VoteDeleteResponse = nil - } else { - return nil // data stored in dst.VoteDeleteResponse, return on the first match - } - } else { - dst.VoteDeleteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteModerationVoteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteModerationVoteResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteDeleteResponse != nil { - return json.Marshal(&src.VoteDeleteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteModerationVoteResponse struct { - value *DeleteModerationVoteResponse - isSet bool -} - -func (v NullableDeleteModerationVoteResponse) Get() *DeleteModerationVoteResponse { - return v.value -} - -func (v *NullableDeleteModerationVoteResponse) Set(val *DeleteModerationVoteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteModerationVoteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteModerationVoteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteModerationVoteResponse(val *DeleteModerationVoteResponse) *NullableDeleteModerationVoteResponse { - return &NullableDeleteModerationVoteResponse{value: val, isSet: true} -} - -func (v NullableDeleteModerationVoteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteModerationVoteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_moderator_response.go b/client/model_delete_moderator_response.go deleted file mode 100644 index 8335962..0000000 --- a/client/model_delete_moderator_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteModeratorResponse struct for DeleteModeratorResponse -type DeleteModeratorResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteModeratorResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteModeratorResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteModeratorResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteModeratorResponse struct { - value *DeleteModeratorResponse - isSet bool -} - -func (v NullableDeleteModeratorResponse) Get() *DeleteModeratorResponse { - return v.value -} - -func (v *NullableDeleteModeratorResponse) Set(val *DeleteModeratorResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteModeratorResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteModeratorResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteModeratorResponse(val *DeleteModeratorResponse) *NullableDeleteModeratorResponse { - return &NullableDeleteModeratorResponse{value: val, isSet: true} -} - -func (v NullableDeleteModeratorResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteModeratorResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_notification_count_response.go b/client/model_delete_notification_count_response.go deleted file mode 100644 index ab249cc..0000000 --- a/client/model_delete_notification_count_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteNotificationCountResponse struct for DeleteNotificationCountResponse -type DeleteNotificationCountResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteNotificationCountResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteNotificationCountResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteNotificationCountResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteNotificationCountResponse struct { - value *DeleteNotificationCountResponse - isSet bool -} - -func (v NullableDeleteNotificationCountResponse) Get() *DeleteNotificationCountResponse { - return v.value -} - -func (v *NullableDeleteNotificationCountResponse) Set(val *DeleteNotificationCountResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteNotificationCountResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteNotificationCountResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteNotificationCountResponse(val *DeleteNotificationCountResponse) *NullableDeleteNotificationCountResponse { - return &NullableDeleteNotificationCountResponse{value: val, isSet: true} -} - -func (v NullableDeleteNotificationCountResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteNotificationCountResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_pending_webhook_event_response.go b/client/model_delete_pending_webhook_event_response.go deleted file mode 100644 index 2b2697d..0000000 --- a/client/model_delete_pending_webhook_event_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeletePendingWebhookEventResponse struct for DeletePendingWebhookEventResponse -type DeletePendingWebhookEventResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeletePendingWebhookEventResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeletePendingWebhookEventResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeletePendingWebhookEventResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeletePendingWebhookEventResponse struct { - value *DeletePendingWebhookEventResponse - isSet bool -} - -func (v NullableDeletePendingWebhookEventResponse) Get() *DeletePendingWebhookEventResponse { - return v.value -} - -func (v *NullableDeletePendingWebhookEventResponse) Set(val *DeletePendingWebhookEventResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeletePendingWebhookEventResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeletePendingWebhookEventResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeletePendingWebhookEventResponse(val *DeletePendingWebhookEventResponse) *NullableDeletePendingWebhookEventResponse { - return &NullableDeletePendingWebhookEventResponse{value: val, isSet: true} -} - -func (v NullableDeletePendingWebhookEventResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeletePendingWebhookEventResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_question_config_response.go b/client/model_delete_question_config_response.go deleted file mode 100644 index 89c1444..0000000 --- a/client/model_delete_question_config_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteQuestionConfigResponse struct for DeleteQuestionConfigResponse -type DeleteQuestionConfigResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteQuestionConfigResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteQuestionConfigResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteQuestionConfigResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteQuestionConfigResponse struct { - value *DeleteQuestionConfigResponse - isSet bool -} - -func (v NullableDeleteQuestionConfigResponse) Get() *DeleteQuestionConfigResponse { - return v.value -} - -func (v *NullableDeleteQuestionConfigResponse) Set(val *DeleteQuestionConfigResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteQuestionConfigResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteQuestionConfigResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteQuestionConfigResponse(val *DeleteQuestionConfigResponse) *NullableDeleteQuestionConfigResponse { - return &NullableDeleteQuestionConfigResponse{value: val, isSet: true} -} - -func (v NullableDeleteQuestionConfigResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteQuestionConfigResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_question_result_response.go b/client/model_delete_question_result_response.go deleted file mode 100644 index b1e83fc..0000000 --- a/client/model_delete_question_result_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteQuestionResultResponse struct for DeleteQuestionResultResponse -type DeleteQuestionResultResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteQuestionResultResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteQuestionResultResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteQuestionResultResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteQuestionResultResponse struct { - value *DeleteQuestionResultResponse - isSet bool -} - -func (v NullableDeleteQuestionResultResponse) Get() *DeleteQuestionResultResponse { - return v.value -} - -func (v *NullableDeleteQuestionResultResponse) Set(val *DeleteQuestionResultResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteQuestionResultResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteQuestionResultResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteQuestionResultResponse(val *DeleteQuestionResultResponse) *NullableDeleteQuestionResultResponse { - return &NullableDeleteQuestionResultResponse{value: val, isSet: true} -} - -func (v NullableDeleteQuestionResultResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteQuestionResultResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_tenant_package_response.go b/client/model_delete_tenant_package_response.go deleted file mode 100644 index 4259c73..0000000 --- a/client/model_delete_tenant_package_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteTenantPackageResponse struct for DeleteTenantPackageResponse -type DeleteTenantPackageResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteTenantPackageResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantPackageResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteTenantPackageResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteTenantPackageResponse struct { - value *DeleteTenantPackageResponse - isSet bool -} - -func (v NullableDeleteTenantPackageResponse) Get() *DeleteTenantPackageResponse { - return v.value -} - -func (v *NullableDeleteTenantPackageResponse) Set(val *DeleteTenantPackageResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteTenantPackageResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteTenantPackageResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteTenantPackageResponse(val *DeleteTenantPackageResponse) *NullableDeleteTenantPackageResponse { - return &NullableDeleteTenantPackageResponse{value: val, isSet: true} -} - -func (v NullableDeleteTenantPackageResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteTenantPackageResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_tenant_response.go b/client/model_delete_tenant_response.go deleted file mode 100644 index 4148487..0000000 --- a/client/model_delete_tenant_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteTenantResponse struct for DeleteTenantResponse -type DeleteTenantResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteTenantResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteTenantResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteTenantResponse struct { - value *DeleteTenantResponse - isSet bool -} - -func (v NullableDeleteTenantResponse) Get() *DeleteTenantResponse { - return v.value -} - -func (v *NullableDeleteTenantResponse) Set(val *DeleteTenantResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteTenantResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteTenantResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteTenantResponse(val *DeleteTenantResponse) *NullableDeleteTenantResponse { - return &NullableDeleteTenantResponse{value: val, isSet: true} -} - -func (v NullableDeleteTenantResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteTenantResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_tenant_user_response.go b/client/model_delete_tenant_user_response.go deleted file mode 100644 index 4035b56..0000000 --- a/client/model_delete_tenant_user_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteTenantUserResponse struct for DeleteTenantUserResponse -type DeleteTenantUserResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteTenantUserResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteTenantUserResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteTenantUserResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteTenantUserResponse struct { - value *DeleteTenantUserResponse - isSet bool -} - -func (v NullableDeleteTenantUserResponse) Get() *DeleteTenantUserResponse { - return v.value -} - -func (v *NullableDeleteTenantUserResponse) Set(val *DeleteTenantUserResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteTenantUserResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteTenantUserResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteTenantUserResponse(val *DeleteTenantUserResponse) *NullableDeleteTenantUserResponse { - return &NullableDeleteTenantUserResponse{value: val, isSet: true} -} - -func (v NullableDeleteTenantUserResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteTenantUserResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_user_badge_response.go b/client/model_delete_user_badge_response.go deleted file mode 100644 index dfee2b3..0000000 --- a/client/model_delete_user_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteUserBadgeResponse struct for DeleteUserBadgeResponse -type DeleteUserBadgeResponse struct { - APIEmptySuccessResponse *APIEmptySuccessResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteUserBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptySuccessResponse - err = json.Unmarshal(data, &dst.APIEmptySuccessResponse); - if err == nil { - jsonAPIEmptySuccessResponse, _ := json.Marshal(dst.APIEmptySuccessResponse) - if string(jsonAPIEmptySuccessResponse) == "{}" { // empty struct - dst.APIEmptySuccessResponse = nil - } else { - return nil // data stored in dst.APIEmptySuccessResponse, return on the first match - } - } else { - dst.APIEmptySuccessResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteUserBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteUserBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptySuccessResponse != nil { - return json.Marshal(&src.APIEmptySuccessResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteUserBadgeResponse struct { - value *DeleteUserBadgeResponse - isSet bool -} - -func (v NullableDeleteUserBadgeResponse) Get() *DeleteUserBadgeResponse { - return v.value -} - -func (v *NullableDeleteUserBadgeResponse) Set(val *DeleteUserBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteUserBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteUserBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteUserBadgeResponse(val *DeleteUserBadgeResponse) *NullableDeleteUserBadgeResponse { - return &NullableDeleteUserBadgeResponse{value: val, isSet: true} -} - -func (v NullableDeleteUserBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteUserBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_v1_page_react_response.go b/client/model_delete_v1_page_react_response.go deleted file mode 100644 index 5f4d0a1..0000000 --- a/client/model_delete_v1_page_react_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteV1PageReactResponse struct for DeleteV1PageReactResponse -type DeleteV1PageReactResponse struct { - APIError *APIError - CreateV1PageReact *CreateV1PageReact -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteV1PageReactResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateV1PageReact - err = json.Unmarshal(data, &dst.CreateV1PageReact); - if err == nil { - jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) - if string(jsonCreateV1PageReact) == "{}" { // empty struct - dst.CreateV1PageReact = nil - } else { - return nil // data stored in dst.CreateV1PageReact, return on the first match - } - } else { - dst.CreateV1PageReact = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteV1PageReactResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteV1PageReactResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateV1PageReact != nil { - return json.Marshal(&src.CreateV1PageReact) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteV1PageReactResponse struct { - value *DeleteV1PageReactResponse - isSet bool -} - -func (v NullableDeleteV1PageReactResponse) Get() *DeleteV1PageReactResponse { - return v.value -} - -func (v *NullableDeleteV1PageReactResponse) Set(val *DeleteV1PageReactResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteV1PageReactResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteV1PageReactResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteV1PageReactResponse(val *DeleteV1PageReactResponse) *NullableDeleteV1PageReactResponse { - return &NullableDeleteV1PageReactResponse{value: val, isSet: true} -} - -func (v NullableDeleteV1PageReactResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteV1PageReactResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_v2_page_react_response.go b/client/model_delete_v2_page_react_response.go deleted file mode 100644 index 542234e..0000000 --- a/client/model_delete_v2_page_react_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteV2PageReactResponse struct for DeleteV2PageReactResponse -type DeleteV2PageReactResponse struct { - APIError *APIError - CreateV1PageReact *CreateV1PageReact -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteV2PageReactResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateV1PageReact - err = json.Unmarshal(data, &dst.CreateV1PageReact); - if err == nil { - jsonCreateV1PageReact, _ := json.Marshal(dst.CreateV1PageReact) - if string(jsonCreateV1PageReact) == "{}" { // empty struct - dst.CreateV1PageReact = nil - } else { - return nil // data stored in dst.CreateV1PageReact, return on the first match - } - } else { - dst.CreateV1PageReact = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteV2PageReactResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteV2PageReactResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateV1PageReact != nil { - return json.Marshal(&src.CreateV1PageReact) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteV2PageReactResponse struct { - value *DeleteV2PageReactResponse - isSet bool -} - -func (v NullableDeleteV2PageReactResponse) Get() *DeleteV2PageReactResponse { - return v.value -} - -func (v *NullableDeleteV2PageReactResponse) Set(val *DeleteV2PageReactResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteV2PageReactResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteV2PageReactResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteV2PageReactResponse(val *DeleteV2PageReactResponse) *NullableDeleteV2PageReactResponse { - return &NullableDeleteV2PageReactResponse{value: val, isSet: true} -} - -func (v NullableDeleteV2PageReactResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteV2PageReactResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_delete_vote_response.go b/client/model_delete_vote_response.go deleted file mode 100644 index 70707cf..0000000 --- a/client/model_delete_vote_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// DeleteVoteResponse struct for DeleteVoteResponse -type DeleteVoteResponse struct { - APIError *APIError - VoteDeleteResponse *VoteDeleteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *DeleteVoteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteDeleteResponse - err = json.Unmarshal(data, &dst.VoteDeleteResponse); - if err == nil { - jsonVoteDeleteResponse, _ := json.Marshal(dst.VoteDeleteResponse) - if string(jsonVoteDeleteResponse) == "{}" { // empty struct - dst.VoteDeleteResponse = nil - } else { - return nil // data stored in dst.VoteDeleteResponse, return on the first match - } - } else { - dst.VoteDeleteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(DeleteVoteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src DeleteVoteResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteDeleteResponse != nil { - return json.Marshal(&src.VoteDeleteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableDeleteVoteResponse struct { - value *DeleteVoteResponse - isSet bool -} - -func (v NullableDeleteVoteResponse) Get() *DeleteVoteResponse { - return v.value -} - -func (v *NullableDeleteVoteResponse) Set(val *DeleteVoteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableDeleteVoteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableDeleteVoteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDeleteVoteResponse(val *DeleteVoteResponse) *NullableDeleteVoteResponse { - return &NullableDeleteVoteResponse{value: val, isSet: true} -} - -func (v NullableDeleteVoteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDeleteVoteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_flag_comment_public_response.go b/client/model_flag_comment_public_response.go deleted file mode 100644 index 6dda643..0000000 --- a/client/model_flag_comment_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// FlagCommentPublicResponse struct for FlagCommentPublicResponse -type FlagCommentPublicResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *FlagCommentPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(FlagCommentPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src FlagCommentPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableFlagCommentPublicResponse struct { - value *FlagCommentPublicResponse - isSet bool -} - -func (v NullableFlagCommentPublicResponse) Get() *FlagCommentPublicResponse { - return v.value -} - -func (v *NullableFlagCommentPublicResponse) Set(val *FlagCommentPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableFlagCommentPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableFlagCommentPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFlagCommentPublicResponse(val *FlagCommentPublicResponse) *NullableFlagCommentPublicResponse { - return &NullableFlagCommentPublicResponse{value: val, isSet: true} -} - -func (v NullableFlagCommentPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFlagCommentPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_flag_comment_response_1.go b/client/model_flag_comment_response_1.go deleted file mode 100644 index 390d6cc..0000000 --- a/client/model_flag_comment_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// FlagCommentResponse1 struct for FlagCommentResponse1 -type FlagCommentResponse1 struct { - APIError *APIError - FlagCommentResponse *FlagCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *FlagCommentResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into FlagCommentResponse - err = json.Unmarshal(data, &dst.FlagCommentResponse); - if err == nil { - jsonFlagCommentResponse, _ := json.Marshal(dst.FlagCommentResponse) - if string(jsonFlagCommentResponse) == "{}" { // empty struct - dst.FlagCommentResponse = nil - } else { - return nil // data stored in dst.FlagCommentResponse, return on the first match - } - } else { - dst.FlagCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(FlagCommentResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src FlagCommentResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.FlagCommentResponse != nil { - return json.Marshal(&src.FlagCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableFlagCommentResponse1 struct { - value *FlagCommentResponse1 - isSet bool -} - -func (v NullableFlagCommentResponse1) Get() *FlagCommentResponse1 { - return v.value -} - -func (v *NullableFlagCommentResponse1) Set(val *FlagCommentResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableFlagCommentResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableFlagCommentResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFlagCommentResponse1(val *FlagCommentResponse1) *NullableFlagCommentResponse1 { - return &NullableFlagCommentResponse1{value: val, isSet: true} -} - -func (v NullableFlagCommentResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFlagCommentResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_api_comments_response.go b/client/model_get_api_comments_response.go deleted file mode 100644 index e851a13..0000000 --- a/client/model_get_api_comments_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetApiCommentsResponse struct for GetApiCommentsResponse -type GetApiCommentsResponse struct { - APIError *APIError - ModerationAPIGetCommentsResponse *ModerationAPIGetCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetApiCommentsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPIGetCommentsResponse - err = json.Unmarshal(data, &dst.ModerationAPIGetCommentsResponse); - if err == nil { - jsonModerationAPIGetCommentsResponse, _ := json.Marshal(dst.ModerationAPIGetCommentsResponse) - if string(jsonModerationAPIGetCommentsResponse) == "{}" { // empty struct - dst.ModerationAPIGetCommentsResponse = nil - } else { - return nil // data stored in dst.ModerationAPIGetCommentsResponse, return on the first match - } - } else { - dst.ModerationAPIGetCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetApiCommentsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetApiCommentsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPIGetCommentsResponse != nil { - return json.Marshal(&src.ModerationAPIGetCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetApiCommentsResponse struct { - value *GetApiCommentsResponse - isSet bool -} - -func (v NullableGetApiCommentsResponse) Get() *GetApiCommentsResponse { - return v.value -} - -func (v *NullableGetApiCommentsResponse) Set(val *GetApiCommentsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetApiCommentsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetApiCommentsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetApiCommentsResponse(val *GetApiCommentsResponse) *NullableGetApiCommentsResponse { - return &NullableGetApiCommentsResponse{value: val, isSet: true} -} - -func (v NullableGetApiCommentsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetApiCommentsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_api_export_status_response.go b/client/model_get_api_export_status_response.go deleted file mode 100644 index 27bf095..0000000 --- a/client/model_get_api_export_status_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetApiExportStatusResponse struct for GetApiExportStatusResponse -type GetApiExportStatusResponse struct { - APIError *APIError - ModerationExportStatusResponse *ModerationExportStatusResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetApiExportStatusResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationExportStatusResponse - err = json.Unmarshal(data, &dst.ModerationExportStatusResponse); - if err == nil { - jsonModerationExportStatusResponse, _ := json.Marshal(dst.ModerationExportStatusResponse) - if string(jsonModerationExportStatusResponse) == "{}" { // empty struct - dst.ModerationExportStatusResponse = nil - } else { - return nil // data stored in dst.ModerationExportStatusResponse, return on the first match - } - } else { - dst.ModerationExportStatusResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetApiExportStatusResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetApiExportStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationExportStatusResponse != nil { - return json.Marshal(&src.ModerationExportStatusResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetApiExportStatusResponse struct { - value *GetApiExportStatusResponse - isSet bool -} - -func (v NullableGetApiExportStatusResponse) Get() *GetApiExportStatusResponse { - return v.value -} - -func (v *NullableGetApiExportStatusResponse) Set(val *GetApiExportStatusResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetApiExportStatusResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetApiExportStatusResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetApiExportStatusResponse(val *GetApiExportStatusResponse) *NullableGetApiExportStatusResponse { - return &NullableGetApiExportStatusResponse{value: val, isSet: true} -} - -func (v NullableGetApiExportStatusResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetApiExportStatusResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_api_ids_response.go b/client/model_get_api_ids_response.go deleted file mode 100644 index 3682933..0000000 --- a/client/model_get_api_ids_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetApiIdsResponse struct for GetApiIdsResponse -type GetApiIdsResponse struct { - APIError *APIError - ModerationAPIGetCommentIdsResponse *ModerationAPIGetCommentIdsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetApiIdsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPIGetCommentIdsResponse - err = json.Unmarshal(data, &dst.ModerationAPIGetCommentIdsResponse); - if err == nil { - jsonModerationAPIGetCommentIdsResponse, _ := json.Marshal(dst.ModerationAPIGetCommentIdsResponse) - if string(jsonModerationAPIGetCommentIdsResponse) == "{}" { // empty struct - dst.ModerationAPIGetCommentIdsResponse = nil - } else { - return nil // data stored in dst.ModerationAPIGetCommentIdsResponse, return on the first match - } - } else { - dst.ModerationAPIGetCommentIdsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetApiIdsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetApiIdsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPIGetCommentIdsResponse != nil { - return json.Marshal(&src.ModerationAPIGetCommentIdsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetApiIdsResponse struct { - value *GetApiIdsResponse - isSet bool -} - -func (v NullableGetApiIdsResponse) Get() *GetApiIdsResponse { - return v.value -} - -func (v *NullableGetApiIdsResponse) Set(val *GetApiIdsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetApiIdsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetApiIdsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetApiIdsResponse(val *GetApiIdsResponse) *NullableGetApiIdsResponse { - return &NullableGetApiIdsResponse{value: val, isSet: true} -} - -func (v NullableGetApiIdsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetApiIdsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_audit_logs_response_1.go b/client/model_get_audit_logs_response_1.go deleted file mode 100644 index 4c2b0f8..0000000 --- a/client/model_get_audit_logs_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetAuditLogsResponse1 struct for GetAuditLogsResponse1 -type GetAuditLogsResponse1 struct { - APIError *APIError - GetAuditLogsResponse *GetAuditLogsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetAuditLogsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetAuditLogsResponse - err = json.Unmarshal(data, &dst.GetAuditLogsResponse); - if err == nil { - jsonGetAuditLogsResponse, _ := json.Marshal(dst.GetAuditLogsResponse) - if string(jsonGetAuditLogsResponse) == "{}" { // empty struct - dst.GetAuditLogsResponse = nil - } else { - return nil // data stored in dst.GetAuditLogsResponse, return on the first match - } - } else { - dst.GetAuditLogsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetAuditLogsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetAuditLogsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetAuditLogsResponse != nil { - return json.Marshal(&src.GetAuditLogsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetAuditLogsResponse1 struct { - value *GetAuditLogsResponse1 - isSet bool -} - -func (v NullableGetAuditLogsResponse1) Get() *GetAuditLogsResponse1 { - return v.value -} - -func (v *NullableGetAuditLogsResponse1) Set(val *GetAuditLogsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetAuditLogsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetAuditLogsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetAuditLogsResponse1(val *GetAuditLogsResponse1) *NullableGetAuditLogsResponse1 { - return &NullableGetAuditLogsResponse1{value: val, isSet: true} -} - -func (v NullableGetAuditLogsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetAuditLogsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_ban_users_from_comment_response.go b/client/model_get_ban_users_from_comment_response.go deleted file mode 100644 index 4940d89..0000000 --- a/client/model_get_ban_users_from_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetBanUsersFromCommentResponse struct for GetBanUsersFromCommentResponse -type GetBanUsersFromCommentResponse struct { - APIError *APIError - GetBannedUsersFromCommentResponse *GetBannedUsersFromCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetBanUsersFromCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetBannedUsersFromCommentResponse - err = json.Unmarshal(data, &dst.GetBannedUsersFromCommentResponse); - if err == nil { - jsonGetBannedUsersFromCommentResponse, _ := json.Marshal(dst.GetBannedUsersFromCommentResponse) - if string(jsonGetBannedUsersFromCommentResponse) == "{}" { // empty struct - dst.GetBannedUsersFromCommentResponse = nil - } else { - return nil // data stored in dst.GetBannedUsersFromCommentResponse, return on the first match - } - } else { - dst.GetBannedUsersFromCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetBanUsersFromCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetBanUsersFromCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetBannedUsersFromCommentResponse != nil { - return json.Marshal(&src.GetBannedUsersFromCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetBanUsersFromCommentResponse struct { - value *GetBanUsersFromCommentResponse - isSet bool -} - -func (v NullableGetBanUsersFromCommentResponse) Get() *GetBanUsersFromCommentResponse { - return v.value -} - -func (v *NullableGetBanUsersFromCommentResponse) Set(val *GetBanUsersFromCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetBanUsersFromCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetBanUsersFromCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetBanUsersFromCommentResponse(val *GetBanUsersFromCommentResponse) *NullableGetBanUsersFromCommentResponse { - return &NullableGetBanUsersFromCommentResponse{value: val, isSet: true} -} - -func (v NullableGetBanUsersFromCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetBanUsersFromCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_cached_notification_count_response_1.go b/client/model_get_cached_notification_count_response_1.go deleted file mode 100644 index 5fa2c96..0000000 --- a/client/model_get_cached_notification_count_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCachedNotificationCountResponse1 struct for GetCachedNotificationCountResponse1 -type GetCachedNotificationCountResponse1 struct { - APIError *APIError - GetCachedNotificationCountResponse *GetCachedNotificationCountResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCachedNotificationCountResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCachedNotificationCountResponse - err = json.Unmarshal(data, &dst.GetCachedNotificationCountResponse); - if err == nil { - jsonGetCachedNotificationCountResponse, _ := json.Marshal(dst.GetCachedNotificationCountResponse) - if string(jsonGetCachedNotificationCountResponse) == "{}" { // empty struct - dst.GetCachedNotificationCountResponse = nil - } else { - return nil // data stored in dst.GetCachedNotificationCountResponse, return on the first match - } - } else { - dst.GetCachedNotificationCountResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCachedNotificationCountResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCachedNotificationCountResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCachedNotificationCountResponse != nil { - return json.Marshal(&src.GetCachedNotificationCountResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCachedNotificationCountResponse1 struct { - value *GetCachedNotificationCountResponse1 - isSet bool -} - -func (v NullableGetCachedNotificationCountResponse1) Get() *GetCachedNotificationCountResponse1 { - return v.value -} - -func (v *NullableGetCachedNotificationCountResponse1) Set(val *GetCachedNotificationCountResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetCachedNotificationCountResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCachedNotificationCountResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCachedNotificationCountResponse1(val *GetCachedNotificationCountResponse1) *NullableGetCachedNotificationCountResponse1 { - return &NullableGetCachedNotificationCountResponse1{value: val, isSet: true} -} - -func (v NullableGetCachedNotificationCountResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCachedNotificationCountResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comment_ban_status_response_1.go b/client/model_get_comment_ban_status_response_1.go deleted file mode 100644 index 5943ee9..0000000 --- a/client/model_get_comment_ban_status_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentBanStatusResponse1 struct for GetCommentBanStatusResponse1 -type GetCommentBanStatusResponse1 struct { - APIError *APIError - GetCommentBanStatusResponse *GetCommentBanStatusResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentBanStatusResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCommentBanStatusResponse - err = json.Unmarshal(data, &dst.GetCommentBanStatusResponse); - if err == nil { - jsonGetCommentBanStatusResponse, _ := json.Marshal(dst.GetCommentBanStatusResponse) - if string(jsonGetCommentBanStatusResponse) == "{}" { // empty struct - dst.GetCommentBanStatusResponse = nil - } else { - return nil // data stored in dst.GetCommentBanStatusResponse, return on the first match - } - } else { - dst.GetCommentBanStatusResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentBanStatusResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentBanStatusResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCommentBanStatusResponse != nil { - return json.Marshal(&src.GetCommentBanStatusResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentBanStatusResponse1 struct { - value *GetCommentBanStatusResponse1 - isSet bool -} - -func (v NullableGetCommentBanStatusResponse1) Get() *GetCommentBanStatusResponse1 { - return v.value -} - -func (v *NullableGetCommentBanStatusResponse1) Set(val *GetCommentBanStatusResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentBanStatusResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentBanStatusResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentBanStatusResponse1(val *GetCommentBanStatusResponse1) *NullableGetCommentBanStatusResponse1 { - return &NullableGetCommentBanStatusResponse1{value: val, isSet: true} -} - -func (v NullableGetCommentBanStatusResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentBanStatusResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comment_children_response.go b/client/model_get_comment_children_response.go deleted file mode 100644 index 2097fbe..0000000 --- a/client/model_get_comment_children_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentChildrenResponse struct for GetCommentChildrenResponse -type GetCommentChildrenResponse struct { - APIError *APIError - ModerationAPIChildCommentsResponse *ModerationAPIChildCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentChildrenResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPIChildCommentsResponse - err = json.Unmarshal(data, &dst.ModerationAPIChildCommentsResponse); - if err == nil { - jsonModerationAPIChildCommentsResponse, _ := json.Marshal(dst.ModerationAPIChildCommentsResponse) - if string(jsonModerationAPIChildCommentsResponse) == "{}" { // empty struct - dst.ModerationAPIChildCommentsResponse = nil - } else { - return nil // data stored in dst.ModerationAPIChildCommentsResponse, return on the first match - } - } else { - dst.ModerationAPIChildCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentChildrenResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentChildrenResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPIChildCommentsResponse != nil { - return json.Marshal(&src.ModerationAPIChildCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentChildrenResponse struct { - value *GetCommentChildrenResponse - isSet bool -} - -func (v NullableGetCommentChildrenResponse) Get() *GetCommentChildrenResponse { - return v.value -} - -func (v *NullableGetCommentChildrenResponse) Set(val *GetCommentChildrenResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentChildrenResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentChildrenResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentChildrenResponse(val *GetCommentChildrenResponse) *NullableGetCommentChildrenResponse { - return &NullableGetCommentChildrenResponse{value: val, isSet: true} -} - -func (v NullableGetCommentChildrenResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentChildrenResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comment_response.go b/client/model_get_comment_response.go deleted file mode 100644 index cf466eb..0000000 --- a/client/model_get_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentResponse struct for GetCommentResponse -type GetCommentResponse struct { - APIError *APIError - APIGetCommentResponse *APIGetCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetCommentResponse - err = json.Unmarshal(data, &dst.APIGetCommentResponse); - if err == nil { - jsonAPIGetCommentResponse, _ := json.Marshal(dst.APIGetCommentResponse) - if string(jsonAPIGetCommentResponse) == "{}" { // empty struct - dst.APIGetCommentResponse = nil - } else { - return nil // data stored in dst.APIGetCommentResponse, return on the first match - } - } else { - dst.APIGetCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetCommentResponse != nil { - return json.Marshal(&src.APIGetCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentResponse struct { - value *GetCommentResponse - isSet bool -} - -func (v NullableGetCommentResponse) Get() *GetCommentResponse { - return v.value -} - -func (v *NullableGetCommentResponse) Set(val *GetCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentResponse(val *GetCommentResponse) *NullableGetCommentResponse { - return &NullableGetCommentResponse{value: val, isSet: true} -} - -func (v NullableGetCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comment_text_response_1.go b/client/model_get_comment_text_response_1.go deleted file mode 100644 index 22ec4f2..0000000 --- a/client/model_get_comment_text_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentTextResponse1 struct for GetCommentTextResponse1 -type GetCommentTextResponse1 struct { - APIError *APIError - PublicAPIGetCommentTextResponse *PublicAPIGetCommentTextResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentTextResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PublicAPIGetCommentTextResponse - err = json.Unmarshal(data, &dst.PublicAPIGetCommentTextResponse); - if err == nil { - jsonPublicAPIGetCommentTextResponse, _ := json.Marshal(dst.PublicAPIGetCommentTextResponse) - if string(jsonPublicAPIGetCommentTextResponse) == "{}" { // empty struct - dst.PublicAPIGetCommentTextResponse = nil - } else { - return nil // data stored in dst.PublicAPIGetCommentTextResponse, return on the first match - } - } else { - dst.PublicAPIGetCommentTextResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentTextResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentTextResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PublicAPIGetCommentTextResponse != nil { - return json.Marshal(&src.PublicAPIGetCommentTextResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentTextResponse1 struct { - value *GetCommentTextResponse1 - isSet bool -} - -func (v NullableGetCommentTextResponse1) Get() *GetCommentTextResponse1 { - return v.value -} - -func (v *NullableGetCommentTextResponse1) Set(val *GetCommentTextResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentTextResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentTextResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentTextResponse1(val *GetCommentTextResponse1) *NullableGetCommentTextResponse1 { - return &NullableGetCommentTextResponse1{value: val, isSet: true} -} - -func (v NullableGetCommentTextResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentTextResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comment_vote_user_names_response.go b/client/model_get_comment_vote_user_names_response.go deleted file mode 100644 index 59f9ee0..0000000 --- a/client/model_get_comment_vote_user_names_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentVoteUserNamesResponse struct for GetCommentVoteUserNamesResponse -type GetCommentVoteUserNamesResponse struct { - APIError *APIError - GetCommentVoteUserNamesSuccessResponse *GetCommentVoteUserNamesSuccessResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentVoteUserNamesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCommentVoteUserNamesSuccessResponse - err = json.Unmarshal(data, &dst.GetCommentVoteUserNamesSuccessResponse); - if err == nil { - jsonGetCommentVoteUserNamesSuccessResponse, _ := json.Marshal(dst.GetCommentVoteUserNamesSuccessResponse) - if string(jsonGetCommentVoteUserNamesSuccessResponse) == "{}" { // empty struct - dst.GetCommentVoteUserNamesSuccessResponse = nil - } else { - return nil // data stored in dst.GetCommentVoteUserNamesSuccessResponse, return on the first match - } - } else { - dst.GetCommentVoteUserNamesSuccessResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentVoteUserNamesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentVoteUserNamesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCommentVoteUserNamesSuccessResponse != nil { - return json.Marshal(&src.GetCommentVoteUserNamesSuccessResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentVoteUserNamesResponse struct { - value *GetCommentVoteUserNamesResponse - isSet bool -} - -func (v NullableGetCommentVoteUserNamesResponse) Get() *GetCommentVoteUserNamesResponse { - return v.value -} - -func (v *NullableGetCommentVoteUserNamesResponse) Set(val *GetCommentVoteUserNamesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentVoteUserNamesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentVoteUserNamesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentVoteUserNamesResponse(val *GetCommentVoteUserNamesResponse) *NullableGetCommentVoteUserNamesResponse { - return &NullableGetCommentVoteUserNamesResponse{value: val, isSet: true} -} - -func (v NullableGetCommentVoteUserNamesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentVoteUserNamesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comments_for_user_response_1.go b/client/model_get_comments_for_user_response_1.go deleted file mode 100644 index 6032741..0000000 --- a/client/model_get_comments_for_user_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentsForUserResponse1 struct for GetCommentsForUserResponse1 -type GetCommentsForUserResponse1 struct { - APIError *APIError - GetCommentsForUserResponse *GetCommentsForUserResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentsForUserResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCommentsForUserResponse - err = json.Unmarshal(data, &dst.GetCommentsForUserResponse); - if err == nil { - jsonGetCommentsForUserResponse, _ := json.Marshal(dst.GetCommentsForUserResponse) - if string(jsonGetCommentsForUserResponse) == "{}" { // empty struct - dst.GetCommentsForUserResponse = nil - } else { - return nil // data stored in dst.GetCommentsForUserResponse, return on the first match - } - } else { - dst.GetCommentsForUserResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsForUserResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentsForUserResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCommentsForUserResponse != nil { - return json.Marshal(&src.GetCommentsForUserResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentsForUserResponse1 struct { - value *GetCommentsForUserResponse1 - isSet bool -} - -func (v NullableGetCommentsForUserResponse1) Get() *GetCommentsForUserResponse1 { - return v.value -} - -func (v *NullableGetCommentsForUserResponse1) Set(val *GetCommentsForUserResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentsForUserResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentsForUserResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentsForUserResponse1(val *GetCommentsForUserResponse1) *NullableGetCommentsForUserResponse1 { - return &NullableGetCommentsForUserResponse1{value: val, isSet: true} -} - -func (v NullableGetCommentsForUserResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentsForUserResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comments_public_response.go b/client/model_get_comments_public_response.go deleted file mode 100644 index ff05075..0000000 --- a/client/model_get_comments_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentsPublicResponse struct for GetCommentsPublicResponse -type GetCommentsPublicResponse struct { - APIError *APIError - GetCommentsResponseWithPresencePublicComment *GetCommentsResponseWithPresencePublicComment -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentsPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCommentsResponseWithPresencePublicComment - err = json.Unmarshal(data, &dst.GetCommentsResponseWithPresencePublicComment); - if err == nil { - jsonGetCommentsResponseWithPresencePublicComment, _ := json.Marshal(dst.GetCommentsResponseWithPresencePublicComment) - if string(jsonGetCommentsResponseWithPresencePublicComment) == "{}" { // empty struct - dst.GetCommentsResponseWithPresencePublicComment = nil - } else { - return nil // data stored in dst.GetCommentsResponseWithPresencePublicComment, return on the first match - } - } else { - dst.GetCommentsResponseWithPresencePublicComment = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentsPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCommentsResponseWithPresencePublicComment != nil { - return json.Marshal(&src.GetCommentsResponseWithPresencePublicComment) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentsPublicResponse struct { - value *GetCommentsPublicResponse - isSet bool -} - -func (v NullableGetCommentsPublicResponse) Get() *GetCommentsPublicResponse { - return v.value -} - -func (v *NullableGetCommentsPublicResponse) Set(val *GetCommentsPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentsPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentsPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentsPublicResponse(val *GetCommentsPublicResponse) *NullableGetCommentsPublicResponse { - return &NullableGetCommentsPublicResponse{value: val, isSet: true} -} - -func (v NullableGetCommentsPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentsPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_comments_response.go b/client/model_get_comments_response.go deleted file mode 100644 index c78ec62..0000000 --- a/client/model_get_comments_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCommentsResponse struct for GetCommentsResponse -type GetCommentsResponse struct { - APIError *APIError - APIGetCommentsResponse *APIGetCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCommentsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetCommentsResponse - err = json.Unmarshal(data, &dst.APIGetCommentsResponse); - if err == nil { - jsonAPIGetCommentsResponse, _ := json.Marshal(dst.APIGetCommentsResponse) - if string(jsonAPIGetCommentsResponse) == "{}" { // empty struct - dst.APIGetCommentsResponse = nil - } else { - return nil // data stored in dst.APIGetCommentsResponse, return on the first match - } - } else { - dst.APIGetCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCommentsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCommentsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetCommentsResponse != nil { - return json.Marshal(&src.APIGetCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCommentsResponse struct { - value *GetCommentsResponse - isSet bool -} - -func (v NullableGetCommentsResponse) Get() *GetCommentsResponse { - return v.value -} - -func (v *NullableGetCommentsResponse) Set(val *GetCommentsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCommentsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCommentsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCommentsResponse(val *GetCommentsResponse) *NullableGetCommentsResponse { - return &NullableGetCommentsResponse{value: val, isSet: true} -} - -func (v NullableGetCommentsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCommentsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_count_response.go b/client/model_get_count_response.go deleted file mode 100644 index 9deb8c8..0000000 --- a/client/model_get_count_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCountResponse struct for GetCountResponse -type GetCountResponse struct { - APIError *APIError - ModerationAPICountCommentsResponse *ModerationAPICountCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCountResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPICountCommentsResponse - err = json.Unmarshal(data, &dst.ModerationAPICountCommentsResponse); - if err == nil { - jsonModerationAPICountCommentsResponse, _ := json.Marshal(dst.ModerationAPICountCommentsResponse) - if string(jsonModerationAPICountCommentsResponse) == "{}" { // empty struct - dst.ModerationAPICountCommentsResponse = nil - } else { - return nil // data stored in dst.ModerationAPICountCommentsResponse, return on the first match - } - } else { - dst.ModerationAPICountCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCountResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCountResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPICountCommentsResponse != nil { - return json.Marshal(&src.ModerationAPICountCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCountResponse struct { - value *GetCountResponse - isSet bool -} - -func (v NullableGetCountResponse) Get() *GetCountResponse { - return v.value -} - -func (v *NullableGetCountResponse) Set(val *GetCountResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCountResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCountResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCountResponse(val *GetCountResponse) *NullableGetCountResponse { - return &NullableGetCountResponse{value: val, isSet: true} -} - -func (v NullableGetCountResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCountResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_counts_response.go b/client/model_get_counts_response.go deleted file mode 100644 index 0b113ee..0000000 --- a/client/model_get_counts_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetCountsResponse struct for GetCountsResponse -type GetCountsResponse struct { - APIError *APIError - GetBannedUsersCountResponse *GetBannedUsersCountResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetCountsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetBannedUsersCountResponse - err = json.Unmarshal(data, &dst.GetBannedUsersCountResponse); - if err == nil { - jsonGetBannedUsersCountResponse, _ := json.Marshal(dst.GetBannedUsersCountResponse) - if string(jsonGetBannedUsersCountResponse) == "{}" { // empty struct - dst.GetBannedUsersCountResponse = nil - } else { - return nil // data stored in dst.GetBannedUsersCountResponse, return on the first match - } - } else { - dst.GetBannedUsersCountResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetCountsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetCountsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetBannedUsersCountResponse != nil { - return json.Marshal(&src.GetBannedUsersCountResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetCountsResponse struct { - value *GetCountsResponse - isSet bool -} - -func (v NullableGetCountsResponse) Get() *GetCountsResponse { - return v.value -} - -func (v *NullableGetCountsResponse) Set(val *GetCountsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetCountsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetCountsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetCountsResponse(val *GetCountsResponse) *NullableGetCountsResponse { - return &NullableGetCountsResponse{value: val, isSet: true} -} - -func (v NullableGetCountsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetCountsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_email_template_definitions_response_1.go b/client/model_get_email_template_definitions_response_1.go deleted file mode 100644 index 86723cf..0000000 --- a/client/model_get_email_template_definitions_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetEmailTemplateDefinitionsResponse1 struct for GetEmailTemplateDefinitionsResponse1 -type GetEmailTemplateDefinitionsResponse1 struct { - APIError *APIError - GetEmailTemplateDefinitionsResponse *GetEmailTemplateDefinitionsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetEmailTemplateDefinitionsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEmailTemplateDefinitionsResponse - err = json.Unmarshal(data, &dst.GetEmailTemplateDefinitionsResponse); - if err == nil { - jsonGetEmailTemplateDefinitionsResponse, _ := json.Marshal(dst.GetEmailTemplateDefinitionsResponse) - if string(jsonGetEmailTemplateDefinitionsResponse) == "{}" { // empty struct - dst.GetEmailTemplateDefinitionsResponse = nil - } else { - return nil // data stored in dst.GetEmailTemplateDefinitionsResponse, return on the first match - } - } else { - dst.GetEmailTemplateDefinitionsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateDefinitionsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetEmailTemplateDefinitionsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEmailTemplateDefinitionsResponse != nil { - return json.Marshal(&src.GetEmailTemplateDefinitionsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetEmailTemplateDefinitionsResponse1 struct { - value *GetEmailTemplateDefinitionsResponse1 - isSet bool -} - -func (v NullableGetEmailTemplateDefinitionsResponse1) Get() *GetEmailTemplateDefinitionsResponse1 { - return v.value -} - -func (v *NullableGetEmailTemplateDefinitionsResponse1) Set(val *GetEmailTemplateDefinitionsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetEmailTemplateDefinitionsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetEmailTemplateDefinitionsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetEmailTemplateDefinitionsResponse1(val *GetEmailTemplateDefinitionsResponse1) *NullableGetEmailTemplateDefinitionsResponse1 { - return &NullableGetEmailTemplateDefinitionsResponse1{value: val, isSet: true} -} - -func (v NullableGetEmailTemplateDefinitionsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetEmailTemplateDefinitionsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_email_template_render_errors_response_1.go b/client/model_get_email_template_render_errors_response_1.go deleted file mode 100644 index 3467319..0000000 --- a/client/model_get_email_template_render_errors_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetEmailTemplateRenderErrorsResponse1 struct for GetEmailTemplateRenderErrorsResponse1 -type GetEmailTemplateRenderErrorsResponse1 struct { - APIError *APIError - GetEmailTemplateRenderErrorsResponse *GetEmailTemplateRenderErrorsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetEmailTemplateRenderErrorsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEmailTemplateRenderErrorsResponse - err = json.Unmarshal(data, &dst.GetEmailTemplateRenderErrorsResponse); - if err == nil { - jsonGetEmailTemplateRenderErrorsResponse, _ := json.Marshal(dst.GetEmailTemplateRenderErrorsResponse) - if string(jsonGetEmailTemplateRenderErrorsResponse) == "{}" { // empty struct - dst.GetEmailTemplateRenderErrorsResponse = nil - } else { - return nil // data stored in dst.GetEmailTemplateRenderErrorsResponse, return on the first match - } - } else { - dst.GetEmailTemplateRenderErrorsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateRenderErrorsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetEmailTemplateRenderErrorsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEmailTemplateRenderErrorsResponse != nil { - return json.Marshal(&src.GetEmailTemplateRenderErrorsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetEmailTemplateRenderErrorsResponse1 struct { - value *GetEmailTemplateRenderErrorsResponse1 - isSet bool -} - -func (v NullableGetEmailTemplateRenderErrorsResponse1) Get() *GetEmailTemplateRenderErrorsResponse1 { - return v.value -} - -func (v *NullableGetEmailTemplateRenderErrorsResponse1) Set(val *GetEmailTemplateRenderErrorsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetEmailTemplateRenderErrorsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetEmailTemplateRenderErrorsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetEmailTemplateRenderErrorsResponse1(val *GetEmailTemplateRenderErrorsResponse1) *NullableGetEmailTemplateRenderErrorsResponse1 { - return &NullableGetEmailTemplateRenderErrorsResponse1{value: val, isSet: true} -} - -func (v NullableGetEmailTemplateRenderErrorsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetEmailTemplateRenderErrorsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_email_template_response_1.go b/client/model_get_email_template_response_1.go deleted file mode 100644 index e00e087..0000000 --- a/client/model_get_email_template_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetEmailTemplateResponse1 struct for GetEmailTemplateResponse1 -type GetEmailTemplateResponse1 struct { - APIError *APIError - GetEmailTemplateResponse *GetEmailTemplateResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetEmailTemplateResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEmailTemplateResponse - err = json.Unmarshal(data, &dst.GetEmailTemplateResponse); - if err == nil { - jsonGetEmailTemplateResponse, _ := json.Marshal(dst.GetEmailTemplateResponse) - if string(jsonGetEmailTemplateResponse) == "{}" { // empty struct - dst.GetEmailTemplateResponse = nil - } else { - return nil // data stored in dst.GetEmailTemplateResponse, return on the first match - } - } else { - dst.GetEmailTemplateResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplateResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEmailTemplateResponse != nil { - return json.Marshal(&src.GetEmailTemplateResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetEmailTemplateResponse1 struct { - value *GetEmailTemplateResponse1 - isSet bool -} - -func (v NullableGetEmailTemplateResponse1) Get() *GetEmailTemplateResponse1 { - return v.value -} - -func (v *NullableGetEmailTemplateResponse1) Set(val *GetEmailTemplateResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetEmailTemplateResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetEmailTemplateResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetEmailTemplateResponse1(val *GetEmailTemplateResponse1) *NullableGetEmailTemplateResponse1 { - return &NullableGetEmailTemplateResponse1{value: val, isSet: true} -} - -func (v NullableGetEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetEmailTemplateResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_email_templates_response_1.go b/client/model_get_email_templates_response_1.go deleted file mode 100644 index 0cc62d8..0000000 --- a/client/model_get_email_templates_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetEmailTemplatesResponse1 struct for GetEmailTemplatesResponse1 -type GetEmailTemplatesResponse1 struct { - APIError *APIError - GetEmailTemplatesResponse *GetEmailTemplatesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetEmailTemplatesResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEmailTemplatesResponse - err = json.Unmarshal(data, &dst.GetEmailTemplatesResponse); - if err == nil { - jsonGetEmailTemplatesResponse, _ := json.Marshal(dst.GetEmailTemplatesResponse) - if string(jsonGetEmailTemplatesResponse) == "{}" { // empty struct - dst.GetEmailTemplatesResponse = nil - } else { - return nil // data stored in dst.GetEmailTemplatesResponse, return on the first match - } - } else { - dst.GetEmailTemplatesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetEmailTemplatesResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetEmailTemplatesResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEmailTemplatesResponse != nil { - return json.Marshal(&src.GetEmailTemplatesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetEmailTemplatesResponse1 struct { - value *GetEmailTemplatesResponse1 - isSet bool -} - -func (v NullableGetEmailTemplatesResponse1) Get() *GetEmailTemplatesResponse1 { - return v.value -} - -func (v *NullableGetEmailTemplatesResponse1) Set(val *GetEmailTemplatesResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetEmailTemplatesResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetEmailTemplatesResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetEmailTemplatesResponse1(val *GetEmailTemplatesResponse1) *NullableGetEmailTemplatesResponse1 { - return &NullableGetEmailTemplatesResponse1{value: val, isSet: true} -} - -func (v NullableGetEmailTemplatesResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetEmailTemplatesResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_event_log_response_1.go b/client/model_get_event_log_response_1.go deleted file mode 100644 index 747e4c3..0000000 --- a/client/model_get_event_log_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetEventLogResponse1 struct for GetEventLogResponse1 -type GetEventLogResponse1 struct { - APIError *APIError - GetEventLogResponse *GetEventLogResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetEventLogResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEventLogResponse - err = json.Unmarshal(data, &dst.GetEventLogResponse); - if err == nil { - jsonGetEventLogResponse, _ := json.Marshal(dst.GetEventLogResponse) - if string(jsonGetEventLogResponse) == "{}" { // empty struct - dst.GetEventLogResponse = nil - } else { - return nil // data stored in dst.GetEventLogResponse, return on the first match - } - } else { - dst.GetEventLogResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetEventLogResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetEventLogResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEventLogResponse != nil { - return json.Marshal(&src.GetEventLogResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetEventLogResponse1 struct { - value *GetEventLogResponse1 - isSet bool -} - -func (v NullableGetEventLogResponse1) Get() *GetEventLogResponse1 { - return v.value -} - -func (v *NullableGetEventLogResponse1) Set(val *GetEventLogResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetEventLogResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetEventLogResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetEventLogResponse1(val *GetEventLogResponse1) *NullableGetEventLogResponse1 { - return &NullableGetEventLogResponse1{value: val, isSet: true} -} - -func (v NullableGetEventLogResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetEventLogResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_feed_posts_public_response.go b/client/model_get_feed_posts_public_response.go deleted file mode 100644 index b14630f..0000000 --- a/client/model_get_feed_posts_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetFeedPostsPublicResponse struct for GetFeedPostsPublicResponse -type GetFeedPostsPublicResponse struct { - APIError *APIError - PublicFeedPostsResponse *PublicFeedPostsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetFeedPostsPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PublicFeedPostsResponse - err = json.Unmarshal(data, &dst.PublicFeedPostsResponse); - if err == nil { - jsonPublicFeedPostsResponse, _ := json.Marshal(dst.PublicFeedPostsResponse) - if string(jsonPublicFeedPostsResponse) == "{}" { // empty struct - dst.PublicFeedPostsResponse = nil - } else { - return nil // data stored in dst.PublicFeedPostsResponse, return on the first match - } - } else { - dst.PublicFeedPostsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetFeedPostsPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PublicFeedPostsResponse != nil { - return json.Marshal(&src.PublicFeedPostsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetFeedPostsPublicResponse struct { - value *GetFeedPostsPublicResponse - isSet bool -} - -func (v NullableGetFeedPostsPublicResponse) Get() *GetFeedPostsPublicResponse { - return v.value -} - -func (v *NullableGetFeedPostsPublicResponse) Set(val *GetFeedPostsPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetFeedPostsPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetFeedPostsPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetFeedPostsPublicResponse(val *GetFeedPostsPublicResponse) *NullableGetFeedPostsPublicResponse { - return &NullableGetFeedPostsPublicResponse{value: val, isSet: true} -} - -func (v NullableGetFeedPostsPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetFeedPostsPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_feed_posts_response_1.go b/client/model_get_feed_posts_response_1.go deleted file mode 100644 index 10616fb..0000000 --- a/client/model_get_feed_posts_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetFeedPostsResponse1 struct for GetFeedPostsResponse1 -type GetFeedPostsResponse1 struct { - APIError *APIError - GetFeedPostsResponse *GetFeedPostsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetFeedPostsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetFeedPostsResponse - err = json.Unmarshal(data, &dst.GetFeedPostsResponse); - if err == nil { - jsonGetFeedPostsResponse, _ := json.Marshal(dst.GetFeedPostsResponse) - if string(jsonGetFeedPostsResponse) == "{}" { // empty struct - dst.GetFeedPostsResponse = nil - } else { - return nil // data stored in dst.GetFeedPostsResponse, return on the first match - } - } else { - dst.GetFeedPostsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetFeedPostsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetFeedPostsResponse != nil { - return json.Marshal(&src.GetFeedPostsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetFeedPostsResponse1 struct { - value *GetFeedPostsResponse1 - isSet bool -} - -func (v NullableGetFeedPostsResponse1) Get() *GetFeedPostsResponse1 { - return v.value -} - -func (v *NullableGetFeedPostsResponse1) Set(val *GetFeedPostsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetFeedPostsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetFeedPostsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetFeedPostsResponse1(val *GetFeedPostsResponse1) *NullableGetFeedPostsResponse1 { - return &NullableGetFeedPostsResponse1{value: val, isSet: true} -} - -func (v NullableGetFeedPostsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetFeedPostsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_feed_posts_stats_response.go b/client/model_get_feed_posts_stats_response.go deleted file mode 100644 index 69013bd..0000000 --- a/client/model_get_feed_posts_stats_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetFeedPostsStatsResponse struct for GetFeedPostsStatsResponse -type GetFeedPostsStatsResponse struct { - APIError *APIError - FeedPostsStatsResponse *FeedPostsStatsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetFeedPostsStatsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into FeedPostsStatsResponse - err = json.Unmarshal(data, &dst.FeedPostsStatsResponse); - if err == nil { - jsonFeedPostsStatsResponse, _ := json.Marshal(dst.FeedPostsStatsResponse) - if string(jsonFeedPostsStatsResponse) == "{}" { // empty struct - dst.FeedPostsStatsResponse = nil - } else { - return nil // data stored in dst.FeedPostsStatsResponse, return on the first match - } - } else { - dst.FeedPostsStatsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetFeedPostsStatsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetFeedPostsStatsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.FeedPostsStatsResponse != nil { - return json.Marshal(&src.FeedPostsStatsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetFeedPostsStatsResponse struct { - value *GetFeedPostsStatsResponse - isSet bool -} - -func (v NullableGetFeedPostsStatsResponse) Get() *GetFeedPostsStatsResponse { - return v.value -} - -func (v *NullableGetFeedPostsStatsResponse) Set(val *GetFeedPostsStatsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetFeedPostsStatsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetFeedPostsStatsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetFeedPostsStatsResponse(val *GetFeedPostsStatsResponse) *NullableGetFeedPostsStatsResponse { - return &NullableGetFeedPostsStatsResponse{value: val, isSet: true} -} - -func (v NullableGetFeedPostsStatsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetFeedPostsStatsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_gif_large_response.go b/client/model_get_gif_large_response.go deleted file mode 100644 index 951a360..0000000 --- a/client/model_get_gif_large_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetGifLargeResponse struct for GetGifLargeResponse -type GetGifLargeResponse struct { - APIError *APIError - GifGetLargeResponse *GifGetLargeResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetGifLargeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GifGetLargeResponse - err = json.Unmarshal(data, &dst.GifGetLargeResponse); - if err == nil { - jsonGifGetLargeResponse, _ := json.Marshal(dst.GifGetLargeResponse) - if string(jsonGifGetLargeResponse) == "{}" { // empty struct - dst.GifGetLargeResponse = nil - } else { - return nil // data stored in dst.GifGetLargeResponse, return on the first match - } - } else { - dst.GifGetLargeResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetGifLargeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetGifLargeResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GifGetLargeResponse != nil { - return json.Marshal(&src.GifGetLargeResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetGifLargeResponse struct { - value *GetGifLargeResponse - isSet bool -} - -func (v NullableGetGifLargeResponse) Get() *GetGifLargeResponse { - return v.value -} - -func (v *NullableGetGifLargeResponse) Set(val *GetGifLargeResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetGifLargeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetGifLargeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetGifLargeResponse(val *GetGifLargeResponse) *NullableGetGifLargeResponse { - return &NullableGetGifLargeResponse{value: val, isSet: true} -} - -func (v NullableGetGifLargeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetGifLargeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_gifs_search_response.go b/client/model_get_gifs_search_response.go index 394f6dc..25494c2 100644 --- a/client/model_get_gifs_search_response.go +++ b/client/model_get_gifs_search_response.go @@ -18,7 +18,6 @@ import ( // GetGifsSearchResponse struct for GetGifsSearchResponse type GetGifsSearchResponse struct { - APIError *APIError GifSearchInternalError *GifSearchInternalError GifSearchResponse *GifSearchResponse } @@ -26,19 +25,6 @@ type GetGifsSearchResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *GetGifsSearchResponse) UnmarshalJSON(data []byte) error { var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - // try to unmarshal JSON data into GifSearchInternalError err = json.Unmarshal(data, &dst.GifSearchInternalError); if err == nil { @@ -70,10 +56,6 @@ func (dst *GetGifsSearchResponse) UnmarshalJSON(data []byte) error { // Marshal data from the first non-nil pointers in the struct to JSON func (src GetGifsSearchResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - if src.GifSearchInternalError != nil { return json.Marshal(&src.GifSearchInternalError) } diff --git a/client/model_get_global_event_log_response.go b/client/model_get_global_event_log_response.go deleted file mode 100644 index dee0603..0000000 --- a/client/model_get_global_event_log_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetGlobalEventLogResponse struct for GetGlobalEventLogResponse -type GetGlobalEventLogResponse struct { - APIError *APIError - GetEventLogResponse *GetEventLogResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetGlobalEventLogResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetEventLogResponse - err = json.Unmarshal(data, &dst.GetEventLogResponse); - if err == nil { - jsonGetEventLogResponse, _ := json.Marshal(dst.GetEventLogResponse) - if string(jsonGetEventLogResponse) == "{}" { // empty struct - dst.GetEventLogResponse = nil - } else { - return nil // data stored in dst.GetEventLogResponse, return on the first match - } - } else { - dst.GetEventLogResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetGlobalEventLogResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetGlobalEventLogResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetEventLogResponse != nil { - return json.Marshal(&src.GetEventLogResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetGlobalEventLogResponse struct { - value *GetGlobalEventLogResponse - isSet bool -} - -func (v NullableGetGlobalEventLogResponse) Get() *GetGlobalEventLogResponse { - return v.value -} - -func (v *NullableGetGlobalEventLogResponse) Set(val *GetGlobalEventLogResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetGlobalEventLogResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetGlobalEventLogResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetGlobalEventLogResponse(val *GetGlobalEventLogResponse) *NullableGetGlobalEventLogResponse { - return &NullableGetGlobalEventLogResponse{value: val, isSet: true} -} - -func (v NullableGetGlobalEventLogResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetGlobalEventLogResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_hash_tags_response_1.go b/client/model_get_hash_tags_response_1.go deleted file mode 100644 index cd7cfea..0000000 --- a/client/model_get_hash_tags_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetHashTagsResponse1 struct for GetHashTagsResponse1 -type GetHashTagsResponse1 struct { - APIError *APIError - GetHashTagsResponse *GetHashTagsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetHashTagsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetHashTagsResponse - err = json.Unmarshal(data, &dst.GetHashTagsResponse); - if err == nil { - jsonGetHashTagsResponse, _ := json.Marshal(dst.GetHashTagsResponse) - if string(jsonGetHashTagsResponse) == "{}" { // empty struct - dst.GetHashTagsResponse = nil - } else { - return nil // data stored in dst.GetHashTagsResponse, return on the first match - } - } else { - dst.GetHashTagsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetHashTagsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetHashTagsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetHashTagsResponse != nil { - return json.Marshal(&src.GetHashTagsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetHashTagsResponse1 struct { - value *GetHashTagsResponse1 - isSet bool -} - -func (v NullableGetHashTagsResponse1) Get() *GetHashTagsResponse1 { - return v.value -} - -func (v *NullableGetHashTagsResponse1) Set(val *GetHashTagsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetHashTagsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetHashTagsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetHashTagsResponse1(val *GetHashTagsResponse1) *NullableGetHashTagsResponse1 { - return &NullableGetHashTagsResponse1{value: val, isSet: true} -} - -func (v NullableGetHashTagsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetHashTagsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_logs_response.go b/client/model_get_logs_response.go deleted file mode 100644 index e1468bc..0000000 --- a/client/model_get_logs_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetLogsResponse struct for GetLogsResponse -type GetLogsResponse struct { - APIError *APIError - ModerationAPIGetLogsResponse *ModerationAPIGetLogsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetLogsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPIGetLogsResponse - err = json.Unmarshal(data, &dst.ModerationAPIGetLogsResponse); - if err == nil { - jsonModerationAPIGetLogsResponse, _ := json.Marshal(dst.ModerationAPIGetLogsResponse) - if string(jsonModerationAPIGetLogsResponse) == "{}" { // empty struct - dst.ModerationAPIGetLogsResponse = nil - } else { - return nil // data stored in dst.ModerationAPIGetLogsResponse, return on the first match - } - } else { - dst.ModerationAPIGetLogsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetLogsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetLogsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPIGetLogsResponse != nil { - return json.Marshal(&src.ModerationAPIGetLogsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetLogsResponse struct { - value *GetLogsResponse - isSet bool -} - -func (v NullableGetLogsResponse) Get() *GetLogsResponse { - return v.value -} - -func (v *NullableGetLogsResponse) Set(val *GetLogsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetLogsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetLogsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetLogsResponse(val *GetLogsResponse) *NullableGetLogsResponse { - return &NullableGetLogsResponse{value: val, isSet: true} -} - -func (v NullableGetLogsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetLogsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_manual_badges_for_user_response.go b/client/model_get_manual_badges_for_user_response.go deleted file mode 100644 index fea8f2d..0000000 --- a/client/model_get_manual_badges_for_user_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetManualBadgesForUserResponse struct for GetManualBadgesForUserResponse -type GetManualBadgesForUserResponse struct { - APIError *APIError - GetUserManualBadgesResponse *GetUserManualBadgesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetManualBadgesForUserResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserManualBadgesResponse - err = json.Unmarshal(data, &dst.GetUserManualBadgesResponse); - if err == nil { - jsonGetUserManualBadgesResponse, _ := json.Marshal(dst.GetUserManualBadgesResponse) - if string(jsonGetUserManualBadgesResponse) == "{}" { // empty struct - dst.GetUserManualBadgesResponse = nil - } else { - return nil // data stored in dst.GetUserManualBadgesResponse, return on the first match - } - } else { - dst.GetUserManualBadgesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetManualBadgesForUserResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetManualBadgesForUserResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserManualBadgesResponse != nil { - return json.Marshal(&src.GetUserManualBadgesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetManualBadgesForUserResponse struct { - value *GetManualBadgesForUserResponse - isSet bool -} - -func (v NullableGetManualBadgesForUserResponse) Get() *GetManualBadgesForUserResponse { - return v.value -} - -func (v *NullableGetManualBadgesForUserResponse) Set(val *GetManualBadgesForUserResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetManualBadgesForUserResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetManualBadgesForUserResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetManualBadgesForUserResponse(val *GetManualBadgesForUserResponse) *NullableGetManualBadgesForUserResponse { - return &NullableGetManualBadgesForUserResponse{value: val, isSet: true} -} - -func (v NullableGetManualBadgesForUserResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetManualBadgesForUserResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_manual_badges_response.go b/client/model_get_manual_badges_response.go deleted file mode 100644 index 8c9a069..0000000 --- a/client/model_get_manual_badges_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetManualBadgesResponse struct for GetManualBadgesResponse -type GetManualBadgesResponse struct { - APIError *APIError - GetTenantManualBadgesResponse *GetTenantManualBadgesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetManualBadgesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantManualBadgesResponse - err = json.Unmarshal(data, &dst.GetTenantManualBadgesResponse); - if err == nil { - jsonGetTenantManualBadgesResponse, _ := json.Marshal(dst.GetTenantManualBadgesResponse) - if string(jsonGetTenantManualBadgesResponse) == "{}" { // empty struct - dst.GetTenantManualBadgesResponse = nil - } else { - return nil // data stored in dst.GetTenantManualBadgesResponse, return on the first match - } - } else { - dst.GetTenantManualBadgesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetManualBadgesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetManualBadgesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantManualBadgesResponse != nil { - return json.Marshal(&src.GetTenantManualBadgesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetManualBadgesResponse struct { - value *GetManualBadgesResponse - isSet bool -} - -func (v NullableGetManualBadgesResponse) Get() *GetManualBadgesResponse { - return v.value -} - -func (v *NullableGetManualBadgesResponse) Set(val *GetManualBadgesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetManualBadgesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetManualBadgesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetManualBadgesResponse(val *GetManualBadgesResponse) *NullableGetManualBadgesResponse { - return &NullableGetManualBadgesResponse{value: val, isSet: true} -} - -func (v NullableGetManualBadgesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetManualBadgesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_moderation_comment_response.go b/client/model_get_moderation_comment_response.go deleted file mode 100644 index cefa4ea..0000000 --- a/client/model_get_moderation_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetModerationCommentResponse struct for GetModerationCommentResponse -type GetModerationCommentResponse struct { - APIError *APIError - ModerationAPICommentResponse *ModerationAPICommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetModerationCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPICommentResponse - err = json.Unmarshal(data, &dst.ModerationAPICommentResponse); - if err == nil { - jsonModerationAPICommentResponse, _ := json.Marshal(dst.ModerationAPICommentResponse) - if string(jsonModerationAPICommentResponse) == "{}" { // empty struct - dst.ModerationAPICommentResponse = nil - } else { - return nil // data stored in dst.ModerationAPICommentResponse, return on the first match - } - } else { - dst.ModerationAPICommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetModerationCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetModerationCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPICommentResponse != nil { - return json.Marshal(&src.ModerationAPICommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetModerationCommentResponse struct { - value *GetModerationCommentResponse - isSet bool -} - -func (v NullableGetModerationCommentResponse) Get() *GetModerationCommentResponse { - return v.value -} - -func (v *NullableGetModerationCommentResponse) Set(val *GetModerationCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetModerationCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetModerationCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetModerationCommentResponse(val *GetModerationCommentResponse) *NullableGetModerationCommentResponse { - return &NullableGetModerationCommentResponse{value: val, isSet: true} -} - -func (v NullableGetModerationCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetModerationCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_moderation_comment_text_response.go b/client/model_get_moderation_comment_text_response.go deleted file mode 100644 index cd21bce..0000000 --- a/client/model_get_moderation_comment_text_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetModerationCommentTextResponse struct for GetModerationCommentTextResponse -type GetModerationCommentTextResponse struct { - APIError *APIError - GetCommentTextResponse *GetCommentTextResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetModerationCommentTextResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetCommentTextResponse - err = json.Unmarshal(data, &dst.GetCommentTextResponse); - if err == nil { - jsonGetCommentTextResponse, _ := json.Marshal(dst.GetCommentTextResponse) - if string(jsonGetCommentTextResponse) == "{}" { // empty struct - dst.GetCommentTextResponse = nil - } else { - return nil // data stored in dst.GetCommentTextResponse, return on the first match - } - } else { - dst.GetCommentTextResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetModerationCommentTextResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetModerationCommentTextResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetCommentTextResponse != nil { - return json.Marshal(&src.GetCommentTextResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetModerationCommentTextResponse struct { - value *GetModerationCommentTextResponse - isSet bool -} - -func (v NullableGetModerationCommentTextResponse) Get() *GetModerationCommentTextResponse { - return v.value -} - -func (v *NullableGetModerationCommentTextResponse) Set(val *GetModerationCommentTextResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetModerationCommentTextResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetModerationCommentTextResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetModerationCommentTextResponse(val *GetModerationCommentTextResponse) *NullableGetModerationCommentTextResponse { - return &NullableGetModerationCommentTextResponse{value: val, isSet: true} -} - -func (v NullableGetModerationCommentTextResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetModerationCommentTextResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_moderator_response_1.go b/client/model_get_moderator_response_1.go deleted file mode 100644 index b385f1c..0000000 --- a/client/model_get_moderator_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetModeratorResponse1 struct for GetModeratorResponse1 -type GetModeratorResponse1 struct { - APIError *APIError - GetModeratorResponse *GetModeratorResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetModeratorResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetModeratorResponse - err = json.Unmarshal(data, &dst.GetModeratorResponse); - if err == nil { - jsonGetModeratorResponse, _ := json.Marshal(dst.GetModeratorResponse) - if string(jsonGetModeratorResponse) == "{}" { // empty struct - dst.GetModeratorResponse = nil - } else { - return nil // data stored in dst.GetModeratorResponse, return on the first match - } - } else { - dst.GetModeratorResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetModeratorResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetModeratorResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetModeratorResponse != nil { - return json.Marshal(&src.GetModeratorResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetModeratorResponse1 struct { - value *GetModeratorResponse1 - isSet bool -} - -func (v NullableGetModeratorResponse1) Get() *GetModeratorResponse1 { - return v.value -} - -func (v *NullableGetModeratorResponse1) Set(val *GetModeratorResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetModeratorResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetModeratorResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetModeratorResponse1(val *GetModeratorResponse1) *NullableGetModeratorResponse1 { - return &NullableGetModeratorResponse1{value: val, isSet: true} -} - -func (v NullableGetModeratorResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetModeratorResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_moderators_response_1.go b/client/model_get_moderators_response_1.go deleted file mode 100644 index 91e7cdc..0000000 --- a/client/model_get_moderators_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetModeratorsResponse1 struct for GetModeratorsResponse1 -type GetModeratorsResponse1 struct { - APIError *APIError - GetModeratorsResponse *GetModeratorsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetModeratorsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetModeratorsResponse - err = json.Unmarshal(data, &dst.GetModeratorsResponse); - if err == nil { - jsonGetModeratorsResponse, _ := json.Marshal(dst.GetModeratorsResponse) - if string(jsonGetModeratorsResponse) == "{}" { // empty struct - dst.GetModeratorsResponse = nil - } else { - return nil // data stored in dst.GetModeratorsResponse, return on the first match - } - } else { - dst.GetModeratorsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetModeratorsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetModeratorsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetModeratorsResponse != nil { - return json.Marshal(&src.GetModeratorsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetModeratorsResponse1 struct { - value *GetModeratorsResponse1 - isSet bool -} - -func (v NullableGetModeratorsResponse1) Get() *GetModeratorsResponse1 { - return v.value -} - -func (v *NullableGetModeratorsResponse1) Set(val *GetModeratorsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetModeratorsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetModeratorsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetModeratorsResponse1(val *GetModeratorsResponse1) *NullableGetModeratorsResponse1 { - return &NullableGetModeratorsResponse1{value: val, isSet: true} -} - -func (v NullableGetModeratorsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetModeratorsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_notification_count_response_1.go b/client/model_get_notification_count_response_1.go deleted file mode 100644 index 3356697..0000000 --- a/client/model_get_notification_count_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetNotificationCountResponse1 struct for GetNotificationCountResponse1 -type GetNotificationCountResponse1 struct { - APIError *APIError - GetNotificationCountResponse *GetNotificationCountResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetNotificationCountResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetNotificationCountResponse - err = json.Unmarshal(data, &dst.GetNotificationCountResponse); - if err == nil { - jsonGetNotificationCountResponse, _ := json.Marshal(dst.GetNotificationCountResponse) - if string(jsonGetNotificationCountResponse) == "{}" { // empty struct - dst.GetNotificationCountResponse = nil - } else { - return nil // data stored in dst.GetNotificationCountResponse, return on the first match - } - } else { - dst.GetNotificationCountResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetNotificationCountResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetNotificationCountResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetNotificationCountResponse != nil { - return json.Marshal(&src.GetNotificationCountResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetNotificationCountResponse1 struct { - value *GetNotificationCountResponse1 - isSet bool -} - -func (v NullableGetNotificationCountResponse1) Get() *GetNotificationCountResponse1 { - return v.value -} - -func (v *NullableGetNotificationCountResponse1) Set(val *GetNotificationCountResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetNotificationCountResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetNotificationCountResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetNotificationCountResponse1(val *GetNotificationCountResponse1) *NullableGetNotificationCountResponse1 { - return &NullableGetNotificationCountResponse1{value: val, isSet: true} -} - -func (v NullableGetNotificationCountResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetNotificationCountResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_notifications_response_1.go b/client/model_get_notifications_response_1.go deleted file mode 100644 index c60ca7a..0000000 --- a/client/model_get_notifications_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetNotificationsResponse1 struct for GetNotificationsResponse1 -type GetNotificationsResponse1 struct { - APIError *APIError - GetNotificationsResponse *GetNotificationsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetNotificationsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetNotificationsResponse - err = json.Unmarshal(data, &dst.GetNotificationsResponse); - if err == nil { - jsonGetNotificationsResponse, _ := json.Marshal(dst.GetNotificationsResponse) - if string(jsonGetNotificationsResponse) == "{}" { // empty struct - dst.GetNotificationsResponse = nil - } else { - return nil // data stored in dst.GetNotificationsResponse, return on the first match - } - } else { - dst.GetNotificationsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetNotificationsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetNotificationsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetNotificationsResponse != nil { - return json.Marshal(&src.GetNotificationsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetNotificationsResponse1 struct { - value *GetNotificationsResponse1 - isSet bool -} - -func (v NullableGetNotificationsResponse1) Get() *GetNotificationsResponse1 { - return v.value -} - -func (v *NullableGetNotificationsResponse1) Set(val *GetNotificationsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetNotificationsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetNotificationsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetNotificationsResponse1(val *GetNotificationsResponse1) *NullableGetNotificationsResponse1 { - return &NullableGetNotificationsResponse1{value: val, isSet: true} -} - -func (v NullableGetNotificationsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetNotificationsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_offline_users_response.go b/client/model_get_offline_users_response.go deleted file mode 100644 index 01d200e..0000000 --- a/client/model_get_offline_users_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetOfflineUsersResponse struct for GetOfflineUsersResponse -type GetOfflineUsersResponse struct { - APIError *APIError - PageUsersOfflineResponse *PageUsersOfflineResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetOfflineUsersResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PageUsersOfflineResponse - err = json.Unmarshal(data, &dst.PageUsersOfflineResponse); - if err == nil { - jsonPageUsersOfflineResponse, _ := json.Marshal(dst.PageUsersOfflineResponse) - if string(jsonPageUsersOfflineResponse) == "{}" { // empty struct - dst.PageUsersOfflineResponse = nil - } else { - return nil // data stored in dst.PageUsersOfflineResponse, return on the first match - } - } else { - dst.PageUsersOfflineResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetOfflineUsersResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetOfflineUsersResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PageUsersOfflineResponse != nil { - return json.Marshal(&src.PageUsersOfflineResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetOfflineUsersResponse struct { - value *GetOfflineUsersResponse - isSet bool -} - -func (v NullableGetOfflineUsersResponse) Get() *GetOfflineUsersResponse { - return v.value -} - -func (v *NullableGetOfflineUsersResponse) Set(val *GetOfflineUsersResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetOfflineUsersResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOfflineUsersResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOfflineUsersResponse(val *GetOfflineUsersResponse) *NullableGetOfflineUsersResponse { - return &NullableGetOfflineUsersResponse{value: val, isSet: true} -} - -func (v NullableGetOfflineUsersResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOfflineUsersResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_online_users_response.go b/client/model_get_online_users_response.go deleted file mode 100644 index 437700f..0000000 --- a/client/model_get_online_users_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetOnlineUsersResponse struct for GetOnlineUsersResponse -type GetOnlineUsersResponse struct { - APIError *APIError - PageUsersOnlineResponse *PageUsersOnlineResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetOnlineUsersResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PageUsersOnlineResponse - err = json.Unmarshal(data, &dst.PageUsersOnlineResponse); - if err == nil { - jsonPageUsersOnlineResponse, _ := json.Marshal(dst.PageUsersOnlineResponse) - if string(jsonPageUsersOnlineResponse) == "{}" { // empty struct - dst.PageUsersOnlineResponse = nil - } else { - return nil // data stored in dst.PageUsersOnlineResponse, return on the first match - } - } else { - dst.PageUsersOnlineResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetOnlineUsersResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetOnlineUsersResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PageUsersOnlineResponse != nil { - return json.Marshal(&src.PageUsersOnlineResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetOnlineUsersResponse struct { - value *GetOnlineUsersResponse - isSet bool -} - -func (v NullableGetOnlineUsersResponse) Get() *GetOnlineUsersResponse { - return v.value -} - -func (v *NullableGetOnlineUsersResponse) Set(val *GetOnlineUsersResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetOnlineUsersResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetOnlineUsersResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetOnlineUsersResponse(val *GetOnlineUsersResponse) *NullableGetOnlineUsersResponse { - return &NullableGetOnlineUsersResponse{value: val, isSet: true} -} - -func (v NullableGetOnlineUsersResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetOnlineUsersResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_pages_public_response.go b/client/model_get_pages_public_response.go deleted file mode 100644 index 81ad12b..0000000 --- a/client/model_get_pages_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetPagesPublicResponse struct for GetPagesPublicResponse -type GetPagesPublicResponse struct { - APIError *APIError - GetPublicPagesResponse *GetPublicPagesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetPagesPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetPublicPagesResponse - err = json.Unmarshal(data, &dst.GetPublicPagesResponse); - if err == nil { - jsonGetPublicPagesResponse, _ := json.Marshal(dst.GetPublicPagesResponse) - if string(jsonGetPublicPagesResponse) == "{}" { // empty struct - dst.GetPublicPagesResponse = nil - } else { - return nil // data stored in dst.GetPublicPagesResponse, return on the first match - } - } else { - dst.GetPublicPagesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetPagesPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetPagesPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetPublicPagesResponse != nil { - return json.Marshal(&src.GetPublicPagesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetPagesPublicResponse struct { - value *GetPagesPublicResponse - isSet bool -} - -func (v NullableGetPagesPublicResponse) Get() *GetPagesPublicResponse { - return v.value -} - -func (v *NullableGetPagesPublicResponse) Set(val *GetPagesPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetPagesPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetPagesPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetPagesPublicResponse(val *GetPagesPublicResponse) *NullableGetPagesPublicResponse { - return &NullableGetPagesPublicResponse{value: val, isSet: true} -} - -func (v NullableGetPagesPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetPagesPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_pending_webhook_event_count_response_1.go b/client/model_get_pending_webhook_event_count_response_1.go deleted file mode 100644 index 9be85e5..0000000 --- a/client/model_get_pending_webhook_event_count_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetPendingWebhookEventCountResponse1 struct for GetPendingWebhookEventCountResponse1 -type GetPendingWebhookEventCountResponse1 struct { - APIError *APIError - GetPendingWebhookEventCountResponse *GetPendingWebhookEventCountResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetPendingWebhookEventCountResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetPendingWebhookEventCountResponse - err = json.Unmarshal(data, &dst.GetPendingWebhookEventCountResponse); - if err == nil { - jsonGetPendingWebhookEventCountResponse, _ := json.Marshal(dst.GetPendingWebhookEventCountResponse) - if string(jsonGetPendingWebhookEventCountResponse) == "{}" { // empty struct - dst.GetPendingWebhookEventCountResponse = nil - } else { - return nil // data stored in dst.GetPendingWebhookEventCountResponse, return on the first match - } - } else { - dst.GetPendingWebhookEventCountResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetPendingWebhookEventCountResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetPendingWebhookEventCountResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetPendingWebhookEventCountResponse != nil { - return json.Marshal(&src.GetPendingWebhookEventCountResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetPendingWebhookEventCountResponse1 struct { - value *GetPendingWebhookEventCountResponse1 - isSet bool -} - -func (v NullableGetPendingWebhookEventCountResponse1) Get() *GetPendingWebhookEventCountResponse1 { - return v.value -} - -func (v *NullableGetPendingWebhookEventCountResponse1) Set(val *GetPendingWebhookEventCountResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetPendingWebhookEventCountResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetPendingWebhookEventCountResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetPendingWebhookEventCountResponse1(val *GetPendingWebhookEventCountResponse1) *NullableGetPendingWebhookEventCountResponse1 { - return &NullableGetPendingWebhookEventCountResponse1{value: val, isSet: true} -} - -func (v NullableGetPendingWebhookEventCountResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetPendingWebhookEventCountResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_pending_webhook_events_response_1.go b/client/model_get_pending_webhook_events_response_1.go deleted file mode 100644 index ea9af8c..0000000 --- a/client/model_get_pending_webhook_events_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetPendingWebhookEventsResponse1 struct for GetPendingWebhookEventsResponse1 -type GetPendingWebhookEventsResponse1 struct { - APIError *APIError - GetPendingWebhookEventsResponse *GetPendingWebhookEventsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetPendingWebhookEventsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetPendingWebhookEventsResponse - err = json.Unmarshal(data, &dst.GetPendingWebhookEventsResponse); - if err == nil { - jsonGetPendingWebhookEventsResponse, _ := json.Marshal(dst.GetPendingWebhookEventsResponse) - if string(jsonGetPendingWebhookEventsResponse) == "{}" { // empty struct - dst.GetPendingWebhookEventsResponse = nil - } else { - return nil // data stored in dst.GetPendingWebhookEventsResponse, return on the first match - } - } else { - dst.GetPendingWebhookEventsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetPendingWebhookEventsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetPendingWebhookEventsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetPendingWebhookEventsResponse != nil { - return json.Marshal(&src.GetPendingWebhookEventsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetPendingWebhookEventsResponse1 struct { - value *GetPendingWebhookEventsResponse1 - isSet bool -} - -func (v NullableGetPendingWebhookEventsResponse1) Get() *GetPendingWebhookEventsResponse1 { - return v.value -} - -func (v *NullableGetPendingWebhookEventsResponse1) Set(val *GetPendingWebhookEventsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetPendingWebhookEventsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetPendingWebhookEventsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetPendingWebhookEventsResponse1(val *GetPendingWebhookEventsResponse1) *NullableGetPendingWebhookEventsResponse1 { - return &NullableGetPendingWebhookEventsResponse1{value: val, isSet: true} -} - -func (v NullableGetPendingWebhookEventsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetPendingWebhookEventsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_pre_ban_summary_response.go b/client/model_get_pre_ban_summary_response.go deleted file mode 100644 index 0e80c0f..0000000 --- a/client/model_get_pre_ban_summary_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetPreBanSummaryResponse struct for GetPreBanSummaryResponse -type GetPreBanSummaryResponse struct { - APIError *APIError - PreBanSummary *PreBanSummary -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetPreBanSummaryResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PreBanSummary - err = json.Unmarshal(data, &dst.PreBanSummary); - if err == nil { - jsonPreBanSummary, _ := json.Marshal(dst.PreBanSummary) - if string(jsonPreBanSummary) == "{}" { // empty struct - dst.PreBanSummary = nil - } else { - return nil // data stored in dst.PreBanSummary, return on the first match - } - } else { - dst.PreBanSummary = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetPreBanSummaryResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetPreBanSummaryResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PreBanSummary != nil { - return json.Marshal(&src.PreBanSummary) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetPreBanSummaryResponse struct { - value *GetPreBanSummaryResponse - isSet bool -} - -func (v NullableGetPreBanSummaryResponse) Get() *GetPreBanSummaryResponse { - return v.value -} - -func (v *NullableGetPreBanSummaryResponse) Set(val *GetPreBanSummaryResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetPreBanSummaryResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetPreBanSummaryResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetPreBanSummaryResponse(val *GetPreBanSummaryResponse) *NullableGetPreBanSummaryResponse { - return &NullableGetPreBanSummaryResponse{value: val, isSet: true} -} - -func (v NullableGetPreBanSummaryResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetPreBanSummaryResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_question_config_response_1.go b/client/model_get_question_config_response_1.go deleted file mode 100644 index c064097..0000000 --- a/client/model_get_question_config_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetQuestionConfigResponse1 struct for GetQuestionConfigResponse1 -type GetQuestionConfigResponse1 struct { - APIError *APIError - GetQuestionConfigResponse *GetQuestionConfigResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetQuestionConfigResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetQuestionConfigResponse - err = json.Unmarshal(data, &dst.GetQuestionConfigResponse); - if err == nil { - jsonGetQuestionConfigResponse, _ := json.Marshal(dst.GetQuestionConfigResponse) - if string(jsonGetQuestionConfigResponse) == "{}" { // empty struct - dst.GetQuestionConfigResponse = nil - } else { - return nil // data stored in dst.GetQuestionConfigResponse, return on the first match - } - } else { - dst.GetQuestionConfigResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionConfigResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetQuestionConfigResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetQuestionConfigResponse != nil { - return json.Marshal(&src.GetQuestionConfigResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetQuestionConfigResponse1 struct { - value *GetQuestionConfigResponse1 - isSet bool -} - -func (v NullableGetQuestionConfigResponse1) Get() *GetQuestionConfigResponse1 { - return v.value -} - -func (v *NullableGetQuestionConfigResponse1) Set(val *GetQuestionConfigResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetQuestionConfigResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetQuestionConfigResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetQuestionConfigResponse1(val *GetQuestionConfigResponse1) *NullableGetQuestionConfigResponse1 { - return &NullableGetQuestionConfigResponse1{value: val, isSet: true} -} - -func (v NullableGetQuestionConfigResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetQuestionConfigResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_question_configs_response_1.go b/client/model_get_question_configs_response_1.go deleted file mode 100644 index 61ae08a..0000000 --- a/client/model_get_question_configs_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetQuestionConfigsResponse1 struct for GetQuestionConfigsResponse1 -type GetQuestionConfigsResponse1 struct { - APIError *APIError - GetQuestionConfigsResponse *GetQuestionConfigsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetQuestionConfigsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetQuestionConfigsResponse - err = json.Unmarshal(data, &dst.GetQuestionConfigsResponse); - if err == nil { - jsonGetQuestionConfigsResponse, _ := json.Marshal(dst.GetQuestionConfigsResponse) - if string(jsonGetQuestionConfigsResponse) == "{}" { // empty struct - dst.GetQuestionConfigsResponse = nil - } else { - return nil // data stored in dst.GetQuestionConfigsResponse, return on the first match - } - } else { - dst.GetQuestionConfigsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionConfigsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetQuestionConfigsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetQuestionConfigsResponse != nil { - return json.Marshal(&src.GetQuestionConfigsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetQuestionConfigsResponse1 struct { - value *GetQuestionConfigsResponse1 - isSet bool -} - -func (v NullableGetQuestionConfigsResponse1) Get() *GetQuestionConfigsResponse1 { - return v.value -} - -func (v *NullableGetQuestionConfigsResponse1) Set(val *GetQuestionConfigsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetQuestionConfigsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetQuestionConfigsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetQuestionConfigsResponse1(val *GetQuestionConfigsResponse1) *NullableGetQuestionConfigsResponse1 { - return &NullableGetQuestionConfigsResponse1{value: val, isSet: true} -} - -func (v NullableGetQuestionConfigsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetQuestionConfigsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_question_result_response_1.go b/client/model_get_question_result_response_1.go deleted file mode 100644 index 37f1688..0000000 --- a/client/model_get_question_result_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetQuestionResultResponse1 struct for GetQuestionResultResponse1 -type GetQuestionResultResponse1 struct { - APIError *APIError - GetQuestionResultResponse *GetQuestionResultResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetQuestionResultResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetQuestionResultResponse - err = json.Unmarshal(data, &dst.GetQuestionResultResponse); - if err == nil { - jsonGetQuestionResultResponse, _ := json.Marshal(dst.GetQuestionResultResponse) - if string(jsonGetQuestionResultResponse) == "{}" { // empty struct - dst.GetQuestionResultResponse = nil - } else { - return nil // data stored in dst.GetQuestionResultResponse, return on the first match - } - } else { - dst.GetQuestionResultResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionResultResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetQuestionResultResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetQuestionResultResponse != nil { - return json.Marshal(&src.GetQuestionResultResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetQuestionResultResponse1 struct { - value *GetQuestionResultResponse1 - isSet bool -} - -func (v NullableGetQuestionResultResponse1) Get() *GetQuestionResultResponse1 { - return v.value -} - -func (v *NullableGetQuestionResultResponse1) Set(val *GetQuestionResultResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetQuestionResultResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetQuestionResultResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetQuestionResultResponse1(val *GetQuestionResultResponse1) *NullableGetQuestionResultResponse1 { - return &NullableGetQuestionResultResponse1{value: val, isSet: true} -} - -func (v NullableGetQuestionResultResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetQuestionResultResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_question_results_response_1.go b/client/model_get_question_results_response_1.go deleted file mode 100644 index 353dcef..0000000 --- a/client/model_get_question_results_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetQuestionResultsResponse1 struct for GetQuestionResultsResponse1 -type GetQuestionResultsResponse1 struct { - APIError *APIError - GetQuestionResultsResponse *GetQuestionResultsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetQuestionResultsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetQuestionResultsResponse - err = json.Unmarshal(data, &dst.GetQuestionResultsResponse); - if err == nil { - jsonGetQuestionResultsResponse, _ := json.Marshal(dst.GetQuestionResultsResponse) - if string(jsonGetQuestionResultsResponse) == "{}" { // empty struct - dst.GetQuestionResultsResponse = nil - } else { - return nil // data stored in dst.GetQuestionResultsResponse, return on the first match - } - } else { - dst.GetQuestionResultsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetQuestionResultsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetQuestionResultsResponse != nil { - return json.Marshal(&src.GetQuestionResultsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetQuestionResultsResponse1 struct { - value *GetQuestionResultsResponse1 - isSet bool -} - -func (v NullableGetQuestionResultsResponse1) Get() *GetQuestionResultsResponse1 { - return v.value -} - -func (v *NullableGetQuestionResultsResponse1) Set(val *GetQuestionResultsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetQuestionResultsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetQuestionResultsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetQuestionResultsResponse1(val *GetQuestionResultsResponse1) *NullableGetQuestionResultsResponse1 { - return &NullableGetQuestionResultsResponse1{value: val, isSet: true} -} - -func (v NullableGetQuestionResultsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetQuestionResultsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_search_comments_summary_response.go b/client/model_get_search_comments_summary_response.go deleted file mode 100644 index a62ecc0..0000000 --- a/client/model_get_search_comments_summary_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetSearchCommentsSummaryResponse struct for GetSearchCommentsSummaryResponse -type GetSearchCommentsSummaryResponse struct { - APIError *APIError - ModerationCommentSearchResponse *ModerationCommentSearchResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetSearchCommentsSummaryResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationCommentSearchResponse - err = json.Unmarshal(data, &dst.ModerationCommentSearchResponse); - if err == nil { - jsonModerationCommentSearchResponse, _ := json.Marshal(dst.ModerationCommentSearchResponse) - if string(jsonModerationCommentSearchResponse) == "{}" { // empty struct - dst.ModerationCommentSearchResponse = nil - } else { - return nil // data stored in dst.ModerationCommentSearchResponse, return on the first match - } - } else { - dst.ModerationCommentSearchResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetSearchCommentsSummaryResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetSearchCommentsSummaryResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationCommentSearchResponse != nil { - return json.Marshal(&src.ModerationCommentSearchResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetSearchCommentsSummaryResponse struct { - value *GetSearchCommentsSummaryResponse - isSet bool -} - -func (v NullableGetSearchCommentsSummaryResponse) Get() *GetSearchCommentsSummaryResponse { - return v.value -} - -func (v *NullableGetSearchCommentsSummaryResponse) Set(val *GetSearchCommentsSummaryResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetSearchCommentsSummaryResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetSearchCommentsSummaryResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetSearchCommentsSummaryResponse(val *GetSearchCommentsSummaryResponse) *NullableGetSearchCommentsSummaryResponse { - return &NullableGetSearchCommentsSummaryResponse{value: val, isSet: true} -} - -func (v NullableGetSearchCommentsSummaryResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetSearchCommentsSummaryResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_search_pages_response.go b/client/model_get_search_pages_response.go deleted file mode 100644 index 7ab576b..0000000 --- a/client/model_get_search_pages_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetSearchPagesResponse struct for GetSearchPagesResponse -type GetSearchPagesResponse struct { - APIError *APIError - ModerationPageSearchResponse *ModerationPageSearchResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetSearchPagesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationPageSearchResponse - err = json.Unmarshal(data, &dst.ModerationPageSearchResponse); - if err == nil { - jsonModerationPageSearchResponse, _ := json.Marshal(dst.ModerationPageSearchResponse) - if string(jsonModerationPageSearchResponse) == "{}" { // empty struct - dst.ModerationPageSearchResponse = nil - } else { - return nil // data stored in dst.ModerationPageSearchResponse, return on the first match - } - } else { - dst.ModerationPageSearchResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetSearchPagesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetSearchPagesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationPageSearchResponse != nil { - return json.Marshal(&src.ModerationPageSearchResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetSearchPagesResponse struct { - value *GetSearchPagesResponse - isSet bool -} - -func (v NullableGetSearchPagesResponse) Get() *GetSearchPagesResponse { - return v.value -} - -func (v *NullableGetSearchPagesResponse) Set(val *GetSearchPagesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetSearchPagesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetSearchPagesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetSearchPagesResponse(val *GetSearchPagesResponse) *NullableGetSearchPagesResponse { - return &NullableGetSearchPagesResponse{value: val, isSet: true} -} - -func (v NullableGetSearchPagesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetSearchPagesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_search_sites_response.go b/client/model_get_search_sites_response.go deleted file mode 100644 index d200cf5..0000000 --- a/client/model_get_search_sites_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetSearchSitesResponse struct for GetSearchSitesResponse -type GetSearchSitesResponse struct { - APIError *APIError - ModerationSiteSearchResponse *ModerationSiteSearchResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetSearchSitesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationSiteSearchResponse - err = json.Unmarshal(data, &dst.ModerationSiteSearchResponse); - if err == nil { - jsonModerationSiteSearchResponse, _ := json.Marshal(dst.ModerationSiteSearchResponse) - if string(jsonModerationSiteSearchResponse) == "{}" { // empty struct - dst.ModerationSiteSearchResponse = nil - } else { - return nil // data stored in dst.ModerationSiteSearchResponse, return on the first match - } - } else { - dst.ModerationSiteSearchResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetSearchSitesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetSearchSitesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationSiteSearchResponse != nil { - return json.Marshal(&src.ModerationSiteSearchResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetSearchSitesResponse struct { - value *GetSearchSitesResponse - isSet bool -} - -func (v NullableGetSearchSitesResponse) Get() *GetSearchSitesResponse { - return v.value -} - -func (v *NullableGetSearchSitesResponse) Set(val *GetSearchSitesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetSearchSitesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetSearchSitesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetSearchSitesResponse(val *GetSearchSitesResponse) *NullableGetSearchSitesResponse { - return &NullableGetSearchSitesResponse{value: val, isSet: true} -} - -func (v NullableGetSearchSitesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetSearchSitesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_search_suggest_response.go b/client/model_get_search_suggest_response.go deleted file mode 100644 index 0053309..0000000 --- a/client/model_get_search_suggest_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetSearchSuggestResponse struct for GetSearchSuggestResponse -type GetSearchSuggestResponse struct { - APIError *APIError - ModerationSuggestResponse *ModerationSuggestResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetSearchSuggestResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationSuggestResponse - err = json.Unmarshal(data, &dst.ModerationSuggestResponse); - if err == nil { - jsonModerationSuggestResponse, _ := json.Marshal(dst.ModerationSuggestResponse) - if string(jsonModerationSuggestResponse) == "{}" { // empty struct - dst.ModerationSuggestResponse = nil - } else { - return nil // data stored in dst.ModerationSuggestResponse, return on the first match - } - } else { - dst.ModerationSuggestResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetSearchSuggestResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetSearchSuggestResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationSuggestResponse != nil { - return json.Marshal(&src.ModerationSuggestResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetSearchSuggestResponse struct { - value *GetSearchSuggestResponse - isSet bool -} - -func (v NullableGetSearchSuggestResponse) Get() *GetSearchSuggestResponse { - return v.value -} - -func (v *NullableGetSearchSuggestResponse) Set(val *GetSearchSuggestResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetSearchSuggestResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetSearchSuggestResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetSearchSuggestResponse(val *GetSearchSuggestResponse) *NullableGetSearchSuggestResponse { - return &NullableGetSearchSuggestResponse{value: val, isSet: true} -} - -func (v NullableGetSearchSuggestResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetSearchSuggestResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_search_users_response.go b/client/model_get_search_users_response.go deleted file mode 100644 index 1c34553..0000000 --- a/client/model_get_search_users_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetSearchUsersResponse struct for GetSearchUsersResponse -type GetSearchUsersResponse struct { - APIError *APIError - ModerationUserSearchResponse *ModerationUserSearchResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetSearchUsersResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationUserSearchResponse - err = json.Unmarshal(data, &dst.ModerationUserSearchResponse); - if err == nil { - jsonModerationUserSearchResponse, _ := json.Marshal(dst.ModerationUserSearchResponse) - if string(jsonModerationUserSearchResponse) == "{}" { // empty struct - dst.ModerationUserSearchResponse = nil - } else { - return nil // data stored in dst.ModerationUserSearchResponse, return on the first match - } - } else { - dst.ModerationUserSearchResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetSearchUsersResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetSearchUsersResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationUserSearchResponse != nil { - return json.Marshal(&src.ModerationUserSearchResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetSearchUsersResponse struct { - value *GetSearchUsersResponse - isSet bool -} - -func (v NullableGetSearchUsersResponse) Get() *GetSearchUsersResponse { - return v.value -} - -func (v *NullableGetSearchUsersResponse) Set(val *GetSearchUsersResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetSearchUsersResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetSearchUsersResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetSearchUsersResponse(val *GetSearchUsersResponse) *NullableGetSearchUsersResponse { - return &NullableGetSearchUsersResponse{value: val, isSet: true} -} - -func (v NullableGetSearchUsersResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetSearchUsersResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_daily_usages_response_1.go b/client/model_get_tenant_daily_usages_response_1.go deleted file mode 100644 index 358283d..0000000 --- a/client/model_get_tenant_daily_usages_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantDailyUsagesResponse1 struct for GetTenantDailyUsagesResponse1 -type GetTenantDailyUsagesResponse1 struct { - APIError *APIError - GetTenantDailyUsagesResponse *GetTenantDailyUsagesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantDailyUsagesResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantDailyUsagesResponse - err = json.Unmarshal(data, &dst.GetTenantDailyUsagesResponse); - if err == nil { - jsonGetTenantDailyUsagesResponse, _ := json.Marshal(dst.GetTenantDailyUsagesResponse) - if string(jsonGetTenantDailyUsagesResponse) == "{}" { // empty struct - dst.GetTenantDailyUsagesResponse = nil - } else { - return nil // data stored in dst.GetTenantDailyUsagesResponse, return on the first match - } - } else { - dst.GetTenantDailyUsagesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantDailyUsagesResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantDailyUsagesResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantDailyUsagesResponse != nil { - return json.Marshal(&src.GetTenantDailyUsagesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantDailyUsagesResponse1 struct { - value *GetTenantDailyUsagesResponse1 - isSet bool -} - -func (v NullableGetTenantDailyUsagesResponse1) Get() *GetTenantDailyUsagesResponse1 { - return v.value -} - -func (v *NullableGetTenantDailyUsagesResponse1) Set(val *GetTenantDailyUsagesResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantDailyUsagesResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantDailyUsagesResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantDailyUsagesResponse1(val *GetTenantDailyUsagesResponse1) *NullableGetTenantDailyUsagesResponse1 { - return &NullableGetTenantDailyUsagesResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantDailyUsagesResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantDailyUsagesResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_package_response_1.go b/client/model_get_tenant_package_response_1.go deleted file mode 100644 index e4f3314..0000000 --- a/client/model_get_tenant_package_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantPackageResponse1 struct for GetTenantPackageResponse1 -type GetTenantPackageResponse1 struct { - APIError *APIError - GetTenantPackageResponse *GetTenantPackageResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantPackageResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantPackageResponse - err = json.Unmarshal(data, &dst.GetTenantPackageResponse); - if err == nil { - jsonGetTenantPackageResponse, _ := json.Marshal(dst.GetTenantPackageResponse) - if string(jsonGetTenantPackageResponse) == "{}" { // empty struct - dst.GetTenantPackageResponse = nil - } else { - return nil // data stored in dst.GetTenantPackageResponse, return on the first match - } - } else { - dst.GetTenantPackageResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantPackageResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantPackageResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantPackageResponse != nil { - return json.Marshal(&src.GetTenantPackageResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantPackageResponse1 struct { - value *GetTenantPackageResponse1 - isSet bool -} - -func (v NullableGetTenantPackageResponse1) Get() *GetTenantPackageResponse1 { - return v.value -} - -func (v *NullableGetTenantPackageResponse1) Set(val *GetTenantPackageResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantPackageResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantPackageResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantPackageResponse1(val *GetTenantPackageResponse1) *NullableGetTenantPackageResponse1 { - return &NullableGetTenantPackageResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantPackageResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantPackageResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_packages_response_1.go b/client/model_get_tenant_packages_response_1.go deleted file mode 100644 index 245b9e2..0000000 --- a/client/model_get_tenant_packages_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantPackagesResponse1 struct for GetTenantPackagesResponse1 -type GetTenantPackagesResponse1 struct { - APIError *APIError - GetTenantPackagesResponse *GetTenantPackagesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantPackagesResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantPackagesResponse - err = json.Unmarshal(data, &dst.GetTenantPackagesResponse); - if err == nil { - jsonGetTenantPackagesResponse, _ := json.Marshal(dst.GetTenantPackagesResponse) - if string(jsonGetTenantPackagesResponse) == "{}" { // empty struct - dst.GetTenantPackagesResponse = nil - } else { - return nil // data stored in dst.GetTenantPackagesResponse, return on the first match - } - } else { - dst.GetTenantPackagesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantPackagesResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantPackagesResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantPackagesResponse != nil { - return json.Marshal(&src.GetTenantPackagesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantPackagesResponse1 struct { - value *GetTenantPackagesResponse1 - isSet bool -} - -func (v NullableGetTenantPackagesResponse1) Get() *GetTenantPackagesResponse1 { - return v.value -} - -func (v *NullableGetTenantPackagesResponse1) Set(val *GetTenantPackagesResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantPackagesResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantPackagesResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantPackagesResponse1(val *GetTenantPackagesResponse1) *NullableGetTenantPackagesResponse1 { - return &NullableGetTenantPackagesResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantPackagesResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantPackagesResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_response_1.go b/client/model_get_tenant_response_1.go deleted file mode 100644 index ac2739b..0000000 --- a/client/model_get_tenant_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantResponse1 struct for GetTenantResponse1 -type GetTenantResponse1 struct { - APIError *APIError - GetTenantResponse *GetTenantResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantResponse - err = json.Unmarshal(data, &dst.GetTenantResponse); - if err == nil { - jsonGetTenantResponse, _ := json.Marshal(dst.GetTenantResponse) - if string(jsonGetTenantResponse) == "{}" { // empty struct - dst.GetTenantResponse = nil - } else { - return nil // data stored in dst.GetTenantResponse, return on the first match - } - } else { - dst.GetTenantResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantResponse != nil { - return json.Marshal(&src.GetTenantResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantResponse1 struct { - value *GetTenantResponse1 - isSet bool -} - -func (v NullableGetTenantResponse1) Get() *GetTenantResponse1 { - return v.value -} - -func (v *NullableGetTenantResponse1) Set(val *GetTenantResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantResponse1(val *GetTenantResponse1) *NullableGetTenantResponse1 { - return &NullableGetTenantResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_user_response_1.go b/client/model_get_tenant_user_response_1.go deleted file mode 100644 index 9edd7a2..0000000 --- a/client/model_get_tenant_user_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantUserResponse1 struct for GetTenantUserResponse1 -type GetTenantUserResponse1 struct { - APIError *APIError - GetTenantUserResponse *GetTenantUserResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantUserResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantUserResponse - err = json.Unmarshal(data, &dst.GetTenantUserResponse); - if err == nil { - jsonGetTenantUserResponse, _ := json.Marshal(dst.GetTenantUserResponse) - if string(jsonGetTenantUserResponse) == "{}" { // empty struct - dst.GetTenantUserResponse = nil - } else { - return nil // data stored in dst.GetTenantUserResponse, return on the first match - } - } else { - dst.GetTenantUserResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantUserResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantUserResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantUserResponse != nil { - return json.Marshal(&src.GetTenantUserResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantUserResponse1 struct { - value *GetTenantUserResponse1 - isSet bool -} - -func (v NullableGetTenantUserResponse1) Get() *GetTenantUserResponse1 { - return v.value -} - -func (v *NullableGetTenantUserResponse1) Set(val *GetTenantUserResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantUserResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantUserResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantUserResponse1(val *GetTenantUserResponse1) *NullableGetTenantUserResponse1 { - return &NullableGetTenantUserResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantUserResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantUserResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenant_users_response_1.go b/client/model_get_tenant_users_response_1.go deleted file mode 100644 index 0e35619..0000000 --- a/client/model_get_tenant_users_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantUsersResponse1 struct for GetTenantUsersResponse1 -type GetTenantUsersResponse1 struct { - APIError *APIError - GetTenantUsersResponse *GetTenantUsersResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantUsersResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantUsersResponse - err = json.Unmarshal(data, &dst.GetTenantUsersResponse); - if err == nil { - jsonGetTenantUsersResponse, _ := json.Marshal(dst.GetTenantUsersResponse) - if string(jsonGetTenantUsersResponse) == "{}" { // empty struct - dst.GetTenantUsersResponse = nil - } else { - return nil // data stored in dst.GetTenantUsersResponse, return on the first match - } - } else { - dst.GetTenantUsersResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantUsersResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantUsersResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantUsersResponse != nil { - return json.Marshal(&src.GetTenantUsersResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantUsersResponse1 struct { - value *GetTenantUsersResponse1 - isSet bool -} - -func (v NullableGetTenantUsersResponse1) Get() *GetTenantUsersResponse1 { - return v.value -} - -func (v *NullableGetTenantUsersResponse1) Set(val *GetTenantUsersResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantUsersResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantUsersResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantUsersResponse1(val *GetTenantUsersResponse1) *NullableGetTenantUsersResponse1 { - return &NullableGetTenantUsersResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantUsersResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantUsersResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tenants_response_1.go b/client/model_get_tenants_response_1.go deleted file mode 100644 index 77f3b5a..0000000 --- a/client/model_get_tenants_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTenantsResponse1 struct for GetTenantsResponse1 -type GetTenantsResponse1 struct { - APIError *APIError - GetTenantsResponse *GetTenantsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTenantsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTenantsResponse - err = json.Unmarshal(data, &dst.GetTenantsResponse); - if err == nil { - jsonGetTenantsResponse, _ := json.Marshal(dst.GetTenantsResponse) - if string(jsonGetTenantsResponse) == "{}" { // empty struct - dst.GetTenantsResponse = nil - } else { - return nil // data stored in dst.GetTenantsResponse, return on the first match - } - } else { - dst.GetTenantsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTenantsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTenantsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTenantsResponse != nil { - return json.Marshal(&src.GetTenantsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTenantsResponse1 struct { - value *GetTenantsResponse1 - isSet bool -} - -func (v NullableGetTenantsResponse1) Get() *GetTenantsResponse1 { - return v.value -} - -func (v *NullableGetTenantsResponse1) Set(val *GetTenantsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTenantsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTenantsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTenantsResponse1(val *GetTenantsResponse1) *NullableGetTenantsResponse1 { - return &NullableGetTenantsResponse1{value: val, isSet: true} -} - -func (v NullableGetTenantsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTenantsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_ticket_response_1.go b/client/model_get_ticket_response_1.go deleted file mode 100644 index 8d77734..0000000 --- a/client/model_get_ticket_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTicketResponse1 struct for GetTicketResponse1 -type GetTicketResponse1 struct { - APIError *APIError - GetTicketResponse *GetTicketResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTicketResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTicketResponse - err = json.Unmarshal(data, &dst.GetTicketResponse); - if err == nil { - jsonGetTicketResponse, _ := json.Marshal(dst.GetTicketResponse) - if string(jsonGetTicketResponse) == "{}" { // empty struct - dst.GetTicketResponse = nil - } else { - return nil // data stored in dst.GetTicketResponse, return on the first match - } - } else { - dst.GetTicketResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTicketResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTicketResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTicketResponse != nil { - return json.Marshal(&src.GetTicketResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTicketResponse1 struct { - value *GetTicketResponse1 - isSet bool -} - -func (v NullableGetTicketResponse1) Get() *GetTicketResponse1 { - return v.value -} - -func (v *NullableGetTicketResponse1) Set(val *GetTicketResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTicketResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTicketResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTicketResponse1(val *GetTicketResponse1) *NullableGetTicketResponse1 { - return &NullableGetTicketResponse1{value: val, isSet: true} -} - -func (v NullableGetTicketResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTicketResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_tickets_response_1.go b/client/model_get_tickets_response_1.go deleted file mode 100644 index e9d3d7f..0000000 --- a/client/model_get_tickets_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTicketsResponse1 struct for GetTicketsResponse1 -type GetTicketsResponse1 struct { - APIError *APIError - GetTicketsResponse *GetTicketsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTicketsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTicketsResponse - err = json.Unmarshal(data, &dst.GetTicketsResponse); - if err == nil { - jsonGetTicketsResponse, _ := json.Marshal(dst.GetTicketsResponse) - if string(jsonGetTicketsResponse) == "{}" { // empty struct - dst.GetTicketsResponse = nil - } else { - return nil // data stored in dst.GetTicketsResponse, return on the first match - } - } else { - dst.GetTicketsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTicketsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTicketsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTicketsResponse != nil { - return json.Marshal(&src.GetTicketsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTicketsResponse1 struct { - value *GetTicketsResponse1 - isSet bool -} - -func (v NullableGetTicketsResponse1) Get() *GetTicketsResponse1 { - return v.value -} - -func (v *NullableGetTicketsResponse1) Set(val *GetTicketsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTicketsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTicketsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTicketsResponse1(val *GetTicketsResponse1) *NullableGetTicketsResponse1 { - return &NullableGetTicketsResponse1{value: val, isSet: true} -} - -func (v NullableGetTicketsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTicketsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_translations_response_1.go b/client/model_get_translations_response_1.go deleted file mode 100644 index f42e006..0000000 --- a/client/model_get_translations_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTranslationsResponse1 struct for GetTranslationsResponse1 -type GetTranslationsResponse1 struct { - APIError *APIError - GetTranslationsResponse *GetTranslationsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTranslationsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetTranslationsResponse - err = json.Unmarshal(data, &dst.GetTranslationsResponse); - if err == nil { - jsonGetTranslationsResponse, _ := json.Marshal(dst.GetTranslationsResponse) - if string(jsonGetTranslationsResponse) == "{}" { // empty struct - dst.GetTranslationsResponse = nil - } else { - return nil // data stored in dst.GetTranslationsResponse, return on the first match - } - } else { - dst.GetTranslationsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTranslationsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTranslationsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetTranslationsResponse != nil { - return json.Marshal(&src.GetTranslationsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTranslationsResponse1 struct { - value *GetTranslationsResponse1 - isSet bool -} - -func (v NullableGetTranslationsResponse1) Get() *GetTranslationsResponse1 { - return v.value -} - -func (v *NullableGetTranslationsResponse1) Set(val *GetTranslationsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetTranslationsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTranslationsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTranslationsResponse1(val *GetTranslationsResponse1) *NullableGetTranslationsResponse1 { - return &NullableGetTranslationsResponse1{value: val, isSet: true} -} - -func (v NullableGetTranslationsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTranslationsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_trust_factor_response.go b/client/model_get_trust_factor_response.go deleted file mode 100644 index 22a1723..0000000 --- a/client/model_get_trust_factor_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetTrustFactorResponse struct for GetTrustFactorResponse -type GetTrustFactorResponse struct { - APIError *APIError - GetUserTrustFactorResponse *GetUserTrustFactorResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetTrustFactorResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserTrustFactorResponse - err = json.Unmarshal(data, &dst.GetUserTrustFactorResponse); - if err == nil { - jsonGetUserTrustFactorResponse, _ := json.Marshal(dst.GetUserTrustFactorResponse) - if string(jsonGetUserTrustFactorResponse) == "{}" { // empty struct - dst.GetUserTrustFactorResponse = nil - } else { - return nil // data stored in dst.GetUserTrustFactorResponse, return on the first match - } - } else { - dst.GetUserTrustFactorResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetTrustFactorResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetTrustFactorResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserTrustFactorResponse != nil { - return json.Marshal(&src.GetUserTrustFactorResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetTrustFactorResponse struct { - value *GetTrustFactorResponse - isSet bool -} - -func (v NullableGetTrustFactorResponse) Get() *GetTrustFactorResponse { - return v.value -} - -func (v *NullableGetTrustFactorResponse) Set(val *GetTrustFactorResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetTrustFactorResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetTrustFactorResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetTrustFactorResponse(val *GetTrustFactorResponse) *NullableGetTrustFactorResponse { - return &NullableGetTrustFactorResponse{value: val, isSet: true} -} - -func (v NullableGetTrustFactorResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetTrustFactorResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_badge_progress_by_id_response.go b/client/model_get_user_badge_progress_by_id_response.go deleted file mode 100644 index 32000ba..0000000 --- a/client/model_get_user_badge_progress_by_id_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBadgeProgressByIdResponse struct for GetUserBadgeProgressByIdResponse -type GetUserBadgeProgressByIdResponse struct { - APIError *APIError - APIGetUserBadgeProgressResponse *APIGetUserBadgeProgressResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBadgeProgressByIdResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetUserBadgeProgressResponse - err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressResponse); - if err == nil { - jsonAPIGetUserBadgeProgressResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressResponse) - if string(jsonAPIGetUserBadgeProgressResponse) == "{}" { // empty struct - dst.APIGetUserBadgeProgressResponse = nil - } else { - return nil // data stored in dst.APIGetUserBadgeProgressResponse, return on the first match - } - } else { - dst.APIGetUserBadgeProgressResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressByIdResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBadgeProgressByIdResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetUserBadgeProgressResponse != nil { - return json.Marshal(&src.APIGetUserBadgeProgressResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBadgeProgressByIdResponse struct { - value *GetUserBadgeProgressByIdResponse - isSet bool -} - -func (v NullableGetUserBadgeProgressByIdResponse) Get() *GetUserBadgeProgressByIdResponse { - return v.value -} - -func (v *NullableGetUserBadgeProgressByIdResponse) Set(val *GetUserBadgeProgressByIdResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBadgeProgressByIdResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBadgeProgressByIdResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBadgeProgressByIdResponse(val *GetUserBadgeProgressByIdResponse) *NullableGetUserBadgeProgressByIdResponse { - return &NullableGetUserBadgeProgressByIdResponse{value: val, isSet: true} -} - -func (v NullableGetUserBadgeProgressByIdResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBadgeProgressByIdResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_badge_progress_by_user_id_response.go b/client/model_get_user_badge_progress_by_user_id_response.go deleted file mode 100644 index d38a8ad..0000000 --- a/client/model_get_user_badge_progress_by_user_id_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBadgeProgressByUserIdResponse struct for GetUserBadgeProgressByUserIdResponse -type GetUserBadgeProgressByUserIdResponse struct { - APIError *APIError - APIGetUserBadgeProgressResponse *APIGetUserBadgeProgressResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBadgeProgressByUserIdResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetUserBadgeProgressResponse - err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressResponse); - if err == nil { - jsonAPIGetUserBadgeProgressResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressResponse) - if string(jsonAPIGetUserBadgeProgressResponse) == "{}" { // empty struct - dst.APIGetUserBadgeProgressResponse = nil - } else { - return nil // data stored in dst.APIGetUserBadgeProgressResponse, return on the first match - } - } else { - dst.APIGetUserBadgeProgressResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressByUserIdResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBadgeProgressByUserIdResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetUserBadgeProgressResponse != nil { - return json.Marshal(&src.APIGetUserBadgeProgressResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBadgeProgressByUserIdResponse struct { - value *GetUserBadgeProgressByUserIdResponse - isSet bool -} - -func (v NullableGetUserBadgeProgressByUserIdResponse) Get() *GetUserBadgeProgressByUserIdResponse { - return v.value -} - -func (v *NullableGetUserBadgeProgressByUserIdResponse) Set(val *GetUserBadgeProgressByUserIdResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBadgeProgressByUserIdResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBadgeProgressByUserIdResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBadgeProgressByUserIdResponse(val *GetUserBadgeProgressByUserIdResponse) *NullableGetUserBadgeProgressByUserIdResponse { - return &NullableGetUserBadgeProgressByUserIdResponse{value: val, isSet: true} -} - -func (v NullableGetUserBadgeProgressByUserIdResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBadgeProgressByUserIdResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_badge_progress_list_response.go b/client/model_get_user_badge_progress_list_response.go deleted file mode 100644 index fcf0b32..0000000 --- a/client/model_get_user_badge_progress_list_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBadgeProgressListResponse struct for GetUserBadgeProgressListResponse -type GetUserBadgeProgressListResponse struct { - APIError *APIError - APIGetUserBadgeProgressListResponse *APIGetUserBadgeProgressListResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBadgeProgressListResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetUserBadgeProgressListResponse - err = json.Unmarshal(data, &dst.APIGetUserBadgeProgressListResponse); - if err == nil { - jsonAPIGetUserBadgeProgressListResponse, _ := json.Marshal(dst.APIGetUserBadgeProgressListResponse) - if string(jsonAPIGetUserBadgeProgressListResponse) == "{}" { // empty struct - dst.APIGetUserBadgeProgressListResponse = nil - } else { - return nil // data stored in dst.APIGetUserBadgeProgressListResponse, return on the first match - } - } else { - dst.APIGetUserBadgeProgressListResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeProgressListResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBadgeProgressListResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetUserBadgeProgressListResponse != nil { - return json.Marshal(&src.APIGetUserBadgeProgressListResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBadgeProgressListResponse struct { - value *GetUserBadgeProgressListResponse - isSet bool -} - -func (v NullableGetUserBadgeProgressListResponse) Get() *GetUserBadgeProgressListResponse { - return v.value -} - -func (v *NullableGetUserBadgeProgressListResponse) Set(val *GetUserBadgeProgressListResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBadgeProgressListResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBadgeProgressListResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBadgeProgressListResponse(val *GetUserBadgeProgressListResponse) *NullableGetUserBadgeProgressListResponse { - return &NullableGetUserBadgeProgressListResponse{value: val, isSet: true} -} - -func (v NullableGetUserBadgeProgressListResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBadgeProgressListResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_badge_response.go b/client/model_get_user_badge_response.go deleted file mode 100644 index d9169b1..0000000 --- a/client/model_get_user_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBadgeResponse struct for GetUserBadgeResponse -type GetUserBadgeResponse struct { - APIError *APIError - APIGetUserBadgeResponse *APIGetUserBadgeResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetUserBadgeResponse - err = json.Unmarshal(data, &dst.APIGetUserBadgeResponse); - if err == nil { - jsonAPIGetUserBadgeResponse, _ := json.Marshal(dst.APIGetUserBadgeResponse) - if string(jsonAPIGetUserBadgeResponse) == "{}" { // empty struct - dst.APIGetUserBadgeResponse = nil - } else { - return nil // data stored in dst.APIGetUserBadgeResponse, return on the first match - } - } else { - dst.APIGetUserBadgeResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetUserBadgeResponse != nil { - return json.Marshal(&src.APIGetUserBadgeResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBadgeResponse struct { - value *GetUserBadgeResponse - isSet bool -} - -func (v NullableGetUserBadgeResponse) Get() *GetUserBadgeResponse { - return v.value -} - -func (v *NullableGetUserBadgeResponse) Set(val *GetUserBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBadgeResponse(val *GetUserBadgeResponse) *NullableGetUserBadgeResponse { - return &NullableGetUserBadgeResponse{value: val, isSet: true} -} - -func (v NullableGetUserBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_badges_response.go b/client/model_get_user_badges_response.go deleted file mode 100644 index 2d8c6a1..0000000 --- a/client/model_get_user_badges_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBadgesResponse struct for GetUserBadgesResponse -type GetUserBadgesResponse struct { - APIError *APIError - APIGetUserBadgesResponse *APIGetUserBadgesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBadgesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIGetUserBadgesResponse - err = json.Unmarshal(data, &dst.APIGetUserBadgesResponse); - if err == nil { - jsonAPIGetUserBadgesResponse, _ := json.Marshal(dst.APIGetUserBadgesResponse) - if string(jsonAPIGetUserBadgesResponse) == "{}" { // empty struct - dst.APIGetUserBadgesResponse = nil - } else { - return nil // data stored in dst.APIGetUserBadgesResponse, return on the first match - } - } else { - dst.APIGetUserBadgesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBadgesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBadgesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIGetUserBadgesResponse != nil { - return json.Marshal(&src.APIGetUserBadgesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBadgesResponse struct { - value *GetUserBadgesResponse - isSet bool -} - -func (v NullableGetUserBadgesResponse) Get() *GetUserBadgesResponse { - return v.value -} - -func (v *NullableGetUserBadgesResponse) Set(val *GetUserBadgesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBadgesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBadgesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBadgesResponse(val *GetUserBadgesResponse) *NullableGetUserBadgesResponse { - return &NullableGetUserBadgesResponse{value: val, isSet: true} -} - -func (v NullableGetUserBadgesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBadgesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_ban_preference_response.go b/client/model_get_user_ban_preference_response.go deleted file mode 100644 index e4b651a..0000000 --- a/client/model_get_user_ban_preference_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserBanPreferenceResponse struct for GetUserBanPreferenceResponse -type GetUserBanPreferenceResponse struct { - APIError *APIError - APIModerateGetUserBanPreferencesResponse *APIModerateGetUserBanPreferencesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserBanPreferenceResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APIModerateGetUserBanPreferencesResponse - err = json.Unmarshal(data, &dst.APIModerateGetUserBanPreferencesResponse); - if err == nil { - jsonAPIModerateGetUserBanPreferencesResponse, _ := json.Marshal(dst.APIModerateGetUserBanPreferencesResponse) - if string(jsonAPIModerateGetUserBanPreferencesResponse) == "{}" { // empty struct - dst.APIModerateGetUserBanPreferencesResponse = nil - } else { - return nil // data stored in dst.APIModerateGetUserBanPreferencesResponse, return on the first match - } - } else { - dst.APIModerateGetUserBanPreferencesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserBanPreferenceResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserBanPreferenceResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APIModerateGetUserBanPreferencesResponse != nil { - return json.Marshal(&src.APIModerateGetUserBanPreferencesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserBanPreferenceResponse struct { - value *GetUserBanPreferenceResponse - isSet bool -} - -func (v NullableGetUserBanPreferenceResponse) Get() *GetUserBanPreferenceResponse { - return v.value -} - -func (v *NullableGetUserBanPreferenceResponse) Set(val *GetUserBanPreferenceResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserBanPreferenceResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserBanPreferenceResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserBanPreferenceResponse(val *GetUserBanPreferenceResponse) *NullableGetUserBanPreferenceResponse { - return &NullableGetUserBanPreferenceResponse{value: val, isSet: true} -} - -func (v NullableGetUserBanPreferenceResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserBanPreferenceResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_internal_profile_response_1.go b/client/model_get_user_internal_profile_response_1.go deleted file mode 100644 index e31226b..0000000 --- a/client/model_get_user_internal_profile_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserInternalProfileResponse1 struct for GetUserInternalProfileResponse1 -type GetUserInternalProfileResponse1 struct { - APIError *APIError - GetUserInternalProfileResponse *GetUserInternalProfileResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserInternalProfileResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserInternalProfileResponse - err = json.Unmarshal(data, &dst.GetUserInternalProfileResponse); - if err == nil { - jsonGetUserInternalProfileResponse, _ := json.Marshal(dst.GetUserInternalProfileResponse) - if string(jsonGetUserInternalProfileResponse) == "{}" { // empty struct - dst.GetUserInternalProfileResponse = nil - } else { - return nil // data stored in dst.GetUserInternalProfileResponse, return on the first match - } - } else { - dst.GetUserInternalProfileResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserInternalProfileResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserInternalProfileResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserInternalProfileResponse != nil { - return json.Marshal(&src.GetUserInternalProfileResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserInternalProfileResponse1 struct { - value *GetUserInternalProfileResponse1 - isSet bool -} - -func (v NullableGetUserInternalProfileResponse1) Get() *GetUserInternalProfileResponse1 { - return v.value -} - -func (v *NullableGetUserInternalProfileResponse1) Set(val *GetUserInternalProfileResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserInternalProfileResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserInternalProfileResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserInternalProfileResponse1(val *GetUserInternalProfileResponse1) *NullableGetUserInternalProfileResponse1 { - return &NullableGetUserInternalProfileResponse1{value: val, isSet: true} -} - -func (v NullableGetUserInternalProfileResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserInternalProfileResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_notification_count_response_1.go b/client/model_get_user_notification_count_response_1.go deleted file mode 100644 index f7e8c66..0000000 --- a/client/model_get_user_notification_count_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserNotificationCountResponse1 struct for GetUserNotificationCountResponse1 -type GetUserNotificationCountResponse1 struct { - APIError *APIError - GetUserNotificationCountResponse *GetUserNotificationCountResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserNotificationCountResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserNotificationCountResponse - err = json.Unmarshal(data, &dst.GetUserNotificationCountResponse); - if err == nil { - jsonGetUserNotificationCountResponse, _ := json.Marshal(dst.GetUserNotificationCountResponse) - if string(jsonGetUserNotificationCountResponse) == "{}" { // empty struct - dst.GetUserNotificationCountResponse = nil - } else { - return nil // data stored in dst.GetUserNotificationCountResponse, return on the first match - } - } else { - dst.GetUserNotificationCountResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserNotificationCountResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserNotificationCountResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserNotificationCountResponse != nil { - return json.Marshal(&src.GetUserNotificationCountResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserNotificationCountResponse1 struct { - value *GetUserNotificationCountResponse1 - isSet bool -} - -func (v NullableGetUserNotificationCountResponse1) Get() *GetUserNotificationCountResponse1 { - return v.value -} - -func (v *NullableGetUserNotificationCountResponse1) Set(val *GetUserNotificationCountResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserNotificationCountResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserNotificationCountResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserNotificationCountResponse1(val *GetUserNotificationCountResponse1) *NullableGetUserNotificationCountResponse1 { - return &NullableGetUserNotificationCountResponse1{value: val, isSet: true} -} - -func (v NullableGetUserNotificationCountResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserNotificationCountResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_notifications_response.go b/client/model_get_user_notifications_response.go deleted file mode 100644 index 8bcee8f..0000000 --- a/client/model_get_user_notifications_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserNotificationsResponse struct for GetUserNotificationsResponse -type GetUserNotificationsResponse struct { - APIError *APIError - GetMyNotificationsResponse *GetMyNotificationsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserNotificationsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetMyNotificationsResponse - err = json.Unmarshal(data, &dst.GetMyNotificationsResponse); - if err == nil { - jsonGetMyNotificationsResponse, _ := json.Marshal(dst.GetMyNotificationsResponse) - if string(jsonGetMyNotificationsResponse) == "{}" { // empty struct - dst.GetMyNotificationsResponse = nil - } else { - return nil // data stored in dst.GetMyNotificationsResponse, return on the first match - } - } else { - dst.GetMyNotificationsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserNotificationsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserNotificationsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetMyNotificationsResponse != nil { - return json.Marshal(&src.GetMyNotificationsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserNotificationsResponse struct { - value *GetUserNotificationsResponse - isSet bool -} - -func (v NullableGetUserNotificationsResponse) Get() *GetUserNotificationsResponse { - return v.value -} - -func (v *NullableGetUserNotificationsResponse) Set(val *GetUserNotificationsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserNotificationsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserNotificationsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserNotificationsResponse(val *GetUserNotificationsResponse) *NullableGetUserNotificationsResponse { - return &NullableGetUserNotificationsResponse{value: val, isSet: true} -} - -func (v NullableGetUserNotificationsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserNotificationsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_presence_statuses_response_1.go b/client/model_get_user_presence_statuses_response_1.go deleted file mode 100644 index e57da65..0000000 --- a/client/model_get_user_presence_statuses_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserPresenceStatusesResponse1 struct for GetUserPresenceStatusesResponse1 -type GetUserPresenceStatusesResponse1 struct { - APIError *APIError - GetUserPresenceStatusesResponse *GetUserPresenceStatusesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserPresenceStatusesResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserPresenceStatusesResponse - err = json.Unmarshal(data, &dst.GetUserPresenceStatusesResponse); - if err == nil { - jsonGetUserPresenceStatusesResponse, _ := json.Marshal(dst.GetUserPresenceStatusesResponse) - if string(jsonGetUserPresenceStatusesResponse) == "{}" { // empty struct - dst.GetUserPresenceStatusesResponse = nil - } else { - return nil // data stored in dst.GetUserPresenceStatusesResponse, return on the first match - } - } else { - dst.GetUserPresenceStatusesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserPresenceStatusesResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserPresenceStatusesResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserPresenceStatusesResponse != nil { - return json.Marshal(&src.GetUserPresenceStatusesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserPresenceStatusesResponse1 struct { - value *GetUserPresenceStatusesResponse1 - isSet bool -} - -func (v NullableGetUserPresenceStatusesResponse1) Get() *GetUserPresenceStatusesResponse1 { - return v.value -} - -func (v *NullableGetUserPresenceStatusesResponse1) Set(val *GetUserPresenceStatusesResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserPresenceStatusesResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserPresenceStatusesResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserPresenceStatusesResponse1(val *GetUserPresenceStatusesResponse1) *NullableGetUserPresenceStatusesResponse1 { - return &NullableGetUserPresenceStatusesResponse1{value: val, isSet: true} -} - -func (v NullableGetUserPresenceStatusesResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserPresenceStatusesResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_reacts_public_response.go b/client/model_get_user_reacts_public_response.go deleted file mode 100644 index 277a281..0000000 --- a/client/model_get_user_reacts_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserReactsPublicResponse struct for GetUserReactsPublicResponse -type GetUserReactsPublicResponse struct { - APIError *APIError - UserReactsResponse *UserReactsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserReactsPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into UserReactsResponse - err = json.Unmarshal(data, &dst.UserReactsResponse); - if err == nil { - jsonUserReactsResponse, _ := json.Marshal(dst.UserReactsResponse) - if string(jsonUserReactsResponse) == "{}" { // empty struct - dst.UserReactsResponse = nil - } else { - return nil // data stored in dst.UserReactsResponse, return on the first match - } - } else { - dst.UserReactsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserReactsPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserReactsPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.UserReactsResponse != nil { - return json.Marshal(&src.UserReactsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserReactsPublicResponse struct { - value *GetUserReactsPublicResponse - isSet bool -} - -func (v NullableGetUserReactsPublicResponse) Get() *GetUserReactsPublicResponse { - return v.value -} - -func (v *NullableGetUserReactsPublicResponse) Set(val *GetUserReactsPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserReactsPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserReactsPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserReactsPublicResponse(val *GetUserReactsPublicResponse) *NullableGetUserReactsPublicResponse { - return &NullableGetUserReactsPublicResponse{value: val, isSet: true} -} - -func (v NullableGetUserReactsPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserReactsPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_user_response_1.go b/client/model_get_user_response_1.go deleted file mode 100644 index 48d9fde..0000000 --- a/client/model_get_user_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUserResponse1 struct for GetUserResponse1 -type GetUserResponse1 struct { - APIError *APIError - GetUserResponse *GetUserResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUserResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetUserResponse - err = json.Unmarshal(data, &dst.GetUserResponse); - if err == nil { - jsonGetUserResponse, _ := json.Marshal(dst.GetUserResponse) - if string(jsonGetUserResponse) == "{}" { // empty struct - dst.GetUserResponse = nil - } else { - return nil // data stored in dst.GetUserResponse, return on the first match - } - } else { - dst.GetUserResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUserResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUserResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetUserResponse != nil { - return json.Marshal(&src.GetUserResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUserResponse1 struct { - value *GetUserResponse1 - isSet bool -} - -func (v NullableGetUserResponse1) Get() *GetUserResponse1 { - return v.value -} - -func (v *NullableGetUserResponse1) Set(val *GetUserResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetUserResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUserResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUserResponse1(val *GetUserResponse1) *NullableGetUserResponse1 { - return &NullableGetUserResponse1{value: val, isSet: true} -} - -func (v NullableGetUserResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUserResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_users_info_response.go b/client/model_get_users_info_response.go deleted file mode 100644 index 868267a..0000000 --- a/client/model_get_users_info_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetUsersInfoResponse struct for GetUsersInfoResponse -type GetUsersInfoResponse struct { - APIError *APIError - PageUsersInfoResponse *PageUsersInfoResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetUsersInfoResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PageUsersInfoResponse - err = json.Unmarshal(data, &dst.PageUsersInfoResponse); - if err == nil { - jsonPageUsersInfoResponse, _ := json.Marshal(dst.PageUsersInfoResponse) - if string(jsonPageUsersInfoResponse) == "{}" { // empty struct - dst.PageUsersInfoResponse = nil - } else { - return nil // data stored in dst.PageUsersInfoResponse, return on the first match - } - } else { - dst.PageUsersInfoResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetUsersInfoResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetUsersInfoResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PageUsersInfoResponse != nil { - return json.Marshal(&src.PageUsersInfoResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetUsersInfoResponse struct { - value *GetUsersInfoResponse - isSet bool -} - -func (v NullableGetUsersInfoResponse) Get() *GetUsersInfoResponse { - return v.value -} - -func (v *NullableGetUsersInfoResponse) Set(val *GetUsersInfoResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetUsersInfoResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetUsersInfoResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetUsersInfoResponse(val *GetUsersInfoResponse) *NullableGetUsersInfoResponse { - return &NullableGetUsersInfoResponse{value: val, isSet: true} -} - -func (v NullableGetUsersInfoResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetUsersInfoResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_v1_page_likes_response.go b/client/model_get_v1_page_likes_response.go deleted file mode 100644 index f469524..0000000 --- a/client/model_get_v1_page_likes_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetV1PageLikesResponse struct for GetV1PageLikesResponse -type GetV1PageLikesResponse struct { - APIError *APIError - GetV1PageLikes *GetV1PageLikes -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetV1PageLikesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetV1PageLikes - err = json.Unmarshal(data, &dst.GetV1PageLikes); - if err == nil { - jsonGetV1PageLikes, _ := json.Marshal(dst.GetV1PageLikes) - if string(jsonGetV1PageLikes) == "{}" { // empty struct - dst.GetV1PageLikes = nil - } else { - return nil // data stored in dst.GetV1PageLikes, return on the first match - } - } else { - dst.GetV1PageLikes = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetV1PageLikesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetV1PageLikesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetV1PageLikes != nil { - return json.Marshal(&src.GetV1PageLikes) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetV1PageLikesResponse struct { - value *GetV1PageLikesResponse - isSet bool -} - -func (v NullableGetV1PageLikesResponse) Get() *GetV1PageLikesResponse { - return v.value -} - -func (v *NullableGetV1PageLikesResponse) Set(val *GetV1PageLikesResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetV1PageLikesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetV1PageLikesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetV1PageLikesResponse(val *GetV1PageLikesResponse) *NullableGetV1PageLikesResponse { - return &NullableGetV1PageLikesResponse{value: val, isSet: true} -} - -func (v NullableGetV1PageLikesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetV1PageLikesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_v2_page_react_users_response_1.go b/client/model_get_v2_page_react_users_response_1.go deleted file mode 100644 index c16d6e6..0000000 --- a/client/model_get_v2_page_react_users_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetV2PageReactUsersResponse1 struct for GetV2PageReactUsersResponse1 -type GetV2PageReactUsersResponse1 struct { - APIError *APIError - GetV2PageReactUsersResponse *GetV2PageReactUsersResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetV2PageReactUsersResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetV2PageReactUsersResponse - err = json.Unmarshal(data, &dst.GetV2PageReactUsersResponse); - if err == nil { - jsonGetV2PageReactUsersResponse, _ := json.Marshal(dst.GetV2PageReactUsersResponse) - if string(jsonGetV2PageReactUsersResponse) == "{}" { // empty struct - dst.GetV2PageReactUsersResponse = nil - } else { - return nil // data stored in dst.GetV2PageReactUsersResponse, return on the first match - } - } else { - dst.GetV2PageReactUsersResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetV2PageReactUsersResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetV2PageReactUsersResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetV2PageReactUsersResponse != nil { - return json.Marshal(&src.GetV2PageReactUsersResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetV2PageReactUsersResponse1 struct { - value *GetV2PageReactUsersResponse1 - isSet bool -} - -func (v NullableGetV2PageReactUsersResponse1) Get() *GetV2PageReactUsersResponse1 { - return v.value -} - -func (v *NullableGetV2PageReactUsersResponse1) Set(val *GetV2PageReactUsersResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetV2PageReactUsersResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetV2PageReactUsersResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetV2PageReactUsersResponse1(val *GetV2PageReactUsersResponse1) *NullableGetV2PageReactUsersResponse1 { - return &NullableGetV2PageReactUsersResponse1{value: val, isSet: true} -} - -func (v NullableGetV2PageReactUsersResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetV2PageReactUsersResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_v2_page_reacts_response.go b/client/model_get_v2_page_reacts_response.go deleted file mode 100644 index ce27dcd..0000000 --- a/client/model_get_v2_page_reacts_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetV2PageReactsResponse struct for GetV2PageReactsResponse -type GetV2PageReactsResponse struct { - APIError *APIError - GetV2PageReacts *GetV2PageReacts -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetV2PageReactsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetV2PageReacts - err = json.Unmarshal(data, &dst.GetV2PageReacts); - if err == nil { - jsonGetV2PageReacts, _ := json.Marshal(dst.GetV2PageReacts) - if string(jsonGetV2PageReacts) == "{}" { // empty struct - dst.GetV2PageReacts = nil - } else { - return nil // data stored in dst.GetV2PageReacts, return on the first match - } - } else { - dst.GetV2PageReacts = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetV2PageReactsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetV2PageReactsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetV2PageReacts != nil { - return json.Marshal(&src.GetV2PageReacts) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetV2PageReactsResponse struct { - value *GetV2PageReactsResponse - isSet bool -} - -func (v NullableGetV2PageReactsResponse) Get() *GetV2PageReactsResponse { - return v.value -} - -func (v *NullableGetV2PageReactsResponse) Set(val *GetV2PageReactsResponse) { - v.value = val - v.isSet = true -} - -func (v NullableGetV2PageReactsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableGetV2PageReactsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetV2PageReactsResponse(val *GetV2PageReactsResponse) *NullableGetV2PageReactsResponse { - return &NullableGetV2PageReactsResponse{value: val, isSet: true} -} - -func (v NullableGetV2PageReactsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetV2PageReactsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_votes_for_user_response_1.go b/client/model_get_votes_for_user_response_1.go deleted file mode 100644 index 0e307dd..0000000 --- a/client/model_get_votes_for_user_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetVotesForUserResponse1 struct for GetVotesForUserResponse1 -type GetVotesForUserResponse1 struct { - APIError *APIError - GetVotesForUserResponse *GetVotesForUserResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetVotesForUserResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetVotesForUserResponse - err = json.Unmarshal(data, &dst.GetVotesForUserResponse); - if err == nil { - jsonGetVotesForUserResponse, _ := json.Marshal(dst.GetVotesForUserResponse) - if string(jsonGetVotesForUserResponse) == "{}" { // empty struct - dst.GetVotesForUserResponse = nil - } else { - return nil // data stored in dst.GetVotesForUserResponse, return on the first match - } - } else { - dst.GetVotesForUserResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetVotesForUserResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetVotesForUserResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetVotesForUserResponse != nil { - return json.Marshal(&src.GetVotesForUserResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetVotesForUserResponse1 struct { - value *GetVotesForUserResponse1 - isSet bool -} - -func (v NullableGetVotesForUserResponse1) Get() *GetVotesForUserResponse1 { - return v.value -} - -func (v *NullableGetVotesForUserResponse1) Set(val *GetVotesForUserResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetVotesForUserResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetVotesForUserResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetVotesForUserResponse1(val *GetVotesForUserResponse1) *NullableGetVotesForUserResponse1 { - return &NullableGetVotesForUserResponse1{value: val, isSet: true} -} - -func (v NullableGetVotesForUserResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetVotesForUserResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_get_votes_response_1.go b/client/model_get_votes_response_1.go deleted file mode 100644 index b9d9a1f..0000000 --- a/client/model_get_votes_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// GetVotesResponse1 struct for GetVotesResponse1 -type GetVotesResponse1 struct { - APIError *APIError - GetVotesResponse *GetVotesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *GetVotesResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into GetVotesResponse - err = json.Unmarshal(data, &dst.GetVotesResponse); - if err == nil { - jsonGetVotesResponse, _ := json.Marshal(dst.GetVotesResponse) - if string(jsonGetVotesResponse) == "{}" { // empty struct - dst.GetVotesResponse = nil - } else { - return nil // data stored in dst.GetVotesResponse, return on the first match - } - } else { - dst.GetVotesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(GetVotesResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src GetVotesResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.GetVotesResponse != nil { - return json.Marshal(&src.GetVotesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableGetVotesResponse1 struct { - value *GetVotesResponse1 - isSet bool -} - -func (v NullableGetVotesResponse1) Get() *GetVotesResponse1 { - return v.value -} - -func (v *NullableGetVotesResponse1) Set(val *GetVotesResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableGetVotesResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableGetVotesResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGetVotesResponse1(val *GetVotesResponse1) *NullableGetVotesResponse1 { - return &NullableGetVotesResponse1{value: val, isSet: true} -} - -func (v NullableGetVotesResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGetVotesResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_lock_comment_response.go b/client/model_lock_comment_response.go deleted file mode 100644 index 83057b7..0000000 --- a/client/model_lock_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// LockCommentResponse struct for LockCommentResponse -type LockCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *LockCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(LockCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src LockCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableLockCommentResponse struct { - value *LockCommentResponse - isSet bool -} - -func (v NullableLockCommentResponse) Get() *LockCommentResponse { - return v.value -} - -func (v *NullableLockCommentResponse) Set(val *LockCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableLockCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableLockCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableLockCommentResponse(val *LockCommentResponse) *NullableLockCommentResponse { - return &NullableLockCommentResponse{value: val, isSet: true} -} - -func (v NullableLockCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableLockCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_patch_hash_tag_response.go b/client/model_patch_hash_tag_response.go deleted file mode 100644 index 0c98a1e..0000000 --- a/client/model_patch_hash_tag_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PatchHashTagResponse struct for PatchHashTagResponse -type PatchHashTagResponse struct { - APIError *APIError - UpdateHashTagResponse *UpdateHashTagResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PatchHashTagResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into UpdateHashTagResponse - err = json.Unmarshal(data, &dst.UpdateHashTagResponse); - if err == nil { - jsonUpdateHashTagResponse, _ := json.Marshal(dst.UpdateHashTagResponse) - if string(jsonUpdateHashTagResponse) == "{}" { // empty struct - dst.UpdateHashTagResponse = nil - } else { - return nil // data stored in dst.UpdateHashTagResponse, return on the first match - } - } else { - dst.UpdateHashTagResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PatchHashTagResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PatchHashTagResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.UpdateHashTagResponse != nil { - return json.Marshal(&src.UpdateHashTagResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePatchHashTagResponse struct { - value *PatchHashTagResponse - isSet bool -} - -func (v NullablePatchHashTagResponse) Get() *PatchHashTagResponse { - return v.value -} - -func (v *NullablePatchHashTagResponse) Set(val *PatchHashTagResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePatchHashTagResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePatchHashTagResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePatchHashTagResponse(val *PatchHashTagResponse) *NullablePatchHashTagResponse { - return &NullablePatchHashTagResponse{value: val, isSet: true} -} - -func (v NullablePatchHashTagResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePatchHashTagResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_pin_comment_response.go b/client/model_pin_comment_response.go deleted file mode 100644 index 529e905..0000000 --- a/client/model_pin_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PinCommentResponse struct for PinCommentResponse -type PinCommentResponse struct { - APIError *APIError - ChangeCommentPinStatusResponse *ChangeCommentPinStatusResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PinCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ChangeCommentPinStatusResponse - err = json.Unmarshal(data, &dst.ChangeCommentPinStatusResponse); - if err == nil { - jsonChangeCommentPinStatusResponse, _ := json.Marshal(dst.ChangeCommentPinStatusResponse) - if string(jsonChangeCommentPinStatusResponse) == "{}" { // empty struct - dst.ChangeCommentPinStatusResponse = nil - } else { - return nil // data stored in dst.ChangeCommentPinStatusResponse, return on the first match - } - } else { - dst.ChangeCommentPinStatusResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PinCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PinCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ChangeCommentPinStatusResponse != nil { - return json.Marshal(&src.ChangeCommentPinStatusResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePinCommentResponse struct { - value *PinCommentResponse - isSet bool -} - -func (v NullablePinCommentResponse) Get() *PinCommentResponse { - return v.value -} - -func (v *NullablePinCommentResponse) Set(val *PinCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePinCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePinCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePinCommentResponse(val *PinCommentResponse) *NullablePinCommentResponse { - return &NullablePinCommentResponse{value: val, isSet: true} -} - -func (v NullablePinCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePinCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_adjust_comment_votes_response.go b/client/model_post_adjust_comment_votes_response.go deleted file mode 100644 index ade1a1a..0000000 --- a/client/model_post_adjust_comment_votes_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostAdjustCommentVotesResponse struct for PostAdjustCommentVotesResponse -type PostAdjustCommentVotesResponse struct { - APIError *APIError - AdjustVotesResponse *AdjustVotesResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostAdjustCommentVotesResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into AdjustVotesResponse - err = json.Unmarshal(data, &dst.AdjustVotesResponse); - if err == nil { - jsonAdjustVotesResponse, _ := json.Marshal(dst.AdjustVotesResponse) - if string(jsonAdjustVotesResponse) == "{}" { // empty struct - dst.AdjustVotesResponse = nil - } else { - return nil // data stored in dst.AdjustVotesResponse, return on the first match - } - } else { - dst.AdjustVotesResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostAdjustCommentVotesResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostAdjustCommentVotesResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.AdjustVotesResponse != nil { - return json.Marshal(&src.AdjustVotesResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostAdjustCommentVotesResponse struct { - value *PostAdjustCommentVotesResponse - isSet bool -} - -func (v NullablePostAdjustCommentVotesResponse) Get() *PostAdjustCommentVotesResponse { - return v.value -} - -func (v *NullablePostAdjustCommentVotesResponse) Set(val *PostAdjustCommentVotesResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostAdjustCommentVotesResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostAdjustCommentVotesResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostAdjustCommentVotesResponse(val *PostAdjustCommentVotesResponse) *NullablePostAdjustCommentVotesResponse { - return &NullablePostAdjustCommentVotesResponse{value: val, isSet: true} -} - -func (v NullablePostAdjustCommentVotesResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostAdjustCommentVotesResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_api_export_response.go b/client/model_post_api_export_response.go deleted file mode 100644 index 728fb20..0000000 --- a/client/model_post_api_export_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostApiExportResponse struct for PostApiExportResponse -type PostApiExportResponse struct { - APIError *APIError - ModerationExportResponse *ModerationExportResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostApiExportResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationExportResponse - err = json.Unmarshal(data, &dst.ModerationExportResponse); - if err == nil { - jsonModerationExportResponse, _ := json.Marshal(dst.ModerationExportResponse) - if string(jsonModerationExportResponse) == "{}" { // empty struct - dst.ModerationExportResponse = nil - } else { - return nil // data stored in dst.ModerationExportResponse, return on the first match - } - } else { - dst.ModerationExportResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostApiExportResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostApiExportResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationExportResponse != nil { - return json.Marshal(&src.ModerationExportResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostApiExportResponse struct { - value *PostApiExportResponse - isSet bool -} - -func (v NullablePostApiExportResponse) Get() *PostApiExportResponse { - return v.value -} - -func (v *NullablePostApiExportResponse) Set(val *PostApiExportResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostApiExportResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostApiExportResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostApiExportResponse(val *PostApiExportResponse) *NullablePostApiExportResponse { - return &NullablePostApiExportResponse{value: val, isSet: true} -} - -func (v NullablePostApiExportResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostApiExportResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_ban_user_from_comment_response.go b/client/model_post_ban_user_from_comment_response.go deleted file mode 100644 index 4d73233..0000000 --- a/client/model_post_ban_user_from_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostBanUserFromCommentResponse struct for PostBanUserFromCommentResponse -type PostBanUserFromCommentResponse struct { - APIError *APIError - BanUserFromCommentResult *BanUserFromCommentResult -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostBanUserFromCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BanUserFromCommentResult - err = json.Unmarshal(data, &dst.BanUserFromCommentResult); - if err == nil { - jsonBanUserFromCommentResult, _ := json.Marshal(dst.BanUserFromCommentResult) - if string(jsonBanUserFromCommentResult) == "{}" { // empty struct - dst.BanUserFromCommentResult = nil - } else { - return nil // data stored in dst.BanUserFromCommentResult, return on the first match - } - } else { - dst.BanUserFromCommentResult = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostBanUserFromCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostBanUserFromCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BanUserFromCommentResult != nil { - return json.Marshal(&src.BanUserFromCommentResult) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostBanUserFromCommentResponse struct { - value *PostBanUserFromCommentResponse - isSet bool -} - -func (v NullablePostBanUserFromCommentResponse) Get() *PostBanUserFromCommentResponse { - return v.value -} - -func (v *NullablePostBanUserFromCommentResponse) Set(val *PostBanUserFromCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostBanUserFromCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostBanUserFromCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostBanUserFromCommentResponse(val *PostBanUserFromCommentResponse) *NullablePostBanUserFromCommentResponse { - return &NullablePostBanUserFromCommentResponse{value: val, isSet: true} -} - -func (v NullablePostBanUserFromCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostBanUserFromCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_ban_user_undo_response.go b/client/model_post_ban_user_undo_response.go deleted file mode 100644 index ad61ec3..0000000 --- a/client/model_post_ban_user_undo_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostBanUserUndoResponse struct for PostBanUserUndoResponse -type PostBanUserUndoResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostBanUserUndoResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostBanUserUndoResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostBanUserUndoResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostBanUserUndoResponse struct { - value *PostBanUserUndoResponse - isSet bool -} - -func (v NullablePostBanUserUndoResponse) Get() *PostBanUserUndoResponse { - return v.value -} - -func (v *NullablePostBanUserUndoResponse) Set(val *PostBanUserUndoResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostBanUserUndoResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostBanUserUndoResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostBanUserUndoResponse(val *PostBanUserUndoResponse) *NullablePostBanUserUndoResponse { - return &NullablePostBanUserUndoResponse{value: val, isSet: true} -} - -func (v NullablePostBanUserUndoResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostBanUserUndoResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_bulk_pre_ban_summary_response.go b/client/model_post_bulk_pre_ban_summary_response.go deleted file mode 100644 index 5f81219..0000000 --- a/client/model_post_bulk_pre_ban_summary_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostBulkPreBanSummaryResponse struct for PostBulkPreBanSummaryResponse -type PostBulkPreBanSummaryResponse struct { - APIError *APIError - BulkPreBanSummary *BulkPreBanSummary -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostBulkPreBanSummaryResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into BulkPreBanSummary - err = json.Unmarshal(data, &dst.BulkPreBanSummary); - if err == nil { - jsonBulkPreBanSummary, _ := json.Marshal(dst.BulkPreBanSummary) - if string(jsonBulkPreBanSummary) == "{}" { // empty struct - dst.BulkPreBanSummary = nil - } else { - return nil // data stored in dst.BulkPreBanSummary, return on the first match - } - } else { - dst.BulkPreBanSummary = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostBulkPreBanSummaryResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostBulkPreBanSummaryResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.BulkPreBanSummary != nil { - return json.Marshal(&src.BulkPreBanSummary) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostBulkPreBanSummaryResponse struct { - value *PostBulkPreBanSummaryResponse - isSet bool -} - -func (v NullablePostBulkPreBanSummaryResponse) Get() *PostBulkPreBanSummaryResponse { - return v.value -} - -func (v *NullablePostBulkPreBanSummaryResponse) Set(val *PostBulkPreBanSummaryResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostBulkPreBanSummaryResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostBulkPreBanSummaryResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostBulkPreBanSummaryResponse(val *PostBulkPreBanSummaryResponse) *NullablePostBulkPreBanSummaryResponse { - return &NullablePostBulkPreBanSummaryResponse{value: val, isSet: true} -} - -func (v NullablePostBulkPreBanSummaryResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostBulkPreBanSummaryResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_comments_by_ids_response.go b/client/model_post_comments_by_ids_response.go deleted file mode 100644 index 6571909..0000000 --- a/client/model_post_comments_by_ids_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostCommentsByIdsResponse struct for PostCommentsByIdsResponse -type PostCommentsByIdsResponse struct { - APIError *APIError - ModerationAPIChildCommentsResponse *ModerationAPIChildCommentsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostCommentsByIdsResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ModerationAPIChildCommentsResponse - err = json.Unmarshal(data, &dst.ModerationAPIChildCommentsResponse); - if err == nil { - jsonModerationAPIChildCommentsResponse, _ := json.Marshal(dst.ModerationAPIChildCommentsResponse) - if string(jsonModerationAPIChildCommentsResponse) == "{}" { // empty struct - dst.ModerationAPIChildCommentsResponse = nil - } else { - return nil // data stored in dst.ModerationAPIChildCommentsResponse, return on the first match - } - } else { - dst.ModerationAPIChildCommentsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostCommentsByIdsResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostCommentsByIdsResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ModerationAPIChildCommentsResponse != nil { - return json.Marshal(&src.ModerationAPIChildCommentsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostCommentsByIdsResponse struct { - value *PostCommentsByIdsResponse - isSet bool -} - -func (v NullablePostCommentsByIdsResponse) Get() *PostCommentsByIdsResponse { - return v.value -} - -func (v *NullablePostCommentsByIdsResponse) Set(val *PostCommentsByIdsResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostCommentsByIdsResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostCommentsByIdsResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostCommentsByIdsResponse(val *PostCommentsByIdsResponse) *NullablePostCommentsByIdsResponse { - return &NullablePostCommentsByIdsResponse{value: val, isSet: true} -} - -func (v NullablePostCommentsByIdsResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostCommentsByIdsResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_flag_comment_response.go b/client/model_post_flag_comment_response.go deleted file mode 100644 index 6dd49e8..0000000 --- a/client/model_post_flag_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostFlagCommentResponse struct for PostFlagCommentResponse -type PostFlagCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostFlagCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostFlagCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostFlagCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostFlagCommentResponse struct { - value *PostFlagCommentResponse - isSet bool -} - -func (v NullablePostFlagCommentResponse) Get() *PostFlagCommentResponse { - return v.value -} - -func (v *NullablePostFlagCommentResponse) Set(val *PostFlagCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostFlagCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostFlagCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostFlagCommentResponse(val *PostFlagCommentResponse) *NullablePostFlagCommentResponse { - return &NullablePostFlagCommentResponse{value: val, isSet: true} -} - -func (v NullablePostFlagCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostFlagCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_remove_comment_response.go b/client/model_post_remove_comment_response.go index 0732edd..fd58ac1 100644 --- a/client/model_post_remove_comment_response.go +++ b/client/model_post_remove_comment_response.go @@ -18,7 +18,6 @@ import ( // PostRemoveCommentResponse struct for PostRemoveCommentResponse type PostRemoveCommentResponse struct { - APIError *APIError DeleteCommentResult *DeleteCommentResult RemoveCommentActionResponse *RemoveCommentActionResponse } @@ -26,19 +25,6 @@ type PostRemoveCommentResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - // try to unmarshal JSON data into DeleteCommentResult err = json.Unmarshal(data, &dst.DeleteCommentResult); if err == nil { @@ -70,10 +56,6 @@ func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { // Marshal data from the first non-nil pointers in the struct to JSON func (src PostRemoveCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - if src.DeleteCommentResult != nil { return json.Marshal(&src.DeleteCommentResult) } diff --git a/client/model_post_restore_deleted_comment_response.go b/client/model_post_restore_deleted_comment_response.go deleted file mode 100644 index 73fef74..0000000 --- a/client/model_post_restore_deleted_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostRestoreDeletedCommentResponse struct for PostRestoreDeletedCommentResponse -type PostRestoreDeletedCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostRestoreDeletedCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostRestoreDeletedCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostRestoreDeletedCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostRestoreDeletedCommentResponse struct { - value *PostRestoreDeletedCommentResponse - isSet bool -} - -func (v NullablePostRestoreDeletedCommentResponse) Get() *PostRestoreDeletedCommentResponse { - return v.value -} - -func (v *NullablePostRestoreDeletedCommentResponse) Set(val *PostRestoreDeletedCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostRestoreDeletedCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostRestoreDeletedCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostRestoreDeletedCommentResponse(val *PostRestoreDeletedCommentResponse) *NullablePostRestoreDeletedCommentResponse { - return &NullablePostRestoreDeletedCommentResponse{value: val, isSet: true} -} - -func (v NullablePostRestoreDeletedCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostRestoreDeletedCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_set_comment_approval_status_response.go b/client/model_post_set_comment_approval_status_response.go deleted file mode 100644 index e8026c7..0000000 --- a/client/model_post_set_comment_approval_status_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostSetCommentApprovalStatusResponse struct for PostSetCommentApprovalStatusResponse -type PostSetCommentApprovalStatusResponse struct { - APIError *APIError - SetCommentApprovedResponse *SetCommentApprovedResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostSetCommentApprovalStatusResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into SetCommentApprovedResponse - err = json.Unmarshal(data, &dst.SetCommentApprovedResponse); - if err == nil { - jsonSetCommentApprovedResponse, _ := json.Marshal(dst.SetCommentApprovedResponse) - if string(jsonSetCommentApprovedResponse) == "{}" { // empty struct - dst.SetCommentApprovedResponse = nil - } else { - return nil // data stored in dst.SetCommentApprovedResponse, return on the first match - } - } else { - dst.SetCommentApprovedResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentApprovalStatusResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostSetCommentApprovalStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.SetCommentApprovedResponse != nil { - return json.Marshal(&src.SetCommentApprovedResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostSetCommentApprovalStatusResponse struct { - value *PostSetCommentApprovalStatusResponse - isSet bool -} - -func (v NullablePostSetCommentApprovalStatusResponse) Get() *PostSetCommentApprovalStatusResponse { - return v.value -} - -func (v *NullablePostSetCommentApprovalStatusResponse) Set(val *PostSetCommentApprovalStatusResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostSetCommentApprovalStatusResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostSetCommentApprovalStatusResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostSetCommentApprovalStatusResponse(val *PostSetCommentApprovalStatusResponse) *NullablePostSetCommentApprovalStatusResponse { - return &NullablePostSetCommentApprovalStatusResponse{value: val, isSet: true} -} - -func (v NullablePostSetCommentApprovalStatusResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostSetCommentApprovalStatusResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_set_comment_review_status_response.go b/client/model_post_set_comment_review_status_response.go deleted file mode 100644 index 4d9d3df..0000000 --- a/client/model_post_set_comment_review_status_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostSetCommentReviewStatusResponse struct for PostSetCommentReviewStatusResponse -type PostSetCommentReviewStatusResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostSetCommentReviewStatusResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentReviewStatusResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostSetCommentReviewStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostSetCommentReviewStatusResponse struct { - value *PostSetCommentReviewStatusResponse - isSet bool -} - -func (v NullablePostSetCommentReviewStatusResponse) Get() *PostSetCommentReviewStatusResponse { - return v.value -} - -func (v *NullablePostSetCommentReviewStatusResponse) Set(val *PostSetCommentReviewStatusResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostSetCommentReviewStatusResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostSetCommentReviewStatusResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostSetCommentReviewStatusResponse(val *PostSetCommentReviewStatusResponse) *NullablePostSetCommentReviewStatusResponse { - return &NullablePostSetCommentReviewStatusResponse{value: val, isSet: true} -} - -func (v NullablePostSetCommentReviewStatusResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostSetCommentReviewStatusResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_set_comment_spam_status_response.go b/client/model_post_set_comment_spam_status_response.go deleted file mode 100644 index 8c7c667..0000000 --- a/client/model_post_set_comment_spam_status_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostSetCommentSpamStatusResponse struct for PostSetCommentSpamStatusResponse -type PostSetCommentSpamStatusResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostSetCommentSpamStatusResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentSpamStatusResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostSetCommentSpamStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostSetCommentSpamStatusResponse struct { - value *PostSetCommentSpamStatusResponse - isSet bool -} - -func (v NullablePostSetCommentSpamStatusResponse) Get() *PostSetCommentSpamStatusResponse { - return v.value -} - -func (v *NullablePostSetCommentSpamStatusResponse) Set(val *PostSetCommentSpamStatusResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostSetCommentSpamStatusResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostSetCommentSpamStatusResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostSetCommentSpamStatusResponse(val *PostSetCommentSpamStatusResponse) *NullablePostSetCommentSpamStatusResponse { - return &NullablePostSetCommentSpamStatusResponse{value: val, isSet: true} -} - -func (v NullablePostSetCommentSpamStatusResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostSetCommentSpamStatusResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_set_comment_text_response.go b/client/model_post_set_comment_text_response.go deleted file mode 100644 index d56eb10..0000000 --- a/client/model_post_set_comment_text_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostSetCommentTextResponse struct for PostSetCommentTextResponse -type PostSetCommentTextResponse struct { - APIError *APIError - SetCommentTextResponse *SetCommentTextResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostSetCommentTextResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into SetCommentTextResponse - err = json.Unmarshal(data, &dst.SetCommentTextResponse); - if err == nil { - jsonSetCommentTextResponse, _ := json.Marshal(dst.SetCommentTextResponse) - if string(jsonSetCommentTextResponse) == "{}" { // empty struct - dst.SetCommentTextResponse = nil - } else { - return nil // data stored in dst.SetCommentTextResponse, return on the first match - } - } else { - dst.SetCommentTextResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostSetCommentTextResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostSetCommentTextResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.SetCommentTextResponse != nil { - return json.Marshal(&src.SetCommentTextResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostSetCommentTextResponse struct { - value *PostSetCommentTextResponse - isSet bool -} - -func (v NullablePostSetCommentTextResponse) Get() *PostSetCommentTextResponse { - return v.value -} - -func (v *NullablePostSetCommentTextResponse) Set(val *PostSetCommentTextResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostSetCommentTextResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostSetCommentTextResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostSetCommentTextResponse(val *PostSetCommentTextResponse) *NullablePostSetCommentTextResponse { - return &NullablePostSetCommentTextResponse{value: val, isSet: true} -} - -func (v NullablePostSetCommentTextResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostSetCommentTextResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_un_flag_comment_response.go b/client/model_post_un_flag_comment_response.go deleted file mode 100644 index a41a2fd..0000000 --- a/client/model_post_un_flag_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostUnFlagCommentResponse struct for PostUnFlagCommentResponse -type PostUnFlagCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostUnFlagCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostUnFlagCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostUnFlagCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostUnFlagCommentResponse struct { - value *PostUnFlagCommentResponse - isSet bool -} - -func (v NullablePostUnFlagCommentResponse) Get() *PostUnFlagCommentResponse { - return v.value -} - -func (v *NullablePostUnFlagCommentResponse) Set(val *PostUnFlagCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostUnFlagCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostUnFlagCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostUnFlagCommentResponse(val *PostUnFlagCommentResponse) *NullablePostUnFlagCommentResponse { - return &NullablePostUnFlagCommentResponse{value: val, isSet: true} -} - -func (v NullablePostUnFlagCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostUnFlagCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_post_vote_response.go b/client/model_post_vote_response.go deleted file mode 100644 index eb37494..0000000 --- a/client/model_post_vote_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PostVoteResponse struct for PostVoteResponse -type PostVoteResponse struct { - APIError *APIError - VoteResponse *VoteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PostVoteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteResponse - err = json.Unmarshal(data, &dst.VoteResponse); - if err == nil { - jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) - if string(jsonVoteResponse) == "{}" { // empty struct - dst.VoteResponse = nil - } else { - return nil // data stored in dst.VoteResponse, return on the first match - } - } else { - dst.VoteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PostVoteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PostVoteResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteResponse != nil { - return json.Marshal(&src.VoteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePostVoteResponse struct { - value *PostVoteResponse - isSet bool -} - -func (v NullablePostVoteResponse) Get() *PostVoteResponse { - return v.value -} - -func (v *NullablePostVoteResponse) Set(val *PostVoteResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePostVoteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePostVoteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePostVoteResponse(val *PostVoteResponse) *NullablePostVoteResponse { - return &NullablePostVoteResponse{value: val, isSet: true} -} - -func (v NullablePostVoteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePostVoteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_put_award_badge_response.go b/client/model_put_award_badge_response.go deleted file mode 100644 index 2daf757..0000000 --- a/client/model_put_award_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PutAwardBadgeResponse struct for PutAwardBadgeResponse -type PutAwardBadgeResponse struct { - APIError *APIError - AwardUserBadgeResponse *AwardUserBadgeResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PutAwardBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into AwardUserBadgeResponse - err = json.Unmarshal(data, &dst.AwardUserBadgeResponse); - if err == nil { - jsonAwardUserBadgeResponse, _ := json.Marshal(dst.AwardUserBadgeResponse) - if string(jsonAwardUserBadgeResponse) == "{}" { // empty struct - dst.AwardUserBadgeResponse = nil - } else { - return nil // data stored in dst.AwardUserBadgeResponse, return on the first match - } - } else { - dst.AwardUserBadgeResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PutAwardBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PutAwardBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.AwardUserBadgeResponse != nil { - return json.Marshal(&src.AwardUserBadgeResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePutAwardBadgeResponse struct { - value *PutAwardBadgeResponse - isSet bool -} - -func (v NullablePutAwardBadgeResponse) Get() *PutAwardBadgeResponse { - return v.value -} - -func (v *NullablePutAwardBadgeResponse) Set(val *PutAwardBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePutAwardBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePutAwardBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePutAwardBadgeResponse(val *PutAwardBadgeResponse) *NullablePutAwardBadgeResponse { - return &NullablePutAwardBadgeResponse{value: val, isSet: true} -} - -func (v NullablePutAwardBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePutAwardBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_put_close_thread_response.go b/client/model_put_close_thread_response.go deleted file mode 100644 index bf1d234..0000000 --- a/client/model_put_close_thread_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PutCloseThreadResponse struct for PutCloseThreadResponse -type PutCloseThreadResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PutCloseThreadResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PutCloseThreadResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PutCloseThreadResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePutCloseThreadResponse struct { - value *PutCloseThreadResponse - isSet bool -} - -func (v NullablePutCloseThreadResponse) Get() *PutCloseThreadResponse { - return v.value -} - -func (v *NullablePutCloseThreadResponse) Set(val *PutCloseThreadResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePutCloseThreadResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePutCloseThreadResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePutCloseThreadResponse(val *PutCloseThreadResponse) *NullablePutCloseThreadResponse { - return &NullablePutCloseThreadResponse{value: val, isSet: true} -} - -func (v NullablePutCloseThreadResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePutCloseThreadResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_put_remove_badge_response.go b/client/model_put_remove_badge_response.go deleted file mode 100644 index 67cbe5d..0000000 --- a/client/model_put_remove_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PutRemoveBadgeResponse struct for PutRemoveBadgeResponse -type PutRemoveBadgeResponse struct { - APIError *APIError - RemoveUserBadgeResponse *RemoveUserBadgeResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PutRemoveBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into RemoveUserBadgeResponse - err = json.Unmarshal(data, &dst.RemoveUserBadgeResponse); - if err == nil { - jsonRemoveUserBadgeResponse, _ := json.Marshal(dst.RemoveUserBadgeResponse) - if string(jsonRemoveUserBadgeResponse) == "{}" { // empty struct - dst.RemoveUserBadgeResponse = nil - } else { - return nil // data stored in dst.RemoveUserBadgeResponse, return on the first match - } - } else { - dst.RemoveUserBadgeResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PutRemoveBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PutRemoveBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.RemoveUserBadgeResponse != nil { - return json.Marshal(&src.RemoveUserBadgeResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePutRemoveBadgeResponse struct { - value *PutRemoveBadgeResponse - isSet bool -} - -func (v NullablePutRemoveBadgeResponse) Get() *PutRemoveBadgeResponse { - return v.value -} - -func (v *NullablePutRemoveBadgeResponse) Set(val *PutRemoveBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePutRemoveBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePutRemoveBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePutRemoveBadgeResponse(val *PutRemoveBadgeResponse) *NullablePutRemoveBadgeResponse { - return &NullablePutRemoveBadgeResponse{value: val, isSet: true} -} - -func (v NullablePutRemoveBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePutRemoveBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_put_reopen_thread_response.go b/client/model_put_reopen_thread_response.go deleted file mode 100644 index 6818ee3..0000000 --- a/client/model_put_reopen_thread_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// PutReopenThreadResponse struct for PutReopenThreadResponse -type PutReopenThreadResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *PutReopenThreadResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(PutReopenThreadResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src PutReopenThreadResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullablePutReopenThreadResponse struct { - value *PutReopenThreadResponse - isSet bool -} - -func (v NullablePutReopenThreadResponse) Get() *PutReopenThreadResponse { - return v.value -} - -func (v *NullablePutReopenThreadResponse) Set(val *PutReopenThreadResponse) { - v.value = val - v.isSet = true -} - -func (v NullablePutReopenThreadResponse) IsSet() bool { - return v.isSet -} - -func (v *NullablePutReopenThreadResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePutReopenThreadResponse(val *PutReopenThreadResponse) *NullablePutReopenThreadResponse { - return &NullablePutReopenThreadResponse{value: val, isSet: true} -} - -func (v NullablePutReopenThreadResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePutReopenThreadResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_react_feed_post_public_response.go b/client/model_react_feed_post_public_response.go deleted file mode 100644 index 0d80136..0000000 --- a/client/model_react_feed_post_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ReactFeedPostPublicResponse struct for ReactFeedPostPublicResponse -type ReactFeedPostPublicResponse struct { - APIError *APIError - ReactFeedPostResponse *ReactFeedPostResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ReactFeedPostPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ReactFeedPostResponse - err = json.Unmarshal(data, &dst.ReactFeedPostResponse); - if err == nil { - jsonReactFeedPostResponse, _ := json.Marshal(dst.ReactFeedPostResponse) - if string(jsonReactFeedPostResponse) == "{}" { // empty struct - dst.ReactFeedPostResponse = nil - } else { - return nil // data stored in dst.ReactFeedPostResponse, return on the first match - } - } else { - dst.ReactFeedPostResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ReactFeedPostPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ReactFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ReactFeedPostResponse != nil { - return json.Marshal(&src.ReactFeedPostResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableReactFeedPostPublicResponse struct { - value *ReactFeedPostPublicResponse - isSet bool -} - -func (v NullableReactFeedPostPublicResponse) Get() *ReactFeedPostPublicResponse { - return v.value -} - -func (v *NullableReactFeedPostPublicResponse) Set(val *ReactFeedPostPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableReactFeedPostPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableReactFeedPostPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableReactFeedPostPublicResponse(val *ReactFeedPostPublicResponse) *NullableReactFeedPostPublicResponse { - return &NullableReactFeedPostPublicResponse{value: val, isSet: true} -} - -func (v NullableReactFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableReactFeedPostPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_render_email_template_response_1.go b/client/model_render_email_template_response_1.go deleted file mode 100644 index 2398c49..0000000 --- a/client/model_render_email_template_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// RenderEmailTemplateResponse1 struct for RenderEmailTemplateResponse1 -type RenderEmailTemplateResponse1 struct { - APIError *APIError - RenderEmailTemplateResponse *RenderEmailTemplateResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *RenderEmailTemplateResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into RenderEmailTemplateResponse - err = json.Unmarshal(data, &dst.RenderEmailTemplateResponse); - if err == nil { - jsonRenderEmailTemplateResponse, _ := json.Marshal(dst.RenderEmailTemplateResponse) - if string(jsonRenderEmailTemplateResponse) == "{}" { // empty struct - dst.RenderEmailTemplateResponse = nil - } else { - return nil // data stored in dst.RenderEmailTemplateResponse, return on the first match - } - } else { - dst.RenderEmailTemplateResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(RenderEmailTemplateResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src RenderEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.RenderEmailTemplateResponse != nil { - return json.Marshal(&src.RenderEmailTemplateResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableRenderEmailTemplateResponse1 struct { - value *RenderEmailTemplateResponse1 - isSet bool -} - -func (v NullableRenderEmailTemplateResponse1) Get() *RenderEmailTemplateResponse1 { - return v.value -} - -func (v *NullableRenderEmailTemplateResponse1) Set(val *RenderEmailTemplateResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableRenderEmailTemplateResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableRenderEmailTemplateResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRenderEmailTemplateResponse1(val *RenderEmailTemplateResponse1) *NullableRenderEmailTemplateResponse1 { - return &NullableRenderEmailTemplateResponse1{value: val, isSet: true} -} - -func (v NullableRenderEmailTemplateResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRenderEmailTemplateResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_replace_tenant_package_response.go b/client/model_replace_tenant_package_response.go deleted file mode 100644 index f6af077..0000000 --- a/client/model_replace_tenant_package_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ReplaceTenantPackageResponse struct for ReplaceTenantPackageResponse -type ReplaceTenantPackageResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ReplaceTenantPackageResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ReplaceTenantPackageResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ReplaceTenantPackageResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableReplaceTenantPackageResponse struct { - value *ReplaceTenantPackageResponse - isSet bool -} - -func (v NullableReplaceTenantPackageResponse) Get() *ReplaceTenantPackageResponse { - return v.value -} - -func (v *NullableReplaceTenantPackageResponse) Set(val *ReplaceTenantPackageResponse) { - v.value = val - v.isSet = true -} - -func (v NullableReplaceTenantPackageResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableReplaceTenantPackageResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableReplaceTenantPackageResponse(val *ReplaceTenantPackageResponse) *NullableReplaceTenantPackageResponse { - return &NullableReplaceTenantPackageResponse{value: val, isSet: true} -} - -func (v NullableReplaceTenantPackageResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableReplaceTenantPackageResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_replace_tenant_user_response.go b/client/model_replace_tenant_user_response.go deleted file mode 100644 index 29c1c33..0000000 --- a/client/model_replace_tenant_user_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ReplaceTenantUserResponse struct for ReplaceTenantUserResponse -type ReplaceTenantUserResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ReplaceTenantUserResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ReplaceTenantUserResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ReplaceTenantUserResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableReplaceTenantUserResponse struct { - value *ReplaceTenantUserResponse - isSet bool -} - -func (v NullableReplaceTenantUserResponse) Get() *ReplaceTenantUserResponse { - return v.value -} - -func (v *NullableReplaceTenantUserResponse) Set(val *ReplaceTenantUserResponse) { - v.value = val - v.isSet = true -} - -func (v NullableReplaceTenantUserResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableReplaceTenantUserResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableReplaceTenantUserResponse(val *ReplaceTenantUserResponse) *NullableReplaceTenantUserResponse { - return &NullableReplaceTenantUserResponse{value: val, isSet: true} -} - -func (v NullableReplaceTenantUserResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableReplaceTenantUserResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_reset_user_notification_count_response.go b/client/model_reset_user_notification_count_response.go deleted file mode 100644 index 141d4ce..0000000 --- a/client/model_reset_user_notification_count_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ResetUserNotificationCountResponse struct for ResetUserNotificationCountResponse -type ResetUserNotificationCountResponse struct { - APIError *APIError - ResetUserNotificationsResponse *ResetUserNotificationsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ResetUserNotificationCountResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ResetUserNotificationsResponse - err = json.Unmarshal(data, &dst.ResetUserNotificationsResponse); - if err == nil { - jsonResetUserNotificationsResponse, _ := json.Marshal(dst.ResetUserNotificationsResponse) - if string(jsonResetUserNotificationsResponse) == "{}" { // empty struct - dst.ResetUserNotificationsResponse = nil - } else { - return nil // data stored in dst.ResetUserNotificationsResponse, return on the first match - } - } else { - dst.ResetUserNotificationsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ResetUserNotificationCountResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ResetUserNotificationCountResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ResetUserNotificationsResponse != nil { - return json.Marshal(&src.ResetUserNotificationsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableResetUserNotificationCountResponse struct { - value *ResetUserNotificationCountResponse - isSet bool -} - -func (v NullableResetUserNotificationCountResponse) Get() *ResetUserNotificationCountResponse { - return v.value -} - -func (v *NullableResetUserNotificationCountResponse) Set(val *ResetUserNotificationCountResponse) { - v.value = val - v.isSet = true -} - -func (v NullableResetUserNotificationCountResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableResetUserNotificationCountResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableResetUserNotificationCountResponse(val *ResetUserNotificationCountResponse) *NullableResetUserNotificationCountResponse { - return &NullableResetUserNotificationCountResponse{value: val, isSet: true} -} - -func (v NullableResetUserNotificationCountResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableResetUserNotificationCountResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_reset_user_notifications_response_1.go b/client/model_reset_user_notifications_response_1.go deleted file mode 100644 index 27960d0..0000000 --- a/client/model_reset_user_notifications_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// ResetUserNotificationsResponse1 struct for ResetUserNotificationsResponse1 -type ResetUserNotificationsResponse1 struct { - APIError *APIError - ResetUserNotificationsResponse *ResetUserNotificationsResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *ResetUserNotificationsResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ResetUserNotificationsResponse - err = json.Unmarshal(data, &dst.ResetUserNotificationsResponse); - if err == nil { - jsonResetUserNotificationsResponse, _ := json.Marshal(dst.ResetUserNotificationsResponse) - if string(jsonResetUserNotificationsResponse) == "{}" { // empty struct - dst.ResetUserNotificationsResponse = nil - } else { - return nil // data stored in dst.ResetUserNotificationsResponse, return on the first match - } - } else { - dst.ResetUserNotificationsResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(ResetUserNotificationsResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src ResetUserNotificationsResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ResetUserNotificationsResponse != nil { - return json.Marshal(&src.ResetUserNotificationsResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableResetUserNotificationsResponse1 struct { - value *ResetUserNotificationsResponse1 - isSet bool -} - -func (v NullableResetUserNotificationsResponse1) Get() *ResetUserNotificationsResponse1 { - return v.value -} - -func (v *NullableResetUserNotificationsResponse1) Set(val *ResetUserNotificationsResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableResetUserNotificationsResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableResetUserNotificationsResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableResetUserNotificationsResponse1(val *ResetUserNotificationsResponse1) *NullableResetUserNotificationsResponse1 { - return &NullableResetUserNotificationsResponse1{value: val, isSet: true} -} - -func (v NullableResetUserNotificationsResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableResetUserNotificationsResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_save_comment_response.go b/client/model_save_comment_response.go deleted file mode 100644 index ba08485..0000000 --- a/client/model_save_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SaveCommentResponse struct for SaveCommentResponse -type SaveCommentResponse struct { - APIError *APIError - APISaveCommentResponse *APISaveCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SaveCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into APISaveCommentResponse - err = json.Unmarshal(data, &dst.APISaveCommentResponse); - if err == nil { - jsonAPISaveCommentResponse, _ := json.Marshal(dst.APISaveCommentResponse) - if string(jsonAPISaveCommentResponse) == "{}" { // empty struct - dst.APISaveCommentResponse = nil - } else { - return nil // data stored in dst.APISaveCommentResponse, return on the first match - } - } else { - dst.APISaveCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SaveCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SaveCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.APISaveCommentResponse != nil { - return json.Marshal(&src.APISaveCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSaveCommentResponse struct { - value *SaveCommentResponse - isSet bool -} - -func (v NullableSaveCommentResponse) Get() *SaveCommentResponse { - return v.value -} - -func (v *NullableSaveCommentResponse) Set(val *SaveCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableSaveCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableSaveCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSaveCommentResponse(val *SaveCommentResponse) *NullableSaveCommentResponse { - return &NullableSaveCommentResponse{value: val, isSet: true} -} - -func (v NullableSaveCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSaveCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_search_users_response_1.go b/client/model_search_users_response_1.go deleted file mode 100644 index f203510..0000000 --- a/client/model_search_users_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SearchUsersResponse1 struct for SearchUsersResponse1 -type SearchUsersResponse1 struct { - APIError *APIError - SearchUsersResult *SearchUsersResult -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SearchUsersResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into SearchUsersResult - err = json.Unmarshal(data, &dst.SearchUsersResult); - if err == nil { - jsonSearchUsersResult, _ := json.Marshal(dst.SearchUsersResult) - if string(jsonSearchUsersResult) == "{}" { // empty struct - dst.SearchUsersResult = nil - } else { - return nil // data stored in dst.SearchUsersResult, return on the first match - } - } else { - dst.SearchUsersResult = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SearchUsersResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SearchUsersResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.SearchUsersResult != nil { - return json.Marshal(&src.SearchUsersResult) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSearchUsersResponse1 struct { - value *SearchUsersResponse1 - isSet bool -} - -func (v NullableSearchUsersResponse1) Get() *SearchUsersResponse1 { - return v.value -} - -func (v *NullableSearchUsersResponse1) Set(val *SearchUsersResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableSearchUsersResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableSearchUsersResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSearchUsersResponse1(val *SearchUsersResponse1) *NullableSearchUsersResponse1 { - return &NullableSearchUsersResponse1{value: val, isSet: true} -} - -func (v NullableSearchUsersResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSearchUsersResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_send_invite_response.go b/client/model_send_invite_response.go deleted file mode 100644 index 2b8f79a..0000000 --- a/client/model_send_invite_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SendInviteResponse struct for SendInviteResponse -type SendInviteResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SendInviteResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SendInviteResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SendInviteResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSendInviteResponse struct { - value *SendInviteResponse - isSet bool -} - -func (v NullableSendInviteResponse) Get() *SendInviteResponse { - return v.value -} - -func (v *NullableSendInviteResponse) Set(val *SendInviteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableSendInviteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableSendInviteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSendInviteResponse(val *SendInviteResponse) *NullableSendInviteResponse { - return &NullableSendInviteResponse{value: val, isSet: true} -} - -func (v NullableSendInviteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSendInviteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_send_login_link_response.go b/client/model_send_login_link_response.go deleted file mode 100644 index 437692a..0000000 --- a/client/model_send_login_link_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SendLoginLinkResponse struct for SendLoginLinkResponse -type SendLoginLinkResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SendLoginLinkResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SendLoginLinkResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SendLoginLinkResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSendLoginLinkResponse struct { - value *SendLoginLinkResponse - isSet bool -} - -func (v NullableSendLoginLinkResponse) Get() *SendLoginLinkResponse { - return v.value -} - -func (v *NullableSendLoginLinkResponse) Set(val *SendLoginLinkResponse) { - v.value = val - v.isSet = true -} - -func (v NullableSendLoginLinkResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableSendLoginLinkResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSendLoginLinkResponse(val *SendLoginLinkResponse) *NullableSendLoginLinkResponse { - return &NullableSendLoginLinkResponse{value: val, isSet: true} -} - -func (v NullableSendLoginLinkResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSendLoginLinkResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_set_comment_text_response_1.go b/client/model_set_comment_text_response_1.go deleted file mode 100644 index dd433e2..0000000 --- a/client/model_set_comment_text_response_1.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SetCommentTextResponse1 struct for SetCommentTextResponse1 -type SetCommentTextResponse1 struct { - APIError *APIError - PublicAPISetCommentTextResponse *PublicAPISetCommentTextResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SetCommentTextResponse1) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into PublicAPISetCommentTextResponse - err = json.Unmarshal(data, &dst.PublicAPISetCommentTextResponse); - if err == nil { - jsonPublicAPISetCommentTextResponse, _ := json.Marshal(dst.PublicAPISetCommentTextResponse) - if string(jsonPublicAPISetCommentTextResponse) == "{}" { // empty struct - dst.PublicAPISetCommentTextResponse = nil - } else { - return nil // data stored in dst.PublicAPISetCommentTextResponse, return on the first match - } - } else { - dst.PublicAPISetCommentTextResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SetCommentTextResponse1)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SetCommentTextResponse1) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.PublicAPISetCommentTextResponse != nil { - return json.Marshal(&src.PublicAPISetCommentTextResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSetCommentTextResponse1 struct { - value *SetCommentTextResponse1 - isSet bool -} - -func (v NullableSetCommentTextResponse1) Get() *SetCommentTextResponse1 { - return v.value -} - -func (v *NullableSetCommentTextResponse1) Set(val *SetCommentTextResponse1) { - v.value = val - v.isSet = true -} - -func (v NullableSetCommentTextResponse1) IsSet() bool { - return v.isSet -} - -func (v *NullableSetCommentTextResponse1) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSetCommentTextResponse1(val *SetCommentTextResponse1) *NullableSetCommentTextResponse1 { - return &NullableSetCommentTextResponse1{value: val, isSet: true} -} - -func (v NullableSetCommentTextResponse1) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSetCommentTextResponse1) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_set_trust_factor_response.go b/client/model_set_trust_factor_response.go deleted file mode 100644 index b1e8aa0..0000000 --- a/client/model_set_trust_factor_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// SetTrustFactorResponse struct for SetTrustFactorResponse -type SetTrustFactorResponse struct { - APIError *APIError - SetUserTrustFactorResponse *SetUserTrustFactorResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *SetTrustFactorResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into SetUserTrustFactorResponse - err = json.Unmarshal(data, &dst.SetUserTrustFactorResponse); - if err == nil { - jsonSetUserTrustFactorResponse, _ := json.Marshal(dst.SetUserTrustFactorResponse) - if string(jsonSetUserTrustFactorResponse) == "{}" { // empty struct - dst.SetUserTrustFactorResponse = nil - } else { - return nil // data stored in dst.SetUserTrustFactorResponse, return on the first match - } - } else { - dst.SetUserTrustFactorResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(SetTrustFactorResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src SetTrustFactorResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.SetUserTrustFactorResponse != nil { - return json.Marshal(&src.SetUserTrustFactorResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableSetTrustFactorResponse struct { - value *SetTrustFactorResponse - isSet bool -} - -func (v NullableSetTrustFactorResponse) Get() *SetTrustFactorResponse { - return v.value -} - -func (v *NullableSetTrustFactorResponse) Set(val *SetTrustFactorResponse) { - v.value = val - v.isSet = true -} - -func (v NullableSetTrustFactorResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableSetTrustFactorResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSetTrustFactorResponse(val *SetTrustFactorResponse) *NullableSetTrustFactorResponse { - return &NullableSetTrustFactorResponse{value: val, isSet: true} -} - -func (v NullableSetTrustFactorResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSetTrustFactorResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_un_block_comment_public_response.go b/client/model_un_block_comment_public_response.go deleted file mode 100644 index f5c084b..0000000 --- a/client/model_un_block_comment_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UnBlockCommentPublicResponse struct for UnBlockCommentPublicResponse -type UnBlockCommentPublicResponse struct { - APIError *APIError - UnblockSuccess *UnblockSuccess -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UnBlockCommentPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into UnblockSuccess - err = json.Unmarshal(data, &dst.UnblockSuccess); - if err == nil { - jsonUnblockSuccess, _ := json.Marshal(dst.UnblockSuccess) - if string(jsonUnblockSuccess) == "{}" { // empty struct - dst.UnblockSuccess = nil - } else { - return nil // data stored in dst.UnblockSuccess, return on the first match - } - } else { - dst.UnblockSuccess = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UnBlockCommentPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UnBlockCommentPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.UnblockSuccess != nil { - return json.Marshal(&src.UnblockSuccess) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUnBlockCommentPublicResponse struct { - value *UnBlockCommentPublicResponse - isSet bool -} - -func (v NullableUnBlockCommentPublicResponse) Get() *UnBlockCommentPublicResponse { - return v.value -} - -func (v *NullableUnBlockCommentPublicResponse) Set(val *UnBlockCommentPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUnBlockCommentPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUnBlockCommentPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUnBlockCommentPublicResponse(val *UnBlockCommentPublicResponse) *NullableUnBlockCommentPublicResponse { - return &NullableUnBlockCommentPublicResponse{value: val, isSet: true} -} - -func (v NullableUnBlockCommentPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUnBlockCommentPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_un_block_user_from_comment_response.go b/client/model_un_block_user_from_comment_response.go deleted file mode 100644 index 1eb31a5..0000000 --- a/client/model_un_block_user_from_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UnBlockUserFromCommentResponse struct for UnBlockUserFromCommentResponse -type UnBlockUserFromCommentResponse struct { - APIError *APIError - UnblockSuccess *UnblockSuccess -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UnBlockUserFromCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into UnblockSuccess - err = json.Unmarshal(data, &dst.UnblockSuccess); - if err == nil { - jsonUnblockSuccess, _ := json.Marshal(dst.UnblockSuccess) - if string(jsonUnblockSuccess) == "{}" { // empty struct - dst.UnblockSuccess = nil - } else { - return nil // data stored in dst.UnblockSuccess, return on the first match - } - } else { - dst.UnblockSuccess = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UnBlockUserFromCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UnBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.UnblockSuccess != nil { - return json.Marshal(&src.UnblockSuccess) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUnBlockUserFromCommentResponse struct { - value *UnBlockUserFromCommentResponse - isSet bool -} - -func (v NullableUnBlockUserFromCommentResponse) Get() *UnBlockUserFromCommentResponse { - return v.value -} - -func (v *NullableUnBlockUserFromCommentResponse) Set(val *UnBlockUserFromCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUnBlockUserFromCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUnBlockUserFromCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUnBlockUserFromCommentResponse(val *UnBlockUserFromCommentResponse) *NullableUnBlockUserFromCommentResponse { - return &NullableUnBlockUserFromCommentResponse{value: val, isSet: true} -} - -func (v NullableUnBlockUserFromCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUnBlockUserFromCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_un_flag_comment_response.go b/client/model_un_flag_comment_response.go deleted file mode 100644 index c3a228e..0000000 --- a/client/model_un_flag_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UnFlagCommentResponse struct for UnFlagCommentResponse -type UnFlagCommentResponse struct { - APIError *APIError - FlagCommentResponse *FlagCommentResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UnFlagCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into FlagCommentResponse - err = json.Unmarshal(data, &dst.FlagCommentResponse); - if err == nil { - jsonFlagCommentResponse, _ := json.Marshal(dst.FlagCommentResponse) - if string(jsonFlagCommentResponse) == "{}" { // empty struct - dst.FlagCommentResponse = nil - } else { - return nil // data stored in dst.FlagCommentResponse, return on the first match - } - } else { - dst.FlagCommentResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UnFlagCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UnFlagCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.FlagCommentResponse != nil { - return json.Marshal(&src.FlagCommentResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUnFlagCommentResponse struct { - value *UnFlagCommentResponse - isSet bool -} - -func (v NullableUnFlagCommentResponse) Get() *UnFlagCommentResponse { - return v.value -} - -func (v *NullableUnFlagCommentResponse) Set(val *UnFlagCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUnFlagCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUnFlagCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUnFlagCommentResponse(val *UnFlagCommentResponse) *NullableUnFlagCommentResponse { - return &NullableUnFlagCommentResponse{value: val, isSet: true} -} - -func (v NullableUnFlagCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUnFlagCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_un_lock_comment_response.go b/client/model_un_lock_comment_response.go deleted file mode 100644 index 8632a3d..0000000 --- a/client/model_un_lock_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UnLockCommentResponse struct for UnLockCommentResponse -type UnLockCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UnLockCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UnLockCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UnLockCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUnLockCommentResponse struct { - value *UnLockCommentResponse - isSet bool -} - -func (v NullableUnLockCommentResponse) Get() *UnLockCommentResponse { - return v.value -} - -func (v *NullableUnLockCommentResponse) Set(val *UnLockCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUnLockCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUnLockCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUnLockCommentResponse(val *UnLockCommentResponse) *NullableUnLockCommentResponse { - return &NullableUnLockCommentResponse{value: val, isSet: true} -} - -func (v NullableUnLockCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUnLockCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_un_pin_comment_response.go b/client/model_un_pin_comment_response.go deleted file mode 100644 index 03b0082..0000000 --- a/client/model_un_pin_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UnPinCommentResponse struct for UnPinCommentResponse -type UnPinCommentResponse struct { - APIError *APIError - ChangeCommentPinStatusResponse *ChangeCommentPinStatusResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UnPinCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into ChangeCommentPinStatusResponse - err = json.Unmarshal(data, &dst.ChangeCommentPinStatusResponse); - if err == nil { - jsonChangeCommentPinStatusResponse, _ := json.Marshal(dst.ChangeCommentPinStatusResponse) - if string(jsonChangeCommentPinStatusResponse) == "{}" { // empty struct - dst.ChangeCommentPinStatusResponse = nil - } else { - return nil // data stored in dst.ChangeCommentPinStatusResponse, return on the first match - } - } else { - dst.ChangeCommentPinStatusResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UnPinCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UnPinCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.ChangeCommentPinStatusResponse != nil { - return json.Marshal(&src.ChangeCommentPinStatusResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUnPinCommentResponse struct { - value *UnPinCommentResponse - isSet bool -} - -func (v NullableUnPinCommentResponse) Get() *UnPinCommentResponse { - return v.value -} - -func (v *NullableUnPinCommentResponse) Set(val *UnPinCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUnPinCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUnPinCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUnPinCommentResponse(val *UnPinCommentResponse) *NullableUnPinCommentResponse { - return &NullableUnPinCommentResponse{value: val, isSet: true} -} - -func (v NullableUnPinCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUnPinCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_comment_response.go b/client/model_update_comment_response.go deleted file mode 100644 index e27e679..0000000 --- a/client/model_update_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateCommentResponse struct for UpdateCommentResponse -type UpdateCommentResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateCommentResponse struct { - value *UpdateCommentResponse - isSet bool -} - -func (v NullableUpdateCommentResponse) Get() *UpdateCommentResponse { - return v.value -} - -func (v *NullableUpdateCommentResponse) Set(val *UpdateCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateCommentResponse(val *UpdateCommentResponse) *NullableUpdateCommentResponse { - return &NullableUpdateCommentResponse{value: val, isSet: true} -} - -func (v NullableUpdateCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_email_template_response.go b/client/model_update_email_template_response.go deleted file mode 100644 index 0cc8f90..0000000 --- a/client/model_update_email_template_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateEmailTemplateResponse struct for UpdateEmailTemplateResponse -type UpdateEmailTemplateResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateEmailTemplateResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateEmailTemplateResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateEmailTemplateResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateEmailTemplateResponse struct { - value *UpdateEmailTemplateResponse - isSet bool -} - -func (v NullableUpdateEmailTemplateResponse) Get() *UpdateEmailTemplateResponse { - return v.value -} - -func (v *NullableUpdateEmailTemplateResponse) Set(val *UpdateEmailTemplateResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateEmailTemplateResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateEmailTemplateResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateEmailTemplateResponse(val *UpdateEmailTemplateResponse) *NullableUpdateEmailTemplateResponse { - return &NullableUpdateEmailTemplateResponse{value: val, isSet: true} -} - -func (v NullableUpdateEmailTemplateResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateEmailTemplateResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_feed_post_public_response.go b/client/model_update_feed_post_public_response.go deleted file mode 100644 index 2c670d8..0000000 --- a/client/model_update_feed_post_public_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateFeedPostPublicResponse struct for UpdateFeedPostPublicResponse -type UpdateFeedPostPublicResponse struct { - APIError *APIError - CreateFeedPostResponse *CreateFeedPostResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateFeedPostPublicResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into CreateFeedPostResponse - err = json.Unmarshal(data, &dst.CreateFeedPostResponse); - if err == nil { - jsonCreateFeedPostResponse, _ := json.Marshal(dst.CreateFeedPostResponse) - if string(jsonCreateFeedPostResponse) == "{}" { // empty struct - dst.CreateFeedPostResponse = nil - } else { - return nil // data stored in dst.CreateFeedPostResponse, return on the first match - } - } else { - dst.CreateFeedPostResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateFeedPostPublicResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.CreateFeedPostResponse != nil { - return json.Marshal(&src.CreateFeedPostResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateFeedPostPublicResponse struct { - value *UpdateFeedPostPublicResponse - isSet bool -} - -func (v NullableUpdateFeedPostPublicResponse) Get() *UpdateFeedPostPublicResponse { - return v.value -} - -func (v *NullableUpdateFeedPostPublicResponse) Set(val *UpdateFeedPostPublicResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateFeedPostPublicResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateFeedPostPublicResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateFeedPostPublicResponse(val *UpdateFeedPostPublicResponse) *NullableUpdateFeedPostPublicResponse { - return &NullableUpdateFeedPostPublicResponse{value: val, isSet: true} -} - -func (v NullableUpdateFeedPostPublicResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateFeedPostPublicResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_feed_post_response.go b/client/model_update_feed_post_response.go deleted file mode 100644 index 283703b..0000000 --- a/client/model_update_feed_post_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateFeedPostResponse struct for UpdateFeedPostResponse -type UpdateFeedPostResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateFeedPostResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateFeedPostResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateFeedPostResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateFeedPostResponse struct { - value *UpdateFeedPostResponse - isSet bool -} - -func (v NullableUpdateFeedPostResponse) Get() *UpdateFeedPostResponse { - return v.value -} - -func (v *NullableUpdateFeedPostResponse) Set(val *UpdateFeedPostResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateFeedPostResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateFeedPostResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateFeedPostResponse(val *UpdateFeedPostResponse) *NullableUpdateFeedPostResponse { - return &NullableUpdateFeedPostResponse{value: val, isSet: true} -} - -func (v NullableUpdateFeedPostResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateFeedPostResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_moderator_response.go b/client/model_update_moderator_response.go deleted file mode 100644 index ba5750c..0000000 --- a/client/model_update_moderator_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateModeratorResponse struct for UpdateModeratorResponse -type UpdateModeratorResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateModeratorResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateModeratorResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateModeratorResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateModeratorResponse struct { - value *UpdateModeratorResponse - isSet bool -} - -func (v NullableUpdateModeratorResponse) Get() *UpdateModeratorResponse { - return v.value -} - -func (v *NullableUpdateModeratorResponse) Set(val *UpdateModeratorResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateModeratorResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateModeratorResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateModeratorResponse(val *UpdateModeratorResponse) *NullableUpdateModeratorResponse { - return &NullableUpdateModeratorResponse{value: val, isSet: true} -} - -func (v NullableUpdateModeratorResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateModeratorResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_notification_response.go b/client/model_update_notification_response.go deleted file mode 100644 index d06e4ff..0000000 --- a/client/model_update_notification_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateNotificationResponse struct for UpdateNotificationResponse -type UpdateNotificationResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateNotificationResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateNotificationResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateNotificationResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateNotificationResponse struct { - value *UpdateNotificationResponse - isSet bool -} - -func (v NullableUpdateNotificationResponse) Get() *UpdateNotificationResponse { - return v.value -} - -func (v *NullableUpdateNotificationResponse) Set(val *UpdateNotificationResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateNotificationResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateNotificationResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateNotificationResponse(val *UpdateNotificationResponse) *NullableUpdateNotificationResponse { - return &NullableUpdateNotificationResponse{value: val, isSet: true} -} - -func (v NullableUpdateNotificationResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateNotificationResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_question_config_response.go b/client/model_update_question_config_response.go deleted file mode 100644 index 3fabd79..0000000 --- a/client/model_update_question_config_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateQuestionConfigResponse struct for UpdateQuestionConfigResponse -type UpdateQuestionConfigResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateQuestionConfigResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateQuestionConfigResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateQuestionConfigResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateQuestionConfigResponse struct { - value *UpdateQuestionConfigResponse - isSet bool -} - -func (v NullableUpdateQuestionConfigResponse) Get() *UpdateQuestionConfigResponse { - return v.value -} - -func (v *NullableUpdateQuestionConfigResponse) Set(val *UpdateQuestionConfigResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateQuestionConfigResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateQuestionConfigResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateQuestionConfigResponse(val *UpdateQuestionConfigResponse) *NullableUpdateQuestionConfigResponse { - return &NullableUpdateQuestionConfigResponse{value: val, isSet: true} -} - -func (v NullableUpdateQuestionConfigResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateQuestionConfigResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_question_result_response.go b/client/model_update_question_result_response.go deleted file mode 100644 index 37171b9..0000000 --- a/client/model_update_question_result_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateQuestionResultResponse struct for UpdateQuestionResultResponse -type UpdateQuestionResultResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateQuestionResultResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateQuestionResultResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateQuestionResultResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateQuestionResultResponse struct { - value *UpdateQuestionResultResponse - isSet bool -} - -func (v NullableUpdateQuestionResultResponse) Get() *UpdateQuestionResultResponse { - return v.value -} - -func (v *NullableUpdateQuestionResultResponse) Set(val *UpdateQuestionResultResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateQuestionResultResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateQuestionResultResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateQuestionResultResponse(val *UpdateQuestionResultResponse) *NullableUpdateQuestionResultResponse { - return &NullableUpdateQuestionResultResponse{value: val, isSet: true} -} - -func (v NullableUpdateQuestionResultResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateQuestionResultResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_tenant_package_response.go b/client/model_update_tenant_package_response.go deleted file mode 100644 index 9ea9f17..0000000 --- a/client/model_update_tenant_package_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateTenantPackageResponse struct for UpdateTenantPackageResponse -type UpdateTenantPackageResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateTenantPackageResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantPackageResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateTenantPackageResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateTenantPackageResponse struct { - value *UpdateTenantPackageResponse - isSet bool -} - -func (v NullableUpdateTenantPackageResponse) Get() *UpdateTenantPackageResponse { - return v.value -} - -func (v *NullableUpdateTenantPackageResponse) Set(val *UpdateTenantPackageResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateTenantPackageResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateTenantPackageResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateTenantPackageResponse(val *UpdateTenantPackageResponse) *NullableUpdateTenantPackageResponse { - return &NullableUpdateTenantPackageResponse{value: val, isSet: true} -} - -func (v NullableUpdateTenantPackageResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateTenantPackageResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_tenant_response.go b/client/model_update_tenant_response.go deleted file mode 100644 index c7fdd64..0000000 --- a/client/model_update_tenant_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateTenantResponse struct for UpdateTenantResponse -type UpdateTenantResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateTenantResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateTenantResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateTenantResponse struct { - value *UpdateTenantResponse - isSet bool -} - -func (v NullableUpdateTenantResponse) Get() *UpdateTenantResponse { - return v.value -} - -func (v *NullableUpdateTenantResponse) Set(val *UpdateTenantResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateTenantResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateTenantResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateTenantResponse(val *UpdateTenantResponse) *NullableUpdateTenantResponse { - return &NullableUpdateTenantResponse{value: val, isSet: true} -} - -func (v NullableUpdateTenantResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateTenantResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_tenant_user_response.go b/client/model_update_tenant_user_response.go deleted file mode 100644 index 8b2bc21..0000000 --- a/client/model_update_tenant_user_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateTenantUserResponse struct for UpdateTenantUserResponse -type UpdateTenantUserResponse struct { - APIEmptyResponse *APIEmptyResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateTenantUserResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptyResponse - err = json.Unmarshal(data, &dst.APIEmptyResponse); - if err == nil { - jsonAPIEmptyResponse, _ := json.Marshal(dst.APIEmptyResponse) - if string(jsonAPIEmptyResponse) == "{}" { // empty struct - dst.APIEmptyResponse = nil - } else { - return nil // data stored in dst.APIEmptyResponse, return on the first match - } - } else { - dst.APIEmptyResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateTenantUserResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateTenantUserResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptyResponse != nil { - return json.Marshal(&src.APIEmptyResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateTenantUserResponse struct { - value *UpdateTenantUserResponse - isSet bool -} - -func (v NullableUpdateTenantUserResponse) Get() *UpdateTenantUserResponse { - return v.value -} - -func (v *NullableUpdateTenantUserResponse) Set(val *UpdateTenantUserResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateTenantUserResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateTenantUserResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateTenantUserResponse(val *UpdateTenantUserResponse) *NullableUpdateTenantUserResponse { - return &NullableUpdateTenantUserResponse{value: val, isSet: true} -} - -func (v NullableUpdateTenantUserResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateTenantUserResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_user_badge_response.go b/client/model_update_user_badge_response.go deleted file mode 100644 index 8b5c8c6..0000000 --- a/client/model_update_user_badge_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// UpdateUserBadgeResponse struct for UpdateUserBadgeResponse -type UpdateUserBadgeResponse struct { - APIEmptySuccessResponse *APIEmptySuccessResponse - APIError *APIError -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *UpdateUserBadgeResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIEmptySuccessResponse - err = json.Unmarshal(data, &dst.APIEmptySuccessResponse); - if err == nil { - jsonAPIEmptySuccessResponse, _ := json.Marshal(dst.APIEmptySuccessResponse) - if string(jsonAPIEmptySuccessResponse) == "{}" { // empty struct - dst.APIEmptySuccessResponse = nil - } else { - return nil // data stored in dst.APIEmptySuccessResponse, return on the first match - } - } else { - dst.APIEmptySuccessResponse = nil - } - - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(UpdateUserBadgeResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src UpdateUserBadgeResponse) MarshalJSON() ([]byte, error) { - if src.APIEmptySuccessResponse != nil { - return json.Marshal(&src.APIEmptySuccessResponse) - } - - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableUpdateUserBadgeResponse struct { - value *UpdateUserBadgeResponse - isSet bool -} - -func (v NullableUpdateUserBadgeResponse) Get() *UpdateUserBadgeResponse { - return v.value -} - -func (v *NullableUpdateUserBadgeResponse) Set(val *UpdateUserBadgeResponse) { - v.value = val - v.isSet = true -} - -func (v NullableUpdateUserBadgeResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableUpdateUserBadgeResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUpdateUserBadgeResponse(val *UpdateUserBadgeResponse) *NullableUpdateUserBadgeResponse { - return &NullableUpdateUserBadgeResponse{value: val, isSet: true} -} - -func (v NullableUpdateUserBadgeResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUpdateUserBadgeResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/client/model_update_user_notification_comment_subscription_status_response.go b/client/model_update_user_notification_comment_subscription_status_response.go index 069dbd8..2afd728 100644 --- a/client/model_update_user_notification_comment_subscription_status_response.go +++ b/client/model_update_user_notification_comment_subscription_status_response.go @@ -18,7 +18,6 @@ import ( // UpdateUserNotificationCommentSubscriptionStatusResponse struct for UpdateUserNotificationCommentSubscriptionStatusResponse type UpdateUserNotificationCommentSubscriptionStatusResponse struct { - APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -26,19 +25,6 @@ type UpdateUserNotificationCommentSubscriptionStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationCommentSubscriptionStatusResponse) UnmarshalJSON(data []byte) error { var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -70,10 +56,6 @@ func (dst *UpdateUserNotificationCommentSubscriptionStatusResponse) UnmarshalJSO // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationCommentSubscriptionStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_update_user_notification_page_subscription_status_response.go b/client/model_update_user_notification_page_subscription_status_response.go index cb601e6..eb72aee 100644 --- a/client/model_update_user_notification_page_subscription_status_response.go +++ b/client/model_update_user_notification_page_subscription_status_response.go @@ -18,7 +18,6 @@ import ( // UpdateUserNotificationPageSubscriptionStatusResponse struct for UpdateUserNotificationPageSubscriptionStatusResponse type UpdateUserNotificationPageSubscriptionStatusResponse struct { - APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -26,19 +25,6 @@ type UpdateUserNotificationPageSubscriptionStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationPageSubscriptionStatusResponse) UnmarshalJSON(data []byte) error { var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -70,10 +56,6 @@ func (dst *UpdateUserNotificationPageSubscriptionStatusResponse) UnmarshalJSON(d // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationPageSubscriptionStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_update_user_notification_status_response.go b/client/model_update_user_notification_status_response.go index 82d04a5..4d08eef 100644 --- a/client/model_update_user_notification_status_response.go +++ b/client/model_update_user_notification_status_response.go @@ -18,7 +18,6 @@ import ( // UpdateUserNotificationStatusResponse struct for UpdateUserNotificationStatusResponse type UpdateUserNotificationStatusResponse struct { - APIError *APIError IgnoredResponse *IgnoredResponse UserNotificationWriteResponse *UserNotificationWriteResponse } @@ -26,19 +25,6 @@ type UpdateUserNotificationStatusResponse struct { // Unmarshal JSON data into any of the pointers in the struct func (dst *UpdateUserNotificationStatusResponse) UnmarshalJSON(data []byte) error { var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - // try to unmarshal JSON data into IgnoredResponse err = json.Unmarshal(data, &dst.IgnoredResponse); if err == nil { @@ -70,10 +56,6 @@ func (dst *UpdateUserNotificationStatusResponse) UnmarshalJSON(data []byte) erro // Marshal data from the first non-nil pointers in the struct to JSON func (src UpdateUserNotificationStatusResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - if src.IgnoredResponse != nil { return json.Marshal(&src.IgnoredResponse) } diff --git a/client/model_vote_comment_response.go b/client/model_vote_comment_response.go deleted file mode 100644 index 7a9efdb..0000000 --- a/client/model_vote_comment_response.go +++ /dev/null @@ -1,107 +0,0 @@ -/* -fastcomments - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -API version: 0.0.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" - "fmt" -) - - -// VoteCommentResponse struct for VoteCommentResponse -type VoteCommentResponse struct { - APIError *APIError - VoteResponse *VoteResponse -} - -// Unmarshal JSON data into any of the pointers in the struct -func (dst *VoteCommentResponse) UnmarshalJSON(data []byte) error { - var err error - // try to unmarshal JSON data into APIError - err = json.Unmarshal(data, &dst.APIError); - if err == nil { - jsonAPIError, _ := json.Marshal(dst.APIError) - if string(jsonAPIError) == "{}" { // empty struct - dst.APIError = nil - } else { - return nil // data stored in dst.APIError, return on the first match - } - } else { - dst.APIError = nil - } - - // try to unmarshal JSON data into VoteResponse - err = json.Unmarshal(data, &dst.VoteResponse); - if err == nil { - jsonVoteResponse, _ := json.Marshal(dst.VoteResponse) - if string(jsonVoteResponse) == "{}" { // empty struct - dst.VoteResponse = nil - } else { - return nil // data stored in dst.VoteResponse, return on the first match - } - } else { - dst.VoteResponse = nil - } - - return fmt.Errorf("data failed to match schemas in anyOf(VoteCommentResponse)") -} - -// Marshal data from the first non-nil pointers in the struct to JSON -func (src VoteCommentResponse) MarshalJSON() ([]byte, error) { - if src.APIError != nil { - return json.Marshal(&src.APIError) - } - - if src.VoteResponse != nil { - return json.Marshal(&src.VoteResponse) - } - - return nil, nil // no data in anyOf schemas -} - - -type NullableVoteCommentResponse struct { - value *VoteCommentResponse - isSet bool -} - -func (v NullableVoteCommentResponse) Get() *VoteCommentResponse { - return v.value -} - -func (v *NullableVoteCommentResponse) Set(val *VoteCommentResponse) { - v.value = val - v.isSet = true -} - -func (v NullableVoteCommentResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableVoteCommentResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVoteCommentResponse(val *VoteCommentResponse) *NullableVoteCommentResponse { - return &NullableVoteCommentResponse{value: val, isSet: true} -} - -func (v NullableVoteCommentResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableVoteCommentResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/openapi.json b/openapi.json index b02430d..0f72c9c 100644 --- a/openapi.json +++ b/openapi.json @@ -11528,15 +11528,17 @@ "content": { "application/json": { "schema": { - "title": "SearchUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SearchUsersResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SearchUsersResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11614,15 +11616,7 @@ "content": { "application/json": { "schema": { - "title": "GetUserPresenceStatusesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserPresenceStatusesResponse" } } } @@ -11636,6 +11630,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -11679,15 +11683,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetMyNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetMyNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11809,15 +11815,17 @@ "content": { "application/json": { "schema": { - "title": "ResetUserNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11897,15 +11905,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11944,15 +11954,17 @@ "content": { "application/json": { "schema": { - "title": "ResetUserNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ResetUserNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ResetUserNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -11998,14 +12010,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -12068,14 +12087,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Enable or disable notifications for a specific comment.", @@ -12147,14 +12173,21 @@ }, { "$ref": "#/components/schemas/IgnoredResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Enable or disable notifications for a page. When users are subscribed to a page, notifications are created\nfor new root comments, and also", @@ -12296,15 +12329,7 @@ "content": { "application/json": { "schema": { - "title": "GetTranslationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTranslationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTranslationsResponse" } } } @@ -12328,6 +12353,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -12379,15 +12414,17 @@ "content": { "application/json": { "schema": { - "title": "GetPagesPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPublicPagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPublicPagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12465,15 +12502,7 @@ "content": { "application/json": { "schema": { - "title": "GetOnlineUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersOnlineResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersOnlineResponse" } } } @@ -12497,6 +12526,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Currently-online viewers of a page: people whose websocket session is subscribed to the page right now.\nReturns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).", @@ -12552,15 +12591,7 @@ "content": { "application/json": { "schema": { - "title": "GetOfflineUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersOfflineResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersOfflineResponse" } } } @@ -12584,6 +12615,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Past commenters on the page who are NOT currently online. Sorted by displayName.\nUse this after exhausting /users/online to render a \"Members\" section.\nCursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}\nindex from afterName forward via $gt, no $skip cost.", @@ -12639,15 +12680,7 @@ "content": { "application/json": { "schema": { - "title": "GetUsersInfoResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PageUsersInfoResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PageUsersInfoResponse" } } } @@ -12661,6 +12694,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "description": "Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.\nUsed by the comment widget to enrich users that just appeared via a presence event.\nNo page context: privacy is enforced uniformly (private profiles are masked).", @@ -12698,15 +12741,17 @@ "content": { "application/json": { "schema": { - "title": "GetV1PageLikesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV1PageLikes" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV1PageLikes" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12743,15 +12788,17 @@ "content": { "application/json": { "schema": { - "title": "CreateV1PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateV1PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateV1PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12796,15 +12843,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteV1PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteV1PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteV1PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12843,15 +12892,17 @@ "content": { "application/json": { "schema": { - "title": "GetV2PageReactUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV2PageReactUsersResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV2PageReactUsersResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12898,15 +12949,17 @@ "content": { "application/json": { "schema": { - "title": "GetV2PageReactsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetV2PageReacts" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetV2PageReacts" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -12943,15 +12996,17 @@ "content": { "application/json": { "schema": { - "title": "CreateV2PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateV2PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateV2PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13004,15 +13059,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteV2PageReactResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteV2PageReact" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteV2PageReact" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13059,15 +13116,17 @@ "content": { "application/json": { "schema": { - "title": "GetCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPICountCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13146,15 +13205,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiIdsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetCommentIdsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13241,15 +13302,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiCommentsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13354,15 +13417,17 @@ "content": { "application/json": { "schema": { - "title": "PostApiExportResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationExportResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationExportResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13441,15 +13506,17 @@ "content": { "application/json": { "schema": { - "title": "GetApiExportStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationExportStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationExportStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13496,15 +13563,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationUserSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationUserSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13551,15 +13620,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchPagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationPageSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationPageSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13606,15 +13677,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchSitesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationSiteSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationSiteSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13661,15 +13734,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchCommentsSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationCommentSearchResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationCommentSearchResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13732,15 +13807,17 @@ "content": { "application/json": { "schema": { - "title": "GetSearchSuggestResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationSuggestResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationSuggestResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13787,15 +13864,17 @@ "content": { "application/json": { "schema": { - "title": "GetPreBanSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PreBanSummary" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PreBanSummary" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13866,15 +13945,17 @@ "content": { "application/json": { "schema": { - "title": "PostBulkPreBanSummaryResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkPreBanSummary" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkPreBanSummary" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -13947,15 +14028,17 @@ "content": { "application/json": { "schema": { - "title": "PostBanUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BanUserFromCommentResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BanUserFromCommentResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14066,15 +14149,17 @@ "content": { "application/json": { "schema": { - "title": "GetBanUsersFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetBannedUsersFromCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14121,15 +14206,17 @@ "content": { "application/json": { "schema": { - "title": "PostBanUserUndoResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14185,14 +14272,21 @@ }, { "$ref": "#/components/schemas/RemoveCommentActionResponse" - }, - { - "$ref": "#/components/schemas/APIError" } ] } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -14244,20 +14338,22 @@ "content": { "application/json": { "schema": { - "title": "PostRestoreDeletedCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" } } } - } - }, + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } + }, "tags": [ "Moderation" ], @@ -14307,15 +14403,17 @@ "content": { "application/json": { "schema": { - "title": "PostFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14370,15 +14468,17 @@ "content": { "application/json": { "schema": { - "title": "PostUnFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14433,15 +14533,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentReviewStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14504,15 +14606,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentSpamStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14583,15 +14687,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentApprovalStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetCommentApprovedResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetCommentApprovedResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14654,15 +14760,17 @@ "content": { "application/json": { "schema": { - "title": "GetLogsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIGetLogsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14709,15 +14817,17 @@ "content": { "application/json": { "schema": { - "title": "GetModerationCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPICommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPICommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14780,15 +14890,17 @@ "content": { "application/json": { "schema": { - "title": "PostCommentsByIdsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14837,15 +14949,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentChildrenResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ModerationAPIChildCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14892,15 +15006,17 @@ "content": { "application/json": { "schema": { - "title": "GetModerationCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -14947,15 +15063,17 @@ "content": { "application/json": { "schema": { - "title": "PostSetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15020,15 +15138,17 @@ "content": { "application/json": { "schema": { - "title": "PostAdjustCommentVotesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AdjustVotesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AdjustVotesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15093,15 +15213,17 @@ "content": { "application/json": { "schema": { - "title": "PostVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15164,15 +15286,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteModerationVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15235,15 +15359,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentBanStatusResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentBanStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentBanStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15290,15 +15416,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBanPreferenceResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIModerateGetUserBanPreferencesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15337,15 +15465,17 @@ "content": { "application/json": { "schema": { - "title": "GetManualBadgesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantManualBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantManualBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15384,15 +15514,17 @@ "content": { "application/json": { "schema": { - "title": "GetManualBadgesForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserManualBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserManualBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15447,15 +15579,17 @@ "content": { "application/json": { "schema": { - "title": "PutAwardBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AwardUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AwardUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15526,15 +15660,17 @@ "content": { "application/json": { "schema": { - "title": "PutRemoveBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/RemoveUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/RemoveUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15605,15 +15741,17 @@ "content": { "application/json": { "schema": { - "title": "GetTrustFactorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserTrustFactorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserTrustFactorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15660,15 +15798,17 @@ "content": { "application/json": { "schema": { - "title": "SetTrustFactorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SetUserTrustFactorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SetUserTrustFactorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15723,15 +15863,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserInternalProfileResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserInternalProfileResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserInternalProfileResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15778,15 +15920,17 @@ "content": { "application/json": { "schema": { - "title": "PutReopenThreadResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15833,15 +15977,17 @@ "content": { "application/json": { "schema": { - "title": "PutCloseThreadResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -15888,15 +16034,17 @@ "content": { "application/json": { "schema": { - "title": "GetCountsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetBannedUsersCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetBannedUsersCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16006,9 +16154,6 @@ }, { "$ref": "#/components/schemas/GifSearchInternalError" - }, - { - "$ref": "#/components/schemas/APIError" } ] } @@ -16024,6 +16169,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -16084,15 +16239,7 @@ "content": { "application/json": { "schema": { - "title": "GetGifLargeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GifGetLargeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GifGetLargeResponse" } } } @@ -16106,6 +16253,16 @@ } } } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } } }, "tags": [ @@ -16141,15 +16298,17 @@ "content": { "application/json": { "schema": { - "title": "FlagCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16204,15 +16363,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16294,15 +16455,17 @@ "content": { "application/json": { "schema": { - "title": "CreateFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16359,15 +16522,17 @@ "content": { "application/json": { "schema": { - "title": "ReactFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ReactFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ReactFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16440,15 +16605,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserReactsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UserReactsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UserReactsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16498,15 +16665,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateFeedPostPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16570,30 +16739,33 @@ "application/json": { "schema": { "title": "DeleteFeedPostPublicResponse", - "anyOf": [ - { - "properties": { - "status": { - "$ref": "#/components/schemas/APIStatus" - } - }, - "required": [ - "status" - ], - "type": "object" - }, - { - "$ref": "#/components/schemas/APIError" + "properties": { + "status": { + "$ref": "#/components/schemas/APIStatus" } - ] + }, + "required": [ + "status" + ], + "type": "object" } } } - } - }, - "tags": [ - "Public" - ], + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } + }, + "tags": [ + "Public" + ], "security": [], "parameters": [ { @@ -16640,15 +16812,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsStatsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FeedPostsStatsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FeedPostsStatsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16698,15 +16872,17 @@ "content": { "application/json": { "schema": { - "title": "GetEventLogResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEventLogResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEventLogResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16772,15 +16948,17 @@ "content": { "application/json": { "schema": { - "title": "GetGlobalEventLogResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEventLogResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEventLogResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16846,15 +17024,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPIGetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16909,15 +17089,17 @@ "content": { "application/json": { "schema": { - "title": "SetCommentTextResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPISetCommentTextResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -16990,15 +17172,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentsForUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentsForUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17078,15 +17262,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentsResponseWithPresence_PublicComment_" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17341,15 +17527,17 @@ "content": { "application/json": { "schema": { - "title": "CreateCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/SaveCommentsResponseWithPresence" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17422,15 +17610,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/PublicAPIDeleteCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17493,15 +17683,17 @@ "content": { "application/json": { "schema": { - "title": "CheckedCommentsForBlockedResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CheckBlockedCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CheckBlockedCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17549,15 +17741,17 @@ "content": { "application/json": { "schema": { - "title": "VoteCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17638,15 +17832,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17725,15 +17921,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentVoteUserNamesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCommentVoteUserNamesSuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17789,15 +17987,17 @@ "content": { "application/json": { "schema": { - "title": "PinCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17852,15 +18052,17 @@ "content": { "application/json": { "schema": { - "title": "UnPinCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeCommentPinStatusResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17915,15 +18117,17 @@ "content": { "application/json": { "schema": { - "title": "LockCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIError" - }, - { - "$ref": "#/components/schemas/APIEmptyResponse" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -17978,15 +18182,17 @@ "content": { "application/json": { "schema": { - "title": "UnLockCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIError" - }, - { - "$ref": "#/components/schemas/APIEmptyResponse" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18041,15 +18247,17 @@ "content": { "application/json": { "schema": { - "title": "BlockFromCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BlockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BlockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18104,15 +18312,17 @@ "content": { "application/json": { "schema": { - "title": "UnBlockCommentPublicResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UnblockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UnblockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18920,15 +19130,17 @@ "content": { "application/json": { "schema": { - "title": "GetVotesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetVotesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetVotesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -18966,15 +19178,17 @@ "content": { "application/json": { "schema": { - "title": "CreateVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19042,15 +19256,17 @@ "content": { "application/json": { "schema": { - "title": "GetVotesForUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetVotesForUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetVotesForUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19106,15 +19322,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteVoteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/VoteDeleteResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/VoteDeleteResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19162,15 +19380,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19210,15 +19430,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19256,15 +19478,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptySuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19312,15 +19536,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptySuccessResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptySuccessResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19360,15 +19586,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19449,15 +19677,17 @@ "content": { "application/json": { "schema": { - "title": "CreateUserBadgeResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APICreateUserBadgeResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APICreateUserBadgeResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19499,15 +19729,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressByIdResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19547,15 +19779,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressListResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressListResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19613,15 +19847,17 @@ "content": { "application/json": { "schema": { - "title": "GetUserBadgeProgressByUserIdResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetUserBadgeProgressResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19661,15 +19897,17 @@ "content": { "application/json": { "schema": { - "title": "GetTicketsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTicketsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTicketsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19734,15 +19972,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTicketResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTicketResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTicketResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19792,15 +20032,17 @@ "content": { "application/json": { "schema": { - "title": "GetTicketResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTicketResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTicketResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19848,19 +20090,21 @@ "content": { "application/json": { "schema": { - "title": "ChangeTicketStateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/ChangeTicketStateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/ChangeTicketStateResponse" } } } - } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" + } + } + } + } }, "security": [ { @@ -19914,15 +20158,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -19960,15 +20206,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20016,15 +20264,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20072,15 +20322,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20127,15 +20379,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20177,15 +20431,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20223,15 +20479,17 @@ "content": { "application/json": { "schema": { - "title": "ReplaceTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20287,15 +20545,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20351,15 +20611,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20415,15 +20677,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantUsersResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantUsersResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantUsersResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20462,15 +20726,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantUserResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantUserResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantUserResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20512,15 +20778,17 @@ "content": { "application/json": { "schema": { - "title": "SendLoginLinkResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20568,15 +20836,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantPackageResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantPackageResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20614,15 +20884,17 @@ "content": { "application/json": { "schema": { - "title": "ReplaceTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20670,15 +20942,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20726,15 +21000,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20774,15 +21050,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantPackagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantPackagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantPackagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20821,15 +21099,17 @@ "content": { "application/json": { "schema": { - "title": "CreateTenantPackageResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateTenantPackageResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateTenantPackageResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20871,15 +21151,17 @@ "content": { "application/json": { "schema": { - "title": "GetTenantDailyUsagesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetTenantDailyUsagesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20947,15 +21229,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionResultResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionResultResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -20993,15 +21277,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21049,15 +21335,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21097,15 +21385,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21184,15 +21474,17 @@ "content": { "application/json": { "schema": { - "title": "CreateQuestionResultResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateQuestionResultResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateQuestionResultResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21234,15 +21526,17 @@ "content": { "application/json": { "schema": { - "title": "AggregateQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/AggregateQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/AggregateQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21326,15 +21620,17 @@ "content": { "application/json": { "schema": { - "title": "BulkAggregateQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkAggregateQuestionResultsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21384,15 +21680,17 @@ "content": { "application/json": { "schema": { - "title": "CombineCommentsWithQuestionResultsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CombineQuestionResultsWithCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21495,15 +21793,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionConfigResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionConfigResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21541,15 +21841,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21597,15 +21899,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21645,15 +21949,17 @@ "content": { "application/json": { "schema": { - "title": "GetQuestionConfigsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetQuestionConfigsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetQuestionConfigsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21692,15 +21998,17 @@ "content": { "application/json": { "schema": { - "title": "CreateQuestionConfigResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateQuestionConfigResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateQuestionConfigResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21742,15 +22050,17 @@ "content": { "application/json": { "schema": { - "title": "GetPendingWebhookEventsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPendingWebhookEventsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21840,15 +22150,17 @@ "content": { "application/json": { "schema": { - "title": "GetPendingWebhookEventCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetPendingWebhookEventCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21929,15 +22241,17 @@ "content": { "application/json": { "schema": { - "title": "DeletePendingWebhookEventResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -21977,15 +22291,17 @@ "content": { "application/json": { "schema": { - "title": "GetNotificationsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetNotificationsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetNotificationsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22066,15 +22382,17 @@ "content": { "application/json": { "schema": { - "title": "GetNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22146,15 +22464,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateNotificationResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22212,15 +22532,17 @@ "content": { "application/json": { "schema": { - "title": "GetCachedNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetCachedNotificationCountResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetCachedNotificationCountResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22258,15 +22580,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteNotificationCountResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22306,15 +22630,17 @@ "content": { "application/json": { "schema": { - "title": "GetModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetModeratorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetModeratorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22352,15 +22678,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22408,15 +22736,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22464,15 +22794,17 @@ "content": { "application/json": { "schema": { - "title": "GetModeratorsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetModeratorsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetModeratorsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22511,15 +22843,17 @@ "content": { "application/json": { "schema": { - "title": "CreateModeratorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateModeratorResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateModeratorResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22561,15 +22895,17 @@ "content": { "application/json": { "schema": { - "title": "SendInviteResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22617,15 +22953,17 @@ "content": { "application/json": { "schema": { - "title": "GetHashTagsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetHashTagsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetHashTagsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22664,15 +23002,17 @@ "content": { "application/json": { "schema": { - "title": "AddHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateHashTagResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateHashTagResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22714,15 +23054,17 @@ "content": { "application/json": { "schema": { - "title": "AddHashTagsBulkResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BulkCreateHashTagsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BulkCreateHashTagsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22764,15 +23106,17 @@ "content": { "application/json": { "schema": { - "title": "PatchHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UpdateHashTagResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UpdateHashTagResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22820,15 +23164,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteHashTagResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22884,15 +23230,17 @@ "content": { "application/json": { "schema": { - "title": "GetFeedPostsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -22951,15 +23299,17 @@ "content": { "application/json": { "schema": { - "title": "CreateFeedPostResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateFeedPostsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateFeedPostsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23033,15 +23383,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateFeedPostResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23091,15 +23443,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateDefinitionsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateDefinitionsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23131,15 +23485,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateRenderErrorsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateRenderErrorsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23188,15 +23544,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteEmailTemplateRenderErrorResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23244,15 +23602,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23290,15 +23650,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23346,15 +23708,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23394,15 +23758,17 @@ "content": { "application/json": { "schema": { - "title": "GetEmailTemplatesResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetEmailTemplatesResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetEmailTemplatesResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23441,15 +23807,17 @@ "content": { "application/json": { "schema": { - "title": "CreateEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/CreateEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/CreateEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23491,15 +23859,17 @@ "content": { "application/json": { "schema": { - "title": "RenderEmailTemplateResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/RenderEmailTemplateResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/RenderEmailTemplateResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -23954,15 +24324,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24000,15 +24372,17 @@ "content": { "application/json": { "schema": { - "title": "UpdateCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIEmptyResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIEmptyResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24080,15 +24454,17 @@ "content": { "application/json": { "schema": { - "title": "DeleteCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/DeleteCommentResult" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/DeleteCommentResult" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24144,15 +24520,17 @@ "content": { "application/json": { "schema": { - "title": "GetCommentsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APIGetCommentsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APIGetCommentsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24318,15 +24696,17 @@ "content": { "application/json": { "schema": { - "title": "SaveCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/APISaveCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/APISaveCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24488,15 +24868,17 @@ "content": { "application/json": { "schema": { - "title": "FlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FlagCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FlagCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24552,15 +24934,17 @@ "content": { "application/json": { "schema": { - "title": "UnFlagCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/FlagCommentResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/FlagCommentResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24616,15 +25000,17 @@ "content": { "application/json": { "schema": { - "title": "BlockUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/BlockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/BlockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24690,15 +25076,17 @@ "content": { "application/json": { "schema": { - "title": "UnBlockUserFromCommentResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/UnblockSuccess" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/UnblockSuccess" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } @@ -24764,15 +25152,17 @@ "content": { "application/json": { "schema": { - "title": "GetAuditLogsResponse", - "anyOf": [ - { - "$ref": "#/components/schemas/GetAuditLogsResponse" - }, - { - "$ref": "#/components/schemas/APIError" - } - ] + "$ref": "#/components/schemas/GetAuditLogsResponse" + } + } + } + }, + "default": { + "description": "Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/APIError" } } } From 5721e62e8904078ee60783e60ed605129e449ede Mon Sep 17 00:00:00 2001 From: winrid Date: Mon, 29 Jun 2026 17:07:23 -0700 Subject: [PATCH 3/5] Regenerate from updated spec: mod_api/ moderation paths + PostRemoveCommentApiResponse rename Moderation endpoints gained a mod_api/ path segment; PostRemoveCommentResponse renamed to PostRemoveCommentApiResponse. --- client/.openapi-generator/FILES | 4 +- client/README.md | 88 +- client/api/openapi.yaml | 660 +++++++-------- client/api_default.go | 32 +- client/api_moderation.go | 793 +++++++++--------- client/docs/DefaultAPI.md | 12 +- client/docs/ModerationAPI.md | 396 ++++----- ...nse.md => PostRemoveCommentApiResponse.md} | 26 +- ...model_post_remove_comment_api_response.go} | 30 +- openapi.json | 634 +++++++------- 10 files changed, 1361 insertions(+), 1314 deletions(-) rename client/docs/{PostRemoveCommentResponse.md => PostRemoveCommentApiResponse.md} (60%) rename client/{model_post_remove_comment_response.go => model_post_remove_comment_api_response.go} (66%) diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 38230dd..1861a0d 100644 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -269,7 +269,7 @@ docs/PatchDomainConfigResponse.md docs/PatchPageAPIResponse.md docs/PatchSSOUserAPIResponse.md docs/PendingCommentToSyncOutbound.md -docs/PostRemoveCommentResponse.md +docs/PostRemoveCommentApiResponse.md docs/PreBanSummary.md docs/PubSubComment.md docs/PubSubCommentBase.md @@ -634,7 +634,7 @@ model_patch_domain_config_response.go model_patch_page_api_response.go model_patch_sso_user_api_response.go model_pending_comment_to_sync_outbound.go -model_post_remove_comment_response.go +model_post_remove_comment_api_response.go model_pre_ban_summary.go model_pub_sub_comment.go model_pub_sub_comment_base.go diff --git a/client/README.md b/client/README.md index 354d2a9..1d7e1d8 100644 --- a/client/README.md +++ b/client/README.md @@ -192,49 +192,49 @@ Class | Method | HTTP request | Description *DefaultAPI* | [**UpdateTenantPackage**](docs/DefaultAPI.md#updatetenantpackage) | **Patch** /api/v1/tenant-packages/{id} | *DefaultAPI* | [**UpdateTenantUser**](docs/DefaultAPI.md#updatetenantuser) | **Patch** /api/v1/tenant-users/{id} | *DefaultAPI* | [**UpdateUserBadge**](docs/DefaultAPI.md#updateuserbadge) | **Put** /api/v1/user-badges/{id} | -*ModerationAPI* | [**DeleteModerationVote**](docs/ModerationAPI.md#deletemoderationvote) | **Delete** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -*ModerationAPI* | [**GetApiComments**](docs/ModerationAPI.md#getapicomments) | **Get** /auth/my-account/moderate-comments/api/comments | -*ModerationAPI* | [**GetApiExportStatus**](docs/ModerationAPI.md#getapiexportstatus) | **Get** /auth/my-account/moderate-comments/api/export/status | -*ModerationAPI* | [**GetApiIds**](docs/ModerationAPI.md#getapiids) | **Get** /auth/my-account/moderate-comments/api/ids | -*ModerationAPI* | [**GetBanUsersFromComment**](docs/ModerationAPI.md#getbanusersfromcomment) | **Get** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -*ModerationAPI* | [**GetCommentBanStatus**](docs/ModerationAPI.md#getcommentbanstatus) | **Get** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -*ModerationAPI* | [**GetCommentChildren**](docs/ModerationAPI.md#getcommentchildren) | **Get** /auth/my-account/moderate-comments/comment-children/{commentId} | -*ModerationAPI* | [**GetCount**](docs/ModerationAPI.md#getcount) | **Get** /auth/my-account/moderate-comments/count | -*ModerationAPI* | [**GetCounts**](docs/ModerationAPI.md#getcounts) | **Get** /auth/my-account/moderate-comments/banned-users/counts | -*ModerationAPI* | [**GetLogs**](docs/ModerationAPI.md#getlogs) | **Get** /auth/my-account/moderate-comments/logs/{commentId} | -*ModerationAPI* | [**GetManualBadges**](docs/ModerationAPI.md#getmanualbadges) | **Get** /auth/my-account/moderate-comments/get-manual-badges | -*ModerationAPI* | [**GetManualBadgesForUser**](docs/ModerationAPI.md#getmanualbadgesforuser) | **Get** /auth/my-account/moderate-comments/get-manual-badges-for-user | -*ModerationAPI* | [**GetModerationComment**](docs/ModerationAPI.md#getmoderationcomment) | **Get** /auth/my-account/moderate-comments/comment/{commentId} | -*ModerationAPI* | [**GetModerationCommentText**](docs/ModerationAPI.md#getmoderationcommenttext) | **Get** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -*ModerationAPI* | [**GetPreBanSummary**](docs/ModerationAPI.md#getprebansummary) | **Get** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -*ModerationAPI* | [**GetSearchCommentsSummary**](docs/ModerationAPI.md#getsearchcommentssummary) | **Get** /auth/my-account/moderate-comments/search/comments/summary | -*ModerationAPI* | [**GetSearchPages**](docs/ModerationAPI.md#getsearchpages) | **Get** /auth/my-account/moderate-comments/search/pages | -*ModerationAPI* | [**GetSearchSites**](docs/ModerationAPI.md#getsearchsites) | **Get** /auth/my-account/moderate-comments/search/sites | -*ModerationAPI* | [**GetSearchSuggest**](docs/ModerationAPI.md#getsearchsuggest) | **Get** /auth/my-account/moderate-comments/search/suggest | -*ModerationAPI* | [**GetSearchUsers**](docs/ModerationAPI.md#getsearchusers) | **Get** /auth/my-account/moderate-comments/search/users | -*ModerationAPI* | [**GetTrustFactor**](docs/ModerationAPI.md#gettrustfactor) | **Get** /auth/my-account/moderate-comments/get-trust-factor | -*ModerationAPI* | [**GetUserBanPreference**](docs/ModerationAPI.md#getuserbanpreference) | **Get** /auth/my-account/moderate-comments/user-ban-preference | -*ModerationAPI* | [**GetUserInternalProfile**](docs/ModerationAPI.md#getuserinternalprofile) | **Get** /auth/my-account/moderate-comments/get-user-internal-profile | -*ModerationAPI* | [**PostAdjustCommentVotes**](docs/ModerationAPI.md#postadjustcommentvotes) | **Post** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -*ModerationAPI* | [**PostApiExport**](docs/ModerationAPI.md#postapiexport) | **Post** /auth/my-account/moderate-comments/api/export | -*ModerationAPI* | [**PostBanUserFromComment**](docs/ModerationAPI.md#postbanuserfromcomment) | **Post** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -*ModerationAPI* | [**PostBanUserUndo**](docs/ModerationAPI.md#postbanuserundo) | **Post** /auth/my-account/moderate-comments/ban-user/undo | -*ModerationAPI* | [**PostBulkPreBanSummary**](docs/ModerationAPI.md#postbulkprebansummary) | **Post** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -*ModerationAPI* | [**PostCommentsByIds**](docs/ModerationAPI.md#postcommentsbyids) | **Post** /auth/my-account/moderate-comments/comments-by-ids | -*ModerationAPI* | [**PostFlagComment**](docs/ModerationAPI.md#postflagcomment) | **Post** /auth/my-account/moderate-comments/flag-comment/{commentId} | -*ModerationAPI* | [**PostRemoveComment**](docs/ModerationAPI.md#postremovecomment) | **Post** /auth/my-account/moderate-comments/remove-comment/{commentId} | -*ModerationAPI* | [**PostRestoreDeletedComment**](docs/ModerationAPI.md#postrestoredeletedcomment) | **Post** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -*ModerationAPI* | [**PostSetCommentApprovalStatus**](docs/ModerationAPI.md#postsetcommentapprovalstatus) | **Post** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -*ModerationAPI* | [**PostSetCommentReviewStatus**](docs/ModerationAPI.md#postsetcommentreviewstatus) | **Post** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -*ModerationAPI* | [**PostSetCommentSpamStatus**](docs/ModerationAPI.md#postsetcommentspamstatus) | **Post** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -*ModerationAPI* | [**PostSetCommentText**](docs/ModerationAPI.md#postsetcommenttext) | **Post** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -*ModerationAPI* | [**PostUnFlagComment**](docs/ModerationAPI.md#postunflagcomment) | **Post** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -*ModerationAPI* | [**PostVote**](docs/ModerationAPI.md#postvote) | **Post** /auth/my-account/moderate-comments/vote/{commentId} | -*ModerationAPI* | [**PutAwardBadge**](docs/ModerationAPI.md#putawardbadge) | **Put** /auth/my-account/moderate-comments/award-badge | -*ModerationAPI* | [**PutCloseThread**](docs/ModerationAPI.md#putclosethread) | **Put** /auth/my-account/moderate-comments/close-thread | -*ModerationAPI* | [**PutRemoveBadge**](docs/ModerationAPI.md#putremovebadge) | **Put** /auth/my-account/moderate-comments/remove-badge | -*ModerationAPI* | [**PutReopenThread**](docs/ModerationAPI.md#putreopenthread) | **Put** /auth/my-account/moderate-comments/reopen-thread | -*ModerationAPI* | [**SetTrustFactor**](docs/ModerationAPI.md#settrustfactor) | **Put** /auth/my-account/moderate-comments/set-trust-factor | +*ModerationAPI* | [**DeleteModerationVote**](docs/ModerationAPI.md#deletemoderationvote) | **Delete** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +*ModerationAPI* | [**GetApiComments**](docs/ModerationAPI.md#getapicomments) | **Get** /auth/my-account/moderate-comments/mod_api/api/comments | +*ModerationAPI* | [**GetApiExportStatus**](docs/ModerationAPI.md#getapiexportstatus) | **Get** /auth/my-account/moderate-comments/mod_api/api/export/status | +*ModerationAPI* | [**GetApiIds**](docs/ModerationAPI.md#getapiids) | **Get** /auth/my-account/moderate-comments/mod_api/api/ids | +*ModerationAPI* | [**GetBanUsersFromComment**](docs/ModerationAPI.md#getbanusersfromcomment) | **Get** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +*ModerationAPI* | [**GetCommentBanStatus**](docs/ModerationAPI.md#getcommentbanstatus) | **Get** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +*ModerationAPI* | [**GetCommentChildren**](docs/ModerationAPI.md#getcommentchildren) | **Get** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +*ModerationAPI* | [**GetCount**](docs/ModerationAPI.md#getcount) | **Get** /auth/my-account/moderate-comments/mod_api/count | +*ModerationAPI* | [**GetCounts**](docs/ModerationAPI.md#getcounts) | **Get** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +*ModerationAPI* | [**GetLogs**](docs/ModerationAPI.md#getlogs) | **Get** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +*ModerationAPI* | [**GetManualBadges**](docs/ModerationAPI.md#getmanualbadges) | **Get** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +*ModerationAPI* | [**GetManualBadgesForUser**](docs/ModerationAPI.md#getmanualbadgesforuser) | **Get** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +*ModerationAPI* | [**GetModerationComment**](docs/ModerationAPI.md#getmoderationcomment) | **Get** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +*ModerationAPI* | [**GetModerationCommentText**](docs/ModerationAPI.md#getmoderationcommenttext) | **Get** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +*ModerationAPI* | [**GetPreBanSummary**](docs/ModerationAPI.md#getprebansummary) | **Get** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +*ModerationAPI* | [**GetSearchCommentsSummary**](docs/ModerationAPI.md#getsearchcommentssummary) | **Get** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +*ModerationAPI* | [**GetSearchPages**](docs/ModerationAPI.md#getsearchpages) | **Get** /auth/my-account/moderate-comments/mod_api/search/pages | +*ModerationAPI* | [**GetSearchSites**](docs/ModerationAPI.md#getsearchsites) | **Get** /auth/my-account/moderate-comments/mod_api/search/sites | +*ModerationAPI* | [**GetSearchSuggest**](docs/ModerationAPI.md#getsearchsuggest) | **Get** /auth/my-account/moderate-comments/mod_api/search/suggest | +*ModerationAPI* | [**GetSearchUsers**](docs/ModerationAPI.md#getsearchusers) | **Get** /auth/my-account/moderate-comments/mod_api/search/users | +*ModerationAPI* | [**GetTrustFactor**](docs/ModerationAPI.md#gettrustfactor) | **Get** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +*ModerationAPI* | [**GetUserBanPreference**](docs/ModerationAPI.md#getuserbanpreference) | **Get** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +*ModerationAPI* | [**GetUserInternalProfile**](docs/ModerationAPI.md#getuserinternalprofile) | **Get** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +*ModerationAPI* | [**PostAdjustCommentVotes**](docs/ModerationAPI.md#postadjustcommentvotes) | **Post** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +*ModerationAPI* | [**PostApiExport**](docs/ModerationAPI.md#postapiexport) | **Post** /auth/my-account/moderate-comments/mod_api/api/export | +*ModerationAPI* | [**PostBanUserFromComment**](docs/ModerationAPI.md#postbanuserfromcomment) | **Post** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +*ModerationAPI* | [**PostBanUserUndo**](docs/ModerationAPI.md#postbanuserundo) | **Post** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +*ModerationAPI* | [**PostBulkPreBanSummary**](docs/ModerationAPI.md#postbulkprebansummary) | **Post** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +*ModerationAPI* | [**PostCommentsByIds**](docs/ModerationAPI.md#postcommentsbyids) | **Post** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +*ModerationAPI* | [**PostFlagComment**](docs/ModerationAPI.md#postflagcomment) | **Post** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +*ModerationAPI* | [**PostRemoveComment**](docs/ModerationAPI.md#postremovecomment) | **Post** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +*ModerationAPI* | [**PostRestoreDeletedComment**](docs/ModerationAPI.md#postrestoredeletedcomment) | **Post** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +*ModerationAPI* | [**PostSetCommentApprovalStatus**](docs/ModerationAPI.md#postsetcommentapprovalstatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +*ModerationAPI* | [**PostSetCommentReviewStatus**](docs/ModerationAPI.md#postsetcommentreviewstatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +*ModerationAPI* | [**PostSetCommentSpamStatus**](docs/ModerationAPI.md#postsetcommentspamstatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +*ModerationAPI* | [**PostSetCommentText**](docs/ModerationAPI.md#postsetcommenttext) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +*ModerationAPI* | [**PostUnFlagComment**](docs/ModerationAPI.md#postunflagcomment) | **Post** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +*ModerationAPI* | [**PostVote**](docs/ModerationAPI.md#postvote) | **Post** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +*ModerationAPI* | [**PutAwardBadge**](docs/ModerationAPI.md#putawardbadge) | **Put** /auth/my-account/moderate-comments/mod_api/award-badge | +*ModerationAPI* | [**PutCloseThread**](docs/ModerationAPI.md#putclosethread) | **Put** /auth/my-account/moderate-comments/mod_api/close-thread | +*ModerationAPI* | [**PutRemoveBadge**](docs/ModerationAPI.md#putremovebadge) | **Put** /auth/my-account/moderate-comments/mod_api/remove-badge | +*ModerationAPI* | [**PutReopenThread**](docs/ModerationAPI.md#putreopenthread) | **Put** /auth/my-account/moderate-comments/mod_api/reopen-thread | +*ModerationAPI* | [**SetTrustFactor**](docs/ModerationAPI.md#settrustfactor) | **Put** /auth/my-account/moderate-comments/mod_api/set-trust-factor | *PublicAPI* | [**BlockFromCommentPublic**](docs/PublicAPI.md#blockfromcommentpublic) | **Post** /block-from-comment/{commentId} | *PublicAPI* | [**CheckedCommentsForBlocked**](docs/PublicAPI.md#checkedcommentsforblocked) | **Get** /check-blocked-comments | *PublicAPI* | [**CreateCommentPublic**](docs/PublicAPI.md#createcommentpublic) | **Post** /comments/{tenantId} | @@ -550,7 +550,7 @@ Class | Method | HTTP request | Description - [PatchPageAPIResponse](docs/PatchPageAPIResponse.md) - [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md) - [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md) - - [PostRemoveCommentResponse](docs/PostRemoveCommentResponse.md) + - [PostRemoveCommentApiResponse](docs/PostRemoveCommentApiResponse.md) - [PreBanSummary](docs/PreBanSummary.md) - [PubSubComment](docs/PubSubComment.md) - [PubSubCommentBase](docs/PubSubCommentBase.md) diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml index 8c68073..594a715 100644 --- a/client/api/openapi.yaml +++ b/client/api/openapi.yaml @@ -1173,10 +1173,17 @@ paths: security: [] tags: - Public - /auth/my-account/moderate-comments/count: + /auth/my-account/moderate-comments/mod_api/count: get: - operationId: GetCount + operationId: getCount parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: true in: query name: text-search @@ -1212,13 +1219,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -1242,10 +1242,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/api/ids: + /auth/my-account/moderate-comments/mod_api/api/ids: get: - operationId: GetApiIds + operationId: getApiIds parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: true in: query name: text-search @@ -1288,13 +1295,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -1318,10 +1318,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/api/comments: + /auth/my-account/moderate-comments/mod_api/api/comments: get: - operationId: GetApiComments + operationId: getApiComments parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: true in: query name: page @@ -1380,13 +1387,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -1410,48 +1410,48 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/api/export: + /auth/my-account/moderate-comments/mod_api/api/export: post: - operationId: PostApiExport + operationId: postApiExport parameters: - explode: true in: query - name: text-search - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: byIPFromComment + name: text-search required: false schema: type: string style: form - explode: true in: query - name: filters + name: byIPFromComment required: false schema: type: string style: form - explode: true in: query - name: searchFilters + name: filters required: false schema: type: string style: form - explode: true in: query - name: sorts + name: searchFilters required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: sorts required: false schema: type: string @@ -1479,20 +1479,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/api/export/status: + /auth/my-account/moderate-comments/mod_api/api/export/status: get: - operationId: GetApiExportStatus + operationId: getApiExportStatus parameters: - explode: true in: query - name: batchJobId - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: batchJobId required: false schema: type: string @@ -1520,20 +1520,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/search/users: + /auth/my-account/moderate-comments/mod_api/search/users: get: - operationId: GetSearchUsers + operationId: getSearchUsers parameters: - explode: true in: query - name: value - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: value required: false schema: type: string @@ -1561,20 +1561,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/search/pages: + /auth/my-account/moderate-comments/mod_api/search/pages: get: - operationId: GetSearchPages + operationId: getSearchPages parameters: - explode: true in: query - name: value - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: value required: false schema: type: string @@ -1602,20 +1602,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/search/sites: + /auth/my-account/moderate-comments/mod_api/search/sites: get: - operationId: GetSearchSites + operationId: getSearchSites parameters: - explode: true in: query - name: value - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: value required: false schema: type: string @@ -1643,34 +1643,34 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/search/comments/summary: + /auth/my-account/moderate-comments/mod_api/search/comments/summary: get: - operationId: GetSearchCommentsSummary + operationId: getSearchCommentsSummary parameters: - explode: true in: query - name: value - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: filters + name: value required: false schema: type: string style: form - explode: true in: query - name: searchFilters + name: filters required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: searchFilters required: false schema: type: string @@ -1698,20 +1698,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/search/suggest: + /auth/my-account/moderate-comments/mod_api/search/suggest: get: - operationId: GetSearchSuggest + operationId: getSearchSuggest parameters: - explode: true in: query - name: text-search - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: text-search required: false schema: type: string @@ -1739,10 +1739,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/pre-ban-summary/{commentId}: + /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}: get: - operationId: GetPreBanSummary + operationId: getPreBanSummary parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -1771,13 +1778,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -1801,37 +1801,37 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/bulk-pre-ban-summary: + /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary: post: - operationId: PostBulkPreBanSummary + operationId: postBulkPreBanSummary parameters: - explode: true in: query - name: includeByUserIdAndEmail - required: false + name: tenantId + required: true schema: - type: boolean + type: string style: form - explode: true in: query - name: includeByIP + name: includeByUserIdAndEmail required: false schema: type: boolean style: form - explode: true in: query - name: includeByEmailDomain + name: includeByIP required: false schema: type: boolean style: form - explode: true in: query - name: tenantId + name: includeByEmailDomain required: false schema: - type: string + type: boolean style: form - explode: true in: query @@ -1862,10 +1862,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/ban-user/from-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}: post: - operationId: PostBanUserFromComment + operationId: postBanUserFromComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -1929,13 +1936,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -1959,10 +1959,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/ban-users/from-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}: get: - operationId: GetBanUsersFromComment + operationId: getBanUsersFromComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -1970,13 +1977,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2000,14 +2000,14 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/ban-user/undo: + /auth/my-account/moderate-comments/mod_api/ban-user/undo: post: - operationId: PostBanUserUndo + operationId: postBanUserUndo parameters: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -2040,10 +2040,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/remove-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}: post: - operationId: PostRemoveComment + operationId: postRemoveComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2058,13 +2065,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2077,7 +2077,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PostRemoveCommentResponse" + $ref: "#/components/schemas/PostRemoveCommentApiResponse" description: Ok default: content: @@ -2088,10 +2088,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/restore-deleted-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}: post: - operationId: PostRestoreDeletedComment + operationId: postRestoreDeletedComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2106,13 +2113,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2136,10 +2136,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/flag-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}: post: - operationId: PostFlagComment + operationId: postFlagComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2154,13 +2161,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2184,10 +2184,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/un-flag-comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}: post: - operationId: PostUnFlagComment + operationId: postUnFlagComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2202,13 +2209,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2232,10 +2232,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/set-comment-review-status/{commentId}: + /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}: post: - operationId: PostSetCommentReviewStatus + operationId: postSetCommentReviewStatus parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2257,13 +2264,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2287,10 +2287,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/set-comment-spam-status/{commentId}: + /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}: post: - operationId: PostSetCommentSpamStatus + operationId: postSetCommentSpamStatus parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2319,13 +2326,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2349,10 +2349,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/set-comment-approval-status/{commentId}: + /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}: post: - operationId: PostSetCommentApprovalStatus + operationId: postSetCommentApprovalStatus parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2374,13 +2381,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2404,10 +2404,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/logs/{commentId}: + /auth/my-account/moderate-comments/mod_api/logs/{commentId}: get: - operationId: GetLogs + operationId: getLogs parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2415,13 +2422,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2445,10 +2445,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/comment/{commentId}: + /auth/my-account/moderate-comments/mod_api/comment/{commentId}: get: - operationId: GetModerationComment + operationId: getModerationComment parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2470,13 +2477,6 @@ paths: schema: type: boolean style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2500,14 +2500,14 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/comments-by-ids: + /auth/my-account/moderate-comments/mod_api/comments-by-ids: post: - operationId: PostCommentsByIds + operationId: postCommentsByIds parameters: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -2540,10 +2540,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/comment-children/{commentId}: + /auth/my-account/moderate-comments/mod_api/comment-children/{commentId}: get: - operationId: GetCommentChildren + operationId: getCommentChildren parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2551,13 +2558,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2581,10 +2581,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-comment-text/{commentId}: + /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}: get: - operationId: GetModerationCommentText + operationId: getModerationCommentText parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2592,13 +2599,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2622,10 +2622,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/set-comment-text/{commentId}: + /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}: post: - operationId: PostSetCommentText + operationId: postSetCommentText parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2640,13 +2647,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2676,10 +2676,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/adjust-comment-votes/{commentId}: + /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}: post: - operationId: PostAdjustCommentVotes + operationId: postAdjustCommentVotes parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2694,13 +2701,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2730,10 +2730,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/vote/{commentId}: + /auth/my-account/moderate-comments/mod_api/vote/{commentId}: post: - operationId: PostVote + operationId: postVote parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2755,13 +2762,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2785,10 +2785,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/vote/{commentId}/{voteId}: + /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}: delete: - operationId: DeleteModerationVote + operationId: deleteModerationVote parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2810,13 +2817,6 @@ paths: schema: type: string style: form - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2840,10 +2840,17 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-comment-ban-status/{commentId}: + /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}: get: - operationId: GetCommentBanStatus + operationId: getCommentBanStatus parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: commentId @@ -2851,13 +2858,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form - explode: true in: query name: sso @@ -2881,14 +2881,14 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/user-ban-preference: + /auth/my-account/moderate-comments/mod_api/user-ban-preference: get: - operationId: GetUserBanPreference + operationId: getUserBanPreference parameters: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -2915,14 +2915,14 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-manual-badges: + /auth/my-account/moderate-comments/mod_api/get-manual-badges: get: - operationId: GetManualBadges + operationId: getManualBadges parameters: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -2949,27 +2949,27 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-manual-badges-for-user: + /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user: get: - operationId: GetManualBadgesForUser + operationId: getManualBadgesForUser parameters: - explode: true in: query - name: badgesUserId - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: commentId + name: badgesUserId required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: commentId required: false schema: type: string @@ -2997,41 +2997,41 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/award-badge: + /auth/my-account/moderate-comments/mod_api/award-badge: put: - operationId: PutAwardBadge + operationId: putAwardBadge parameters: - explode: true in: query - name: badgeId + name: tenantId required: true schema: type: string style: form - explode: true in: query - name: userId - required: false + name: badgeId + required: true schema: type: string style: form - explode: true in: query - name: commentId + name: userId required: false schema: type: string style: form - explode: true in: query - name: broadcastId + name: commentId required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: broadcastId required: false schema: type: string @@ -3059,41 +3059,41 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/remove-badge: + /auth/my-account/moderate-comments/mod_api/remove-badge: put: - operationId: PutRemoveBadge + operationId: putRemoveBadge parameters: - explode: true in: query - name: badgeId + name: tenantId required: true schema: type: string style: form - explode: true in: query - name: userId - required: false + name: badgeId + required: true schema: type: string style: form - explode: true in: query - name: commentId + name: userId required: false schema: type: string style: form - explode: true in: query - name: broadcastId + name: commentId required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: broadcastId required: false schema: type: string @@ -3121,20 +3121,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-trust-factor: + /auth/my-account/moderate-comments/mod_api/get-trust-factor: get: - operationId: GetTrustFactor + operationId: getTrustFactor parameters: - explode: true in: query - name: userId - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: userId required: false schema: type: string @@ -3162,27 +3162,27 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/set-trust-factor: + /auth/my-account/moderate-comments/mod_api/set-trust-factor: put: - operationId: SetTrustFactor + operationId: setTrustFactor parameters: - explode: true in: query - name: userId - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: trustFactor + name: userId required: false schema: type: string style: form - explode: true in: query - name: tenantId + name: trustFactor required: false schema: type: string @@ -3210,20 +3210,20 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/get-user-internal-profile: + /auth/my-account/moderate-comments/mod_api/get-user-internal-profile: get: - operationId: GetUserInternalProfile + operationId: getUserInternalProfile parameters: - explode: true in: query - name: commentId - required: false + name: tenantId + required: true schema: type: string style: form - explode: true in: query - name: tenantId + name: commentId required: false schema: type: string @@ -3251,21 +3251,21 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/reopen-thread: + /auth/my-account/moderate-comments/mod_api/reopen-thread: put: - operationId: PutReopenThread + operationId: putReopenThread parameters: - explode: true in: query - name: urlId + name: tenantId required: true schema: type: string style: form - explode: true in: query - name: tenantId - required: false + name: urlId + required: true schema: type: string style: form @@ -3292,21 +3292,21 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/close-thread: + /auth/my-account/moderate-comments/mod_api/close-thread: put: - operationId: PutCloseThread + operationId: putCloseThread parameters: - explode: true in: query - name: urlId + name: tenantId required: true schema: type: string style: form - explode: true in: query - name: tenantId - required: false + name: urlId + required: true schema: type: string style: form @@ -3333,14 +3333,14 @@ paths: security: [] tags: - Moderation - /auth/my-account/moderate-comments/banned-users/counts: + /auth/my-account/moderate-comments/banned-users/mod_api/counts: get: - operationId: GetCounts + operationId: getCounts parameters: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -8263,7 +8263,7 @@ paths: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -8295,7 +8295,7 @@ paths: - explode: true in: query name: tenantId - required: false + required: true schema: type: string style: form @@ -8324,6 +8324,13 @@ paths: delete: operationId: DeleteHashTag parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: tag @@ -8331,13 +8338,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form requestBody: content: application/json: @@ -8362,6 +8362,13 @@ paths: patch: operationId: PatchHashTag parameters: + - explode: true + in: query + name: tenantId + required: true + schema: + type: string + style: form - explode: false in: path name: tag @@ -8369,13 +8376,6 @@ paths: schema: type: string style: simple - - explode: true - in: query - name: tenantId - required: false - schema: - type: string - style: form requestBody: content: application/json: @@ -25446,11 +25446,11 @@ components: required: - file type: object - PostRemoveCommentResponse: + PostRemoveCommentApiResponse: anyOf: - $ref: "#/components/schemas/DeleteCommentResult" - $ref: "#/components/schemas/RemoveCommentActionResponse" - title: PostRemoveCommentResponse + title: PostRemoveCommentApiResponse GetGifsTrendingResponse: anyOf: - $ref: "#/components/schemas/GifSearchResponse" diff --git a/client/api_default.go b/client/api_default.go index 9f91816..6bbd094 100644 --- a/client/api_default.go +++ b/client/api_default.go @@ -211,10 +211,11 @@ func (a *DefaultAPIService) AddHashTagExecute(r ApiAddHashTagRequest) (*CreateHa localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} @@ -347,10 +348,11 @@ func (a *DefaultAPIService) AddHashTagsBulkExecute(r ApiAddHashTagsBulkRequest) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} @@ -4005,8 +4007,8 @@ func (a *DefaultAPIService) DeleteEmailTemplateRenderErrorExecute(r ApiDeleteEma type ApiDeleteHashTagRequest struct { ctx context.Context ApiService *DefaultAPIService - tag string tenantId *string + tag string deleteHashTagRequestBody *DeleteHashTagRequestBody } @@ -4060,10 +4062,11 @@ func (a *DefaultAPIService) DeleteHashTagExecute(r ApiDeleteHashTagRequest) (*AP localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} @@ -12830,8 +12833,8 @@ func (a *DefaultAPIService) PatchDomainConfigExecute(r ApiPatchDomainConfigReque type ApiPatchHashTagRequest struct { ctx context.Context ApiService *DefaultAPIService - tag string tenantId *string + tag string updateHashTagBody *UpdateHashTagBody } @@ -12885,10 +12888,11 @@ func (a *DefaultAPIService) PatchHashTagExecute(r ApiPatchHashTagRequest) (*Upda localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") // to determine the Content-Type header localVarHTTPContentTypes := []string{"application/json"} diff --git a/client/api_moderation.go b/client/api_moderation.go index ee621f6..697b56f 100644 --- a/client/api_moderation.go +++ b/client/api_moderation.go @@ -26,20 +26,20 @@ type ModerationAPIService service type ApiDeleteModerationVoteRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string voteId string broadcastId *string - tenantId *string sso *string } -func (r ApiDeleteModerationVoteRequest) BroadcastId(broadcastId string) ApiDeleteModerationVoteRequest { - r.broadcastId = &broadcastId +func (r ApiDeleteModerationVoteRequest) TenantId(tenantId string) ApiDeleteModerationVoteRequest { + r.tenantId = &tenantId return r } -func (r ApiDeleteModerationVoteRequest) TenantId(tenantId string) ApiDeleteModerationVoteRequest { - r.tenantId = &tenantId +func (r ApiDeleteModerationVoteRequest) BroadcastId(broadcastId string) ApiDeleteModerationVoteRequest { + r.broadcastId = &broadcastId return r } @@ -84,20 +84,21 @@ func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModeration return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarPath = strings.Replace(localVarPath, "{"+"voteId"+"}", url.PathEscape(parameterValueToString(r.voteId, "voteId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -166,6 +167,7 @@ func (a *ModerationAPIService) DeleteModerationVoteExecute(r ApiDeleteModeration type ApiGetApiCommentsRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string page *float64 count *float64 textSearch *string @@ -174,10 +176,14 @@ type ApiGetApiCommentsRequest struct { searchFilters *string sorts *string demo *bool - tenantId *string sso *string } +func (r ApiGetApiCommentsRequest) TenantId(tenantId string) ApiGetApiCommentsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetApiCommentsRequest) Page(page float64) ApiGetApiCommentsRequest { r.page = &page return r @@ -218,11 +224,6 @@ func (r ApiGetApiCommentsRequest) Demo(demo bool) ApiGetApiCommentsRequest { return r } -func (r ApiGetApiCommentsRequest) TenantId(tenantId string) ApiGetApiCommentsRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetApiCommentsRequest) Sso(sso string) ApiGetApiCommentsRequest { r.sso = &sso return r @@ -260,12 +261,16 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/api/comments" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/api/comments" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.page != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "form", "") } @@ -290,9 +295,6 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -361,18 +363,18 @@ func (a *ModerationAPIService) GetApiCommentsExecute(r ApiGetApiCommentsRequest) type ApiGetApiExportStatusRequest struct { ctx context.Context ApiService *ModerationAPIService - batchJobId *string tenantId *string + batchJobId *string sso *string } -func (r ApiGetApiExportStatusRequest) BatchJobId(batchJobId string) ApiGetApiExportStatusRequest { - r.batchJobId = &batchJobId +func (r ApiGetApiExportStatusRequest) TenantId(tenantId string) ApiGetApiExportStatusRequest { + r.tenantId = &tenantId return r } -func (r ApiGetApiExportStatusRequest) TenantId(tenantId string) ApiGetApiExportStatusRequest { - r.tenantId = &tenantId +func (r ApiGetApiExportStatusRequest) BatchJobId(batchJobId string) ApiGetApiExportStatusRequest { + r.batchJobId = &batchJobId return r } @@ -413,18 +415,19 @@ func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatus return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/api/export/status" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/api/export/status" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.batchJobId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "batchJobId", r.batchJobId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -493,16 +496,21 @@ func (a *ModerationAPIService) GetApiExportStatusExecute(r ApiGetApiExportStatus type ApiGetApiIdsRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string textSearch *string byIPFromComment *string filters *string searchFilters *string afterId *string demo *bool - tenantId *string sso *string } +func (r ApiGetApiIdsRequest) TenantId(tenantId string) ApiGetApiIdsRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetApiIdsRequest) TextSearch(textSearch string) ApiGetApiIdsRequest { r.textSearch = &textSearch return r @@ -533,11 +541,6 @@ func (r ApiGetApiIdsRequest) Demo(demo bool) ApiGetApiIdsRequest { return r } -func (r ApiGetApiIdsRequest) TenantId(tenantId string) ApiGetApiIdsRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetApiIdsRequest) Sso(sso string) ApiGetApiIdsRequest { r.sso = &sso return r @@ -575,12 +578,16 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*Moderat return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/api/ids" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/api/ids" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.textSearch != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "text-search", r.textSearch, "form", "") } @@ -599,9 +606,6 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*Moderat if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -670,8 +674,8 @@ func (a *ModerationAPIService) GetApiIdsExecute(r ApiGetApiIdsRequest) (*Moderat type ApiGetBanUsersFromCommentRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId string tenantId *string + commentId string sso *string } @@ -719,16 +723,17 @@ func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFro return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -797,8 +802,8 @@ func (a *ModerationAPIService) GetBanUsersFromCommentExecute(r ApiGetBanUsersFro type ApiGetCommentBanStatusRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId string tenantId *string + commentId string sso *string } @@ -846,16 +851,17 @@ func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStat return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -924,8 +930,8 @@ func (a *ModerationAPIService) GetCommentBanStatusExecute(r ApiGetCommentBanStat type ApiGetCommentChildrenRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId string tenantId *string + commentId string sso *string } @@ -973,16 +979,17 @@ func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildren return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/comment-children/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1051,15 +1058,20 @@ func (a *ModerationAPIService) GetCommentChildrenExecute(r ApiGetCommentChildren type ApiGetCountRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string textSearch *string byIPFromComment *string filter *string searchFilters *string demo *bool - tenantId *string sso *string } +func (r ApiGetCountRequest) TenantId(tenantId string) ApiGetCountRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetCountRequest) TextSearch(textSearch string) ApiGetCountRequest { r.textSearch = &textSearch return r @@ -1085,11 +1097,6 @@ func (r ApiGetCountRequest) Demo(demo bool) ApiGetCountRequest { return r } -func (r ApiGetCountRequest) TenantId(tenantId string) ApiGetCountRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetCountRequest) Sso(sso string) ApiGetCountRequest { r.sso = &sso return r @@ -1127,12 +1134,16 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*Moderatio return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/count" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/count" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.textSearch != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "text-search", r.textSearch, "form", "") } @@ -1148,9 +1159,6 @@ func (a *ModerationAPIService) GetCountExecute(r ApiGetCountRequest) (*Moderatio if r.demo != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "demo", r.demo, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1265,15 +1273,16 @@ func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBann return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/banned-users/counts" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/banned-users/mod_api/counts" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1342,8 +1351,8 @@ func (a *ModerationAPIService) GetCountsExecute(r ApiGetCountsRequest) (*GetBann type ApiGetLogsRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId string tenantId *string + commentId string sso *string } @@ -1391,16 +1400,17 @@ func (a *ModerationAPIService) GetLogsExecute(r ApiGetLogsRequest) (*ModerationA return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/logs/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/logs/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1515,15 +1525,16 @@ func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesReques return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-manual-badges" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-manual-badges" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1592,12 +1603,17 @@ func (a *ModerationAPIService) GetManualBadgesExecute(r ApiGetManualBadgesReques type ApiGetManualBadgesForUserRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string badgesUserId *string commentId *string - tenantId *string sso *string } +func (r ApiGetManualBadgesForUserRequest) TenantId(tenantId string) ApiGetManualBadgesForUserRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetManualBadgesForUserRequest) BadgesUserId(badgesUserId string) ApiGetManualBadgesForUserRequest { r.badgesUserId = &badgesUserId return r @@ -1608,11 +1624,6 @@ func (r ApiGetManualBadgesForUserRequest) CommentId(commentId string) ApiGetManu return r } -func (r ApiGetManualBadgesForUserRequest) TenantId(tenantId string) ApiGetManualBadgesForUserRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetManualBadgesForUserRequest) Sso(sso string) ApiGetManualBadgesForUserRequest { r.sso = &sso return r @@ -1650,21 +1661,22 @@ func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadge return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-manual-badges-for-user" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.badgesUserId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "badgesUserId", r.badgesUserId, "form", "") } if r.commentId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "commentId", r.commentId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1733,13 +1745,18 @@ func (a *ModerationAPIService) GetManualBadgesForUserExecute(r ApiGetManualBadge type ApiGetModerationCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string includeEmail *bool includeIP *bool - tenantId *string sso *string } +func (r ApiGetModerationCommentRequest) TenantId(tenantId string) ApiGetModerationCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetModerationCommentRequest) IncludeEmail(includeEmail bool) ApiGetModerationCommentRequest { r.includeEmail = &includeEmail return r @@ -1750,11 +1767,6 @@ func (r ApiGetModerationCommentRequest) IncludeIP(includeIP bool) ApiGetModerati return r } -func (r ApiGetModerationCommentRequest) TenantId(tenantId string) ApiGetModerationCommentRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetModerationCommentRequest) Sso(sso string) ApiGetModerationCommentRequest { r.sso = &sso return r @@ -1794,22 +1806,23 @@ func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCom return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.includeEmail != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeEmail", r.includeEmail, "form", "") } if r.includeIP != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeIP", r.includeIP, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -1878,8 +1891,8 @@ func (a *ModerationAPIService) GetModerationCommentExecute(r ApiGetModerationCom type ApiGetModerationCommentTextRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId string tenantId *string + commentId string sso *string } @@ -1927,16 +1940,17 @@ func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModeratio return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-comment-text/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2005,14 +2019,19 @@ func (a *ModerationAPIService) GetModerationCommentTextExecute(r ApiGetModeratio type ApiGetPreBanSummaryRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string includeByUserIdAndEmail *bool includeByIP *bool includeByEmailDomain *bool - tenantId *string sso *string } +func (r ApiGetPreBanSummaryRequest) TenantId(tenantId string) ApiGetPreBanSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetPreBanSummaryRequest) IncludeByUserIdAndEmail(includeByUserIdAndEmail bool) ApiGetPreBanSummaryRequest { r.includeByUserIdAndEmail = &includeByUserIdAndEmail return r @@ -2028,11 +2047,6 @@ func (r ApiGetPreBanSummaryRequest) IncludeByEmailDomain(includeByEmailDomain bo return r } -func (r ApiGetPreBanSummaryRequest) TenantId(tenantId string) ApiGetPreBanSummaryRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetPreBanSummaryRequest) Sso(sso string) ApiGetPreBanSummaryRequest { r.sso = &sso return r @@ -2072,13 +2086,17 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.includeByUserIdAndEmail != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByUserIdAndEmail", r.includeByUserIdAndEmail, "form", "") } @@ -2088,9 +2106,6 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ if r.includeByEmailDomain != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByEmailDomain", r.includeByEmailDomain, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2159,13 +2174,18 @@ func (a *ModerationAPIService) GetPreBanSummaryExecute(r ApiGetPreBanSummaryRequ type ApiGetSearchCommentsSummaryRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string value *string filters *string searchFilters *string - tenantId *string sso *string } +func (r ApiGetSearchCommentsSummaryRequest) TenantId(tenantId string) ApiGetSearchCommentsSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiGetSearchCommentsSummaryRequest) Value(value string) ApiGetSearchCommentsSummaryRequest { r.value = &value return r @@ -2181,11 +2201,6 @@ func (r ApiGetSearchCommentsSummaryRequest) SearchFilters(searchFilters string) return r } -func (r ApiGetSearchCommentsSummaryRequest) TenantId(tenantId string) ApiGetSearchCommentsSummaryRequest { - r.tenantId = &tenantId - return r -} - func (r ApiGetSearchCommentsSummaryRequest) Sso(sso string) ApiGetSearchCommentsSummaryRequest { r.sso = &sso return r @@ -2223,12 +2238,16 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/search/comments/summary" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/search/comments/summary" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } @@ -2238,9 +2257,6 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom if r.searchFilters != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "searchFilters", r.searchFilters, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2309,18 +2325,18 @@ func (a *ModerationAPIService) GetSearchCommentsSummaryExecute(r ApiGetSearchCom type ApiGetSearchPagesRequest struct { ctx context.Context ApiService *ModerationAPIService - value *string tenantId *string + value *string sso *string } -func (r ApiGetSearchPagesRequest) Value(value string) ApiGetSearchPagesRequest { - r.value = &value +func (r ApiGetSearchPagesRequest) TenantId(tenantId string) ApiGetSearchPagesRequest { + r.tenantId = &tenantId return r } -func (r ApiGetSearchPagesRequest) TenantId(tenantId string) ApiGetSearchPagesRequest { - r.tenantId = &tenantId +func (r ApiGetSearchPagesRequest) Value(value string) ApiGetSearchPagesRequest { + r.value = &value return r } @@ -2361,18 +2377,19 @@ func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/search/pages" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/search/pages" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2441,18 +2458,18 @@ func (a *ModerationAPIService) GetSearchPagesExecute(r ApiGetSearchPagesRequest) type ApiGetSearchSitesRequest struct { ctx context.Context ApiService *ModerationAPIService - value *string tenantId *string + value *string sso *string } -func (r ApiGetSearchSitesRequest) Value(value string) ApiGetSearchSitesRequest { - r.value = &value +func (r ApiGetSearchSitesRequest) TenantId(tenantId string) ApiGetSearchSitesRequest { + r.tenantId = &tenantId return r } -func (r ApiGetSearchSitesRequest) TenantId(tenantId string) ApiGetSearchSitesRequest { - r.tenantId = &tenantId +func (r ApiGetSearchSitesRequest) Value(value string) ApiGetSearchSitesRequest { + r.value = &value return r } @@ -2493,18 +2510,19 @@ func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/search/sites" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/search/sites" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2573,18 +2591,18 @@ func (a *ModerationAPIService) GetSearchSitesExecute(r ApiGetSearchSitesRequest) type ApiGetSearchSuggestRequest struct { ctx context.Context ApiService *ModerationAPIService - textSearch *string tenantId *string + textSearch *string sso *string } -func (r ApiGetSearchSuggestRequest) TextSearch(textSearch string) ApiGetSearchSuggestRequest { - r.textSearch = &textSearch +func (r ApiGetSearchSuggestRequest) TenantId(tenantId string) ApiGetSearchSuggestRequest { + r.tenantId = &tenantId return r } -func (r ApiGetSearchSuggestRequest) TenantId(tenantId string) ApiGetSearchSuggestRequest { - r.tenantId = &tenantId +func (r ApiGetSearchSuggestRequest) TextSearch(textSearch string) ApiGetSearchSuggestRequest { + r.textSearch = &textSearch return r } @@ -2625,18 +2643,19 @@ func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/search/suggest" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/search/suggest" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.textSearch != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "text-search", r.textSearch, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2705,18 +2724,18 @@ func (a *ModerationAPIService) GetSearchSuggestExecute(r ApiGetSearchSuggestRequ type ApiGetSearchUsersRequest struct { ctx context.Context ApiService *ModerationAPIService - value *string tenantId *string + value *string sso *string } -func (r ApiGetSearchUsersRequest) Value(value string) ApiGetSearchUsersRequest { - r.value = &value +func (r ApiGetSearchUsersRequest) TenantId(tenantId string) ApiGetSearchUsersRequest { + r.tenantId = &tenantId return r } -func (r ApiGetSearchUsersRequest) TenantId(tenantId string) ApiGetSearchUsersRequest { - r.tenantId = &tenantId +func (r ApiGetSearchUsersRequest) Value(value string) ApiGetSearchUsersRequest { + r.value = &value return r } @@ -2757,18 +2776,19 @@ func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/search/users" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/search/users" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.value != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "value", r.value, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -2837,18 +2857,18 @@ func (a *ModerationAPIService) GetSearchUsersExecute(r ApiGetSearchUsersRequest) type ApiGetTrustFactorRequest struct { ctx context.Context ApiService *ModerationAPIService - userId *string tenantId *string + userId *string sso *string } -func (r ApiGetTrustFactorRequest) UserId(userId string) ApiGetTrustFactorRequest { - r.userId = &userId +func (r ApiGetTrustFactorRequest) TenantId(tenantId string) ApiGetTrustFactorRequest { + r.tenantId = &tenantId return r } -func (r ApiGetTrustFactorRequest) TenantId(tenantId string) ApiGetTrustFactorRequest { - r.tenantId = &tenantId +func (r ApiGetTrustFactorRequest) UserId(userId string) ApiGetTrustFactorRequest { + r.userId = &userId return r } @@ -2889,18 +2909,19 @@ func (a *ModerationAPIService) GetTrustFactorExecute(r ApiGetTrustFactorRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-trust-factor" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-trust-factor" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.userId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "userId", r.userId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3015,15 +3036,16 @@ func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPrefer return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/user-ban-preference" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/user-ban-preference" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") } + + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3092,18 +3114,18 @@ func (a *ModerationAPIService) GetUserBanPreferenceExecute(r ApiGetUserBanPrefer type ApiGetUserInternalProfileRequest struct { ctx context.Context ApiService *ModerationAPIService - commentId *string tenantId *string + commentId *string sso *string } -func (r ApiGetUserInternalProfileRequest) CommentId(commentId string) ApiGetUserInternalProfileRequest { - r.commentId = &commentId +func (r ApiGetUserInternalProfileRequest) TenantId(tenantId string) ApiGetUserInternalProfileRequest { + r.tenantId = &tenantId return r } -func (r ApiGetUserInternalProfileRequest) TenantId(tenantId string) ApiGetUserInternalProfileRequest { - r.tenantId = &tenantId +func (r ApiGetUserInternalProfileRequest) CommentId(commentId string) ApiGetUserInternalProfileRequest { + r.commentId = &commentId return r } @@ -3144,18 +3166,19 @@ func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInterna return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/get-user-internal-profile" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/get-user-internal-profile" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.commentId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "commentId", r.commentId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3224,13 +3247,18 @@ func (a *ModerationAPIService) GetUserInternalProfileExecute(r ApiGetUserInterna type ApiPostAdjustCommentVotesRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string adjustCommentVotesParams *AdjustCommentVotesParams broadcastId *string - tenantId *string sso *string } +func (r ApiPostAdjustCommentVotesRequest) TenantId(tenantId string) ApiPostAdjustCommentVotesRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostAdjustCommentVotesRequest) AdjustCommentVotesParams(adjustCommentVotesParams AdjustCommentVotesParams) ApiPostAdjustCommentVotesRequest { r.adjustCommentVotesParams = &adjustCommentVotesParams return r @@ -3241,11 +3269,6 @@ func (r ApiPostAdjustCommentVotesRequest) BroadcastId(broadcastId string) ApiPos return r } -func (r ApiPostAdjustCommentVotesRequest) TenantId(tenantId string) ApiPostAdjustCommentVotesRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostAdjustCommentVotesRequest) Sso(sso string) ApiPostAdjustCommentVotesRequest { r.sso = &sso return r @@ -3285,22 +3308,23 @@ func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustComm return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.adjustCommentVotesParams == nil { return localVarReturnValue, nil, reportError("adjustCommentVotesParams is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3371,15 +3395,20 @@ func (a *ModerationAPIService) PostAdjustCommentVotesExecute(r ApiPostAdjustComm type ApiPostApiExportRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string textSearch *string byIPFromComment *string filters *string searchFilters *string sorts *string - tenantId *string sso *string } +func (r ApiPostApiExportRequest) TenantId(tenantId string) ApiPostApiExportRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostApiExportRequest) TextSearch(textSearch string) ApiPostApiExportRequest { r.textSearch = &textSearch return r @@ -3405,11 +3434,6 @@ func (r ApiPostApiExportRequest) Sorts(sorts string) ApiPostApiExportRequest { return r } -func (r ApiPostApiExportRequest) TenantId(tenantId string) ApiPostApiExportRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostApiExportRequest) Sso(sso string) ApiPostApiExportRequest { r.sso = &sso return r @@ -3447,12 +3471,16 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/api/export" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/api/export" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.textSearch != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "text-search", r.textSearch, "form", "") } @@ -3468,9 +3496,6 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( if r.sorts != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sorts", r.sorts, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3539,6 +3564,7 @@ func (a *ModerationAPIService) PostApiExportExecute(r ApiPostApiExportRequest) ( type ApiPostBanUserFromCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string banEmail *bool banEmailDomain *bool @@ -3548,10 +3574,14 @@ type ApiPostBanUserFromCommentRequest struct { isShadowBan *bool updateId *string banReason *string - tenantId *string sso *string } +func (r ApiPostBanUserFromCommentRequest) TenantId(tenantId string) ApiPostBanUserFromCommentRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostBanUserFromCommentRequest) BanEmail(banEmail bool) ApiPostBanUserFromCommentRequest { r.banEmail = &banEmail return r @@ -3592,11 +3622,6 @@ func (r ApiPostBanUserFromCommentRequest) BanReason(banReason string) ApiPostBan return r } -func (r ApiPostBanUserFromCommentRequest) TenantId(tenantId string) ApiPostBanUserFromCommentRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostBanUserFromCommentRequest) Sso(sso string) ApiPostBanUserFromCommentRequest { r.sso = &sso return r @@ -3636,13 +3661,17 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.banEmail != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "banEmail", r.banEmail, "form", "") } @@ -3667,9 +3696,6 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro if r.banReason != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "banReason", r.banReason, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3738,18 +3764,18 @@ func (a *ModerationAPIService) PostBanUserFromCommentExecute(r ApiPostBanUserFro type ApiPostBanUserUndoRequest struct { ctx context.Context ApiService *ModerationAPIService - banUserUndoParams *BanUserUndoParams tenantId *string + banUserUndoParams *BanUserUndoParams sso *string } -func (r ApiPostBanUserUndoRequest) BanUserUndoParams(banUserUndoParams BanUserUndoParams) ApiPostBanUserUndoRequest { - r.banUserUndoParams = &banUserUndoParams +func (r ApiPostBanUserUndoRequest) TenantId(tenantId string) ApiPostBanUserUndoRequest { + r.tenantId = &tenantId return r } -func (r ApiPostBanUserUndoRequest) TenantId(tenantId string) ApiPostBanUserUndoRequest { - r.tenantId = &tenantId +func (r ApiPostBanUserUndoRequest) BanUserUndoParams(banUserUndoParams BanUserUndoParams) ApiPostBanUserUndoRequest { + r.banUserUndoParams = &banUserUndoParams return r } @@ -3790,18 +3816,19 @@ func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoReques return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/ban-user/undo" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/ban-user/undo" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.banUserUndoParams == nil { return localVarReturnValue, nil, reportError("banUserUndoParams is required and must be specified") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -3872,14 +3899,19 @@ func (a *ModerationAPIService) PostBanUserUndoExecute(r ApiPostBanUserUndoReques type ApiPostBulkPreBanSummaryRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string bulkPreBanParams *BulkPreBanParams includeByUserIdAndEmail *bool includeByIP *bool includeByEmailDomain *bool - tenantId *string sso *string } +func (r ApiPostBulkPreBanSummaryRequest) TenantId(tenantId string) ApiPostBulkPreBanSummaryRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostBulkPreBanSummaryRequest) BulkPreBanParams(bulkPreBanParams BulkPreBanParams) ApiPostBulkPreBanSummaryRequest { r.bulkPreBanParams = &bulkPreBanParams return r @@ -3900,11 +3932,6 @@ func (r ApiPostBulkPreBanSummaryRequest) IncludeByEmailDomain(includeByEmailDoma return r } -func (r ApiPostBulkPreBanSummaryRequest) TenantId(tenantId string) ApiPostBulkPreBanSummaryRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostBulkPreBanSummaryRequest) Sso(sso string) ApiPostBulkPreBanSummaryRequest { r.sso = &sso return r @@ -3942,15 +3969,19 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/bulk-pre-ban-summary" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.bulkPreBanParams == nil { return localVarReturnValue, nil, reportError("bulkPreBanParams is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.includeByUserIdAndEmail != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByUserIdAndEmail", r.includeByUserIdAndEmail, "form", "") } @@ -3960,9 +3991,6 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS if r.includeByEmailDomain != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "includeByEmailDomain", r.includeByEmailDomain, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4033,18 +4061,18 @@ func (a *ModerationAPIService) PostBulkPreBanSummaryExecute(r ApiPostBulkPreBanS type ApiPostCommentsByIdsRequest struct { ctx context.Context ApiService *ModerationAPIService - commentsByIdsParams *CommentsByIdsParams tenantId *string + commentsByIdsParams *CommentsByIdsParams sso *string } -func (r ApiPostCommentsByIdsRequest) CommentsByIdsParams(commentsByIdsParams CommentsByIdsParams) ApiPostCommentsByIdsRequest { - r.commentsByIdsParams = &commentsByIdsParams +func (r ApiPostCommentsByIdsRequest) TenantId(tenantId string) ApiPostCommentsByIdsRequest { + r.tenantId = &tenantId return r } -func (r ApiPostCommentsByIdsRequest) TenantId(tenantId string) ApiPostCommentsByIdsRequest { - r.tenantId = &tenantId +func (r ApiPostCommentsByIdsRequest) CommentsByIdsParams(commentsByIdsParams CommentsByIdsParams) ApiPostCommentsByIdsRequest { + r.commentsByIdsParams = &commentsByIdsParams return r } @@ -4085,18 +4113,19 @@ func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRe return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/comments-by-ids" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/comments-by-ids" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.commentsByIdsParams == nil { return localVarReturnValue, nil, reportError("commentsByIdsParams is required and must be specified") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4167,19 +4196,19 @@ func (a *ModerationAPIService) PostCommentsByIdsExecute(r ApiPostCommentsByIdsRe type ApiPostFlagCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string broadcastId *string - tenantId *string sso *string } -func (r ApiPostFlagCommentRequest) BroadcastId(broadcastId string) ApiPostFlagCommentRequest { - r.broadcastId = &broadcastId +func (r ApiPostFlagCommentRequest) TenantId(tenantId string) ApiPostFlagCommentRequest { + r.tenantId = &tenantId return r } -func (r ApiPostFlagCommentRequest) TenantId(tenantId string) ApiPostFlagCommentRequest { - r.tenantId = &tenantId +func (r ApiPostFlagCommentRequest) BroadcastId(broadcastId string) ApiPostFlagCommentRequest { + r.broadcastId = &broadcastId return r } @@ -4222,19 +4251,20 @@ func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentReques return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/flag-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4303,19 +4333,19 @@ func (a *ModerationAPIService) PostFlagCommentExecute(r ApiPostFlagCommentReques type ApiPostRemoveCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string broadcastId *string - tenantId *string sso *string } -func (r ApiPostRemoveCommentRequest) BroadcastId(broadcastId string) ApiPostRemoveCommentRequest { - r.broadcastId = &broadcastId +func (r ApiPostRemoveCommentRequest) TenantId(tenantId string) ApiPostRemoveCommentRequest { + r.tenantId = &tenantId return r } -func (r ApiPostRemoveCommentRequest) TenantId(tenantId string) ApiPostRemoveCommentRequest { - r.tenantId = &tenantId +func (r ApiPostRemoveCommentRequest) BroadcastId(broadcastId string) ApiPostRemoveCommentRequest { + r.broadcastId = &broadcastId return r } @@ -4324,7 +4354,7 @@ func (r ApiPostRemoveCommentRequest) Sso(sso string) ApiPostRemoveCommentRequest return r } -func (r ApiPostRemoveCommentRequest) Execute() (*PostRemoveCommentResponse, *http.Response, error) { +func (r ApiPostRemoveCommentRequest) Execute() (*PostRemoveCommentApiResponse, *http.Response, error) { return r.ApiService.PostRemoveCommentExecute(r) } @@ -4344,13 +4374,13 @@ func (a *ModerationAPIService) PostRemoveComment(ctx context.Context, commentId } // Execute executes the request -// @return PostRemoveCommentResponse -func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRequest) (*PostRemoveCommentResponse, *http.Response, error) { +// @return PostRemoveCommentApiResponse +func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRequest) (*PostRemoveCommentApiResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PostRemoveCommentResponse + localVarReturnValue *PostRemoveCommentApiResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ModerationAPIService.PostRemoveComment") @@ -4358,19 +4388,20 @@ func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRe return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/remove-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4439,19 +4470,19 @@ func (a *ModerationAPIService) PostRemoveCommentExecute(r ApiPostRemoveCommentRe type ApiPostRestoreDeletedCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string broadcastId *string - tenantId *string sso *string } -func (r ApiPostRestoreDeletedCommentRequest) BroadcastId(broadcastId string) ApiPostRestoreDeletedCommentRequest { - r.broadcastId = &broadcastId +func (r ApiPostRestoreDeletedCommentRequest) TenantId(tenantId string) ApiPostRestoreDeletedCommentRequest { + r.tenantId = &tenantId return r } -func (r ApiPostRestoreDeletedCommentRequest) TenantId(tenantId string) ApiPostRestoreDeletedCommentRequest { - r.tenantId = &tenantId +func (r ApiPostRestoreDeletedCommentRequest) BroadcastId(broadcastId string) ApiPostRestoreDeletedCommentRequest { + r.broadcastId = &broadcastId return r } @@ -4494,19 +4525,20 @@ func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestore return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4575,13 +4607,18 @@ func (a *ModerationAPIService) PostRestoreDeletedCommentExecute(r ApiPostRestore type ApiPostSetCommentApprovalStatusRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string approved *bool broadcastId *string - tenantId *string sso *string } +func (r ApiPostSetCommentApprovalStatusRequest) TenantId(tenantId string) ApiPostSetCommentApprovalStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentApprovalStatusRequest) Approved(approved bool) ApiPostSetCommentApprovalStatusRequest { r.approved = &approved return r @@ -4592,11 +4629,6 @@ func (r ApiPostSetCommentApprovalStatusRequest) BroadcastId(broadcastId string) return r } -func (r ApiPostSetCommentApprovalStatusRequest) TenantId(tenantId string) ApiPostSetCommentApprovalStatusRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostSetCommentApprovalStatusRequest) Sso(sso string) ApiPostSetCommentApprovalStatusRequest { r.sso = &sso return r @@ -4636,22 +4668,23 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetC return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.approved != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "approved", r.approved, "form", "") } if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4720,13 +4753,18 @@ func (a *ModerationAPIService) PostSetCommentApprovalStatusExecute(r ApiPostSetC type ApiPostSetCommentReviewStatusRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string reviewed *bool broadcastId *string - tenantId *string sso *string } +func (r ApiPostSetCommentReviewStatusRequest) TenantId(tenantId string) ApiPostSetCommentReviewStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentReviewStatusRequest) Reviewed(reviewed bool) ApiPostSetCommentReviewStatusRequest { r.reviewed = &reviewed return r @@ -4737,11 +4775,6 @@ func (r ApiPostSetCommentReviewStatusRequest) BroadcastId(broadcastId string) Ap return r } -func (r ApiPostSetCommentReviewStatusRequest) TenantId(tenantId string) ApiPostSetCommentReviewStatusRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostSetCommentReviewStatusRequest) Sso(sso string) ApiPostSetCommentReviewStatusRequest { r.sso = &sso return r @@ -4781,22 +4814,23 @@ func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCom return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.reviewed != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "reviewed", r.reviewed, "form", "") } if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -4865,14 +4899,19 @@ func (a *ModerationAPIService) PostSetCommentReviewStatusExecute(r ApiPostSetCom type ApiPostSetCommentSpamStatusRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string spam *bool permNotSpam *bool broadcastId *string - tenantId *string sso *string } +func (r ApiPostSetCommentSpamStatusRequest) TenantId(tenantId string) ApiPostSetCommentSpamStatusRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentSpamStatusRequest) Spam(spam bool) ApiPostSetCommentSpamStatusRequest { r.spam = &spam return r @@ -4888,11 +4927,6 @@ func (r ApiPostSetCommentSpamStatusRequest) BroadcastId(broadcastId string) ApiP return r } -func (r ApiPostSetCommentSpamStatusRequest) TenantId(tenantId string) ApiPostSetCommentSpamStatusRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostSetCommentSpamStatusRequest) Sso(sso string) ApiPostSetCommentSpamStatusRequest { r.sso = &sso return r @@ -4932,13 +4966,17 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.spam != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "spam", r.spam, "form", "") } @@ -4948,9 +4986,6 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5019,13 +5054,18 @@ func (a *ModerationAPIService) PostSetCommentSpamStatusExecute(r ApiPostSetComme type ApiPostSetCommentTextRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string setCommentTextParams *SetCommentTextParams broadcastId *string - tenantId *string sso *string } +func (r ApiPostSetCommentTextRequest) TenantId(tenantId string) ApiPostSetCommentTextRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostSetCommentTextRequest) SetCommentTextParams(setCommentTextParams SetCommentTextParams) ApiPostSetCommentTextRequest { r.setCommentTextParams = &setCommentTextParams return r @@ -5036,11 +5076,6 @@ func (r ApiPostSetCommentTextRequest) BroadcastId(broadcastId string) ApiPostSet return r } -func (r ApiPostSetCommentTextRequest) TenantId(tenantId string) ApiPostSetCommentTextRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostSetCommentTextRequest) Sso(sso string) ApiPostSetCommentTextRequest { r.sso = &sso return r @@ -5080,22 +5115,23 @@ func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentText return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/set-comment-text/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.setCommentTextParams == nil { return localVarReturnValue, nil, reportError("setCommentTextParams is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5166,19 +5202,19 @@ func (a *ModerationAPIService) PostSetCommentTextExecute(r ApiPostSetCommentText type ApiPostUnFlagCommentRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string broadcastId *string - tenantId *string sso *string } -func (r ApiPostUnFlagCommentRequest) BroadcastId(broadcastId string) ApiPostUnFlagCommentRequest { - r.broadcastId = &broadcastId +func (r ApiPostUnFlagCommentRequest) TenantId(tenantId string) ApiPostUnFlagCommentRequest { + r.tenantId = &tenantId return r } -func (r ApiPostUnFlagCommentRequest) TenantId(tenantId string) ApiPostUnFlagCommentRequest { - r.tenantId = &tenantId +func (r ApiPostUnFlagCommentRequest) BroadcastId(broadcastId string) ApiPostUnFlagCommentRequest { + r.broadcastId = &broadcastId return r } @@ -5221,19 +5257,20 @@ func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRe return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/un-flag-comment/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5302,13 +5339,18 @@ func (a *ModerationAPIService) PostUnFlagCommentExecute(r ApiPostUnFlagCommentRe type ApiPostVoteRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string commentId string direction *string broadcastId *string - tenantId *string sso *string } +func (r ApiPostVoteRequest) TenantId(tenantId string) ApiPostVoteRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPostVoteRequest) Direction(direction string) ApiPostVoteRequest { r.direction = &direction return r @@ -5319,11 +5361,6 @@ func (r ApiPostVoteRequest) BroadcastId(broadcastId string) ApiPostVoteRequest { return r } -func (r ApiPostVoteRequest) TenantId(tenantId string) ApiPostVoteRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPostVoteRequest) Sso(sso string) ApiPostVoteRequest { r.sso = &sso return r @@ -5363,22 +5400,23 @@ func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteRespo return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/vote/{commentId}" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}" localVarPath = strings.Replace(localVarPath, "{"+"commentId"+"}", url.PathEscape(parameterValueToString(r.commentId, "commentId")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.direction != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "direction", r.direction, "form", "") } if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5447,14 +5485,19 @@ func (a *ModerationAPIService) PostVoteExecute(r ApiPostVoteRequest) (*VoteRespo type ApiPutAwardBadgeRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string badgeId *string userId *string commentId *string broadcastId *string - tenantId *string sso *string } +func (r ApiPutAwardBadgeRequest) TenantId(tenantId string) ApiPutAwardBadgeRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutAwardBadgeRequest) BadgeId(badgeId string) ApiPutAwardBadgeRequest { r.badgeId = &badgeId return r @@ -5475,11 +5518,6 @@ func (r ApiPutAwardBadgeRequest) BroadcastId(broadcastId string) ApiPutAwardBadg return r } -func (r ApiPutAwardBadgeRequest) TenantId(tenantId string) ApiPutAwardBadgeRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPutAwardBadgeRequest) Sso(sso string) ApiPutAwardBadgeRequest { r.sso = &sso return r @@ -5517,15 +5555,19 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/award-badge" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/award-badge" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.badgeId == nil { return localVarReturnValue, nil, reportError("badgeId is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") parameterAddToHeaderOrQuery(localVarQueryParams, "badgeId", r.badgeId, "form", "") if r.userId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "userId", r.userId, "form", "") @@ -5536,9 +5578,6 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5607,18 +5646,18 @@ func (a *ModerationAPIService) PutAwardBadgeExecute(r ApiPutAwardBadgeRequest) ( type ApiPutCloseThreadRequest struct { ctx context.Context ApiService *ModerationAPIService - urlId *string tenantId *string + urlId *string sso *string } -func (r ApiPutCloseThreadRequest) UrlId(urlId string) ApiPutCloseThreadRequest { - r.urlId = &urlId +func (r ApiPutCloseThreadRequest) TenantId(tenantId string) ApiPutCloseThreadRequest { + r.tenantId = &tenantId return r } -func (r ApiPutCloseThreadRequest) TenantId(tenantId string) ApiPutCloseThreadRequest { - r.tenantId = &tenantId +func (r ApiPutCloseThreadRequest) UrlId(urlId string) ApiPutCloseThreadRequest { + r.urlId = &urlId return r } @@ -5659,19 +5698,20 @@ func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/close-thread" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/close-thread" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.urlId == nil { return localVarReturnValue, nil, reportError("urlId is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") parameterAddToHeaderOrQuery(localVarQueryParams, "urlId", r.urlId, "form", "") - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5740,14 +5780,19 @@ func (a *ModerationAPIService) PutCloseThreadExecute(r ApiPutCloseThreadRequest) type ApiPutRemoveBadgeRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string badgeId *string userId *string commentId *string broadcastId *string - tenantId *string sso *string } +func (r ApiPutRemoveBadgeRequest) TenantId(tenantId string) ApiPutRemoveBadgeRequest { + r.tenantId = &tenantId + return r +} + func (r ApiPutRemoveBadgeRequest) BadgeId(badgeId string) ApiPutRemoveBadgeRequest { r.badgeId = &badgeId return r @@ -5768,11 +5813,6 @@ func (r ApiPutRemoveBadgeRequest) BroadcastId(broadcastId string) ApiPutRemoveBa return r } -func (r ApiPutRemoveBadgeRequest) TenantId(tenantId string) ApiPutRemoveBadgeRequest { - r.tenantId = &tenantId - return r -} - func (r ApiPutRemoveBadgeRequest) Sso(sso string) ApiPutRemoveBadgeRequest { r.sso = &sso return r @@ -5810,15 +5850,19 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/remove-badge" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/remove-badge" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.badgeId == nil { return localVarReturnValue, nil, reportError("badgeId is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") parameterAddToHeaderOrQuery(localVarQueryParams, "badgeId", r.badgeId, "form", "") if r.userId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "userId", r.userId, "form", "") @@ -5829,9 +5873,6 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) if r.broadcastId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "broadcastId", r.broadcastId, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -5900,18 +5941,18 @@ func (a *ModerationAPIService) PutRemoveBadgeExecute(r ApiPutRemoveBadgeRequest) type ApiPutReopenThreadRequest struct { ctx context.Context ApiService *ModerationAPIService - urlId *string tenantId *string + urlId *string sso *string } -func (r ApiPutReopenThreadRequest) UrlId(urlId string) ApiPutReopenThreadRequest { - r.urlId = &urlId +func (r ApiPutReopenThreadRequest) TenantId(tenantId string) ApiPutReopenThreadRequest { + r.tenantId = &tenantId return r } -func (r ApiPutReopenThreadRequest) TenantId(tenantId string) ApiPutReopenThreadRequest { - r.tenantId = &tenantId +func (r ApiPutReopenThreadRequest) UrlId(urlId string) ApiPutReopenThreadRequest { + r.urlId = &urlId return r } @@ -5952,19 +5993,20 @@ func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadReques return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/reopen-thread" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/reopen-thread" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } if r.urlId == nil { return localVarReturnValue, nil, reportError("urlId is required and must be specified") } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") parameterAddToHeaderOrQuery(localVarQueryParams, "urlId", r.urlId, "form", "") - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } @@ -6033,12 +6075,17 @@ func (a *ModerationAPIService) PutReopenThreadExecute(r ApiPutReopenThreadReques type ApiSetTrustFactorRequest struct { ctx context.Context ApiService *ModerationAPIService + tenantId *string userId *string trustFactor *string - tenantId *string sso *string } +func (r ApiSetTrustFactorRequest) TenantId(tenantId string) ApiSetTrustFactorRequest { + r.tenantId = &tenantId + return r +} + func (r ApiSetTrustFactorRequest) UserId(userId string) ApiSetTrustFactorRequest { r.userId = &userId return r @@ -6049,11 +6096,6 @@ func (r ApiSetTrustFactorRequest) TrustFactor(trustFactor string) ApiSetTrustFac return r } -func (r ApiSetTrustFactorRequest) TenantId(tenantId string) ApiSetTrustFactorRequest { - r.tenantId = &tenantId - return r -} - func (r ApiSetTrustFactorRequest) Sso(sso string) ApiSetTrustFactorRequest { r.sso = &sso return r @@ -6091,21 +6133,22 @@ func (a *ModerationAPIService) SetTrustFactorExecute(r ApiSetTrustFactorRequest) return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/auth/my-account/moderate-comments/set-trust-factor" + localVarPath := localBasePath + "/auth/my-account/moderate-comments/mod_api/set-trust-factor" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.tenantId == nil { + return localVarReturnValue, nil, reportError("tenantId is required and must be specified") + } + parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") if r.userId != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "userId", r.userId, "form", "") } if r.trustFactor != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "trustFactor", r.trustFactor, "form", "") } - if r.tenantId != nil { - parameterAddToHeaderOrQuery(localVarQueryParams, "tenantId", r.tenantId, "form", "") - } if r.sso != nil { parameterAddToHeaderOrQuery(localVarQueryParams, "sso", r.sso, "form", "") } diff --git a/client/docs/DefaultAPI.md b/client/docs/DefaultAPI.md index fdbe0e8..388ebf0 100644 --- a/client/docs/DefaultAPI.md +++ b/client/docs/DefaultAPI.md @@ -206,7 +206,7 @@ import ( ) func main() { - tenantId := "tenantId_example" // string | (optional) + tenantId := "tenantId_example" // string | createHashTagBody := *openapiclient.NewCreateHashTagBody("Tag_example") // CreateHashTagBody | (optional) configuration := openapiclient.NewConfiguration() @@ -272,7 +272,7 @@ import ( ) func main() { - tenantId := "tenantId_example" // string | (optional) + tenantId := "tenantId_example" // string | bulkCreateHashTagsBody := *openapiclient.NewBulkCreateHashTagsBody([]openapiclient.BulkCreateHashTagsBodyTagsInner{*openapiclient.NewBulkCreateHashTagsBodyTagsInner("Tag_example")}) // BulkCreateHashTagsBody | (optional) configuration := openapiclient.NewConfiguration() @@ -2014,8 +2014,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | tag := "tag_example" // string | - tenantId := "tenantId_example" // string | (optional) deleteHashTagRequestBody := *openapiclient.NewDeleteHashTagRequestBody() // DeleteHashTagRequestBody | (optional) configuration := openapiclient.NewConfiguration() @@ -2045,8 +2045,8 @@ Other parameters are passed through a pointer to a apiDeleteHashTagRequest struc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **deleteHashTagRequestBody** | [**DeleteHashTagRequestBody**](DeleteHashTagRequestBody.md) | | ### Return type @@ -6324,8 +6324,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | tag := "tag_example" // string | - tenantId := "tenantId_example" // string | (optional) updateHashTagBody := *openapiclient.NewUpdateHashTagBody() // UpdateHashTagBody | (optional) configuration := openapiclient.NewConfiguration() @@ -6355,8 +6355,8 @@ Other parameters are passed through a pointer to a apiPatchHashTagRequest struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **updateHashTagBody** | [**UpdateHashTagBody**](UpdateHashTagBody.md) | | ### Return type diff --git a/client/docs/ModerationAPI.md b/client/docs/ModerationAPI.md index 25001d9..ddd6c51 100644 --- a/client/docs/ModerationAPI.md +++ b/client/docs/ModerationAPI.md @@ -4,55 +4,55 @@ All URIs are relative to *https://fastcomments.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**DeleteModerationVote**](ModerationAPI.md#DeleteModerationVote) | **Delete** /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | -[**GetApiComments**](ModerationAPI.md#GetApiComments) | **Get** /auth/my-account/moderate-comments/api/comments | -[**GetApiExportStatus**](ModerationAPI.md#GetApiExportStatus) | **Get** /auth/my-account/moderate-comments/api/export/status | -[**GetApiIds**](ModerationAPI.md#GetApiIds) | **Get** /auth/my-account/moderate-comments/api/ids | -[**GetBanUsersFromComment**](ModerationAPI.md#GetBanUsersFromComment) | **Get** /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | -[**GetCommentBanStatus**](ModerationAPI.md#GetCommentBanStatus) | **Get** /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | -[**GetCommentChildren**](ModerationAPI.md#GetCommentChildren) | **Get** /auth/my-account/moderate-comments/comment-children/{commentId} | -[**GetCount**](ModerationAPI.md#GetCount) | **Get** /auth/my-account/moderate-comments/count | -[**GetCounts**](ModerationAPI.md#GetCounts) | **Get** /auth/my-account/moderate-comments/banned-users/counts | -[**GetLogs**](ModerationAPI.md#GetLogs) | **Get** /auth/my-account/moderate-comments/logs/{commentId} | -[**GetManualBadges**](ModerationAPI.md#GetManualBadges) | **Get** /auth/my-account/moderate-comments/get-manual-badges | -[**GetManualBadgesForUser**](ModerationAPI.md#GetManualBadgesForUser) | **Get** /auth/my-account/moderate-comments/get-manual-badges-for-user | -[**GetModerationComment**](ModerationAPI.md#GetModerationComment) | **Get** /auth/my-account/moderate-comments/comment/{commentId} | -[**GetModerationCommentText**](ModerationAPI.md#GetModerationCommentText) | **Get** /auth/my-account/moderate-comments/get-comment-text/{commentId} | -[**GetPreBanSummary**](ModerationAPI.md#GetPreBanSummary) | **Get** /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | -[**GetSearchCommentsSummary**](ModerationAPI.md#GetSearchCommentsSummary) | **Get** /auth/my-account/moderate-comments/search/comments/summary | -[**GetSearchPages**](ModerationAPI.md#GetSearchPages) | **Get** /auth/my-account/moderate-comments/search/pages | -[**GetSearchSites**](ModerationAPI.md#GetSearchSites) | **Get** /auth/my-account/moderate-comments/search/sites | -[**GetSearchSuggest**](ModerationAPI.md#GetSearchSuggest) | **Get** /auth/my-account/moderate-comments/search/suggest | -[**GetSearchUsers**](ModerationAPI.md#GetSearchUsers) | **Get** /auth/my-account/moderate-comments/search/users | -[**GetTrustFactor**](ModerationAPI.md#GetTrustFactor) | **Get** /auth/my-account/moderate-comments/get-trust-factor | -[**GetUserBanPreference**](ModerationAPI.md#GetUserBanPreference) | **Get** /auth/my-account/moderate-comments/user-ban-preference | -[**GetUserInternalProfile**](ModerationAPI.md#GetUserInternalProfile) | **Get** /auth/my-account/moderate-comments/get-user-internal-profile | -[**PostAdjustCommentVotes**](ModerationAPI.md#PostAdjustCommentVotes) | **Post** /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | -[**PostApiExport**](ModerationAPI.md#PostApiExport) | **Post** /auth/my-account/moderate-comments/api/export | -[**PostBanUserFromComment**](ModerationAPI.md#PostBanUserFromComment) | **Post** /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | -[**PostBanUserUndo**](ModerationAPI.md#PostBanUserUndo) | **Post** /auth/my-account/moderate-comments/ban-user/undo | -[**PostBulkPreBanSummary**](ModerationAPI.md#PostBulkPreBanSummary) | **Post** /auth/my-account/moderate-comments/bulk-pre-ban-summary | -[**PostCommentsByIds**](ModerationAPI.md#PostCommentsByIds) | **Post** /auth/my-account/moderate-comments/comments-by-ids | -[**PostFlagComment**](ModerationAPI.md#PostFlagComment) | **Post** /auth/my-account/moderate-comments/flag-comment/{commentId} | -[**PostRemoveComment**](ModerationAPI.md#PostRemoveComment) | **Post** /auth/my-account/moderate-comments/remove-comment/{commentId} | -[**PostRestoreDeletedComment**](ModerationAPI.md#PostRestoreDeletedComment) | **Post** /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | -[**PostSetCommentApprovalStatus**](ModerationAPI.md#PostSetCommentApprovalStatus) | **Post** /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | -[**PostSetCommentReviewStatus**](ModerationAPI.md#PostSetCommentReviewStatus) | **Post** /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | -[**PostSetCommentSpamStatus**](ModerationAPI.md#PostSetCommentSpamStatus) | **Post** /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | -[**PostSetCommentText**](ModerationAPI.md#PostSetCommentText) | **Post** /auth/my-account/moderate-comments/set-comment-text/{commentId} | -[**PostUnFlagComment**](ModerationAPI.md#PostUnFlagComment) | **Post** /auth/my-account/moderate-comments/un-flag-comment/{commentId} | -[**PostVote**](ModerationAPI.md#PostVote) | **Post** /auth/my-account/moderate-comments/vote/{commentId} | -[**PutAwardBadge**](ModerationAPI.md#PutAwardBadge) | **Put** /auth/my-account/moderate-comments/award-badge | -[**PutCloseThread**](ModerationAPI.md#PutCloseThread) | **Put** /auth/my-account/moderate-comments/close-thread | -[**PutRemoveBadge**](ModerationAPI.md#PutRemoveBadge) | **Put** /auth/my-account/moderate-comments/remove-badge | -[**PutReopenThread**](ModerationAPI.md#PutReopenThread) | **Put** /auth/my-account/moderate-comments/reopen-thread | -[**SetTrustFactor**](ModerationAPI.md#SetTrustFactor) | **Put** /auth/my-account/moderate-comments/set-trust-factor | +[**DeleteModerationVote**](ModerationAPI.md#DeleteModerationVote) | **Delete** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | +[**GetApiComments**](ModerationAPI.md#GetApiComments) | **Get** /auth/my-account/moderate-comments/mod_api/api/comments | +[**GetApiExportStatus**](ModerationAPI.md#GetApiExportStatus) | **Get** /auth/my-account/moderate-comments/mod_api/api/export/status | +[**GetApiIds**](ModerationAPI.md#GetApiIds) | **Get** /auth/my-account/moderate-comments/mod_api/api/ids | +[**GetBanUsersFromComment**](ModerationAPI.md#GetBanUsersFromComment) | **Get** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | +[**GetCommentBanStatus**](ModerationAPI.md#GetCommentBanStatus) | **Get** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | +[**GetCommentChildren**](ModerationAPI.md#GetCommentChildren) | **Get** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | +[**GetCount**](ModerationAPI.md#GetCount) | **Get** /auth/my-account/moderate-comments/mod_api/count | +[**GetCounts**](ModerationAPI.md#GetCounts) | **Get** /auth/my-account/moderate-comments/banned-users/mod_api/counts | +[**GetLogs**](ModerationAPI.md#GetLogs) | **Get** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | +[**GetManualBadges**](ModerationAPI.md#GetManualBadges) | **Get** /auth/my-account/moderate-comments/mod_api/get-manual-badges | +[**GetManualBadgesForUser**](ModerationAPI.md#GetManualBadgesForUser) | **Get** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | +[**GetModerationComment**](ModerationAPI.md#GetModerationComment) | **Get** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | +[**GetModerationCommentText**](ModerationAPI.md#GetModerationCommentText) | **Get** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | +[**GetPreBanSummary**](ModerationAPI.md#GetPreBanSummary) | **Get** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | +[**GetSearchCommentsSummary**](ModerationAPI.md#GetSearchCommentsSummary) | **Get** /auth/my-account/moderate-comments/mod_api/search/comments/summary | +[**GetSearchPages**](ModerationAPI.md#GetSearchPages) | **Get** /auth/my-account/moderate-comments/mod_api/search/pages | +[**GetSearchSites**](ModerationAPI.md#GetSearchSites) | **Get** /auth/my-account/moderate-comments/mod_api/search/sites | +[**GetSearchSuggest**](ModerationAPI.md#GetSearchSuggest) | **Get** /auth/my-account/moderate-comments/mod_api/search/suggest | +[**GetSearchUsers**](ModerationAPI.md#GetSearchUsers) | **Get** /auth/my-account/moderate-comments/mod_api/search/users | +[**GetTrustFactor**](ModerationAPI.md#GetTrustFactor) | **Get** /auth/my-account/moderate-comments/mod_api/get-trust-factor | +[**GetUserBanPreference**](ModerationAPI.md#GetUserBanPreference) | **Get** /auth/my-account/moderate-comments/mod_api/user-ban-preference | +[**GetUserInternalProfile**](ModerationAPI.md#GetUserInternalProfile) | **Get** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | +[**PostAdjustCommentVotes**](ModerationAPI.md#PostAdjustCommentVotes) | **Post** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | +[**PostApiExport**](ModerationAPI.md#PostApiExport) | **Post** /auth/my-account/moderate-comments/mod_api/api/export | +[**PostBanUserFromComment**](ModerationAPI.md#PostBanUserFromComment) | **Post** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | +[**PostBanUserUndo**](ModerationAPI.md#PostBanUserUndo) | **Post** /auth/my-account/moderate-comments/mod_api/ban-user/undo | +[**PostBulkPreBanSummary**](ModerationAPI.md#PostBulkPreBanSummary) | **Post** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | +[**PostCommentsByIds**](ModerationAPI.md#PostCommentsByIds) | **Post** /auth/my-account/moderate-comments/mod_api/comments-by-ids | +[**PostFlagComment**](ModerationAPI.md#PostFlagComment) | **Post** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | +[**PostRemoveComment**](ModerationAPI.md#PostRemoveComment) | **Post** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | +[**PostRestoreDeletedComment**](ModerationAPI.md#PostRestoreDeletedComment) | **Post** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | +[**PostSetCommentApprovalStatus**](ModerationAPI.md#PostSetCommentApprovalStatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | +[**PostSetCommentReviewStatus**](ModerationAPI.md#PostSetCommentReviewStatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | +[**PostSetCommentSpamStatus**](ModerationAPI.md#PostSetCommentSpamStatus) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | +[**PostSetCommentText**](ModerationAPI.md#PostSetCommentText) | **Post** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | +[**PostUnFlagComment**](ModerationAPI.md#PostUnFlagComment) | **Post** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | +[**PostVote**](ModerationAPI.md#PostVote) | **Post** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | +[**PutAwardBadge**](ModerationAPI.md#PutAwardBadge) | **Put** /auth/my-account/moderate-comments/mod_api/award-badge | +[**PutCloseThread**](ModerationAPI.md#PutCloseThread) | **Put** /auth/my-account/moderate-comments/mod_api/close-thread | +[**PutRemoveBadge**](ModerationAPI.md#PutRemoveBadge) | **Put** /auth/my-account/moderate-comments/mod_api/remove-badge | +[**PutReopenThread**](ModerationAPI.md#PutReopenThread) | **Put** /auth/my-account/moderate-comments/mod_api/reopen-thread | +[**SetTrustFactor**](ModerationAPI.md#SetTrustFactor) | **Put** /auth/my-account/moderate-comments/mod_api/set-trust-factor | ## DeleteModerationVote -> VoteDeleteResponse DeleteModerationVote(ctx, commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> VoteDeleteResponse DeleteModerationVote(ctx, commentId, voteId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -69,15 +69,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | voteId := "voteId_example" // string | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.DeleteModerationVote(context.Background(), commentId, voteId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.DeleteModerationVote(context.Background(), commentId, voteId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.DeleteModerationVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -103,10 +103,10 @@ Other parameters are passed through a pointer to a apiDeleteModerationVoteReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -129,7 +129,7 @@ No authorization required ## GetApiComments -> ModerationAPIGetCommentsResponse GetApiComments(ctx).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIGetCommentsResponse GetApiComments(ctx).TenantId(tenantId).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).Sso(sso).Execute() @@ -146,6 +146,7 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | page := float64(1.2) // float64 | (optional) count := float64(1.2) // float64 | (optional) textSearch := "textSearch_example" // string | (optional) @@ -154,12 +155,11 @@ func main() { searchFilters := "searchFilters_example" // string | (optional) sorts := "sorts_example" // string | (optional) demo := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiComments(context.Background()).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiComments(context.Background()).TenantId(tenantId).Page(page).Count(count).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Demo(demo).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiComments``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -180,6 +180,7 @@ Other parameters are passed through a pointer to a apiGetApiCommentsRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **page** | **float64** | | **count** | **float64** | | **textSearch** | **string** | | @@ -188,7 +189,6 @@ Name | Type | Description | Notes **searchFilters** | **string** | | **sorts** | **string** | | **demo** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -211,7 +211,7 @@ No authorization required ## GetApiExportStatus -> ModerationExportStatusResponse GetApiExportStatus(ctx).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() +> ModerationExportStatusResponse GetApiExportStatus(ctx).TenantId(tenantId).BatchJobId(batchJobId).Sso(sso).Execute() @@ -228,13 +228,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | batchJobId := "batchJobId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiExportStatus(context.Background()).BatchJobId(batchJobId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiExportStatus(context.Background()).TenantId(tenantId).BatchJobId(batchJobId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiExportStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -255,8 +255,8 @@ Other parameters are passed through a pointer to a apiGetApiExportStatusRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **batchJobId** | **string** | | **tenantId** | **string** | | + **batchJobId** | **string** | | **sso** | **string** | | ### Return type @@ -279,7 +279,7 @@ No authorization required ## GetApiIds -> ModerationAPIGetCommentIdsResponse GetApiIds(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIGetCommentIdsResponse GetApiIds(ctx).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).Sso(sso).Execute() @@ -296,18 +296,18 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | textSearch := "textSearch_example" // string | (optional) byIPFromComment := "byIPFromComment_example" // string | (optional) filters := "filters_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) afterId := "afterId_example" // string | (optional) demo := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetApiIds(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetApiIds(context.Background()).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).AfterId(afterId).Demo(demo).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetApiIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -328,13 +328,13 @@ Other parameters are passed through a pointer to a apiGetApiIdsRequest struct vi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **textSearch** | **string** | | **byIPFromComment** | **string** | | **filters** | **string** | | **searchFilters** | **string** | | **afterId** | **string** | | **demo** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -374,8 +374,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -405,8 +405,8 @@ Other parameters are passed through a pointer to a apiGetBanUsersFromCommentRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **sso** | **string** | | ### Return type @@ -446,8 +446,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -477,8 +477,8 @@ Other parameters are passed through a pointer to a apiGetCommentBanStatusRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **sso** | **string** | | ### Return type @@ -518,8 +518,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -549,8 +549,8 @@ Other parameters are passed through a pointer to a apiGetCommentChildrenRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **sso** | **string** | | ### Return type @@ -573,7 +573,7 @@ No authorization required ## GetCount -> ModerationAPICountCommentsResponse GetCount(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPICountCommentsResponse GetCount(ctx).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).Sso(sso).Execute() @@ -590,17 +590,17 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | textSearch := "textSearch_example" // string | (optional) byIPFromComment := "byIPFromComment_example" // string | (optional) filter := "filter_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) demo := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetCount(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetCount(context.Background()).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filter(filter).SearchFilters(searchFilters).Demo(demo).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetCount``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -621,12 +621,12 @@ Other parameters are passed through a pointer to a apiGetCountRequest struct via Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **textSearch** | **string** | | **byIPFromComment** | **string** | | **filter** | **string** | | **searchFilters** | **string** | | **demo** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -666,7 +666,7 @@ import ( ) func main() { - tenantId := "tenantId_example" // string | (optional) + tenantId := "tenantId_example" // string | sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -732,8 +732,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -763,8 +763,8 @@ Other parameters are passed through a pointer to a apiGetLogsRequest struct via Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **sso** | **string** | | ### Return type @@ -804,7 +804,7 @@ import ( ) func main() { - tenantId := "tenantId_example" // string | (optional) + tenantId := "tenantId_example" // string | sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -853,7 +853,7 @@ No authorization required ## GetManualBadgesForUser -> GetUserManualBadgesResponse GetManualBadgesForUser(ctx).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() +> GetUserManualBadgesResponse GetManualBadgesForUser(ctx).TenantId(tenantId).BadgesUserId(badgesUserId).CommentId(commentId).Sso(sso).Execute() @@ -870,14 +870,14 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | badgesUserId := "badgesUserId_example" // string | (optional) commentId := "commentId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetManualBadgesForUser(context.Background()).BadgesUserId(badgesUserId).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetManualBadgesForUser(context.Background()).TenantId(tenantId).BadgesUserId(badgesUserId).CommentId(commentId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetManualBadgesForUser``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -898,9 +898,9 @@ Other parameters are passed through a pointer to a apiGetManualBadgesForUserRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **badgesUserId** | **string** | | **commentId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -923,7 +923,7 @@ No authorization required ## GetModerationComment -> ModerationAPICommentResponse GetModerationComment(ctx, commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPICommentResponse GetModerationComment(ctx, commentId).TenantId(tenantId).IncludeEmail(includeEmail).IncludeIP(includeIP).Sso(sso).Execute() @@ -940,15 +940,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | includeEmail := true // bool | (optional) includeIP := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetModerationComment(context.Background(), commentId).IncludeEmail(includeEmail).IncludeIP(includeIP).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetModerationComment(context.Background(), commentId).TenantId(tenantId).IncludeEmail(includeEmail).IncludeIP(includeIP).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetModerationComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -973,10 +973,10 @@ Other parameters are passed through a pointer to a apiGetModerationCommentReques Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **includeEmail** | **bool** | | **includeIP** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1016,8 +1016,8 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -1047,8 +1047,8 @@ Other parameters are passed through a pointer to a apiGetModerationCommentTextRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **tenantId** | **string** | | + **sso** | **string** | | ### Return type @@ -1071,7 +1071,7 @@ No authorization required ## GetPreBanSummary -> PreBanSummary GetPreBanSummary(ctx, commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() +> PreBanSummary GetPreBanSummary(ctx, commentId).TenantId(tenantId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() @@ -1088,16 +1088,16 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | includeByUserIdAndEmail := true // bool | (optional) includeByIP := true // bool | (optional) includeByEmailDomain := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetPreBanSummary(context.Background(), commentId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetPreBanSummary(context.Background(), commentId).TenantId(tenantId).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1122,11 +1122,11 @@ Other parameters are passed through a pointer to a apiGetPreBanSummaryRequest st Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **includeByUserIdAndEmail** | **bool** | | **includeByIP** | **bool** | | **includeByEmailDomain** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1149,7 +1149,7 @@ No authorization required ## GetSearchCommentsSummary -> ModerationCommentSearchResponse GetSearchCommentsSummary(ctx).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() +> ModerationCommentSearchResponse GetSearchCommentsSummary(ctx).TenantId(tenantId).Value(value).Filters(filters).SearchFilters(searchFilters).Sso(sso).Execute() @@ -1166,15 +1166,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | value := "value_example" // string | (optional) filters := "filters_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchCommentsSummary(context.Background()).Value(value).Filters(filters).SearchFilters(searchFilters).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchCommentsSummary(context.Background()).TenantId(tenantId).Value(value).Filters(filters).SearchFilters(searchFilters).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchCommentsSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1195,10 +1195,10 @@ Other parameters are passed through a pointer to a apiGetSearchCommentsSummaryRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **value** | **string** | | **filters** | **string** | | **searchFilters** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1221,7 +1221,7 @@ No authorization required ## GetSearchPages -> ModerationPageSearchResponse GetSearchPages(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationPageSearchResponse GetSearchPages(ctx).TenantId(tenantId).Value(value).Sso(sso).Execute() @@ -1238,13 +1238,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | value := "value_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchPages(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchPages(context.Background()).TenantId(tenantId).Value(value).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchPages``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1265,8 +1265,8 @@ Other parameters are passed through a pointer to a apiGetSearchPagesRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **value** | **string** | | **tenantId** | **string** | | + **value** | **string** | | **sso** | **string** | | ### Return type @@ -1289,7 +1289,7 @@ No authorization required ## GetSearchSites -> ModerationSiteSearchResponse GetSearchSites(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationSiteSearchResponse GetSearchSites(ctx).TenantId(tenantId).Value(value).Sso(sso).Execute() @@ -1306,13 +1306,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | value := "value_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchSites(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchSites(context.Background()).TenantId(tenantId).Value(value).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSites``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1333,8 +1333,8 @@ Other parameters are passed through a pointer to a apiGetSearchSitesRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **value** | **string** | | **tenantId** | **string** | | + **value** | **string** | | **sso** | **string** | | ### Return type @@ -1357,7 +1357,7 @@ No authorization required ## GetSearchSuggest -> ModerationSuggestResponse GetSearchSuggest(ctx).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() +> ModerationSuggestResponse GetSearchSuggest(ctx).TenantId(tenantId).TextSearch(textSearch).Sso(sso).Execute() @@ -1374,13 +1374,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | textSearch := "textSearch_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchSuggest(context.Background()).TextSearch(textSearch).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchSuggest(context.Background()).TenantId(tenantId).TextSearch(textSearch).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchSuggest``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1401,8 +1401,8 @@ Other parameters are passed through a pointer to a apiGetSearchSuggestRequest st Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **textSearch** | **string** | | **tenantId** | **string** | | + **textSearch** | **string** | | **sso** | **string** | | ### Return type @@ -1425,7 +1425,7 @@ No authorization required ## GetSearchUsers -> ModerationUserSearchResponse GetSearchUsers(ctx).Value(value).TenantId(tenantId).Sso(sso).Execute() +> ModerationUserSearchResponse GetSearchUsers(ctx).TenantId(tenantId).Value(value).Sso(sso).Execute() @@ -1442,13 +1442,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | value := "value_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetSearchUsers(context.Background()).Value(value).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetSearchUsers(context.Background()).TenantId(tenantId).Value(value).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetSearchUsers``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1469,8 +1469,8 @@ Other parameters are passed through a pointer to a apiGetSearchUsersRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **value** | **string** | | **tenantId** | **string** | | + **value** | **string** | | **sso** | **string** | | ### Return type @@ -1493,7 +1493,7 @@ No authorization required ## GetTrustFactor -> GetUserTrustFactorResponse GetTrustFactor(ctx).UserId(userId).TenantId(tenantId).Sso(sso).Execute() +> GetUserTrustFactorResponse GetTrustFactor(ctx).TenantId(tenantId).UserId(userId).Sso(sso).Execute() @@ -1510,13 +1510,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | userId := "userId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetTrustFactor(context.Background()).UserId(userId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetTrustFactor(context.Background()).TenantId(tenantId).UserId(userId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1537,8 +1537,8 @@ Other parameters are passed through a pointer to a apiGetTrustFactorRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **userId** | **string** | | **tenantId** | **string** | | + **userId** | **string** | | **sso** | **string** | | ### Return type @@ -1578,7 +1578,7 @@ import ( ) func main() { - tenantId := "tenantId_example" // string | (optional) + tenantId := "tenantId_example" // string | sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() @@ -1627,7 +1627,7 @@ No authorization required ## GetUserInternalProfile -> GetUserInternalProfileResponse GetUserInternalProfile(ctx).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() +> GetUserInternalProfileResponse GetUserInternalProfile(ctx).TenantId(tenantId).CommentId(commentId).Sso(sso).Execute() @@ -1644,13 +1644,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.GetUserInternalProfile(context.Background()).CommentId(commentId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.GetUserInternalProfile(context.Background()).TenantId(tenantId).CommentId(commentId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.GetUserInternalProfile``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1671,8 +1671,8 @@ Other parameters are passed through a pointer to a apiGetUserInternalProfileRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **commentId** | **string** | | **tenantId** | **string** | | + **commentId** | **string** | | **sso** | **string** | | ### Return type @@ -1695,7 +1695,7 @@ No authorization required ## PostAdjustCommentVotes -> AdjustVotesResponse PostAdjustCommentVotes(ctx, commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> AdjustVotesResponse PostAdjustCommentVotes(ctx, commentId).TenantId(tenantId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -1712,15 +1712,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | adjustCommentVotesParams := *openapiclient.NewAdjustCommentVotesParams(float64(123)) // AdjustCommentVotesParams | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostAdjustCommentVotes(context.Background(), commentId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostAdjustCommentVotes(context.Background(), commentId).TenantId(tenantId).AdjustCommentVotesParams(adjustCommentVotesParams).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostAdjustCommentVotes``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1745,10 +1745,10 @@ Other parameters are passed through a pointer to a apiPostAdjustCommentVotesRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **adjustCommentVotesParams** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1771,7 +1771,7 @@ No authorization required ## PostApiExport -> ModerationExportResponse PostApiExport(ctx).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() +> ModerationExportResponse PostApiExport(ctx).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Sso(sso).Execute() @@ -1788,17 +1788,17 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | textSearch := "textSearch_example" // string | (optional) byIPFromComment := "byIPFromComment_example" // string | (optional) filters := "filters_example" // string | (optional) searchFilters := "searchFilters_example" // string | (optional) sorts := "sorts_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostApiExport(context.Background()).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostApiExport(context.Background()).TenantId(tenantId).TextSearch(textSearch).ByIPFromComment(byIPFromComment).Filters(filters).SearchFilters(searchFilters).Sorts(sorts).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostApiExport``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1819,12 +1819,12 @@ Other parameters are passed through a pointer to a apiPostApiExportRequest struc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **textSearch** | **string** | | **byIPFromComment** | **string** | | **filters** | **string** | | **searchFilters** | **string** | | **sorts** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1847,7 +1847,7 @@ No authorization required ## PostBanUserFromComment -> BanUserFromCommentResult PostBanUserFromComment(ctx, commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() +> BanUserFromCommentResult PostBanUserFromComment(ctx, commentId).TenantId(tenantId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).Sso(sso).Execute() @@ -1864,6 +1864,7 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | banEmail := true // bool | (optional) banEmailDomain := true // bool | (optional) @@ -1873,12 +1874,11 @@ func main() { isShadowBan := true // bool | (optional) updateId := "updateId_example" // string | (optional) banReason := "banReason_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBanUserFromComment(context.Background(), commentId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBanUserFromComment(context.Background(), commentId).TenantId(tenantId).BanEmail(banEmail).BanEmailDomain(banEmailDomain).BanIP(banIP).DeleteAllUsersComments(deleteAllUsersComments).BannedUntil(bannedUntil).IsShadowBan(isShadowBan).UpdateId(updateId).BanReason(banReason).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserFromComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1903,6 +1903,7 @@ Other parameters are passed through a pointer to a apiPostBanUserFromCommentRequ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **banEmail** | **bool** | | **banEmailDomain** | **bool** | | @@ -1912,7 +1913,6 @@ Name | Type | Description | Notes **isShadowBan** | **bool** | | **updateId** | **string** | | **banReason** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -1935,7 +1935,7 @@ No authorization required ## PostBanUserUndo -> APIEmptyResponse PostBanUserUndo(ctx).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostBanUserUndo(ctx).TenantId(tenantId).BanUserUndoParams(banUserUndoParams).Sso(sso).Execute() @@ -1952,13 +1952,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | banUserUndoParams := *openapiclient.NewBanUserUndoParams(*openapiclient.NewAPIBanUserChangeLog()) // BanUserUndoParams | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBanUserUndo(context.Background()).BanUserUndoParams(banUserUndoParams).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBanUserUndo(context.Background()).TenantId(tenantId).BanUserUndoParams(banUserUndoParams).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBanUserUndo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1979,8 +1979,8 @@ Other parameters are passed through a pointer to a apiPostBanUserUndoRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md) | | **tenantId** | **string** | | + **banUserUndoParams** | [**BanUserUndoParams**](BanUserUndoParams.md) | | **sso** | **string** | | ### Return type @@ -2003,7 +2003,7 @@ No authorization required ## PostBulkPreBanSummary -> BulkPreBanSummary PostBulkPreBanSummary(ctx).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() +> BulkPreBanSummary PostBulkPreBanSummary(ctx).TenantId(tenantId).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() @@ -2020,16 +2020,16 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | bulkPreBanParams := *openapiclient.NewBulkPreBanParams([]string{"CommentIds_example"}) // BulkPreBanParams | includeByUserIdAndEmail := true // bool | (optional) includeByIP := true // bool | (optional) includeByEmailDomain := true // bool | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostBulkPreBanSummary(context.Background()).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostBulkPreBanSummary(context.Background()).TenantId(tenantId).BulkPreBanParams(bulkPreBanParams).IncludeByUserIdAndEmail(includeByUserIdAndEmail).IncludeByIP(includeByIP).IncludeByEmailDomain(includeByEmailDomain).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostBulkPreBanSummary``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2050,11 +2050,11 @@ Other parameters are passed through a pointer to a apiPostBulkPreBanSummaryReque Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **bulkPreBanParams** | [**BulkPreBanParams**](BulkPreBanParams.md) | | **includeByUserIdAndEmail** | **bool** | | **includeByIP** | **bool** | | **includeByEmailDomain** | **bool** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2077,7 +2077,7 @@ No authorization required ## PostCommentsByIds -> ModerationAPIChildCommentsResponse PostCommentsByIds(ctx).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() +> ModerationAPIChildCommentsResponse PostCommentsByIds(ctx).TenantId(tenantId).CommentsByIdsParams(commentsByIdsParams).Sso(sso).Execute() @@ -2094,13 +2094,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentsByIdsParams := *openapiclient.NewCommentsByIdsParams([]string{"Ids_example"}) // CommentsByIdsParams | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostCommentsByIds(context.Background()).CommentsByIdsParams(commentsByIdsParams).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostCommentsByIds(context.Background()).TenantId(tenantId).CommentsByIdsParams(commentsByIdsParams).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostCommentsByIds``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2121,8 +2121,8 @@ Other parameters are passed through a pointer to a apiPostCommentsByIdsRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | **tenantId** | **string** | | + **commentsByIdsParams** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | **sso** | **string** | | ### Return type @@ -2145,7 +2145,7 @@ No authorization required ## PostFlagComment -> APIEmptyResponse PostFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostFlagComment(ctx, commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2162,14 +2162,14 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostFlagComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostFlagComment(context.Background(), commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2194,9 +2194,9 @@ Other parameters are passed through a pointer to a apiPostFlagCommentRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2219,7 +2219,7 @@ No authorization required ## PostRemoveComment -> PostRemoveCommentResponse PostRemoveComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> PostRemoveCommentApiResponse PostRemoveComment(ctx, commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2236,19 +2236,19 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostRemoveComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostRemoveComment(context.Background(), commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostRemoveComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PostRemoveComment`: PostRemoveCommentResponse + // response from `PostRemoveComment`: PostRemoveCommentApiResponse fmt.Fprintf(os.Stdout, "Response from `ModerationAPI.PostRemoveComment`: %v\n", resp) } ``` @@ -2268,14 +2268,14 @@ Other parameters are passed through a pointer to a apiPostRemoveCommentRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type -[**PostRemoveCommentResponse**](PostRemoveCommentResponse.md) +[**PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md) ### Authorization @@ -2293,7 +2293,7 @@ No authorization required ## PostRestoreDeletedComment -> APIEmptyResponse PostRestoreDeletedComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostRestoreDeletedComment(ctx, commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2310,14 +2310,14 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostRestoreDeletedComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostRestoreDeletedComment(context.Background(), commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostRestoreDeletedComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2342,9 +2342,9 @@ Other parameters are passed through a pointer to a apiPostRestoreDeletedCommentR Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2367,7 +2367,7 @@ No authorization required ## PostSetCommentApprovalStatus -> SetCommentApprovedResponse PostSetCommentApprovalStatus(ctx, commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> SetCommentApprovedResponse PostSetCommentApprovalStatus(ctx, commentId).TenantId(tenantId).Approved(approved).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2384,15 +2384,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | approved := true // bool | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentApprovalStatus(context.Background(), commentId).Approved(approved).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentApprovalStatus(context.Background(), commentId).TenantId(tenantId).Approved(approved).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentApprovalStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2417,10 +2417,10 @@ Other parameters are passed through a pointer to a apiPostSetCommentApprovalStat Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **approved** | **bool** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2443,7 +2443,7 @@ No authorization required ## PostSetCommentReviewStatus -> APIEmptyResponse PostSetCommentReviewStatus(ctx, commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostSetCommentReviewStatus(ctx, commentId).TenantId(tenantId).Reviewed(reviewed).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2460,15 +2460,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | reviewed := true // bool | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentReviewStatus(context.Background(), commentId).Reviewed(reviewed).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentReviewStatus(context.Background(), commentId).TenantId(tenantId).Reviewed(reviewed).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentReviewStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2493,10 +2493,10 @@ Other parameters are passed through a pointer to a apiPostSetCommentReviewStatus Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **reviewed** | **bool** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2519,7 +2519,7 @@ No authorization required ## PostSetCommentSpamStatus -> APIEmptyResponse PostSetCommentSpamStatus(ctx, commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostSetCommentSpamStatus(ctx, commentId).TenantId(tenantId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2536,16 +2536,16 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | spam := true // bool | (optional) permNotSpam := true // bool | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentSpamStatus(context.Background(), commentId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentSpamStatus(context.Background(), commentId).TenantId(tenantId).Spam(spam).PermNotSpam(permNotSpam).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentSpamStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2570,11 +2570,11 @@ Other parameters are passed through a pointer to a apiPostSetCommentSpamStatusRe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **spam** | **bool** | | **permNotSpam** | **bool** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2597,7 +2597,7 @@ No authorization required ## PostSetCommentText -> SetCommentTextResponse PostSetCommentText(ctx, commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> SetCommentTextResponse PostSetCommentText(ctx, commentId).TenantId(tenantId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2614,15 +2614,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | setCommentTextParams := *openapiclient.NewSetCommentTextParams("Comment_example") // SetCommentTextParams | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostSetCommentText(context.Background(), commentId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostSetCommentText(context.Background(), commentId).TenantId(tenantId).SetCommentTextParams(setCommentTextParams).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostSetCommentText``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2647,10 +2647,10 @@ Other parameters are passed through a pointer to a apiPostSetCommentTextRequest Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **setCommentTextParams** | [**SetCommentTextParams**](SetCommentTextParams.md) | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2673,7 +2673,7 @@ No authorization required ## PostUnFlagComment -> APIEmptyResponse PostUnFlagComment(ctx, commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PostUnFlagComment(ctx, commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2690,14 +2690,14 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostUnFlagComment(context.Background(), commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostUnFlagComment(context.Background(), commentId).TenantId(tenantId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostUnFlagComment``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2722,9 +2722,9 @@ Other parameters are passed through a pointer to a apiPostUnFlagCommentRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2747,7 +2747,7 @@ No authorization required ## PostVote -> VoteResponse PostVote(ctx, commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> VoteResponse PostVote(ctx, commentId).TenantId(tenantId).Direction(direction).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2764,15 +2764,15 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | commentId := "commentId_example" // string | direction := "direction_example" // string | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PostVote(context.Background(), commentId).Direction(direction).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PostVote(context.Background(), commentId).TenantId(tenantId).Direction(direction).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PostVote``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2797,10 +2797,10 @@ Other parameters are passed through a pointer to a apiPostVoteRequest struct via Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **direction** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2823,7 +2823,7 @@ No authorization required ## PutAwardBadge -> AwardUserBadgeResponse PutAwardBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> AwardUserBadgeResponse PutAwardBadge(ctx).TenantId(tenantId).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2840,16 +2840,16 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | badgeId := "badgeId_example" // string | userId := "userId_example" // string | (optional) commentId := "commentId_example" // string | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutAwardBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutAwardBadge(context.Background()).TenantId(tenantId).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutAwardBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2870,11 +2870,11 @@ Other parameters are passed through a pointer to a apiPutAwardBadgeRequest struc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **badgeId** | **string** | | **userId** | **string** | | **commentId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -2897,7 +2897,7 @@ No authorization required ## PutCloseThread -> APIEmptyResponse PutCloseThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PutCloseThread(ctx).TenantId(tenantId).UrlId(urlId).Sso(sso).Execute() @@ -2914,13 +2914,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | urlId := "urlId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutCloseThread(context.Background()).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutCloseThread(context.Background()).TenantId(tenantId).UrlId(urlId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutCloseThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -2941,8 +2941,8 @@ Other parameters are passed through a pointer to a apiPutCloseThreadRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **urlId** | **string** | | **tenantId** | **string** | | + **urlId** | **string** | | **sso** | **string** | | ### Return type @@ -2965,7 +2965,7 @@ No authorization required ## PutRemoveBadge -> RemoveUserBadgeResponse PutRemoveBadge(ctx).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() +> RemoveUserBadgeResponse PutRemoveBadge(ctx).TenantId(tenantId).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() @@ -2982,16 +2982,16 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | badgeId := "badgeId_example" // string | userId := "userId_example" // string | (optional) commentId := "commentId_example" // string | (optional) broadcastId := "broadcastId_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutRemoveBadge(context.Background()).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutRemoveBadge(context.Background()).TenantId(tenantId).BadgeId(badgeId).UserId(userId).CommentId(commentId).BroadcastId(broadcastId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutRemoveBadge``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3012,11 +3012,11 @@ Other parameters are passed through a pointer to a apiPutRemoveBadgeRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **badgeId** | **string** | | **userId** | **string** | | **commentId** | **string** | | **broadcastId** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type @@ -3039,7 +3039,7 @@ No authorization required ## PutReopenThread -> APIEmptyResponse PutReopenThread(ctx).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() +> APIEmptyResponse PutReopenThread(ctx).TenantId(tenantId).UrlId(urlId).Sso(sso).Execute() @@ -3056,13 +3056,13 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | urlId := "urlId_example" // string | - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.PutReopenThread(context.Background()).UrlId(urlId).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.PutReopenThread(context.Background()).TenantId(tenantId).UrlId(urlId).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.PutReopenThread``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3083,8 +3083,8 @@ Other parameters are passed through a pointer to a apiPutReopenThreadRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **urlId** | **string** | | **tenantId** | **string** | | + **urlId** | **string** | | **sso** | **string** | | ### Return type @@ -3107,7 +3107,7 @@ No authorization required ## SetTrustFactor -> SetUserTrustFactorResponse SetTrustFactor(ctx).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() +> SetUserTrustFactorResponse SetTrustFactor(ctx).TenantId(tenantId).UserId(userId).TrustFactor(trustFactor).Sso(sso).Execute() @@ -3124,14 +3124,14 @@ import ( ) func main() { + tenantId := "tenantId_example" // string | userId := "userId_example" // string | (optional) trustFactor := "trustFactor_example" // string | (optional) - tenantId := "tenantId_example" // string | (optional) sso := "sso_example" // string | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ModerationAPI.SetTrustFactor(context.Background()).UserId(userId).TrustFactor(trustFactor).TenantId(tenantId).Sso(sso).Execute() + resp, r, err := apiClient.ModerationAPI.SetTrustFactor(context.Background()).TenantId(tenantId).UserId(userId).TrustFactor(trustFactor).Sso(sso).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `ModerationAPI.SetTrustFactor``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -3152,9 +3152,9 @@ Other parameters are passed through a pointer to a apiSetTrustFactorRequest stru Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **tenantId** | **string** | | **userId** | **string** | | **trustFactor** | **string** | | - **tenantId** | **string** | | **sso** | **string** | | ### Return type diff --git a/client/docs/PostRemoveCommentResponse.md b/client/docs/PostRemoveCommentApiResponse.md similarity index 60% rename from client/docs/PostRemoveCommentResponse.md rename to client/docs/PostRemoveCommentApiResponse.md index c243fe2..de65b53 100644 --- a/client/docs/PostRemoveCommentResponse.md +++ b/client/docs/PostRemoveCommentApiResponse.md @@ -1,4 +1,4 @@ -# PostRemoveCommentResponse +# PostRemoveCommentApiResponse ## Properties @@ -9,59 +9,59 @@ Name | Type | Description | Notes ## Methods -### NewPostRemoveCommentResponse +### NewPostRemoveCommentApiResponse -`func NewPostRemoveCommentResponse(action string, status string, ) *PostRemoveCommentResponse` +`func NewPostRemoveCommentApiResponse(action string, status string, ) *PostRemoveCommentApiResponse` -NewPostRemoveCommentResponse instantiates a new PostRemoveCommentResponse object +NewPostRemoveCommentApiResponse instantiates a new PostRemoveCommentApiResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed -### NewPostRemoveCommentResponseWithDefaults +### NewPostRemoveCommentApiResponseWithDefaults -`func NewPostRemoveCommentResponseWithDefaults() *PostRemoveCommentResponse` +`func NewPostRemoveCommentApiResponseWithDefaults() *PostRemoveCommentApiResponse` -NewPostRemoveCommentResponseWithDefaults instantiates a new PostRemoveCommentResponse object +NewPostRemoveCommentApiResponseWithDefaults instantiates a new PostRemoveCommentApiResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetAction -`func (o *PostRemoveCommentResponse) GetAction() string` +`func (o *PostRemoveCommentApiResponse) GetAction() string` GetAction returns the Action field if non-nil, zero value otherwise. ### GetActionOk -`func (o *PostRemoveCommentResponse) GetActionOk() (*string, bool)` +`func (o *PostRemoveCommentApiResponse) GetActionOk() (*string, bool)` GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAction -`func (o *PostRemoveCommentResponse) SetAction(v string)` +`func (o *PostRemoveCommentApiResponse) SetAction(v string)` SetAction sets Action field to given value. ### GetStatus -`func (o *PostRemoveCommentResponse) GetStatus() string` +`func (o *PostRemoveCommentApiResponse) GetStatus() string` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PostRemoveCommentResponse) GetStatusOk() (*string, bool)` +`func (o *PostRemoveCommentApiResponse) GetStatusOk() (*string, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PostRemoveCommentResponse) SetStatus(v string)` +`func (o *PostRemoveCommentApiResponse) SetStatus(v string)` SetStatus sets Status field to given value. diff --git a/client/model_post_remove_comment_response.go b/client/model_post_remove_comment_api_response.go similarity index 66% rename from client/model_post_remove_comment_response.go rename to client/model_post_remove_comment_api_response.go index fd58ac1..227ab21 100644 --- a/client/model_post_remove_comment_response.go +++ b/client/model_post_remove_comment_api_response.go @@ -16,14 +16,14 @@ import ( ) -// PostRemoveCommentResponse struct for PostRemoveCommentResponse -type PostRemoveCommentResponse struct { +// PostRemoveCommentApiResponse struct for PostRemoveCommentApiResponse +type PostRemoveCommentApiResponse struct { DeleteCommentResult *DeleteCommentResult RemoveCommentActionResponse *RemoveCommentActionResponse } // Unmarshal JSON data into any of the pointers in the struct -func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { +func (dst *PostRemoveCommentApiResponse) UnmarshalJSON(data []byte) error { var err error // try to unmarshal JSON data into DeleteCommentResult err = json.Unmarshal(data, &dst.DeleteCommentResult); @@ -51,11 +51,11 @@ func (dst *PostRemoveCommentResponse) UnmarshalJSON(data []byte) error { dst.RemoveCommentActionResponse = nil } - return fmt.Errorf("data failed to match schemas in anyOf(PostRemoveCommentResponse)") + return fmt.Errorf("data failed to match schemas in anyOf(PostRemoveCommentApiResponse)") } // Marshal data from the first non-nil pointers in the struct to JSON -func (src PostRemoveCommentResponse) MarshalJSON() ([]byte, error) { +func (src PostRemoveCommentApiResponse) MarshalJSON() ([]byte, error) { if src.DeleteCommentResult != nil { return json.Marshal(&src.DeleteCommentResult) } @@ -68,38 +68,38 @@ func (src PostRemoveCommentResponse) MarshalJSON() ([]byte, error) { } -type NullablePostRemoveCommentResponse struct { - value *PostRemoveCommentResponse +type NullablePostRemoveCommentApiResponse struct { + value *PostRemoveCommentApiResponse isSet bool } -func (v NullablePostRemoveCommentResponse) Get() *PostRemoveCommentResponse { +func (v NullablePostRemoveCommentApiResponse) Get() *PostRemoveCommentApiResponse { return v.value } -func (v *NullablePostRemoveCommentResponse) Set(val *PostRemoveCommentResponse) { +func (v *NullablePostRemoveCommentApiResponse) Set(val *PostRemoveCommentApiResponse) { v.value = val v.isSet = true } -func (v NullablePostRemoveCommentResponse) IsSet() bool { +func (v NullablePostRemoveCommentApiResponse) IsSet() bool { return v.isSet } -func (v *NullablePostRemoveCommentResponse) Unset() { +func (v *NullablePostRemoveCommentApiResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePostRemoveCommentResponse(val *PostRemoveCommentResponse) *NullablePostRemoveCommentResponse { - return &NullablePostRemoveCommentResponse{value: val, isSet: true} +func NewNullablePostRemoveCommentApiResponse(val *PostRemoveCommentApiResponse) *NullablePostRemoveCommentApiResponse { + return &NullablePostRemoveCommentApiResponse{value: val, isSet: true} } -func (v NullablePostRemoveCommentResponse) MarshalJSON() ([]byte, error) { +func (v NullablePostRemoveCommentApiResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePostRemoveCommentResponse) UnmarshalJSON(src []byte) error { +func (v *NullablePostRemoveCommentApiResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/openapi.json b/openapi.json index 0f72c9c..302747d 100644 --- a/openapi.json +++ b/openapi.json @@ -13107,9 +13107,9 @@ ] } }, - "/auth/my-account/moderate-comments/count": { + "/auth/my-account/moderate-comments/mod_api/count": { "get": { - "operationId": "GetCount", + "operationId": "getCount", "responses": { "200": { "description": "Ok", @@ -13137,6 +13137,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "text-search", @@ -13177,14 +13185,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13196,9 +13196,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/ids": { + "/auth/my-account/moderate-comments/mod_api/api/ids": { "get": { - "operationId": "GetApiIds", + "operationId": "getApiIds", "responses": { "200": { "description": "Ok", @@ -13226,6 +13226,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "text-search", @@ -13274,14 +13282,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13293,9 +13293,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/comments": { + "/auth/my-account/moderate-comments/mod_api/api/comments": { "get": { - "operationId": "GetApiComments", + "operationId": "getApiComments", "responses": { "200": { "description": "Ok", @@ -13323,6 +13323,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "query", "name": "page", @@ -13389,14 +13397,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13408,9 +13408,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/export": { + "/auth/my-account/moderate-comments/mod_api/api/export": { "post": { - "operationId": "PostApiExport", + "operationId": "postApiExport", "responses": { "200": { "description": "Ok", @@ -13440,15 +13440,15 @@ "parameters": [ { "in": "query", - "name": "text-search", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "byIPFromComment", + "name": "text-search", "required": false, "schema": { "type": "string" @@ -13456,7 +13456,7 @@ }, { "in": "query", - "name": "filters", + "name": "byIPFromComment", "required": false, "schema": { "type": "string" @@ -13464,7 +13464,7 @@ }, { "in": "query", - "name": "searchFilters", + "name": "filters", "required": false, "schema": { "type": "string" @@ -13472,7 +13472,7 @@ }, { "in": "query", - "name": "sorts", + "name": "searchFilters", "required": false, "schema": { "type": "string" @@ -13480,7 +13480,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "sorts", "required": false, "schema": { "type": "string" @@ -13497,9 +13497,9 @@ ] } }, - "/auth/my-account/moderate-comments/api/export/status": { + "/auth/my-account/moderate-comments/mod_api/api/export/status": { "get": { - "operationId": "GetApiExportStatus", + "operationId": "getApiExportStatus", "responses": { "200": { "description": "Ok", @@ -13529,15 +13529,15 @@ "parameters": [ { "in": "query", - "name": "batchJobId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "batchJobId", "required": false, "schema": { "type": "string" @@ -13554,9 +13554,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/users": { + "/auth/my-account/moderate-comments/mod_api/search/users": { "get": { - "operationId": "GetSearchUsers", + "operationId": "getSearchUsers", "responses": { "200": { "description": "Ok", @@ -13586,15 +13586,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13611,9 +13611,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/pages": { + "/auth/my-account/moderate-comments/mod_api/search/pages": { "get": { - "operationId": "GetSearchPages", + "operationId": "getSearchPages", "responses": { "200": { "description": "Ok", @@ -13643,15 +13643,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13668,9 +13668,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/sites": { + "/auth/my-account/moderate-comments/mod_api/search/sites": { "get": { - "operationId": "GetSearchSites", + "operationId": "getSearchSites", "responses": { "200": { "description": "Ok", @@ -13700,15 +13700,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "value", "required": false, "schema": { "type": "string" @@ -13725,9 +13725,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/comments/summary": { + "/auth/my-account/moderate-comments/mod_api/search/comments/summary": { "get": { - "operationId": "GetSearchCommentsSummary", + "operationId": "getSearchCommentsSummary", "responses": { "200": { "description": "Ok", @@ -13757,15 +13757,15 @@ "parameters": [ { "in": "query", - "name": "value", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "filters", + "name": "value", "required": false, "schema": { "type": "string" @@ -13773,7 +13773,7 @@ }, { "in": "query", - "name": "searchFilters", + "name": "filters", "required": false, "schema": { "type": "string" @@ -13781,7 +13781,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "searchFilters", "required": false, "schema": { "type": "string" @@ -13798,9 +13798,9 @@ ] } }, - "/auth/my-account/moderate-comments/search/suggest": { + "/auth/my-account/moderate-comments/mod_api/search/suggest": { "get": { - "operationId": "GetSearchSuggest", + "operationId": "getSearchSuggest", "responses": { "200": { "description": "Ok", @@ -13830,15 +13830,15 @@ "parameters": [ { "in": "query", - "name": "text-search", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "text-search", "required": false, "schema": { "type": "string" @@ -13855,9 +13855,9 @@ ] } }, - "/auth/my-account/moderate-comments/pre-ban-summary/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId}": { "get": { - "operationId": "GetPreBanSummary", + "operationId": "getPreBanSummary", "responses": { "200": { "description": "Ok", @@ -13885,6 +13885,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -13917,14 +13925,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -13936,9 +13936,9 @@ ] } }, - "/auth/my-account/moderate-comments/bulk-pre-ban-summary": { + "/auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary": { "post": { - "operationId": "PostBulkPreBanSummary", + "operationId": "postBulkPreBanSummary", "responses": { "200": { "description": "Ok", @@ -13968,15 +13968,15 @@ "parameters": [ { "in": "query", - "name": "includeByUserIdAndEmail", - "required": false, + "name": "tenantId", + "required": true, "schema": { - "type": "boolean" + "type": "string" } }, { "in": "query", - "name": "includeByIP", + "name": "includeByUserIdAndEmail", "required": false, "schema": { "type": "boolean" @@ -13984,7 +13984,7 @@ }, { "in": "query", - "name": "includeByEmailDomain", + "name": "includeByIP", "required": false, "schema": { "type": "boolean" @@ -13992,10 +13992,10 @@ }, { "in": "query", - "name": "tenantId", + "name": "includeByEmailDomain", "required": false, "schema": { - "type": "string" + "type": "boolean" } }, { @@ -14019,9 +14019,9 @@ } } }, - "/auth/my-account/moderate-comments/ban-user/from-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId}": { "post": { - "operationId": "PostBanUserFromComment", + "operationId": "postBanUserFromComment", "responses": { "200": { "description": "Ok", @@ -14049,6 +14049,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14121,14 +14129,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14140,9 +14140,9 @@ ] } }, - "/auth/my-account/moderate-comments/ban-users/from-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId}": { "get": { - "operationId": "GetBanUsersFromComment", + "operationId": "getBanUsersFromComment", "responses": { "200": { "description": "Ok", @@ -14171,17 +14171,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14197,9 +14197,9 @@ ] } }, - "/auth/my-account/moderate-comments/ban-user/undo": { + "/auth/my-account/moderate-comments/mod_api/ban-user/undo": { "post": { - "operationId": "PostBanUserUndo", + "operationId": "postBanUserUndo", "responses": { "200": { "description": "Ok", @@ -14230,7 +14230,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -14256,16 +14256,16 @@ } } }, - "/auth/my-account/moderate-comments/remove-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/remove-comment/{commentId}": { "post": { - "operationId": "PostRemoveComment", + "operationId": "postRemoveComment", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": { - "title": "PostRemoveCommentResponse", + "title": "PostRemoveCommentApiResponse", "anyOf": [ { "$ref": "#/components/schemas/DeleteCommentResult" @@ -14295,24 +14295,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14329,9 +14329,9 @@ ] } }, - "/auth/my-account/moderate-comments/restore-deleted-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId}": { "post": { - "operationId": "PostRestoreDeletedComment", + "operationId": "postRestoreDeletedComment", "responses": { "200": { "description": "Ok", @@ -14360,24 +14360,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14394,9 +14394,9 @@ ] } }, - "/auth/my-account/moderate-comments/flag-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/flag-comment/{commentId}": { "post": { - "operationId": "PostFlagComment", + "operationId": "postFlagComment", "responses": { "200": { "description": "Ok", @@ -14425,24 +14425,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14459,9 +14459,9 @@ ] } }, - "/auth/my-account/moderate-comments/un-flag-comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId}": { "post": { - "operationId": "PostUnFlagComment", + "operationId": "postUnFlagComment", "responses": { "200": { "description": "Ok", @@ -14490,24 +14490,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -14524,9 +14524,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-review-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId}": { "post": { - "operationId": "PostSetCommentReviewStatus", + "operationId": "postSetCommentReviewStatus", "responses": { "200": { "description": "Ok", @@ -14554,6 +14554,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14578,14 +14586,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14597,9 +14597,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-spam-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId}": { "post": { - "operationId": "PostSetCommentSpamStatus", + "operationId": "postSetCommentSpamStatus", "responses": { "200": { "description": "Ok", @@ -14627,6 +14627,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14659,14 +14667,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14678,9 +14678,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-approval-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId}": { "post": { - "operationId": "PostSetCommentApprovalStatus", + "operationId": "postSetCommentApprovalStatus", "responses": { "200": { "description": "Ok", @@ -14708,6 +14708,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14732,14 +14740,6 @@ "type": "string" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14751,9 +14751,9 @@ ] } }, - "/auth/my-account/moderate-comments/logs/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/logs/{commentId}": { "get": { - "operationId": "GetLogs", + "operationId": "getLogs", "responses": { "200": { "description": "Ok", @@ -14782,17 +14782,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14808,9 +14808,9 @@ ] } }, - "/auth/my-account/moderate-comments/comment/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/comment/{commentId}": { "get": { - "operationId": "GetModerationComment", + "operationId": "getModerationComment", "responses": { "200": { "description": "Ok", @@ -14838,6 +14838,14 @@ ], "security": [], "parameters": [ + { + "in": "query", + "name": "tenantId", + "required": true, + "schema": { + "type": "string" + } + }, { "in": "path", "name": "commentId", @@ -14862,14 +14870,6 @@ "type": "boolean" } }, - { - "in": "query", - "name": "tenantId", - "required": false, - "schema": { - "type": "string" - } - }, { "in": "query", "name": "sso", @@ -14881,9 +14881,9 @@ ] } }, - "/auth/my-account/moderate-comments/comments-by-ids": { + "/auth/my-account/moderate-comments/mod_api/comments-by-ids": { "post": { - "operationId": "PostCommentsByIds", + "operationId": "postCommentsByIds", "responses": { "200": { "description": "Ok", @@ -14914,7 +14914,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -14940,9 +14940,9 @@ } } }, - "/auth/my-account/moderate-comments/comment-children/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/comment-children/{commentId}": { "get": { - "operationId": "GetCommentChildren", + "operationId": "getCommentChildren", "responses": { "200": { "description": "Ok", @@ -14971,17 +14971,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -14997,9 +14997,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-comment-text/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId}": { "get": { - "operationId": "GetModerationCommentText", + "operationId": "getModerationCommentText", "responses": { "200": { "description": "Ok", @@ -15028,17 +15028,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -15054,9 +15054,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-comment-text/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId}": { "post": { - "operationId": "PostSetCommentText", + "operationId": "postSetCommentText", "responses": { "200": { "description": "Ok", @@ -15085,24 +15085,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15129,9 +15129,9 @@ } } }, - "/auth/my-account/moderate-comments/adjust-comment-votes/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId}": { "post": { - "operationId": "PostAdjustCommentVotes", + "operationId": "postAdjustCommentVotes", "responses": { "200": { "description": "Ok", @@ -15160,24 +15160,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15204,9 +15204,9 @@ } } }, - "/auth/my-account/moderate-comments/vote/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}": { "post": { - "operationId": "PostVote", + "operationId": "postVote", "responses": { "200": { "description": "Ok", @@ -15235,24 +15235,24 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "direction", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "broadcastId", + "name": "direction", "required": false, "schema": { "type": "string" @@ -15260,7 +15260,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15277,9 +15277,9 @@ ] } }, - "/auth/my-account/moderate-comments/vote/{commentId}/{voteId}": { + "/auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId}": { "delete": { - "operationId": "DeleteModerationVote", + "operationId": "deleteModerationVote", "responses": { "200": { "description": "Ok", @@ -15308,8 +15308,8 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15317,23 +15317,23 @@ }, { "in": "path", - "name": "voteId", + "name": "commentId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "broadcastId", - "required": false, + "in": "path", + "name": "voteId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15350,9 +15350,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-comment-ban-status/{commentId}": { + "/auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId}": { "get": { - "operationId": "GetCommentBanStatus", + "operationId": "getCommentBanStatus", "responses": { "200": { "description": "Ok", @@ -15381,17 +15381,17 @@ "security": [], "parameters": [ { - "in": "path", - "name": "commentId", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "commentId", + "required": true, "schema": { "type": "string" } @@ -15407,9 +15407,9 @@ ] } }, - "/auth/my-account/moderate-comments/user-ban-preference": { + "/auth/my-account/moderate-comments/mod_api/user-ban-preference": { "get": { - "operationId": "GetUserBanPreference", + "operationId": "getUserBanPreference", "responses": { "200": { "description": "Ok", @@ -15440,7 +15440,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -15456,9 +15456,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-manual-badges": { + "/auth/my-account/moderate-comments/mod_api/get-manual-badges": { "get": { - "operationId": "GetManualBadges", + "operationId": "getManualBadges", "responses": { "200": { "description": "Ok", @@ -15489,7 +15489,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -15505,9 +15505,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-manual-badges-for-user": { + "/auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user": { "get": { - "operationId": "GetManualBadgesForUser", + "operationId": "getManualBadgesForUser", "responses": { "200": { "description": "Ok", @@ -15537,15 +15537,15 @@ "parameters": [ { "in": "query", - "name": "badgesUserId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "badgesUserId", "required": false, "schema": { "type": "string" @@ -15553,7 +15553,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15570,9 +15570,9 @@ ] } }, - "/auth/my-account/moderate-comments/award-badge": { + "/auth/my-account/moderate-comments/mod_api/award-badge": { "put": { - "operationId": "PutAwardBadge", + "operationId": "putAwardBadge", "responses": { "200": { "description": "Ok", @@ -15602,7 +15602,7 @@ "parameters": [ { "in": "query", - "name": "badgeId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15610,15 +15610,15 @@ }, { "in": "query", - "name": "userId", - "required": false, + "name": "badgeId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15626,7 +15626,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15634,7 +15634,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15651,9 +15651,9 @@ ] } }, - "/auth/my-account/moderate-comments/remove-badge": { + "/auth/my-account/moderate-comments/mod_api/remove-badge": { "put": { - "operationId": "PutRemoveBadge", + "operationId": "putRemoveBadge", "responses": { "200": { "description": "Ok", @@ -15683,7 +15683,7 @@ "parameters": [ { "in": "query", - "name": "badgeId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15691,15 +15691,15 @@ }, { "in": "query", - "name": "userId", - "required": false, + "name": "badgeId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "commentId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15707,7 +15707,7 @@ }, { "in": "query", - "name": "broadcastId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15715,7 +15715,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "broadcastId", "required": false, "schema": { "type": "string" @@ -15732,9 +15732,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-trust-factor": { + "/auth/my-account/moderate-comments/mod_api/get-trust-factor": { "get": { - "operationId": "GetTrustFactor", + "operationId": "getTrustFactor", "responses": { "200": { "description": "Ok", @@ -15764,15 +15764,15 @@ "parameters": [ { "in": "query", - "name": "userId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15789,9 +15789,9 @@ ] } }, - "/auth/my-account/moderate-comments/set-trust-factor": { + "/auth/my-account/moderate-comments/mod_api/set-trust-factor": { "put": { - "operationId": "SetTrustFactor", + "operationId": "setTrustFactor", "responses": { "200": { "description": "Ok", @@ -15821,15 +15821,15 @@ "parameters": [ { "in": "query", - "name": "userId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "trustFactor", + "name": "userId", "required": false, "schema": { "type": "string" @@ -15837,7 +15837,7 @@ }, { "in": "query", - "name": "tenantId", + "name": "trustFactor", "required": false, "schema": { "type": "string" @@ -15854,9 +15854,9 @@ ] } }, - "/auth/my-account/moderate-comments/get-user-internal-profile": { + "/auth/my-account/moderate-comments/mod_api/get-user-internal-profile": { "get": { - "operationId": "GetUserInternalProfile", + "operationId": "getUserInternalProfile", "responses": { "200": { "description": "Ok", @@ -15886,15 +15886,15 @@ "parameters": [ { "in": "query", - "name": "commentId", - "required": false, + "name": "tenantId", + "required": true, "schema": { "type": "string" } }, { "in": "query", - "name": "tenantId", + "name": "commentId", "required": false, "schema": { "type": "string" @@ -15911,9 +15911,9 @@ ] } }, - "/auth/my-account/moderate-comments/reopen-thread": { + "/auth/my-account/moderate-comments/mod_api/reopen-thread": { "put": { - "operationId": "PutReopenThread", + "operationId": "putReopenThread", "responses": { "200": { "description": "Ok", @@ -15943,7 +15943,7 @@ "parameters": [ { "in": "query", - "name": "urlId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -15951,8 +15951,8 @@ }, { "in": "query", - "name": "tenantId", - "required": false, + "name": "urlId", + "required": true, "schema": { "type": "string" } @@ -15968,9 +15968,9 @@ ] } }, - "/auth/my-account/moderate-comments/close-thread": { + "/auth/my-account/moderate-comments/mod_api/close-thread": { "put": { - "operationId": "PutCloseThread", + "operationId": "putCloseThread", "responses": { "200": { "description": "Ok", @@ -16000,7 +16000,7 @@ "parameters": [ { "in": "query", - "name": "urlId", + "name": "tenantId", "required": true, "schema": { "type": "string" @@ -16008,8 +16008,8 @@ }, { "in": "query", - "name": "tenantId", - "required": false, + "name": "urlId", + "required": true, "schema": { "type": "string" } @@ -16025,9 +16025,9 @@ ] } }, - "/auth/my-account/moderate-comments/banned-users/counts": { + "/auth/my-account/moderate-comments/banned-users/mod_api/counts": { "get": { - "operationId": "GetCounts", + "operationId": "getCounts", "responses": { "200": { "description": "Ok", @@ -16058,7 +16058,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23027,7 +23027,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23079,7 +23079,7 @@ { "in": "query", "name": "tenantId", - "required": false, + "required": true, "schema": { "type": "string" } @@ -23129,17 +23129,17 @@ ], "parameters": [ { - "in": "path", - "name": "tag", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "tag", + "required": true, "schema": { "type": "string" } @@ -23187,17 +23187,17 @@ ], "parameters": [ { - "in": "path", - "name": "tag", + "in": "query", + "name": "tenantId", "required": true, "schema": { "type": "string" } }, { - "in": "query", - "name": "tenantId", - "required": false, + "in": "path", + "name": "tag", + "required": true, "schema": { "type": "string" } From 710134d8ce1a9dfc8a4f986c8b401dee92bf78d9 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 10:39:44 -0700 Subject: [PATCH 4/5] README: shorten the ModerationApi description Replace the long capability enumeration with a concise summary. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index fb7cce3..bd27110 100644 --- a/README.md +++ b/README.md @@ -85,13 +85,7 @@ func main() { #### Moderation API (Moderator Dashboard) -The ModerationAPI powers the moderator dashboard. It provides methods for listing, -counting, searching, and exporting comments, moderation actions (remove/restore, -flag, set review/spam/approval status, votes, reopen/close threads), bans (ban from -comment, undo, pre-ban summaries, ban status and preferences, banned-user counts), -and badges & trust (award/remove badges, manual badges, get/set trust factor, user -internal profile). All Moderation methods accept an `sso` parameter for -SSO-authenticated moderators: +The ModerationAPI provides an extensive suite of live and fast moderation APIs. All moderation methods accept an `sso` parameter and can authenticate via SSO or a FastComments.com session cookie: ```go package main From 86cf83abd58775d02d3c69f1d0c2d95b5c5aae57 Mon Sep 17 00:00:00 2001 From: winrid Date: Tue, 30 Jun 2026 12:10:31 -0700 Subject: [PATCH 5/5] Release v3.0.0: regenerate at 3.0.0 with fastcomments-build-20260630 jar Bump version to 3.0.0 and regenerate from the new generator fork release. --- client/README.md | 2 +- client/configuration.go | 2 +- config.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/README.md b/client/README.md index 1d7e1d8..0e907c1 100644 --- a/client/README.md +++ b/client/README.md @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. - API version: 0.0.0 -- Package version: 1.2.1 +- Package version: 3.0.0 - Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen diff --git a/client/configuration.go b/client/configuration.go index 938a15b..3949256 100644 --- a/client/configuration.go +++ b/client/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/1.2.1/go", + UserAgent: "OpenAPI-Generator/3.0.0/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/config.json b/config.json index d9edb5b..dab641f 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "packageName": "client", - "packageVersion": "1.2.1", + "packageVersion": "3.0.0", "isGoSubmodule": true, "enumClassPrefix": true, "gitUserId": "fastcomments",