更新文档内容
This commit is contained in:
@@ -1,16 +1,19 @@
|
|||||||
.gitignore
|
.gitignore
|
||||||
.openapi-generator-ignore
|
|
||||||
.travis.yml
|
.travis.yml
|
||||||
README.md
|
README.md
|
||||||
api/openapi.yaml
|
api/openapi.yaml
|
||||||
api_activity.go
|
api_activity.go
|
||||||
api_admin.go
|
api_admin.go
|
||||||
|
api_admin_plugin.go
|
||||||
api_api_answer.go
|
api_api_answer.go
|
||||||
api_collection.go
|
api_collection.go
|
||||||
api_comment.go
|
api_comment.go
|
||||||
api_installation.go
|
api_installation.go
|
||||||
api_lang.go
|
api_lang.go
|
||||||
api_notification.go
|
api_notification.go
|
||||||
|
api_permission.go
|
||||||
|
api_personal.go
|
||||||
|
api_plugin_connector.go
|
||||||
api_question.go
|
api_question.go
|
||||||
api_rank.go
|
api_rank.go
|
||||||
api_reason.go
|
api_reason.go
|
||||||
@@ -25,7 +28,11 @@ client.go
|
|||||||
configuration.go
|
configuration.go
|
||||||
docs/ActivityApi.md
|
docs/ActivityApi.md
|
||||||
docs/AdminApi.md
|
docs/AdminApi.md
|
||||||
|
docs/AdminPluginApi.md
|
||||||
|
docs/AnswerAdminApiPluginConfigGet200Response.md
|
||||||
|
docs/AnswerAdminApiPluginsGet200Response.md
|
||||||
docs/AnswerAdminApiRolesGet200Response.md
|
docs/AnswerAdminApiRolesGet200Response.md
|
||||||
|
docs/AnswerAdminApiSettingPrivilegesGet200Response.md
|
||||||
docs/AnswerAdminApiSettingSmtpGet200Response.md
|
docs/AnswerAdminApiSettingSmtpGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoBrandingGet200Response.md
|
docs/AnswerAdminApiSiteinfoBrandingGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md
|
docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md
|
||||||
@@ -35,7 +42,9 @@ docs/AnswerAdminApiSiteinfoLegalGet200Response.md
|
|||||||
docs/AnswerAdminApiSiteinfoLoginGet200Response.md
|
docs/AnswerAdminApiSiteinfoLoginGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoSeoGet200Response.md
|
docs/AnswerAdminApiSiteinfoSeoGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoThemeGet200Response.md
|
docs/AnswerAdminApiSiteinfoThemeGet200Response.md
|
||||||
|
docs/AnswerAdminApiSiteinfoUsersGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoWriteGet200Response.md
|
docs/AnswerAdminApiSiteinfoWriteGet200Response.md
|
||||||
|
docs/AnswerAdminApiUserActivationGet200Response.md
|
||||||
docs/AnswerAdminApiUsersPageGet200Response.md
|
docs/AnswerAdminApiUsersPageGet200Response.md
|
||||||
docs/AnswerAdminApiUsersPageGet200ResponseData.md
|
docs/AnswerAdminApiUsersPageGet200ResponseData.md
|
||||||
docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md
|
docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md
|
||||||
@@ -45,8 +54,12 @@ docs/AnswerApiV1CommentGet200Response.md
|
|||||||
docs/AnswerApiV1CommentGet200ResponseData.md
|
docs/AnswerApiV1CommentGet200ResponseData.md
|
||||||
docs/AnswerApiV1CommentGet200ResponseDataAllOf.md
|
docs/AnswerApiV1CommentGet200ResponseDataAllOf.md
|
||||||
docs/AnswerApiV1CommentPost200Response.md
|
docs/AnswerApiV1CommentPost200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorInfoGet200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
|
||||||
docs/AnswerApiV1FilePost200Response.md
|
docs/AnswerApiV1FilePost200Response.md
|
||||||
docs/AnswerApiV1FollowPost200Response.md
|
docs/AnswerApiV1FollowPost200Response.md
|
||||||
|
docs/AnswerApiV1PermissionGet200Response.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200Response.md
|
docs/AnswerApiV1PersonalCommentPageGet200Response.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md
|
docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md
|
docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md
|
||||||
@@ -61,7 +74,6 @@ docs/AnswerApiV1QuestionPageGet200Response.md
|
|||||||
docs/AnswerApiV1QuestionPageGet200ResponseData.md
|
docs/AnswerApiV1QuestionPageGet200ResponseData.md
|
||||||
docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md
|
docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md
|
||||||
docs/AnswerApiV1QuestionTagsGet200Response.md
|
docs/AnswerApiV1QuestionTagsGet200Response.md
|
||||||
docs/AnswerApiV1ReportTypeListGet200Response.md
|
|
||||||
docs/AnswerApiV1RevisionsGet200Response.md
|
docs/AnswerApiV1RevisionsGet200Response.md
|
||||||
docs/AnswerApiV1RevisionsUnreviewedGet200Response.md
|
docs/AnswerApiV1RevisionsUnreviewedGet200Response.md
|
||||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md
|
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md
|
||||||
@@ -84,6 +96,7 @@ docs/AnswerApiV1VoteDownPost200Response.md
|
|||||||
docs/ApiAnswerApi.md
|
docs/ApiAnswerApi.md
|
||||||
docs/CollectionApi.md
|
docs/CollectionApi.md
|
||||||
docs/CommentApi.md
|
docs/CommentApi.md
|
||||||
|
docs/ConstantPrivilege.md
|
||||||
docs/HandlerRespBody.md
|
docs/HandlerRespBody.md
|
||||||
docs/InstallCheckConfigFileResp.md
|
docs/InstallCheckConfigFileResp.md
|
||||||
docs/InstallCheckDatabaseReq.md
|
docs/InstallCheckDatabaseReq.md
|
||||||
@@ -94,6 +107,9 @@ docs/InstallationLanguageOptionsGet200Response.md
|
|||||||
docs/LangApi.md
|
docs/LangApi.md
|
||||||
docs/NotificationApi.md
|
docs/NotificationApi.md
|
||||||
docs/PagerPageModel.md
|
docs/PagerPageModel.md
|
||||||
|
docs/PermissionApi.md
|
||||||
|
docs/PersonalApi.md
|
||||||
|
docs/PluginConnectorApi.md
|
||||||
docs/QuestionApi.md
|
docs/QuestionApi.md
|
||||||
docs/RankApi.md
|
docs/RankApi.md
|
||||||
docs/ReasonApi.md
|
docs/ReasonApi.md
|
||||||
@@ -115,16 +131,27 @@ docs/SchemaAvatarInfo.md
|
|||||||
docs/SchemaCloseQuestionReq.md
|
docs/SchemaCloseQuestionReq.md
|
||||||
docs/SchemaCollectionSwitchReq.md
|
docs/SchemaCollectionSwitchReq.md
|
||||||
docs/SchemaCollectionSwitchResp.md
|
docs/SchemaCollectionSwitchResp.md
|
||||||
|
docs/SchemaConfigField.md
|
||||||
|
docs/SchemaConfigFieldOption.md
|
||||||
|
docs/SchemaConfigFieldUIOptions.md
|
||||||
|
docs/SchemaConnectorInfoResp.md
|
||||||
|
docs/SchemaConnectorUserInfoResp.md
|
||||||
|
docs/SchemaExternalLoginBindingUserSendEmailReq.md
|
||||||
|
docs/SchemaExternalLoginBindingUserSendEmailResp.md
|
||||||
|
docs/SchemaExternalLoginUnbindingReq.md
|
||||||
docs/SchemaFollowReq.md
|
docs/SchemaFollowReq.md
|
||||||
docs/SchemaFollowResp.md
|
docs/SchemaFollowResp.md
|
||||||
docs/SchemaGetCommentPersonalWithPageResp.md
|
docs/SchemaGetCommentPersonalWithPageResp.md
|
||||||
docs/SchemaGetCommentResp.md
|
docs/SchemaGetCommentResp.md
|
||||||
|
docs/SchemaGetCurrentLoginUserInfoResp.md
|
||||||
docs/SchemaGetFollowingTagsResp.md
|
docs/SchemaGetFollowingTagsResp.md
|
||||||
docs/SchemaGetObjectTimelineResp.md
|
docs/SchemaGetObjectTimelineResp.md
|
||||||
docs/SchemaGetOtherUserInfoByUsernameResp.md
|
docs/SchemaGetOtherUserInfoByUsernameResp.md
|
||||||
docs/SchemaGetOtherUserInfoResp.md
|
docs/SchemaGetOtherUserInfoResp.md
|
||||||
docs/SchemaGetRankPersonalWithPageResp.md
|
docs/SchemaGetPluginConfigResp.md
|
||||||
docs/SchemaGetReportTypeResp.md
|
docs/SchemaGetPluginListResp.md
|
||||||
|
docs/SchemaGetPrivilegesConfigResp.md
|
||||||
|
docs/SchemaGetRankPersonalPageResp.md
|
||||||
docs/SchemaGetRevisionResp.md
|
docs/SchemaGetRevisionResp.md
|
||||||
docs/SchemaGetRoleResp.md
|
docs/SchemaGetRoleResp.md
|
||||||
docs/SchemaGetSMTPConfigResp.md
|
docs/SchemaGetSMTPConfigResp.md
|
||||||
@@ -133,21 +160,24 @@ docs/SchemaGetTagPageResp.md
|
|||||||
docs/SchemaGetTagResp.md
|
docs/SchemaGetTagResp.md
|
||||||
docs/SchemaGetTagSynonymsResp.md
|
docs/SchemaGetTagSynonymsResp.md
|
||||||
docs/SchemaGetUnreviewedRevisionResp.md
|
docs/SchemaGetUnreviewedRevisionResp.md
|
||||||
|
docs/SchemaGetUserActivationResp.md
|
||||||
docs/SchemaGetUserPageResp.md
|
docs/SchemaGetUserPageResp.md
|
||||||
docs/SchemaGetUserResp.md
|
|
||||||
docs/SchemaGetUserToSetShowResp.md
|
|
||||||
docs/SchemaGetVoteWithPageResp.md
|
docs/SchemaGetVoteWithPageResp.md
|
||||||
|
docs/SchemaLoadingAction.md
|
||||||
docs/SchemaNotificationClearIDRequest.md
|
docs/SchemaNotificationClearIDRequest.md
|
||||||
docs/SchemaNotificationClearRequest.md
|
docs/SchemaNotificationClearRequest.md
|
||||||
|
docs/SchemaOnCompleteAction.md
|
||||||
docs/SchemaOperationQuestionReq.md
|
docs/SchemaOperationQuestionReq.md
|
||||||
docs/SchemaPermissionMemberAction.md
|
docs/SchemaPermissionMemberAction.md
|
||||||
docs/SchemaPostRenderReq.md
|
docs/SchemaPostRenderReq.md
|
||||||
|
docs/SchemaPrivilegeLevel.md
|
||||||
|
docs/SchemaPrivilegeOption.md
|
||||||
docs/SchemaQuestionAdd.md
|
docs/SchemaQuestionAdd.md
|
||||||
docs/SchemaQuestionAddByAnswer.md
|
docs/SchemaQuestionAddByAnswer.md
|
||||||
docs/SchemaQuestionPageReq.md
|
|
||||||
docs/SchemaQuestionPageResp.md
|
docs/SchemaQuestionPageResp.md
|
||||||
docs/SchemaQuestionPageRespOperator.md
|
docs/SchemaQuestionPageRespOperator.md
|
||||||
docs/SchemaQuestionUpdate.md
|
docs/SchemaQuestionUpdate.md
|
||||||
|
docs/SchemaQuestionUpdateInviteUser.md
|
||||||
docs/SchemaRemoveAnswerReq.md
|
docs/SchemaRemoveAnswerReq.md
|
||||||
docs/SchemaRemoveCommentReq.md
|
docs/SchemaRemoveCommentReq.md
|
||||||
docs/SchemaRemoveQuestionReq.md
|
docs/SchemaRemoveQuestionReq.md
|
||||||
@@ -157,7 +187,10 @@ docs/SchemaReportHandleReq.md
|
|||||||
docs/SchemaRevisionAuditReq.md
|
docs/SchemaRevisionAuditReq.md
|
||||||
docs/SchemaSearchListResp.md
|
docs/SchemaSearchListResp.md
|
||||||
docs/SchemaSearchObject.md
|
docs/SchemaSearchObject.md
|
||||||
|
docs/SchemaSearchObjectUserInfo.md
|
||||||
docs/SchemaSearchResp.md
|
docs/SchemaSearchResp.md
|
||||||
|
docs/SchemaSearchRespObject.md
|
||||||
|
docs/SchemaSendUserActivationReq.md
|
||||||
docs/SchemaSiteBrandingReq.md
|
docs/SchemaSiteBrandingReq.md
|
||||||
docs/SchemaSiteBrandingResp.md
|
docs/SchemaSiteBrandingResp.md
|
||||||
docs/SchemaSiteCustomCssHTMLReq.md
|
docs/SchemaSiteCustomCssHTMLReq.md
|
||||||
@@ -175,16 +208,23 @@ docs/SchemaSiteSeoReq.md
|
|||||||
docs/SchemaSiteSeoResp.md
|
docs/SchemaSiteSeoResp.md
|
||||||
docs/SchemaSiteThemeReq.md
|
docs/SchemaSiteThemeReq.md
|
||||||
docs/SchemaSiteThemeResp.md
|
docs/SchemaSiteThemeResp.md
|
||||||
|
docs/SchemaSiteUsersReq.md
|
||||||
|
docs/SchemaSiteUsersResp.md
|
||||||
docs/SchemaSiteWriteReq.md
|
docs/SchemaSiteWriteReq.md
|
||||||
docs/SchemaSiteWriteResp.md
|
docs/SchemaSiteWriteResp.md
|
||||||
docs/SchemaTagItem.md
|
docs/SchemaTagItem.md
|
||||||
docs/SchemaTagResp.md
|
docs/SchemaTagResp.md
|
||||||
docs/SchemaTagSynonym.md
|
docs/SchemaTagSynonym.md
|
||||||
docs/SchemaThemeOption.md
|
docs/SchemaThemeOption.md
|
||||||
|
docs/SchemaUIOptionAction.md
|
||||||
docs/SchemaUnreviewedRevisionInfoInfo.md
|
docs/SchemaUnreviewedRevisionInfoInfo.md
|
||||||
docs/SchemaUpdateCommentReq.md
|
docs/SchemaUpdateCommentReq.md
|
||||||
docs/SchemaUpdateFollowTagsReq.md
|
docs/SchemaUpdateFollowTagsReq.md
|
||||||
docs/SchemaUpdateInfoRequest.md
|
docs/SchemaUpdateInfoRequest.md
|
||||||
|
docs/SchemaUpdateInfoRequestAvatar.md
|
||||||
|
docs/SchemaUpdatePluginConfigReq.md
|
||||||
|
docs/SchemaUpdatePluginStatusReq.md
|
||||||
|
docs/SchemaUpdatePrivilegesConfigReq.md
|
||||||
docs/SchemaUpdateSMTPConfigReq.md
|
docs/SchemaUpdateSMTPConfigReq.md
|
||||||
docs/SchemaUpdateTagReq.md
|
docs/SchemaUpdateTagReq.md
|
||||||
docs/SchemaUpdateTagSynonymReq.md
|
docs/SchemaUpdateTagSynonymReq.md
|
||||||
@@ -196,7 +236,8 @@ docs/SchemaUserBasicInfo.md
|
|||||||
docs/SchemaUserChangeEmailSendCodeReq.md
|
docs/SchemaUserChangeEmailSendCodeReq.md
|
||||||
docs/SchemaUserChangeEmailVerifyReq.md
|
docs/SchemaUserChangeEmailVerifyReq.md
|
||||||
docs/SchemaUserEmailLogin.md
|
docs/SchemaUserEmailLogin.md
|
||||||
docs/SchemaUserModifyPassWordRequest.md
|
docs/SchemaUserLoginResp.md
|
||||||
|
docs/SchemaUserModifyPasswordReq.md
|
||||||
docs/SchemaUserNoticeSetRequest.md
|
docs/SchemaUserNoticeSetRequest.md
|
||||||
docs/SchemaUserNoticeSetResp.md
|
docs/SchemaUserNoticeSetResp.md
|
||||||
docs/SchemaUserRankingResp.md
|
docs/SchemaUserRankingResp.md
|
||||||
@@ -215,7 +256,10 @@ docs/UserApi.md
|
|||||||
git_push.sh
|
git_push.sh
|
||||||
go.mod
|
go.mod
|
||||||
go.sum
|
go.sum
|
||||||
|
model__answer_admin_api_plugin_config_get_200_response.go
|
||||||
|
model__answer_admin_api_plugins_get_200_response.go
|
||||||
model__answer_admin_api_roles_get_200_response.go
|
model__answer_admin_api_roles_get_200_response.go
|
||||||
|
model__answer_admin_api_setting_privileges_get_200_response.go
|
||||||
model__answer_admin_api_setting_smtp_get_200_response.go
|
model__answer_admin_api_setting_smtp_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_branding_get_200_response.go
|
model__answer_admin_api_siteinfo_branding_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_custom_css_html_get_200_response.go
|
model__answer_admin_api_siteinfo_custom_css_html_get_200_response.go
|
||||||
@@ -225,7 +269,9 @@ model__answer_admin_api_siteinfo_legal_get_200_response.go
|
|||||||
model__answer_admin_api_siteinfo_login_get_200_response.go
|
model__answer_admin_api_siteinfo_login_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_seo_get_200_response.go
|
model__answer_admin_api_siteinfo_seo_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_theme_get_200_response.go
|
model__answer_admin_api_siteinfo_theme_get_200_response.go
|
||||||
|
model__answer_admin_api_siteinfo_users_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_write_get_200_response.go
|
model__answer_admin_api_siteinfo_write_get_200_response.go
|
||||||
|
model__answer_admin_api_user_activation_get_200_response.go
|
||||||
model__answer_admin_api_users_page_get_200_response.go
|
model__answer_admin_api_users_page_get_200_response.go
|
||||||
model__answer_admin_api_users_page_get_200_response_data.go
|
model__answer_admin_api_users_page_get_200_response_data.go
|
||||||
model__answer_admin_api_users_page_get_200_response_data_all_of.go
|
model__answer_admin_api_users_page_get_200_response_data_all_of.go
|
||||||
@@ -235,8 +281,12 @@ model__answer_api_v1_comment_get_200_response.go
|
|||||||
model__answer_api_v1_comment_get_200_response_data.go
|
model__answer_api_v1_comment_get_200_response_data.go
|
||||||
model__answer_api_v1_comment_get_200_response_data_all_of.go
|
model__answer_api_v1_comment_get_200_response_data_all_of.go
|
||||||
model__answer_api_v1_comment_post_200_response.go
|
model__answer_api_v1_comment_post_200_response.go
|
||||||
|
model__answer_api_v1_connector_binding_email_post_200_response.go
|
||||||
|
model__answer_api_v1_connector_info_get_200_response.go
|
||||||
|
model__answer_api_v1_connector_user_info_get_200_response.go
|
||||||
model__answer_api_v1_file_post_200_response.go
|
model__answer_api_v1_file_post_200_response.go
|
||||||
model__answer_api_v1_follow_post_200_response.go
|
model__answer_api_v1_follow_post_200_response.go
|
||||||
|
model__answer_api_v1_permission_get_200_response.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response.go
|
model__answer_api_v1_personal_comment_page_get_200_response.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response_data.go
|
model__answer_api_v1_personal_comment_page_get_200_response_data.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response_data_all_of.go
|
model__answer_api_v1_personal_comment_page_get_200_response_data_all_of.go
|
||||||
@@ -251,7 +301,6 @@ model__answer_api_v1_question_page_get_200_response.go
|
|||||||
model__answer_api_v1_question_page_get_200_response_data.go
|
model__answer_api_v1_question_page_get_200_response_data.go
|
||||||
model__answer_api_v1_question_page_get_200_response_data_all_of.go
|
model__answer_api_v1_question_page_get_200_response_data_all_of.go
|
||||||
model__answer_api_v1_question_tags_get_200_response.go
|
model__answer_api_v1_question_tags_get_200_response.go
|
||||||
model__answer_api_v1_report_type_list_get_200_response.go
|
|
||||||
model__answer_api_v1_revisions_get_200_response.go
|
model__answer_api_v1_revisions_get_200_response.go
|
||||||
model__answer_api_v1_revisions_unreviewed_get_200_response.go
|
model__answer_api_v1_revisions_unreviewed_get_200_response.go
|
||||||
model__answer_api_v1_revisions_unreviewed_get_200_response_data.go
|
model__answer_api_v1_revisions_unreviewed_get_200_response_data.go
|
||||||
@@ -273,6 +322,7 @@ model__answer_api_v1_user_ranking_get_200_response.go
|
|||||||
model__answer_api_v1_vote_down_post_200_response.go
|
model__answer_api_v1_vote_down_post_200_response.go
|
||||||
model__installation_config_file_check_post_200_response.go
|
model__installation_config_file_check_post_200_response.go
|
||||||
model__installation_language_options_get_200_response.go
|
model__installation_language_options_get_200_response.go
|
||||||
|
model_constant_privilege.go
|
||||||
model_handler_resp_body.go
|
model_handler_resp_body.go
|
||||||
model_install_check_config_file_resp.go
|
model_install_check_config_file_resp.go
|
||||||
model_install_check_database_req.go
|
model_install_check_database_req.go
|
||||||
@@ -294,16 +344,27 @@ model_schema_avatar_info.go
|
|||||||
model_schema_close_question_req.go
|
model_schema_close_question_req.go
|
||||||
model_schema_collection_switch_req.go
|
model_schema_collection_switch_req.go
|
||||||
model_schema_collection_switch_resp.go
|
model_schema_collection_switch_resp.go
|
||||||
|
model_schema_config_field.go
|
||||||
|
model_schema_config_field_option.go
|
||||||
|
model_schema_config_field_ui_options.go
|
||||||
|
model_schema_connector_info_resp.go
|
||||||
|
model_schema_connector_user_info_resp.go
|
||||||
|
model_schema_external_login_binding_user_send_email_req.go
|
||||||
|
model_schema_external_login_binding_user_send_email_resp.go
|
||||||
|
model_schema_external_login_unbinding_req.go
|
||||||
model_schema_follow_req.go
|
model_schema_follow_req.go
|
||||||
model_schema_follow_resp.go
|
model_schema_follow_resp.go
|
||||||
model_schema_get_comment_personal_with_page_resp.go
|
model_schema_get_comment_personal_with_page_resp.go
|
||||||
model_schema_get_comment_resp.go
|
model_schema_get_comment_resp.go
|
||||||
|
model_schema_get_current_login_user_info_resp.go
|
||||||
model_schema_get_following_tags_resp.go
|
model_schema_get_following_tags_resp.go
|
||||||
model_schema_get_object_timeline_resp.go
|
model_schema_get_object_timeline_resp.go
|
||||||
model_schema_get_other_user_info_by_username_resp.go
|
model_schema_get_other_user_info_by_username_resp.go
|
||||||
model_schema_get_other_user_info_resp.go
|
model_schema_get_other_user_info_resp.go
|
||||||
model_schema_get_rank_personal_with_page_resp.go
|
model_schema_get_plugin_config_resp.go
|
||||||
model_schema_get_report_type_resp.go
|
model_schema_get_plugin_list_resp.go
|
||||||
|
model_schema_get_privileges_config_resp.go
|
||||||
|
model_schema_get_rank_personal_page_resp.go
|
||||||
model_schema_get_revision_resp.go
|
model_schema_get_revision_resp.go
|
||||||
model_schema_get_role_resp.go
|
model_schema_get_role_resp.go
|
||||||
model_schema_get_site_legal_info_resp.go
|
model_schema_get_site_legal_info_resp.go
|
||||||
@@ -312,21 +373,24 @@ model_schema_get_tag_page_resp.go
|
|||||||
model_schema_get_tag_resp.go
|
model_schema_get_tag_resp.go
|
||||||
model_schema_get_tag_synonyms_resp.go
|
model_schema_get_tag_synonyms_resp.go
|
||||||
model_schema_get_unreviewed_revision_resp.go
|
model_schema_get_unreviewed_revision_resp.go
|
||||||
|
model_schema_get_user_activation_resp.go
|
||||||
model_schema_get_user_page_resp.go
|
model_schema_get_user_page_resp.go
|
||||||
model_schema_get_user_resp.go
|
|
||||||
model_schema_get_user_to_set_show_resp.go
|
|
||||||
model_schema_get_vote_with_page_resp.go
|
model_schema_get_vote_with_page_resp.go
|
||||||
|
model_schema_loading_action.go
|
||||||
model_schema_notification_clear_id_request.go
|
model_schema_notification_clear_id_request.go
|
||||||
model_schema_notification_clear_request.go
|
model_schema_notification_clear_request.go
|
||||||
|
model_schema_on_complete_action.go
|
||||||
model_schema_operation_question_req.go
|
model_schema_operation_question_req.go
|
||||||
model_schema_permission_member_action.go
|
model_schema_permission_member_action.go
|
||||||
model_schema_post_render_req.go
|
model_schema_post_render_req.go
|
||||||
|
model_schema_privilege_level.go
|
||||||
|
model_schema_privilege_option.go
|
||||||
model_schema_question_add.go
|
model_schema_question_add.go
|
||||||
model_schema_question_add_by_answer.go
|
model_schema_question_add_by_answer.go
|
||||||
model_schema_question_page_req.go
|
|
||||||
model_schema_question_page_resp.go
|
model_schema_question_page_resp.go
|
||||||
model_schema_question_page_resp_operator.go
|
model_schema_question_page_resp_operator.go
|
||||||
model_schema_question_update.go
|
model_schema_question_update.go
|
||||||
|
model_schema_question_update_invite_user.go
|
||||||
model_schema_remove_answer_req.go
|
model_schema_remove_answer_req.go
|
||||||
model_schema_remove_comment_req.go
|
model_schema_remove_comment_req.go
|
||||||
model_schema_remove_question_req.go
|
model_schema_remove_question_req.go
|
||||||
@@ -336,7 +400,10 @@ model_schema_report_handle_req.go
|
|||||||
model_schema_revision_audit_req.go
|
model_schema_revision_audit_req.go
|
||||||
model_schema_search_list_resp.go
|
model_schema_search_list_resp.go
|
||||||
model_schema_search_object.go
|
model_schema_search_object.go
|
||||||
|
model_schema_search_object_user_info.go
|
||||||
model_schema_search_resp.go
|
model_schema_search_resp.go
|
||||||
|
model_schema_search_resp_object.go
|
||||||
|
model_schema_send_user_activation_req.go
|
||||||
model_schema_site_branding_req.go
|
model_schema_site_branding_req.go
|
||||||
model_schema_site_branding_resp.go
|
model_schema_site_branding_resp.go
|
||||||
model_schema_site_custom_css_html_req.go
|
model_schema_site_custom_css_html_req.go
|
||||||
@@ -354,16 +421,23 @@ model_schema_site_seo_req.go
|
|||||||
model_schema_site_seo_resp.go
|
model_schema_site_seo_resp.go
|
||||||
model_schema_site_theme_req.go
|
model_schema_site_theme_req.go
|
||||||
model_schema_site_theme_resp.go
|
model_schema_site_theme_resp.go
|
||||||
|
model_schema_site_users_req.go
|
||||||
|
model_schema_site_users_resp.go
|
||||||
model_schema_site_write_req.go
|
model_schema_site_write_req.go
|
||||||
model_schema_site_write_resp.go
|
model_schema_site_write_resp.go
|
||||||
model_schema_tag_item.go
|
model_schema_tag_item.go
|
||||||
model_schema_tag_resp.go
|
model_schema_tag_resp.go
|
||||||
model_schema_tag_synonym.go
|
model_schema_tag_synonym.go
|
||||||
model_schema_theme_option.go
|
model_schema_theme_option.go
|
||||||
|
model_schema_ui_option_action.go
|
||||||
model_schema_unreviewed_revision_info_info.go
|
model_schema_unreviewed_revision_info_info.go
|
||||||
model_schema_update_comment_req.go
|
model_schema_update_comment_req.go
|
||||||
model_schema_update_follow_tags_req.go
|
model_schema_update_follow_tags_req.go
|
||||||
model_schema_update_info_request.go
|
model_schema_update_info_request.go
|
||||||
|
model_schema_update_info_request_avatar.go
|
||||||
|
model_schema_update_plugin_config_req.go
|
||||||
|
model_schema_update_plugin_status_req.go
|
||||||
|
model_schema_update_privileges_config_req.go
|
||||||
model_schema_update_smtp_config_req.go
|
model_schema_update_smtp_config_req.go
|
||||||
model_schema_update_tag_req.go
|
model_schema_update_tag_req.go
|
||||||
model_schema_update_tag_synonym_req.go
|
model_schema_update_tag_synonym_req.go
|
||||||
@@ -375,7 +449,8 @@ model_schema_user_basic_info.go
|
|||||||
model_schema_user_change_email_send_code_req.go
|
model_schema_user_change_email_send_code_req.go
|
||||||
model_schema_user_change_email_verify_req.go
|
model_schema_user_change_email_verify_req.go
|
||||||
model_schema_user_email_login.go
|
model_schema_user_email_login.go
|
||||||
model_schema_user_modify_pass_word_request.go
|
model_schema_user_login_resp.go
|
||||||
|
model_schema_user_modify_password_req.go
|
||||||
model_schema_user_notice_set_request.go
|
model_schema_user_notice_set_request.go
|
||||||
model_schema_user_notice_set_resp.go
|
model_schema_user_notice_set_resp.go
|
||||||
model_schema_user_ranking_resp.go
|
model_schema_user_ranking_resp.go
|
||||||
@@ -387,22 +462,8 @@ model_schema_vote_req.go
|
|||||||
model_schema_vote_resp.go
|
model_schema_vote_resp.go
|
||||||
model_translator_lang_option.go
|
model_translator_lang_option.go
|
||||||
response.go
|
response.go
|
||||||
test/api_activity_test.go
|
test/api_admin_plugin_test.go
|
||||||
test/api_admin_test.go
|
test/api_permission_test.go
|
||||||
test/api_api_answer_test.go
|
test/api_personal_test.go
|
||||||
test/api_collection_test.go
|
test/api_plugin_connector_test.go
|
||||||
test/api_comment_test.go
|
|
||||||
test/api_installation_test.go
|
|
||||||
test/api_lang_test.go
|
|
||||||
test/api_notification_test.go
|
|
||||||
test/api_question_test.go
|
|
||||||
test/api_rank_test.go
|
|
||||||
test/api_reason_test.go
|
|
||||||
test/api_report_test.go
|
|
||||||
test/api_revision_test.go
|
|
||||||
test/api_search_test.go
|
|
||||||
test/api_site_test.go
|
|
||||||
test/api_tag_test.go
|
|
||||||
test/api_upload_test.go
|
|
||||||
test/api_user_test.go
|
|
||||||
utils.go
|
utils.go
|
||||||
|
|||||||
86
README.md
86
README.md
@@ -1,11 +1,11 @@
|
|||||||
# Go API client for openapi
|
# Go API client for openapi
|
||||||
|
|
||||||
answer api
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
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.
|
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: v0.0.1
|
- API version: 1.0.0
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
||||||
|
|
||||||
@@ -73,23 +73,25 @@ ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVari
|
|||||||
|
|
||||||
## Documentation for API Endpoints
|
## Documentation for API Endpoints
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
Class | Method | HTTP request | Description
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
*ActivityApi* | [**AnswerApiV1FollowPost**](docs/ActivityApi.md#answerapiv1followpost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
*ActivityApi* | [**AnswerApiV1FollowPost**](docs/ActivityApi.md#answerapiv1followpost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
||||||
*ActivityApi* | [**AnswerApiV1FollowTagsPut**](docs/ActivityApi.md#answerapiv1followtagsput) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
*ActivityApi* | [**AnswerApiV1FollowTagsPut**](docs/ActivityApi.md#answerapiv1followtagsput) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
||||||
*ActivityApi* | [**AnswerApiV1PersonalVotePageGet**](docs/ActivityApi.md#answerapiv1personalvotepageget) | **Get** /answer/api/v1/personal/vote/page | user's votes
|
*ActivityApi* | [**AnswerApiV1PersonalVotePageGet**](docs/ActivityApi.md#answerapiv1personalvotepageget) | **Get** /answer/api/v1/personal/vote/page | get user personal votes
|
||||||
*ActivityApi* | [**AnswerApiV1VoteDownPost**](docs/ActivityApi.md#answerapiv1votedownpost) | **Post** /answer/api/v1/vote/down | vote down
|
*ActivityApi* | [**AnswerApiV1VoteDownPost**](docs/ActivityApi.md#answerapiv1votedownpost) | **Post** /answer/api/v1/vote/down | vote down
|
||||||
*ActivityApi* | [**AnswerApiV1VoteUpPost**](docs/ActivityApi.md#answerapiv1voteuppost) | **Post** /answer/api/v1/vote/up | vote up
|
*ActivityApi* | [**AnswerApiV1VoteUpPost**](docs/ActivityApi.md#answerapiv1voteuppost) | **Post** /answer/api/v1/vote/up | vote up
|
||||||
*AdminApi* | [**AnswerAdminApiAnswerPageGet**](docs/AdminApi.md#answeradminapianswerpageget) | **Get** /answer/admin/api/answer/page | AdminSearchAnswerList
|
*AdminApi* | [**AnswerAdminApiAnswerPageGet**](docs/AdminApi.md#answeradminapianswerpageget) | **Get** /answer/admin/api/answer/page | AdminAnswerPage admin answer page
|
||||||
*AdminApi* | [**AnswerAdminApiAnswerStatusPut**](docs/AdminApi.md#answeradminapianswerstatusput) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
*AdminApi* | [**AnswerAdminApiAnswerStatusPut**](docs/AdminApi.md#answeradminapianswerstatusput) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
||||||
*AdminApi* | [**AnswerAdminApiDashboardGet**](docs/AdminApi.md#answeradminapidashboardget) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
*AdminApi* | [**AnswerAdminApiDashboardGet**](docs/AdminApi.md#answeradminapidashboardget) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
||||||
*AdminApi* | [**AnswerAdminApiQuestionPageGet**](docs/AdminApi.md#answeradminapiquestionpageget) | **Get** /answer/admin/api/question/page | AdminSearchList
|
*AdminApi* | [**AnswerAdminApiQuestionPageGet**](docs/AdminApi.md#answeradminapiquestionpageget) | **Get** /answer/admin/api/question/page | AdminQuestionPage admin question page
|
||||||
*AdminApi* | [**AnswerAdminApiQuestionStatusPut**](docs/AdminApi.md#answeradminapiquestionstatusput) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
*AdminApi* | [**AnswerAdminApiQuestionStatusPut**](docs/AdminApi.md#answeradminapiquestionstatusput) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
||||||
*AdminApi* | [**AnswerAdminApiReportPut**](docs/AdminApi.md#answeradminapireportput) | **Put** /answer/admin/api/report/ | handle flag
|
*AdminApi* | [**AnswerAdminApiReportPut**](docs/AdminApi.md#answeradminapireportput) | **Put** /answer/admin/api/report/ | handle flag
|
||||||
*AdminApi* | [**AnswerAdminApiReportsPageGet**](docs/AdminApi.md#answeradminapireportspageget) | **Get** /answer/admin/api/reports/page | list report page
|
*AdminApi* | [**AnswerAdminApiReportsPageGet**](docs/AdminApi.md#answeradminapireportspageget) | **Get** /answer/admin/api/reports/page | list report page
|
||||||
*AdminApi* | [**AnswerAdminApiRolesGet**](docs/AdminApi.md#answeradminapirolesget) | **Get** /answer/admin/api/roles | get role list
|
*AdminApi* | [**AnswerAdminApiRolesGet**](docs/AdminApi.md#answeradminapirolesget) | **Get** /answer/admin/api/roles | get role list
|
||||||
|
*AdminApi* | [**AnswerAdminApiSettingPrivilegesGet**](docs/AdminApi.md#answeradminapisettingprivilegesget) | **Get** /answer/admin/api/setting/privileges | GetPrivilegesConfig get privileges config
|
||||||
|
*AdminApi* | [**AnswerAdminApiSettingPrivilegesPut**](docs/AdminApi.md#answeradminapisettingprivilegesput) | **Put** /answer/admin/api/setting/privileges | update privileges config
|
||||||
*AdminApi* | [**AnswerAdminApiSettingSmtpGet**](docs/AdminApi.md#answeradminapisettingsmtpget) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
*AdminApi* | [**AnswerAdminApiSettingSmtpGet**](docs/AdminApi.md#answeradminapisettingsmtpget) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
||||||
*AdminApi* | [**AnswerAdminApiSettingSmtpPut**](docs/AdminApi.md#answeradminapisettingsmtpput) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
*AdminApi* | [**AnswerAdminApiSettingSmtpPut**](docs/AdminApi.md#answeradminapisettingsmtpput) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoBrandingGet**](docs/AdminApi.md#answeradminapisiteinfobrandingget) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
*AdminApi* | [**AnswerAdminApiSiteinfoBrandingGet**](docs/AdminApi.md#answeradminapisiteinfobrandingget) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
||||||
@@ -108,23 +110,30 @@ Class | Method | HTTP request | Description
|
|||||||
*AdminApi* | [**AnswerAdminApiSiteinfoSeoPut**](docs/AdminApi.md#answeradminapisiteinfoseoput) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
*AdminApi* | [**AnswerAdminApiSiteinfoSeoPut**](docs/AdminApi.md#answeradminapisiteinfoseoput) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoThemeGet**](docs/AdminApi.md#answeradminapisiteinfothemeget) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
*AdminApi* | [**AnswerAdminApiSiteinfoThemeGet**](docs/AdminApi.md#answeradminapisiteinfothemeget) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoThemePut**](docs/AdminApi.md#answeradminapisiteinfothemeput) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
*AdminApi* | [**AnswerAdminApiSiteinfoThemePut**](docs/AdminApi.md#answeradminapisiteinfothemeput) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
||||||
|
*AdminApi* | [**AnswerAdminApiSiteinfoUsersGet**](docs/AdminApi.md#answeradminapisiteinfousersget) | **Get** /answer/admin/api/siteinfo/users | get site user config
|
||||||
|
*AdminApi* | [**AnswerAdminApiSiteinfoUsersPut**](docs/AdminApi.md#answeradminapisiteinfousersput) | **Put** /answer/admin/api/siteinfo/users | update site info config about users
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoWriteGet**](docs/AdminApi.md#answeradminapisiteinfowriteget) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
*AdminApi* | [**AnswerAdminApiSiteinfoWriteGet**](docs/AdminApi.md#answeradminapisiteinfowriteget) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoWritePut**](docs/AdminApi.md#answeradminapisiteinfowriteput) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
*AdminApi* | [**AnswerAdminApiSiteinfoWritePut**](docs/AdminApi.md#answeradminapisiteinfowriteput) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
||||||
*AdminApi* | [**AnswerAdminApiThemeOptionsGet**](docs/AdminApi.md#answeradminapithemeoptionsget) | **Get** /answer/admin/api/theme/options | Get theme options
|
*AdminApi* | [**AnswerAdminApiThemeOptionsGet**](docs/AdminApi.md#answeradminapithemeoptionsget) | **Get** /answer/admin/api/theme/options | Get theme options
|
||||||
|
*AdminApi* | [**AnswerAdminApiUserActivationGet**](docs/AdminApi.md#answeradminapiuseractivationget) | **Get** /answer/admin/api/user/activation | get user activation
|
||||||
*AdminApi* | [**AnswerAdminApiUserPasswordPut**](docs/AdminApi.md#answeradminapiuserpasswordput) | **Put** /answer/admin/api/user/password | update user password
|
*AdminApi* | [**AnswerAdminApiUserPasswordPut**](docs/AdminApi.md#answeradminapiuserpasswordput) | **Put** /answer/admin/api/user/password | update user password
|
||||||
*AdminApi* | [**AnswerAdminApiUserPost**](docs/AdminApi.md#answeradminapiuserpost) | **Post** /answer/admin/api/user | add user
|
*AdminApi* | [**AnswerAdminApiUserPost**](docs/AdminApi.md#answeradminapiuserpost) | **Post** /answer/admin/api/user | add user
|
||||||
*AdminApi* | [**AnswerAdminApiUserRolePut**](docs/AdminApi.md#answeradminapiuserroleput) | **Put** /answer/admin/api/user/role | update user role
|
*AdminApi* | [**AnswerAdminApiUserRolePut**](docs/AdminApi.md#answeradminapiuserroleput) | **Put** /answer/admin/api/user/role | update user role
|
||||||
*AdminApi* | [**AnswerAdminApiUserStatusPut**](docs/AdminApi.md#answeradminapiuserstatusput) | **Put** /answer/admin/api/user/status | update user
|
*AdminApi* | [**AnswerAdminApiUserStatusPut**](docs/AdminApi.md#answeradminapiuserstatusput) | **Put** /answer/admin/api/user/status | update user
|
||||||
|
*AdminApi* | [**AnswerAdminApiUsersActivationPost**](docs/AdminApi.md#answeradminapiusersactivationpost) | **Post** /answer/admin/api/users/activation | send user activation
|
||||||
*AdminApi* | [**AnswerAdminApiUsersPageGet**](docs/AdminApi.md#answeradminapiuserspageget) | **Get** /answer/admin/api/users/page | get user page
|
*AdminApi* | [**AnswerAdminApiUsersPageGet**](docs/AdminApi.md#answeradminapiuserspageget) | **Get** /answer/admin/api/users/page | get user page
|
||||||
|
*AdminPluginApi* | [**AnswerAdminApiPluginConfigGet**](docs/AdminPluginApi.md#answeradminapipluginconfigget) | **Get** /answer/admin/api/plugin/config | get plugin config
|
||||||
|
*AdminPluginApi* | [**AnswerAdminApiPluginConfigPut**](docs/AdminPluginApi.md#answeradminapipluginconfigput) | **Put** /answer/admin/api/plugin/config | update plugin config
|
||||||
|
*AdminPluginApi* | [**AnswerAdminApiPluginStatusPut**](docs/AdminPluginApi.md#answeradminapipluginstatusput) | **Put** /answer/admin/api/plugin/status | update plugin status
|
||||||
|
*AdminPluginApi* | [**AnswerAdminApiPluginsGet**](docs/AdminPluginApi.md#answeradminapipluginsget) | **Get** /answer/admin/api/plugins | get plugin list
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerAcceptancePost**](docs/ApiAnswerApi.md#answerapiv1answeracceptancepost) | **Post** /answer/api/v1/answer/acceptance | Accepted
|
*ApiAnswerApi* | [**AnswerApiV1AnswerAcceptancePost**](docs/ApiAnswerApi.md#answerapiv1answeracceptancepost) | **Post** /answer/api/v1/answer/acceptance | Accepted
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerDelete**](docs/ApiAnswerApi.md#answerapiv1answerdelete) | **Delete** /answer/api/v1/answer | delete answer
|
*ApiAnswerApi* | [**AnswerApiV1AnswerDelete**](docs/ApiAnswerApi.md#answerapiv1answerdelete) | **Delete** /answer/api/v1/answer | delete answer
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerInfoGet**](docs/ApiAnswerApi.md#answerapiv1answerinfoget) | **Get** /answer/api/v1/answer/info | Get Answer
|
*ApiAnswerApi* | [**AnswerApiV1AnswerInfoGet**](docs/ApiAnswerApi.md#answerapiv1answerinfoget) | **Get** /answer/api/v1/answer/info | Get Answer
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPageGet**](docs/ApiAnswerApi.md#answerapiv1answerpageget) | **Get** /answer/api/v1/answer/page | AnswerList
|
*ApiAnswerApi* | [**AnswerApiV1AnswerPageGet**](docs/ApiAnswerApi.md#answerapiv1answerpageget) | **Get** /answer/api/v1/answer/page | AnswerList
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPost**](docs/ApiAnswerApi.md#answerapiv1answerpost) | **Post** /answer/api/v1/answer | Insert Answer
|
*ApiAnswerApi* | [**AnswerApiV1AnswerPost**](docs/ApiAnswerApi.md#answerapiv1answerpost) | **Post** /answer/api/v1/answer | Insert Answer
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerApi.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
*ApiAnswerApi* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerApi.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
||||||
*ApiAnswerApi* | [**AnswerApiV1PersonalAnswerPageGet**](docs/ApiAnswerApi.md#answerapiv1personalanswerpageget) | **Get** /answer/api/v1/personal/answer/page | UserAnswerList
|
|
||||||
*CollectionApi* | [**AnswerApiV1CollectionSwitchPost**](docs/CollectionApi.md#answerapiv1collectionswitchpost) | **Post** /answer/api/v1/collection/switch | add collection
|
*CollectionApi* | [**AnswerApiV1CollectionSwitchPost**](docs/CollectionApi.md#answerapiv1collectionswitchpost) | **Post** /answer/api/v1/collection/switch | add collection
|
||||||
*CollectionApi* | [**AnswerApiV1PersonalCollectionPageGet**](docs/CollectionApi.md#answerapiv1personalcollectionpageget) | **Get** /answer/api/v1/personal/collection/page | UserCollectionList
|
*CollectionApi* | [**AnswerApiV1PersonalCollectionPageGet**](docs/CollectionApi.md#answerapiv1personalcollectionpageget) | **Get** /answer/api/v1/personal/collection/page | list personal collections
|
||||||
*CommentApi* | [**AnswerApiV1ActivityTimelineDetailGet**](docs/CommentApi.md#answerapiv1activitytimelinedetailget) | **Get** /answer/api/v1/activity/timeline/detail | get object timeline detail
|
*CommentApi* | [**AnswerApiV1ActivityTimelineDetailGet**](docs/CommentApi.md#answerapiv1activitytimelinedetailget) | **Get** /answer/api/v1/activity/timeline/detail | get object timeline detail
|
||||||
*CommentApi* | [**AnswerApiV1ActivityTimelineGet**](docs/CommentApi.md#answerapiv1activitytimelineget) | **Get** /answer/api/v1/activity/timeline | get object timeline
|
*CommentApi* | [**AnswerApiV1ActivityTimelineGet**](docs/CommentApi.md#answerapiv1activitytimelineget) | **Get** /answer/api/v1/activity/timeline | get object timeline
|
||||||
*CommentApi* | [**AnswerApiV1CommentDelete**](docs/CommentApi.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
*CommentApi* | [**AnswerApiV1CommentDelete**](docs/CommentApi.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
||||||
@@ -147,11 +156,19 @@ Class | Method | HTTP request | Description
|
|||||||
*NotificationApi* | [**AnswerApiV1NotificationReadStatePut**](docs/NotificationApi.md#answerapiv1notificationreadstateput) | **Put** /answer/api/v1/notification/read/state | ClearUnRead
|
*NotificationApi* | [**AnswerApiV1NotificationReadStatePut**](docs/NotificationApi.md#answerapiv1notificationreadstateput) | **Put** /answer/api/v1/notification/read/state | ClearUnRead
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationStatusGet**](docs/NotificationApi.md#answerapiv1notificationstatusget) | **Get** /answer/api/v1/notification/status | GetRedDot
|
*NotificationApi* | [**AnswerApiV1NotificationStatusGet**](docs/NotificationApi.md#answerapiv1notificationstatusget) | **Get** /answer/api/v1/notification/status | GetRedDot
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationStatusPut**](docs/NotificationApi.md#answerapiv1notificationstatusput) | **Put** /answer/api/v1/notification/status | DelRedDot
|
*NotificationApi* | [**AnswerApiV1NotificationStatusPut**](docs/NotificationApi.md#answerapiv1notificationstatusput) | **Put** /answer/api/v1/notification/status | DelRedDot
|
||||||
|
*PermissionApi* | [**AnswerApiV1PermissionGet**](docs/PermissionApi.md#answerapiv1permissionget) | **Get** /answer/api/v1/permission | check user permission
|
||||||
|
*PersonalApi* | [**AnswerApiV1PersonalAnswerPageGet**](docs/PersonalApi.md#answerapiv1personalanswerpageget) | **Get** /answer/api/v1/personal/answer/page | list personal answers
|
||||||
|
*PersonalApi* | [**PersonalQuestionPageGet**](docs/PersonalApi.md#personalquestionpageget) | **Get** /personal/question/page | list personal questions
|
||||||
|
*PluginConnectorApi* | [**AnswerApiV1ConnectorBindingEmailPost**](docs/PluginConnectorApi.md#answerapiv1connectorbindingemailpost) | **Post** /answer/api/v1/connector/binding/email | external login binding user send email
|
||||||
|
*PluginConnectorApi* | [**AnswerApiV1ConnectorInfoGet**](docs/PluginConnectorApi.md#answerapiv1connectorinfoget) | **Get** /answer/api/v1/connector/info | get all enabled connectors
|
||||||
|
*PluginConnectorApi* | [**AnswerApiV1ConnectorUserInfoGet**](docs/PluginConnectorApi.md#answerapiv1connectoruserinfoget) | **Get** /answer/api/v1/connector/user/info | get all connectors info about user
|
||||||
|
*PluginConnectorApi* | [**AnswerApiV1ConnectorUserUnbindingDelete**](docs/PluginConnectorApi.md#answerapiv1connectoruserunbindingdelete) | **Delete** /answer/api/v1/connector/user/unbinding | unbind external user login
|
||||||
*QuestionApi* | [**AnswerApiV1PersonalQaTopGet**](docs/QuestionApi.md#answerapiv1personalqatopget) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
*QuestionApi* | [**AnswerApiV1PersonalQaTopGet**](docs/QuestionApi.md#answerapiv1personalqatopget) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionApi.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
*QuestionApi* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionApi.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionClosemsglistGet**](docs/QuestionApi.md#answerapiv1questionclosemsglistget) | **Get** /answer/api/v1/question/closemsglist | close question msg list
|
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionDelete**](docs/QuestionApi.md#answerapiv1questiondelete) | **Delete** /answer/api/v1/question | delete question
|
*QuestionApi* | [**AnswerApiV1QuestionDelete**](docs/QuestionApi.md#answerapiv1questiondelete) | **Delete** /answer/api/v1/question | delete question
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionInfoGet**](docs/QuestionApi.md#answerapiv1questioninfoget) | **Get** /answer/api/v1/question/info | get question details
|
*QuestionApi* | [**AnswerApiV1QuestionInfoGet**](docs/QuestionApi.md#answerapiv1questioninfoget) | **Get** /answer/api/v1/question/info | get question details
|
||||||
|
*QuestionApi* | [**AnswerApiV1QuestionInviteGet**](docs/QuestionApi.md#answerapiv1questioninviteget) | **Get** /answer/api/v1/question/invite | get question invite user info
|
||||||
|
*QuestionApi* | [**AnswerApiV1QuestionInvitePut**](docs/QuestionApi.md#answerapiv1questioninviteput) | **Put** /answer/api/v1/question/invite | update question invite user
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionOperationPut**](docs/QuestionApi.md#answerapiv1questionoperationput) | **Put** /answer/api/v1/question/operation | Operation question
|
*QuestionApi* | [**AnswerApiV1QuestionOperationPut**](docs/QuestionApi.md#answerapiv1questionoperationput) | **Put** /answer/api/v1/question/operation | Operation question
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionPageGet**](docs/QuestionApi.md#answerapiv1questionpageget) | **Get** /answer/api/v1/question/page | get questions by page
|
*QuestionApi* | [**AnswerApiV1QuestionPageGet**](docs/QuestionApi.md#answerapiv1questionpageget) | **Get** /answer/api/v1/question/page | get questions by page
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionPost**](docs/QuestionApi.md#answerapiv1questionpost) | **Post** /answer/api/v1/question | add question
|
*QuestionApi* | [**AnswerApiV1QuestionPost**](docs/QuestionApi.md#answerapiv1questionpost) | **Post** /answer/api/v1/question | add question
|
||||||
@@ -160,12 +177,10 @@ Class | Method | HTTP request | Description
|
|||||||
*QuestionApi* | [**AnswerApiV1QuestionSimilarGet**](docs/QuestionApi.md#answerapiv1questionsimilarget) | **Get** /answer/api/v1/question/similar | add question title like
|
*QuestionApi* | [**AnswerApiV1QuestionSimilarGet**](docs/QuestionApi.md#answerapiv1questionsimilarget) | **Get** /answer/api/v1/question/similar | add question title like
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionSimilarTagGet**](docs/QuestionApi.md#answerapiv1questionsimilartagget) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
*QuestionApi* | [**AnswerApiV1QuestionSimilarTagGet**](docs/QuestionApi.md#answerapiv1questionsimilartagget) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionStatusPut**](docs/QuestionApi.md#answerapiv1questionstatusput) | **Put** /answer/api/v1/question/status | Close question
|
*QuestionApi* | [**AnswerApiV1QuestionStatusPut**](docs/QuestionApi.md#answerapiv1questionstatusput) | **Put** /answer/api/v1/question/status | Close question
|
||||||
*QuestionApi* | [**PersonalQuestionPageGet**](docs/QuestionApi.md#personalquestionpageget) | **Get** /personal/question/page | UserList
|
|
||||||
*RankApi* | [**AnswerApiV1PersonalRankPageGet**](docs/RankApi.md#answerapiv1personalrankpageget) | **Get** /answer/api/v1/personal/rank/page | user personal rank list
|
*RankApi* | [**AnswerApiV1PersonalRankPageGet**](docs/RankApi.md#answerapiv1personalrankpageget) | **Get** /answer/api/v1/personal/rank/page | user personal rank list
|
||||||
*ReasonApi* | [**AnswerAdminApiReasonsGet**](docs/ReasonApi.md#answeradminapireasonsget) | **Get** /answer/admin/api/reasons | get reasons by object type and action
|
*ReasonApi* | [**AnswerAdminApiReasonsGet**](docs/ReasonApi.md#answeradminapireasonsget) | **Get** /answer/admin/api/reasons | get reasons by object type and action
|
||||||
*ReasonApi* | [**AnswerApiV1ReasonsGet**](docs/ReasonApi.md#answerapiv1reasonsget) | **Get** /answer/api/v1/reasons | get reasons by object type and action
|
*ReasonApi* | [**AnswerApiV1ReasonsGet**](docs/ReasonApi.md#answerapiv1reasonsget) | **Get** /answer/api/v1/reasons | get reasons by object type and action
|
||||||
*ReportApi* | [**AnswerApiV1ReportPost**](docs/ReportApi.md#answerapiv1reportpost) | **Post** /answer/api/v1/report | add report
|
*ReportApi* | [**AnswerApiV1ReportPost**](docs/ReportApi.md#answerapiv1reportpost) | **Post** /answer/api/v1/report | add report
|
||||||
*ReportApi* | [**AnswerApiV1ReportTypeListGet**](docs/ReportApi.md#answerapiv1reporttypelistget) | **Get** /answer/api/v1/report/type/list | get report type list
|
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsAuditPut**](docs/RevisionApi.md#answerapiv1revisionsauditput) | **Put** /answer/api/v1/revisions/audit | revision audit
|
*RevisionApi* | [**AnswerApiV1RevisionsAuditPut**](docs/RevisionApi.md#answerapiv1revisionsauditput) | **Put** /answer/api/v1/revisions/audit | revision audit
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsEditCheckGet**](docs/RevisionApi.md#answerapiv1revisionseditcheckget) | **Get** /answer/api/v1/revisions/edit/check | check can update revision
|
*RevisionApi* | [**AnswerApiV1RevisionsEditCheckGet**](docs/RevisionApi.md#answerapiv1revisionseditcheckget) | **Get** /answer/api/v1/revisions/edit/check | check can update revision
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsGet**](docs/RevisionApi.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
*RevisionApi* | [**AnswerApiV1RevisionsGet**](docs/RevisionApi.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
||||||
@@ -196,6 +211,7 @@ Class | Method | HTTP request | Description
|
|||||||
*UserApi* | [**AnswerApiV1UserEmailVerificationSendPost**](docs/UserApi.md#answerapiv1useremailverificationsendpost) | **Post** /answer/api/v1/user/email/verification/send | UserVerifyEmailSend
|
*UserApi* | [**AnswerApiV1UserEmailVerificationSendPost**](docs/UserApi.md#answerapiv1useremailverificationsendpost) | **Post** /answer/api/v1/user/email/verification/send | UserVerifyEmailSend
|
||||||
*UserApi* | [**AnswerApiV1UserInfoGet**](docs/UserApi.md#answerapiv1userinfoget) | **Get** /answer/api/v1/user/info | GetUserInfoByUserID
|
*UserApi* | [**AnswerApiV1UserInfoGet**](docs/UserApi.md#answerapiv1userinfoget) | **Get** /answer/api/v1/user/info | GetUserInfoByUserID
|
||||||
*UserApi* | [**AnswerApiV1UserInfoPut**](docs/UserApi.md#answerapiv1userinfoput) | **Put** /answer/api/v1/user/info | UserUpdateInfo update user info
|
*UserApi* | [**AnswerApiV1UserInfoPut**](docs/UserApi.md#answerapiv1userinfoput) | **Put** /answer/api/v1/user/info | UserUpdateInfo update user info
|
||||||
|
*UserApi* | [**AnswerApiV1UserInfoSearchGet**](docs/UserApi.md#answerapiv1userinfosearchget) | **Get** /answer/api/v1/user/info/search | SearchUserListByName
|
||||||
*UserApi* | [**AnswerApiV1UserInterfacePut**](docs/UserApi.md#answerapiv1userinterfaceput) | **Put** /answer/api/v1/user/interface | UserUpdateInterface update user interface config
|
*UserApi* | [**AnswerApiV1UserInterfacePut**](docs/UserApi.md#answerapiv1userinterfaceput) | **Put** /answer/api/v1/user/interface | UserUpdateInterface update user interface config
|
||||||
*UserApi* | [**AnswerApiV1UserLoginEmailPost**](docs/UserApi.md#answerapiv1userloginemailpost) | **Post** /answer/api/v1/user/login/email | UserEmailLogin
|
*UserApi* | [**AnswerApiV1UserLoginEmailPost**](docs/UserApi.md#answerapiv1userloginemailpost) | **Post** /answer/api/v1/user/login/email | UserEmailLogin
|
||||||
*UserApi* | [**AnswerApiV1UserLogoutGet**](docs/UserApi.md#answerapiv1userlogoutget) | **Get** /answer/api/v1/user/logout | user logout
|
*UserApi* | [**AnswerApiV1UserLogoutGet**](docs/UserApi.md#answerapiv1userlogoutget) | **Get** /answer/api/v1/user/logout | user logout
|
||||||
@@ -210,7 +226,10 @@ Class | Method | HTTP request | Description
|
|||||||
|
|
||||||
## Documentation For Models
|
## Documentation For Models
|
||||||
|
|
||||||
|
- [AnswerAdminApiPluginConfigGet200Response](docs/AnswerAdminApiPluginConfigGet200Response.md)
|
||||||
|
- [AnswerAdminApiPluginsGet200Response](docs/AnswerAdminApiPluginsGet200Response.md)
|
||||||
- [AnswerAdminApiRolesGet200Response](docs/AnswerAdminApiRolesGet200Response.md)
|
- [AnswerAdminApiRolesGet200Response](docs/AnswerAdminApiRolesGet200Response.md)
|
||||||
|
- [AnswerAdminApiSettingPrivilegesGet200Response](docs/AnswerAdminApiSettingPrivilegesGet200Response.md)
|
||||||
- [AnswerAdminApiSettingSmtpGet200Response](docs/AnswerAdminApiSettingSmtpGet200Response.md)
|
- [AnswerAdminApiSettingSmtpGet200Response](docs/AnswerAdminApiSettingSmtpGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoBrandingGet200Response](docs/AnswerAdminApiSiteinfoBrandingGet200Response.md)
|
- [AnswerAdminApiSiteinfoBrandingGet200Response](docs/AnswerAdminApiSiteinfoBrandingGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoCustomCssHtmlGet200Response](docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md)
|
- [AnswerAdminApiSiteinfoCustomCssHtmlGet200Response](docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md)
|
||||||
@@ -220,7 +239,9 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerAdminApiSiteinfoLoginGet200Response](docs/AnswerAdminApiSiteinfoLoginGet200Response.md)
|
- [AnswerAdminApiSiteinfoLoginGet200Response](docs/AnswerAdminApiSiteinfoLoginGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoSeoGet200Response](docs/AnswerAdminApiSiteinfoSeoGet200Response.md)
|
- [AnswerAdminApiSiteinfoSeoGet200Response](docs/AnswerAdminApiSiteinfoSeoGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoThemeGet200Response](docs/AnswerAdminApiSiteinfoThemeGet200Response.md)
|
- [AnswerAdminApiSiteinfoThemeGet200Response](docs/AnswerAdminApiSiteinfoThemeGet200Response.md)
|
||||||
|
- [AnswerAdminApiSiteinfoUsersGet200Response](docs/AnswerAdminApiSiteinfoUsersGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoWriteGet200Response](docs/AnswerAdminApiSiteinfoWriteGet200Response.md)
|
- [AnswerAdminApiSiteinfoWriteGet200Response](docs/AnswerAdminApiSiteinfoWriteGet200Response.md)
|
||||||
|
- [AnswerAdminApiUserActivationGet200Response](docs/AnswerAdminApiUserActivationGet200Response.md)
|
||||||
- [AnswerAdminApiUsersPageGet200Response](docs/AnswerAdminApiUsersPageGet200Response.md)
|
- [AnswerAdminApiUsersPageGet200Response](docs/AnswerAdminApiUsersPageGet200Response.md)
|
||||||
- [AnswerAdminApiUsersPageGet200ResponseData](docs/AnswerAdminApiUsersPageGet200ResponseData.md)
|
- [AnswerAdminApiUsersPageGet200ResponseData](docs/AnswerAdminApiUsersPageGet200ResponseData.md)
|
||||||
- [AnswerAdminApiUsersPageGet200ResponseDataAllOf](docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md)
|
- [AnswerAdminApiUsersPageGet200ResponseDataAllOf](docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md)
|
||||||
@@ -230,8 +251,12 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerApiV1CommentGet200ResponseData](docs/AnswerApiV1CommentGet200ResponseData.md)
|
- [AnswerApiV1CommentGet200ResponseData](docs/AnswerApiV1CommentGet200ResponseData.md)
|
||||||
- [AnswerApiV1CommentGet200ResponseDataAllOf](docs/AnswerApiV1CommentGet200ResponseDataAllOf.md)
|
- [AnswerApiV1CommentGet200ResponseDataAllOf](docs/AnswerApiV1CommentGet200ResponseDataAllOf.md)
|
||||||
- [AnswerApiV1CommentPost200Response](docs/AnswerApiV1CommentPost200Response.md)
|
- [AnswerApiV1CommentPost200Response](docs/AnswerApiV1CommentPost200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorBindingEmailPost200Response](docs/AnswerApiV1ConnectorBindingEmailPost200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorInfoGet200Response](docs/AnswerApiV1ConnectorInfoGet200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorUserInfoGet200Response](docs/AnswerApiV1ConnectorUserInfoGet200Response.md)
|
||||||
- [AnswerApiV1FilePost200Response](docs/AnswerApiV1FilePost200Response.md)
|
- [AnswerApiV1FilePost200Response](docs/AnswerApiV1FilePost200Response.md)
|
||||||
- [AnswerApiV1FollowPost200Response](docs/AnswerApiV1FollowPost200Response.md)
|
- [AnswerApiV1FollowPost200Response](docs/AnswerApiV1FollowPost200Response.md)
|
||||||
|
- [AnswerApiV1PermissionGet200Response](docs/AnswerApiV1PermissionGet200Response.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200Response](docs/AnswerApiV1PersonalCommentPageGet200Response.md)
|
- [AnswerApiV1PersonalCommentPageGet200Response](docs/AnswerApiV1PersonalCommentPageGet200Response.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200ResponseData](docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md)
|
- [AnswerApiV1PersonalCommentPageGet200ResponseData](docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md)
|
- [AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md)
|
||||||
@@ -246,7 +271,6 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerApiV1QuestionPageGet200ResponseData](docs/AnswerApiV1QuestionPageGet200ResponseData.md)
|
- [AnswerApiV1QuestionPageGet200ResponseData](docs/AnswerApiV1QuestionPageGet200ResponseData.md)
|
||||||
- [AnswerApiV1QuestionPageGet200ResponseDataAllOf](docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md)
|
- [AnswerApiV1QuestionPageGet200ResponseDataAllOf](docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md)
|
||||||
- [AnswerApiV1QuestionTagsGet200Response](docs/AnswerApiV1QuestionTagsGet200Response.md)
|
- [AnswerApiV1QuestionTagsGet200Response](docs/AnswerApiV1QuestionTagsGet200Response.md)
|
||||||
- [AnswerApiV1ReportTypeListGet200Response](docs/AnswerApiV1ReportTypeListGet200Response.md)
|
|
||||||
- [AnswerApiV1RevisionsGet200Response](docs/AnswerApiV1RevisionsGet200Response.md)
|
- [AnswerApiV1RevisionsGet200Response](docs/AnswerApiV1RevisionsGet200Response.md)
|
||||||
- [AnswerApiV1RevisionsUnreviewedGet200Response](docs/AnswerApiV1RevisionsUnreviewedGet200Response.md)
|
- [AnswerApiV1RevisionsUnreviewedGet200Response](docs/AnswerApiV1RevisionsUnreviewedGet200Response.md)
|
||||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md)
|
- [AnswerApiV1RevisionsUnreviewedGet200ResponseData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md)
|
||||||
@@ -266,6 +290,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerApiV1UserNoticeSetPost200Response](docs/AnswerApiV1UserNoticeSetPost200Response.md)
|
- [AnswerApiV1UserNoticeSetPost200Response](docs/AnswerApiV1UserNoticeSetPost200Response.md)
|
||||||
- [AnswerApiV1UserRankingGet200Response](docs/AnswerApiV1UserRankingGet200Response.md)
|
- [AnswerApiV1UserRankingGet200Response](docs/AnswerApiV1UserRankingGet200Response.md)
|
||||||
- [AnswerApiV1VoteDownPost200Response](docs/AnswerApiV1VoteDownPost200Response.md)
|
- [AnswerApiV1VoteDownPost200Response](docs/AnswerApiV1VoteDownPost200Response.md)
|
||||||
|
- [ConstantPrivilege](docs/ConstantPrivilege.md)
|
||||||
- [HandlerRespBody](docs/HandlerRespBody.md)
|
- [HandlerRespBody](docs/HandlerRespBody.md)
|
||||||
- [InstallCheckConfigFileResp](docs/InstallCheckConfigFileResp.md)
|
- [InstallCheckConfigFileResp](docs/InstallCheckConfigFileResp.md)
|
||||||
- [InstallCheckDatabaseReq](docs/InstallCheckDatabaseReq.md)
|
- [InstallCheckDatabaseReq](docs/InstallCheckDatabaseReq.md)
|
||||||
@@ -289,16 +314,27 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaCloseQuestionReq](docs/SchemaCloseQuestionReq.md)
|
- [SchemaCloseQuestionReq](docs/SchemaCloseQuestionReq.md)
|
||||||
- [SchemaCollectionSwitchReq](docs/SchemaCollectionSwitchReq.md)
|
- [SchemaCollectionSwitchReq](docs/SchemaCollectionSwitchReq.md)
|
||||||
- [SchemaCollectionSwitchResp](docs/SchemaCollectionSwitchResp.md)
|
- [SchemaCollectionSwitchResp](docs/SchemaCollectionSwitchResp.md)
|
||||||
|
- [SchemaConfigField](docs/SchemaConfigField.md)
|
||||||
|
- [SchemaConfigFieldOption](docs/SchemaConfigFieldOption.md)
|
||||||
|
- [SchemaConfigFieldUIOptions](docs/SchemaConfigFieldUIOptions.md)
|
||||||
|
- [SchemaConnectorInfoResp](docs/SchemaConnectorInfoResp.md)
|
||||||
|
- [SchemaConnectorUserInfoResp](docs/SchemaConnectorUserInfoResp.md)
|
||||||
|
- [SchemaExternalLoginBindingUserSendEmailReq](docs/SchemaExternalLoginBindingUserSendEmailReq.md)
|
||||||
|
- [SchemaExternalLoginBindingUserSendEmailResp](docs/SchemaExternalLoginBindingUserSendEmailResp.md)
|
||||||
|
- [SchemaExternalLoginUnbindingReq](docs/SchemaExternalLoginUnbindingReq.md)
|
||||||
- [SchemaFollowReq](docs/SchemaFollowReq.md)
|
- [SchemaFollowReq](docs/SchemaFollowReq.md)
|
||||||
- [SchemaFollowResp](docs/SchemaFollowResp.md)
|
- [SchemaFollowResp](docs/SchemaFollowResp.md)
|
||||||
- [SchemaGetCommentPersonalWithPageResp](docs/SchemaGetCommentPersonalWithPageResp.md)
|
- [SchemaGetCommentPersonalWithPageResp](docs/SchemaGetCommentPersonalWithPageResp.md)
|
||||||
- [SchemaGetCommentResp](docs/SchemaGetCommentResp.md)
|
- [SchemaGetCommentResp](docs/SchemaGetCommentResp.md)
|
||||||
|
- [SchemaGetCurrentLoginUserInfoResp](docs/SchemaGetCurrentLoginUserInfoResp.md)
|
||||||
- [SchemaGetFollowingTagsResp](docs/SchemaGetFollowingTagsResp.md)
|
- [SchemaGetFollowingTagsResp](docs/SchemaGetFollowingTagsResp.md)
|
||||||
- [SchemaGetObjectTimelineResp](docs/SchemaGetObjectTimelineResp.md)
|
- [SchemaGetObjectTimelineResp](docs/SchemaGetObjectTimelineResp.md)
|
||||||
- [SchemaGetOtherUserInfoByUsernameResp](docs/SchemaGetOtherUserInfoByUsernameResp.md)
|
- [SchemaGetOtherUserInfoByUsernameResp](docs/SchemaGetOtherUserInfoByUsernameResp.md)
|
||||||
- [SchemaGetOtherUserInfoResp](docs/SchemaGetOtherUserInfoResp.md)
|
- [SchemaGetOtherUserInfoResp](docs/SchemaGetOtherUserInfoResp.md)
|
||||||
- [SchemaGetRankPersonalWithPageResp](docs/SchemaGetRankPersonalWithPageResp.md)
|
- [SchemaGetPluginConfigResp](docs/SchemaGetPluginConfigResp.md)
|
||||||
- [SchemaGetReportTypeResp](docs/SchemaGetReportTypeResp.md)
|
- [SchemaGetPluginListResp](docs/SchemaGetPluginListResp.md)
|
||||||
|
- [SchemaGetPrivilegesConfigResp](docs/SchemaGetPrivilegesConfigResp.md)
|
||||||
|
- [SchemaGetRankPersonalPageResp](docs/SchemaGetRankPersonalPageResp.md)
|
||||||
- [SchemaGetRevisionResp](docs/SchemaGetRevisionResp.md)
|
- [SchemaGetRevisionResp](docs/SchemaGetRevisionResp.md)
|
||||||
- [SchemaGetRoleResp](docs/SchemaGetRoleResp.md)
|
- [SchemaGetRoleResp](docs/SchemaGetRoleResp.md)
|
||||||
- [SchemaGetSMTPConfigResp](docs/SchemaGetSMTPConfigResp.md)
|
- [SchemaGetSMTPConfigResp](docs/SchemaGetSMTPConfigResp.md)
|
||||||
@@ -307,21 +343,24 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaGetTagResp](docs/SchemaGetTagResp.md)
|
- [SchemaGetTagResp](docs/SchemaGetTagResp.md)
|
||||||
- [SchemaGetTagSynonymsResp](docs/SchemaGetTagSynonymsResp.md)
|
- [SchemaGetTagSynonymsResp](docs/SchemaGetTagSynonymsResp.md)
|
||||||
- [SchemaGetUnreviewedRevisionResp](docs/SchemaGetUnreviewedRevisionResp.md)
|
- [SchemaGetUnreviewedRevisionResp](docs/SchemaGetUnreviewedRevisionResp.md)
|
||||||
|
- [SchemaGetUserActivationResp](docs/SchemaGetUserActivationResp.md)
|
||||||
- [SchemaGetUserPageResp](docs/SchemaGetUserPageResp.md)
|
- [SchemaGetUserPageResp](docs/SchemaGetUserPageResp.md)
|
||||||
- [SchemaGetUserResp](docs/SchemaGetUserResp.md)
|
|
||||||
- [SchemaGetUserToSetShowResp](docs/SchemaGetUserToSetShowResp.md)
|
|
||||||
- [SchemaGetVoteWithPageResp](docs/SchemaGetVoteWithPageResp.md)
|
- [SchemaGetVoteWithPageResp](docs/SchemaGetVoteWithPageResp.md)
|
||||||
|
- [SchemaLoadingAction](docs/SchemaLoadingAction.md)
|
||||||
- [SchemaNotificationClearIDRequest](docs/SchemaNotificationClearIDRequest.md)
|
- [SchemaNotificationClearIDRequest](docs/SchemaNotificationClearIDRequest.md)
|
||||||
- [SchemaNotificationClearRequest](docs/SchemaNotificationClearRequest.md)
|
- [SchemaNotificationClearRequest](docs/SchemaNotificationClearRequest.md)
|
||||||
|
- [SchemaOnCompleteAction](docs/SchemaOnCompleteAction.md)
|
||||||
- [SchemaOperationQuestionReq](docs/SchemaOperationQuestionReq.md)
|
- [SchemaOperationQuestionReq](docs/SchemaOperationQuestionReq.md)
|
||||||
- [SchemaPermissionMemberAction](docs/SchemaPermissionMemberAction.md)
|
- [SchemaPermissionMemberAction](docs/SchemaPermissionMemberAction.md)
|
||||||
- [SchemaPostRenderReq](docs/SchemaPostRenderReq.md)
|
- [SchemaPostRenderReq](docs/SchemaPostRenderReq.md)
|
||||||
|
- [SchemaPrivilegeLevel](docs/SchemaPrivilegeLevel.md)
|
||||||
|
- [SchemaPrivilegeOption](docs/SchemaPrivilegeOption.md)
|
||||||
- [SchemaQuestionAdd](docs/SchemaQuestionAdd.md)
|
- [SchemaQuestionAdd](docs/SchemaQuestionAdd.md)
|
||||||
- [SchemaQuestionAddByAnswer](docs/SchemaQuestionAddByAnswer.md)
|
- [SchemaQuestionAddByAnswer](docs/SchemaQuestionAddByAnswer.md)
|
||||||
- [SchemaQuestionPageReq](docs/SchemaQuestionPageReq.md)
|
|
||||||
- [SchemaQuestionPageResp](docs/SchemaQuestionPageResp.md)
|
- [SchemaQuestionPageResp](docs/SchemaQuestionPageResp.md)
|
||||||
- [SchemaQuestionPageRespOperator](docs/SchemaQuestionPageRespOperator.md)
|
- [SchemaQuestionPageRespOperator](docs/SchemaQuestionPageRespOperator.md)
|
||||||
- [SchemaQuestionUpdate](docs/SchemaQuestionUpdate.md)
|
- [SchemaQuestionUpdate](docs/SchemaQuestionUpdate.md)
|
||||||
|
- [SchemaQuestionUpdateInviteUser](docs/SchemaQuestionUpdateInviteUser.md)
|
||||||
- [SchemaRemoveAnswerReq](docs/SchemaRemoveAnswerReq.md)
|
- [SchemaRemoveAnswerReq](docs/SchemaRemoveAnswerReq.md)
|
||||||
- [SchemaRemoveCommentReq](docs/SchemaRemoveCommentReq.md)
|
- [SchemaRemoveCommentReq](docs/SchemaRemoveCommentReq.md)
|
||||||
- [SchemaRemoveQuestionReq](docs/SchemaRemoveQuestionReq.md)
|
- [SchemaRemoveQuestionReq](docs/SchemaRemoveQuestionReq.md)
|
||||||
@@ -331,7 +370,10 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaRevisionAuditReq](docs/SchemaRevisionAuditReq.md)
|
- [SchemaRevisionAuditReq](docs/SchemaRevisionAuditReq.md)
|
||||||
- [SchemaSearchListResp](docs/SchemaSearchListResp.md)
|
- [SchemaSearchListResp](docs/SchemaSearchListResp.md)
|
||||||
- [SchemaSearchObject](docs/SchemaSearchObject.md)
|
- [SchemaSearchObject](docs/SchemaSearchObject.md)
|
||||||
|
- [SchemaSearchObjectUserInfo](docs/SchemaSearchObjectUserInfo.md)
|
||||||
- [SchemaSearchResp](docs/SchemaSearchResp.md)
|
- [SchemaSearchResp](docs/SchemaSearchResp.md)
|
||||||
|
- [SchemaSearchRespObject](docs/SchemaSearchRespObject.md)
|
||||||
|
- [SchemaSendUserActivationReq](docs/SchemaSendUserActivationReq.md)
|
||||||
- [SchemaSiteBrandingReq](docs/SchemaSiteBrandingReq.md)
|
- [SchemaSiteBrandingReq](docs/SchemaSiteBrandingReq.md)
|
||||||
- [SchemaSiteBrandingResp](docs/SchemaSiteBrandingResp.md)
|
- [SchemaSiteBrandingResp](docs/SchemaSiteBrandingResp.md)
|
||||||
- [SchemaSiteCustomCssHTMLReq](docs/SchemaSiteCustomCssHTMLReq.md)
|
- [SchemaSiteCustomCssHTMLReq](docs/SchemaSiteCustomCssHTMLReq.md)
|
||||||
@@ -349,16 +391,23 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaSiteSeoResp](docs/SchemaSiteSeoResp.md)
|
- [SchemaSiteSeoResp](docs/SchemaSiteSeoResp.md)
|
||||||
- [SchemaSiteThemeReq](docs/SchemaSiteThemeReq.md)
|
- [SchemaSiteThemeReq](docs/SchemaSiteThemeReq.md)
|
||||||
- [SchemaSiteThemeResp](docs/SchemaSiteThemeResp.md)
|
- [SchemaSiteThemeResp](docs/SchemaSiteThemeResp.md)
|
||||||
|
- [SchemaSiteUsersReq](docs/SchemaSiteUsersReq.md)
|
||||||
|
- [SchemaSiteUsersResp](docs/SchemaSiteUsersResp.md)
|
||||||
- [SchemaSiteWriteReq](docs/SchemaSiteWriteReq.md)
|
- [SchemaSiteWriteReq](docs/SchemaSiteWriteReq.md)
|
||||||
- [SchemaSiteWriteResp](docs/SchemaSiteWriteResp.md)
|
- [SchemaSiteWriteResp](docs/SchemaSiteWriteResp.md)
|
||||||
- [SchemaTagItem](docs/SchemaTagItem.md)
|
- [SchemaTagItem](docs/SchemaTagItem.md)
|
||||||
- [SchemaTagResp](docs/SchemaTagResp.md)
|
- [SchemaTagResp](docs/SchemaTagResp.md)
|
||||||
- [SchemaTagSynonym](docs/SchemaTagSynonym.md)
|
- [SchemaTagSynonym](docs/SchemaTagSynonym.md)
|
||||||
- [SchemaThemeOption](docs/SchemaThemeOption.md)
|
- [SchemaThemeOption](docs/SchemaThemeOption.md)
|
||||||
|
- [SchemaUIOptionAction](docs/SchemaUIOptionAction.md)
|
||||||
- [SchemaUnreviewedRevisionInfoInfo](docs/SchemaUnreviewedRevisionInfoInfo.md)
|
- [SchemaUnreviewedRevisionInfoInfo](docs/SchemaUnreviewedRevisionInfoInfo.md)
|
||||||
- [SchemaUpdateCommentReq](docs/SchemaUpdateCommentReq.md)
|
- [SchemaUpdateCommentReq](docs/SchemaUpdateCommentReq.md)
|
||||||
- [SchemaUpdateFollowTagsReq](docs/SchemaUpdateFollowTagsReq.md)
|
- [SchemaUpdateFollowTagsReq](docs/SchemaUpdateFollowTagsReq.md)
|
||||||
- [SchemaUpdateInfoRequest](docs/SchemaUpdateInfoRequest.md)
|
- [SchemaUpdateInfoRequest](docs/SchemaUpdateInfoRequest.md)
|
||||||
|
- [SchemaUpdateInfoRequestAvatar](docs/SchemaUpdateInfoRequestAvatar.md)
|
||||||
|
- [SchemaUpdatePluginConfigReq](docs/SchemaUpdatePluginConfigReq.md)
|
||||||
|
- [SchemaUpdatePluginStatusReq](docs/SchemaUpdatePluginStatusReq.md)
|
||||||
|
- [SchemaUpdatePrivilegesConfigReq](docs/SchemaUpdatePrivilegesConfigReq.md)
|
||||||
- [SchemaUpdateSMTPConfigReq](docs/SchemaUpdateSMTPConfigReq.md)
|
- [SchemaUpdateSMTPConfigReq](docs/SchemaUpdateSMTPConfigReq.md)
|
||||||
- [SchemaUpdateTagReq](docs/SchemaUpdateTagReq.md)
|
- [SchemaUpdateTagReq](docs/SchemaUpdateTagReq.md)
|
||||||
- [SchemaUpdateTagSynonymReq](docs/SchemaUpdateTagSynonymReq.md)
|
- [SchemaUpdateTagSynonymReq](docs/SchemaUpdateTagSynonymReq.md)
|
||||||
@@ -370,7 +419,8 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaUserChangeEmailSendCodeReq](docs/SchemaUserChangeEmailSendCodeReq.md)
|
- [SchemaUserChangeEmailSendCodeReq](docs/SchemaUserChangeEmailSendCodeReq.md)
|
||||||
- [SchemaUserChangeEmailVerifyReq](docs/SchemaUserChangeEmailVerifyReq.md)
|
- [SchemaUserChangeEmailVerifyReq](docs/SchemaUserChangeEmailVerifyReq.md)
|
||||||
- [SchemaUserEmailLogin](docs/SchemaUserEmailLogin.md)
|
- [SchemaUserEmailLogin](docs/SchemaUserEmailLogin.md)
|
||||||
- [SchemaUserModifyPassWordRequest](docs/SchemaUserModifyPassWordRequest.md)
|
- [SchemaUserLoginResp](docs/SchemaUserLoginResp.md)
|
||||||
|
- [SchemaUserModifyPasswordReq](docs/SchemaUserModifyPasswordReq.md)
|
||||||
- [SchemaUserNoticeSetRequest](docs/SchemaUserNoticeSetRequest.md)
|
- [SchemaUserNoticeSetRequest](docs/SchemaUserNoticeSetRequest.md)
|
||||||
- [SchemaUserNoticeSetResp](docs/SchemaUserNoticeSetResp.md)
|
- [SchemaUserNoticeSetResp](docs/SchemaUserNoticeSetResp.md)
|
||||||
- [SchemaUserRankingResp](docs/SchemaUserRankingResp.md)
|
- [SchemaUserRankingResp](docs/SchemaUserRankingResp.md)
|
||||||
|
|||||||
2227
api/openapi.yaml
2227
api/openapi.yaml
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -296,9 +294,9 @@ func (r ApiAnswerApiV1PersonalVotePageGetRequest) Execute() (*AnswerApiV1Persona
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerApiV1PersonalVotePageGet user's votes
|
AnswerApiV1PersonalVotePageGet get user personal votes
|
||||||
|
|
||||||
user's vote
|
get user personal votes
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalVotePageGetRequest
|
@return ApiAnswerApiV1PersonalVotePageGetRequest
|
||||||
|
|||||||
735
api_admin.go
735
api_admin.go
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -67,7 +65,7 @@ func (r ApiAnswerAdminApiAnswerPageGetRequest) Execute() (*HandlerRespBody, *htt
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerAdminApiAnswerPageGet AdminSearchAnswerList
|
AnswerAdminApiAnswerPageGet AdminAnswerPage admin answer page
|
||||||
|
|
||||||
Status:[available,deleted]
|
Status:[available,deleted]
|
||||||
|
|
||||||
@@ -461,7 +459,7 @@ func (r ApiAnswerAdminApiQuestionPageGetRequest) Execute() (*HandlerRespBody, *h
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerAdminApiQuestionPageGet AdminSearchList
|
AnswerAdminApiQuestionPageGet AdminQuestionPage admin question page
|
||||||
|
|
||||||
Status:[available,closed,deleted]
|
Status:[available,closed,deleted]
|
||||||
|
|
||||||
@@ -1080,6 +1078,244 @@ func (a *AdminApiService) AnswerAdminApiRolesGetExecute(r ApiAnswerAdminApiRoles
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiSettingPrivilegesGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiSettingPrivilegesGetRequest) Execute() (*AnswerAdminApiSettingPrivilegesGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiSettingPrivilegesGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiSettingPrivilegesGet GetPrivilegesConfig get privileges config
|
||||||
|
|
||||||
|
GetPrivilegesConfig get privileges config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiSettingPrivilegesGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSettingPrivilegesGet(ctx context.Context) ApiAnswerAdminApiSettingPrivilegesGetRequest {
|
||||||
|
return ApiAnswerAdminApiSettingPrivilegesGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSettingPrivilegesGetExecute(r ApiAnswerAdminApiSettingPrivilegesGetRequest) (*AnswerAdminApiSettingPrivilegesGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiSettingPrivilegesGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/setting/privileges"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiSettingPrivilegesPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
data *SchemaUpdatePrivilegesConfigReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// config
|
||||||
|
func (r ApiAnswerAdminApiSettingPrivilegesPutRequest) Data(data SchemaUpdatePrivilegesConfigReq) ApiAnswerAdminApiSettingPrivilegesPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiSettingPrivilegesPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiSettingPrivilegesPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiSettingPrivilegesPut update privileges config
|
||||||
|
|
||||||
|
update privileges config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiSettingPrivilegesPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSettingPrivilegesPut(ctx context.Context) ApiAnswerAdminApiSettingPrivilegesPutRequest {
|
||||||
|
return ApiAnswerAdminApiSettingPrivilegesPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSettingPrivilegesPutExecute(r ApiAnswerAdminApiSettingPrivilegesPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiSettingPrivilegesPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/setting/privileges"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerAdminApiSettingSmtpGetRequest struct {
|
type ApiAnswerAdminApiSettingSmtpGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *AdminApiService
|
ApiService *AdminApiService
|
||||||
@@ -3222,6 +3458,244 @@ func (a *AdminApiService) AnswerAdminApiSiteinfoThemePutExecute(r ApiAnswerAdmin
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiSiteinfoUsersGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiSiteinfoUsersGetRequest) Execute() (*AnswerAdminApiSiteinfoUsersGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiSiteinfoUsersGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiSiteinfoUsersGet get site user config
|
||||||
|
|
||||||
|
get site user config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiSiteinfoUsersGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSiteinfoUsersGet(ctx context.Context) ApiAnswerAdminApiSiteinfoUsersGetRequest {
|
||||||
|
return ApiAnswerAdminApiSiteinfoUsersGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSiteinfoUsersGetExecute(r ApiAnswerAdminApiSiteinfoUsersGetRequest) (*AnswerAdminApiSiteinfoUsersGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiSiteinfoUsersGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/siteinfo/users"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiSiteinfoUsersPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
data *SchemaSiteUsersReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// users info
|
||||||
|
func (r ApiAnswerAdminApiSiteinfoUsersPutRequest) Data(data SchemaSiteUsersReq) ApiAnswerAdminApiSiteinfoUsersPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiSiteinfoUsersPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiSiteinfoUsersPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiSiteinfoUsersPut update site info config about users
|
||||||
|
|
||||||
|
update site info config about users
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiSiteinfoUsersPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSiteinfoUsersPut(ctx context.Context) ApiAnswerAdminApiSiteinfoUsersPutRequest {
|
||||||
|
return ApiAnswerAdminApiSiteinfoUsersPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminApiService) AnswerAdminApiSiteinfoUsersPutExecute(r ApiAnswerAdminApiSiteinfoUsersPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiSiteinfoUsersPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/siteinfo/users"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerAdminApiSiteinfoWriteGetRequest struct {
|
type ApiAnswerAdminApiSiteinfoWriteGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *AdminApiService
|
ApiService *AdminApiService
|
||||||
@@ -3573,6 +4047,130 @@ func (a *AdminApiService) AnswerAdminApiThemeOptionsGetExecute(r ApiAnswerAdminA
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiUserActivationGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
userId *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// user id
|
||||||
|
func (r ApiAnswerAdminApiUserActivationGetRequest) UserId(userId string) ApiAnswerAdminApiUserActivationGetRequest {
|
||||||
|
r.userId = &userId
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiUserActivationGetRequest) Execute() (*AnswerAdminApiUserActivationGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiUserActivationGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiUserActivationGet get user activation
|
||||||
|
|
||||||
|
get user activation
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiUserActivationGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiUserActivationGet(ctx context.Context) ApiAnswerAdminApiUserActivationGetRequest {
|
||||||
|
return ApiAnswerAdminApiUserActivationGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiUserActivationGet200Response
|
||||||
|
func (a *AdminApiService) AnswerAdminApiUserActivationGetExecute(r ApiAnswerAdminApiUserActivationGetRequest) (*AnswerAdminApiUserActivationGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiUserActivationGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiUserActivationGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/user/activation"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.userId == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("userId is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "user_id", r.userId, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerAdminApiUserPasswordPutRequest struct {
|
type ApiAnswerAdminApiUserPasswordPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *AdminApiService
|
ApiService *AdminApiService
|
||||||
@@ -4073,6 +4671,131 @@ func (a *AdminApiService) AnswerAdminApiUserStatusPutExecute(r ApiAnswerAdminApi
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiUsersActivationPostRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminApiService
|
||||||
|
data *SchemaSendUserActivationReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// SendUserActivationReq
|
||||||
|
func (r ApiAnswerAdminApiUsersActivationPostRequest) Data(data SchemaSendUserActivationReq) ApiAnswerAdminApiUsersActivationPostRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiUsersActivationPostRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiUsersActivationPostExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiUsersActivationPost send user activation
|
||||||
|
|
||||||
|
send user activation
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiUsersActivationPostRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminApiService) AnswerAdminApiUsersActivationPost(ctx context.Context) ApiAnswerAdminApiUsersActivationPostRequest {
|
||||||
|
return ApiAnswerAdminApiUsersActivationPostRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminApiService) AnswerAdminApiUsersActivationPostExecute(r ApiAnswerAdminApiUsersActivationPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPost
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminApiService.AnswerAdminApiUsersActivationPost")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/users/activation"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerAdminApiUsersPageGetRequest struct {
|
type ApiAnswerAdminApiUsersPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *AdminApiService
|
ApiService *AdminApiService
|
||||||
|
|||||||
528
api_admin_plugin.go
Normal file
528
api_admin_plugin.go
Normal file
@@ -0,0 +1,528 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package openapi
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// AdminPluginApiService AdminPluginApi service
|
||||||
|
type AdminPluginApiService service
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginConfigGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginApiService
|
||||||
|
pluginSlugName *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// plugin_slug_name
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigGetRequest) PluginSlugName(pluginSlugName string) ApiAnswerAdminApiPluginConfigGetRequest {
|
||||||
|
r.pluginSlugName = &pluginSlugName
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigGetRequest) Execute() (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginConfigGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginConfigGet get plugin config
|
||||||
|
|
||||||
|
get plugin config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginConfigGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGet(ctx context.Context) ApiAnswerAdminApiPluginConfigGetRequest {
|
||||||
|
return ApiAnswerAdminApiPluginConfigGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiPluginConfigGet200Response
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswerAdminApiPluginConfigGetRequest) (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiPluginConfigGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginConfigGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/config"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.pluginSlugName == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pluginSlugName is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "plugin_slug_name", r.pluginSlugName, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginConfigPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginApiService
|
||||||
|
data *SchemaUpdatePluginConfigReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// UpdatePluginConfigReq
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigPutRequest) Data(data SchemaUpdatePluginConfigReq) ApiAnswerAdminApiPluginConfigPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginConfigPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginConfigPut update plugin config
|
||||||
|
|
||||||
|
update plugin config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginConfigPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPut(ctx context.Context) ApiAnswerAdminApiPluginConfigPutRequest {
|
||||||
|
return ApiAnswerAdminApiPluginConfigPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswerAdminApiPluginConfigPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginConfigPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/config"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginStatusPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginApiService
|
||||||
|
data *SchemaUpdatePluginStatusReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// UpdatePluginStatusReq
|
||||||
|
func (r ApiAnswerAdminApiPluginStatusPutRequest) Data(data SchemaUpdatePluginStatusReq) ApiAnswerAdminApiPluginStatusPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginStatusPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginStatusPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginStatusPut update plugin status
|
||||||
|
|
||||||
|
update plugin status
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginStatusPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPut(ctx context.Context) ApiAnswerAdminApiPluginStatusPutRequest {
|
||||||
|
return ApiAnswerAdminApiPluginStatusPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswerAdminApiPluginStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginStatusPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/status"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginsGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginApiService
|
||||||
|
status *string
|
||||||
|
haveConfig *bool
|
||||||
|
}
|
||||||
|
|
||||||
|
// status: active/inactive
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) Status(status string) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
r.status = &status
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// have config
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) HaveConfig(haveConfig bool) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
r.haveConfig = &haveConfig
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) Execute() (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginsGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginsGet get plugin list
|
||||||
|
|
||||||
|
get plugin list
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginsGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginsGet(ctx context.Context) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
return ApiAnswerAdminApiPluginsGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiPluginsGet200Response
|
||||||
|
func (a *AdminPluginApiService) AnswerAdminApiPluginsGetExecute(r ApiAnswerAdminApiPluginsGetRequest) (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiPluginsGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginsGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugins"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
if r.status != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "status", r.status, "")
|
||||||
|
}
|
||||||
|
if r.haveConfig != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "have_config", r.haveConfig, "")
|
||||||
|
}
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -788,160 +786,3 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1Answer
|
|||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *ApiAnswerApiService
|
|
||||||
username *string
|
|
||||||
order *string
|
|
||||||
page *string
|
|
||||||
pagesize *string
|
|
||||||
}
|
|
||||||
|
|
||||||
// username
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Username(username string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.username = &username
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// order
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Order(order string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.order = &order
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// page
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Page(page string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.page = &page
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// pagesize
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Pagesize(pagesize string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.pagesize = &pagesize
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
|
||||||
return r.ApiService.AnswerApiV1PersonalAnswerPageGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
AnswerApiV1PersonalAnswerPageGet UserAnswerList
|
|
||||||
|
|
||||||
UserAnswerList
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiAnswerApiV1PersonalAnswerPageGetRequest
|
|
||||||
*/
|
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return HandlerRespBody
|
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *HandlerRespBody
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1PersonalAnswerPageGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/answer/api/v1/personal/answer/page"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
if r.username == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.order == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.page == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.pagesize == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("pagesize is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "pagesize", r.pagesize, "")
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
if r.ctx != nil {
|
|
||||||
// API Key Authentication
|
|
||||||
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
|
||||||
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
|
||||||
var key string
|
|
||||||
if apiKey.Prefix != "" {
|
|
||||||
key = apiKey.Prefix + " " + apiKey.Key
|
|
||||||
} else {
|
|
||||||
key = apiKey.Key
|
|
||||||
}
|
|
||||||
localVarHeaderParams["Authorization"] = key
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -151,7 +149,7 @@ type ApiAnswerApiV1PersonalCollectionPageGetRequest struct {
|
|||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CollectionApiService
|
ApiService *CollectionApiService
|
||||||
page *string
|
page *string
|
||||||
pagesize *string
|
pageSize *string
|
||||||
}
|
}
|
||||||
|
|
||||||
// page
|
// page
|
||||||
@@ -160,9 +158,9 @@ func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Page(page string) ApiAns
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
// pagesize
|
// page_size
|
||||||
func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Pagesize(pagesize string) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) PageSize(pageSize string) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
||||||
r.pagesize = &pagesize
|
r.pageSize = &pageSize
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,9 +169,9 @@ func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Execute() (*HandlerRespB
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerApiV1PersonalCollectionPageGet UserCollectionList
|
AnswerApiV1PersonalCollectionPageGet list personal collections
|
||||||
|
|
||||||
UserCollectionList
|
list personal collections
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalCollectionPageGetRequest
|
@return ApiAnswerApiV1PersonalCollectionPageGetRequest
|
||||||
@@ -208,12 +206,12 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r Api
|
|||||||
if r.page == nil {
|
if r.page == nil {
|
||||||
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
}
|
}
|
||||||
if r.pagesize == nil {
|
if r.pageSize == nil {
|
||||||
return localVarReturnValue, nil, reportError("pagesize is required and must be specified")
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
}
|
}
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "pagesize", r.pagesize, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
// to determine the Content-Type header
|
// to determine the Content-Type header
|
||||||
localVarHTTPContentTypes := []string{}
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -26,6 +24,7 @@ type ApiAnswerApiV1NotificationPageGetRequest struct {
|
|||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationApiService
|
||||||
type_ *string
|
type_ *string
|
||||||
|
inboxType *string
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
}
|
}
|
||||||
@@ -36,6 +35,12 @@ func (r ApiAnswerApiV1NotificationPageGetRequest) Type_(type_ string) ApiAnswerA
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// inbox_type
|
||||||
|
func (r ApiAnswerApiV1NotificationPageGetRequest) InboxType(inboxType string) ApiAnswerApiV1NotificationPageGetRequest {
|
||||||
|
r.inboxType = &inboxType
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
// page size
|
// page size
|
||||||
func (r ApiAnswerApiV1NotificationPageGetRequest) Page(page int32) ApiAnswerApiV1NotificationPageGetRequest {
|
func (r ApiAnswerApiV1NotificationPageGetRequest) Page(page int32) ApiAnswerApiV1NotificationPageGetRequest {
|
||||||
r.page = &page
|
r.page = &page
|
||||||
@@ -90,6 +95,9 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
if r.type_ == nil {
|
if r.type_ == nil {
|
||||||
return localVarReturnValue, nil, reportError("type_ is required and must be specified")
|
return localVarReturnValue, nil, reportError("type_ is required and must be specified")
|
||||||
}
|
}
|
||||||
|
if r.inboxType == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("inboxType is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
if r.page != nil {
|
if r.page != nil {
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
@@ -98,6 +106,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
}
|
}
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "inbox_type", r.inboxType, "")
|
||||||
// to determine the Content-Type header
|
// to determine the Content-Type header
|
||||||
localVarHTTPContentTypes := []string{}
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
|||||||
156
api_permission.go
Normal file
156
api_permission.go
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package openapi
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PermissionApiService PermissionApi service
|
||||||
|
type PermissionApiService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1PermissionGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PermissionApiService
|
||||||
|
authorization *string
|
||||||
|
action *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// access-token
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Authorization(authorization string) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
r.authorization = &authorization
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// permission key
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Action(action string) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
r.action = &action
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Execute() (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1PermissionGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1PermissionGet check user permission
|
||||||
|
|
||||||
|
check user permission
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1PermissionGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PermissionApiService) AnswerApiV1PermissionGet(ctx context.Context) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
return ApiAnswerApiV1PermissionGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1PermissionGet200Response
|
||||||
|
func (a *PermissionApiService) AnswerApiV1PermissionGetExecute(r ApiAnswerApiV1PermissionGetRequest) (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1PermissionGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.AnswerApiV1PermissionGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/permission"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.authorization == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("authorization is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.action == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("action is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "action", r.action, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
parameterAddToHeaderOrQuery(localVarHeaderParams, "Authorization", r.authorization, "")
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
335
api_personal.go
Normal file
335
api_personal.go
Normal file
@@ -0,0 +1,335 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package openapi
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PersonalApiService PersonalApi service
|
||||||
|
type PersonalApiService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PersonalApiService
|
||||||
|
username *string
|
||||||
|
order *string
|
||||||
|
page *string
|
||||||
|
pageSize *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Username(username string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// order
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Order(order string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.order = &order
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Page(page string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.page = &page
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page_size
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) PageSize(pageSize string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.pageSize = &pageSize
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1PersonalAnswerPageGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1PersonalAnswerPageGet list personal answers
|
||||||
|
|
||||||
|
list personal answers
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1PersonalAnswerPageGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.AnswerApiV1PersonalAnswerPageGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/personal/answer/page"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.username == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.order == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.page == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.pageSize == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiPersonalQuestionPageGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PersonalApiService
|
||||||
|
username *string
|
||||||
|
order *string
|
||||||
|
page *string
|
||||||
|
pageSize *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Username(username string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// order
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Order(order string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.order = &order
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Page(page string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.page = &page
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page_size
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) PageSize(pageSize string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.pageSize = &pageSize
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.PersonalQuestionPageGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
PersonalQuestionPageGet list personal questions
|
||||||
|
|
||||||
|
list personal questions
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiPersonalQuestionPageGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PersonalApiService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
|
||||||
|
return ApiPersonalQuestionPageGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PersonalApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.PersonalQuestionPageGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/personal/question/page"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.username == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.order == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.page == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.pageSize == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
483
api_plugin_connector.go
Normal file
483
api_plugin_connector.go
Normal file
@@ -0,0 +1,483 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package openapi
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PluginConnectorApiService PluginConnectorApi service
|
||||||
|
type PluginConnectorApiService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorBindingEmailPostRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorApiService
|
||||||
|
data *SchemaExternalLoginBindingUserSendEmailReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// external login binding user send email
|
||||||
|
func (r ApiAnswerApiV1ConnectorBindingEmailPostRequest) Data(data SchemaExternalLoginBindingUserSendEmailReq) ApiAnswerApiV1ConnectorBindingEmailPostRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorBindingEmailPostRequest) Execute() (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorBindingEmailPostExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorBindingEmailPost external login binding user send email
|
||||||
|
|
||||||
|
external login binding user send email
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorBindingEmailPostRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPost(ctx context.Context) ApiAnswerApiV1ConnectorBindingEmailPostRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorBindingEmailPostRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPostExecute(r ApiAnswerApiV1ConnectorBindingEmailPostRequest) (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPost
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorBindingEmailPost")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/binding/email"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorInfoGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorApiService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorInfoGetRequest) Execute() (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorInfoGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorInfoGet get all enabled connectors
|
||||||
|
|
||||||
|
get all enabled connectors
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorInfoGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorInfoGetRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorInfoGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnswerApiV1ConnectorInfoGetRequest) (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorInfoGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/info"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorUserInfoGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorApiService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserInfoGetRequest) Execute() (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorUserInfoGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorUserInfoGet get all connectors info about user
|
||||||
|
|
||||||
|
get all connectors info about user
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorUserInfoGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorUserInfoGetRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorUserInfoGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGetExecute(r ApiAnswerApiV1ConnectorUserInfoGetRequest) (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorUserInfoGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/user/info"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorApiService
|
||||||
|
data *SchemaExternalLoginUnbindingReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExternalLoginUnbindingReq
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) Data(data SchemaExternalLoginUnbindingReq) ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorUserUnbindingDeleteExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorUserUnbindingDelete unbind external user login
|
||||||
|
|
||||||
|
unbind external user login
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserUnbindingDelete(ctx context.Context) ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserUnbindingDeleteExecute(r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodDelete
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorUserUnbindingDelete")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/user/unbinding"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
593
api_question.go
593
api_question.go
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -271,119 +269,6 @@ func (a *QuestionApiService) AnswerApiV1QuestionAnswerPostExecute(r ApiAnswerApi
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1QuestionClosemsglistGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *QuestionApiService
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiAnswerApiV1QuestionClosemsglistGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
|
||||||
return r.ApiService.AnswerApiV1QuestionClosemsglistGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
AnswerApiV1QuestionClosemsglistGet close question msg list
|
|
||||||
|
|
||||||
close question msg list
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiAnswerApiV1QuestionClosemsglistGetRequest
|
|
||||||
*/
|
|
||||||
func (a *QuestionApiService) AnswerApiV1QuestionClosemsglistGet(ctx context.Context) ApiAnswerApiV1QuestionClosemsglistGetRequest {
|
|
||||||
return ApiAnswerApiV1QuestionClosemsglistGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return HandlerRespBody
|
|
||||||
func (a *QuestionApiService) AnswerApiV1QuestionClosemsglistGetExecute(r ApiAnswerApiV1QuestionClosemsglistGetRequest) (*HandlerRespBody, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *HandlerRespBody
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionClosemsglistGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/answer/api/v1/question/closemsglist"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
if r.ctx != nil {
|
|
||||||
// API Key Authentication
|
|
||||||
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
|
||||||
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
|
||||||
var key string
|
|
||||||
if apiKey.Prefix != "" {
|
|
||||||
key = apiKey.Prefix + " " + apiKey.Key
|
|
||||||
} else {
|
|
||||||
key = apiKey.Key
|
|
||||||
}
|
|
||||||
localVarHeaderParams["Authorization"] = key
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
type ApiAnswerApiV1QuestionDeleteRequest struct {
|
type ApiAnswerApiV1QuestionDeleteRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *QuestionApiService
|
ApiService *QuestionApiService
|
||||||
@@ -633,6 +518,255 @@ func (a *QuestionApiService) AnswerApiV1QuestionInfoGetExecute(r ApiAnswerApiV1Q
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1QuestionInviteGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *QuestionApiService
|
||||||
|
id *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// Question ID
|
||||||
|
func (r ApiAnswerApiV1QuestionInviteGetRequest) Id(id string) ApiAnswerApiV1QuestionInviteGetRequest {
|
||||||
|
r.id = &id
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1QuestionInviteGetRequest) Execute() (string, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1QuestionInviteGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1QuestionInviteGet get question invite user info
|
||||||
|
|
||||||
|
get question invite user info
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1QuestionInviteGetRequest
|
||||||
|
*/
|
||||||
|
func (a *QuestionApiService) AnswerApiV1QuestionInviteGet(ctx context.Context) ApiAnswerApiV1QuestionInviteGetRequest {
|
||||||
|
return ApiAnswerApiV1QuestionInviteGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return string
|
||||||
|
func (a *QuestionApiService) AnswerApiV1QuestionInviteGetExecute(r ApiAnswerApiV1QuestionInviteGetRequest) (string, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue string
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionInviteGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/question/invite"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.id == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("id is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "id", r.id, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1QuestionInvitePutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *QuestionApiService
|
||||||
|
data *SchemaQuestionUpdateInviteUser
|
||||||
|
}
|
||||||
|
|
||||||
|
// question
|
||||||
|
func (r ApiAnswerApiV1QuestionInvitePutRequest) Data(data SchemaQuestionUpdateInviteUser) ApiAnswerApiV1QuestionInvitePutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1QuestionInvitePutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1QuestionInvitePutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1QuestionInvitePut update question invite user
|
||||||
|
|
||||||
|
update question invite user
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1QuestionInvitePutRequest
|
||||||
|
*/
|
||||||
|
func (a *QuestionApiService) AnswerApiV1QuestionInvitePut(ctx context.Context) ApiAnswerApiV1QuestionInvitePutRequest {
|
||||||
|
return ApiAnswerApiV1QuestionInvitePutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *QuestionApiService) AnswerApiV1QuestionInvitePutExecute(r ApiAnswerApiV1QuestionInvitePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionInvitePut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/question/invite"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1QuestionOperationPutRequest struct {
|
type ApiAnswerApiV1QuestionOperationPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *QuestionApiService
|
ApiService *QuestionApiService
|
||||||
@@ -761,12 +895,47 @@ func (a *QuestionApiService) AnswerApiV1QuestionOperationPutExecute(r ApiAnswerA
|
|||||||
type ApiAnswerApiV1QuestionPageGetRequest struct {
|
type ApiAnswerApiV1QuestionPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *QuestionApiService
|
ApiService *QuestionApiService
|
||||||
data *SchemaQuestionPageReq
|
page *int32
|
||||||
|
pageSize *int32
|
||||||
|
order *string
|
||||||
|
tag *string
|
||||||
|
username *string
|
||||||
|
inDays *int32
|
||||||
}
|
}
|
||||||
|
|
||||||
// QuestionPageReq
|
// page
|
||||||
func (r ApiAnswerApiV1QuestionPageGetRequest) Data(data SchemaQuestionPageReq) ApiAnswerApiV1QuestionPageGetRequest {
|
func (r ApiAnswerApiV1QuestionPageGetRequest) Page(page int32) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
r.data = &data
|
r.page = &page
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page_size
|
||||||
|
func (r ApiAnswerApiV1QuestionPageGetRequest) PageSize(pageSize int32) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
|
r.pageSize = &pageSize
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// order cond
|
||||||
|
func (r ApiAnswerApiV1QuestionPageGetRequest) Order(order string) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
|
r.order = &order
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// tag
|
||||||
|
func (r ApiAnswerApiV1QuestionPageGetRequest) Tag(tag string) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
|
r.tag = &tag
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiAnswerApiV1QuestionPageGetRequest) Username(username string) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// in_days
|
||||||
|
func (r ApiAnswerApiV1QuestionPageGetRequest) InDays(inDays int32) ApiAnswerApiV1QuestionPageGetRequest {
|
||||||
|
r.inDays = &inDays
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -809,12 +978,27 @@ func (a *QuestionApiService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1Q
|
|||||||
localVarHeaderParams := make(map[string]string)
|
localVarHeaderParams := make(map[string]string)
|
||||||
localVarQueryParams := url.Values{}
|
localVarQueryParams := url.Values{}
|
||||||
localVarFormParams := url.Values{}
|
localVarFormParams := url.Values{}
|
||||||
if r.data == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if r.page != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
|
}
|
||||||
|
if r.pageSize != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
|
}
|
||||||
|
if r.order != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
||||||
|
}
|
||||||
|
if r.tag != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "tag", r.tag, "")
|
||||||
|
}
|
||||||
|
if r.username != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
}
|
||||||
|
if r.inDays != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "in_days", r.inDays, "")
|
||||||
|
}
|
||||||
// to determine the Content-Type header
|
// to determine the Content-Type header
|
||||||
localVarHTTPContentTypes := []string{"application/json"}
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
// set Content-Type header
|
// set Content-Type header
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
@@ -830,8 +1014,6 @@ func (a *QuestionApiService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1Q
|
|||||||
if localVarHTTPHeaderAccept != "" {
|
if localVarHTTPHeaderAccept != "" {
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
}
|
}
|
||||||
// body params
|
|
||||||
localVarPostBody = r.data
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, err
|
return localVarReturnValue, nil, err
|
||||||
@@ -1602,160 +1784,3 @@ func (a *QuestionApiService) AnswerApiV1QuestionStatusPutExecute(r ApiAnswerApiV
|
|||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiPersonalQuestionPageGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *QuestionApiService
|
|
||||||
username *string
|
|
||||||
order *string
|
|
||||||
page *string
|
|
||||||
pagesize *string
|
|
||||||
}
|
|
||||||
|
|
||||||
// username
|
|
||||||
func (r ApiPersonalQuestionPageGetRequest) Username(username string) ApiPersonalQuestionPageGetRequest {
|
|
||||||
r.username = &username
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// order
|
|
||||||
func (r ApiPersonalQuestionPageGetRequest) Order(order string) ApiPersonalQuestionPageGetRequest {
|
|
||||||
r.order = &order
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// page
|
|
||||||
func (r ApiPersonalQuestionPageGetRequest) Page(page string) ApiPersonalQuestionPageGetRequest {
|
|
||||||
r.page = &page
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// pagesize
|
|
||||||
func (r ApiPersonalQuestionPageGetRequest) Pagesize(pagesize string) ApiPersonalQuestionPageGetRequest {
|
|
||||||
r.pagesize = &pagesize
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiPersonalQuestionPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
|
||||||
return r.ApiService.PersonalQuestionPageGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
PersonalQuestionPageGet UserList
|
|
||||||
|
|
||||||
UserList
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiPersonalQuestionPageGetRequest
|
|
||||||
*/
|
|
||||||
func (a *QuestionApiService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
|
|
||||||
return ApiPersonalQuestionPageGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return HandlerRespBody
|
|
||||||
func (a *QuestionApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *HandlerRespBody
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.PersonalQuestionPageGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/personal/question/page"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
if r.username == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.order == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.page == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.pagesize == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("pagesize is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "pagesize", r.pagesize, "")
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
if r.ctx != nil {
|
|
||||||
// API Key Authentication
|
|
||||||
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
|
||||||
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
|
||||||
var key string
|
|
||||||
if apiKey.Prefix != "" {
|
|
||||||
key = apiKey.Prefix + " " + apiKey.Key
|
|
||||||
} else {
|
|
||||||
key = apiKey.Key
|
|
||||||
}
|
|
||||||
localVarHeaderParams["Authorization"] = key
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
116
api_report.go
116
api_report.go
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -146,113 +144,3 @@ func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPo
|
|||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1ReportTypeListGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *ReportApiService
|
|
||||||
source *string
|
|
||||||
}
|
|
||||||
|
|
||||||
// report source
|
|
||||||
func (r ApiAnswerApiV1ReportTypeListGetRequest) Source(source string) ApiAnswerApiV1ReportTypeListGetRequest {
|
|
||||||
r.source = &source
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiAnswerApiV1ReportTypeListGetRequest) Execute() (*AnswerApiV1ReportTypeListGet200Response, *http.Response, error) {
|
|
||||||
return r.ApiService.AnswerApiV1ReportTypeListGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
AnswerApiV1ReportTypeListGet get report type list
|
|
||||||
|
|
||||||
get report type list
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiAnswerApiV1ReportTypeListGetRequest
|
|
||||||
*/
|
|
||||||
func (a *ReportApiService) AnswerApiV1ReportTypeListGet(ctx context.Context) ApiAnswerApiV1ReportTypeListGetRequest {
|
|
||||||
return ApiAnswerApiV1ReportTypeListGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return AnswerApiV1ReportTypeListGet200Response
|
|
||||||
func (a *ReportApiService) AnswerApiV1ReportTypeListGetExecute(r ApiAnswerApiV1ReportTypeListGetRequest) (*AnswerApiV1ReportTypeListGet200Response, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *AnswerApiV1ReportTypeListGet200Response
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReportApiService.AnswerApiV1ReportTypeListGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/answer/api/v1/report/type/list"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
if r.source == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("source is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "source", r.source, "")
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|||||||
136
api_user.go
136
api_user.go
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -1097,6 +1095,130 @@ func (a *UserApiService) AnswerApiV1UserInfoPutExecute(r ApiAnswerApiV1UserInfoP
|
|||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1UserInfoSearchGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *UserApiService
|
||||||
|
username *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiAnswerApiV1UserInfoSearchGetRequest) Username(username string) ApiAnswerApiV1UserInfoSearchGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1UserInfoSearchGetRequest) Execute() (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1UserInfoSearchGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1UserInfoSearchGet SearchUserListByName
|
||||||
|
|
||||||
|
SearchUserListByName
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1UserInfoSearchGetRequest
|
||||||
|
*/
|
||||||
|
func (a *UserApiService) AnswerApiV1UserInfoSearchGet(ctx context.Context) ApiAnswerApiV1UserInfoSearchGetRequest {
|
||||||
|
return ApiAnswerApiV1UserInfoSearchGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1PersonalUserInfoGet200Response
|
||||||
|
func (a *UserApiService) AnswerApiV1UserInfoSearchGetExecute(r ApiAnswerApiV1UserInfoSearchGetRequest) (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1PersonalUserInfoGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserInfoSearchGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/user/info/search"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.username == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1UserInterfacePutRequest struct {
|
type ApiAnswerApiV1UserInterfacePutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *UserApiService
|
ApiService *UserApiService
|
||||||
@@ -1571,11 +1693,11 @@ func (a *UserApiService) AnswerApiV1UserNoticeSetPostExecute(r ApiAnswerApiV1Use
|
|||||||
type ApiAnswerApiV1UserPasswordPutRequest struct {
|
type ApiAnswerApiV1UserPasswordPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *UserApiService
|
ApiService *UserApiService
|
||||||
data *SchemaUserModifyPassWordRequest
|
data *SchemaUserModifyPasswordReq
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserModifyPassWordRequest
|
// UserModifyPasswordReq
|
||||||
func (r ApiAnswerApiV1UserPasswordPutRequest) Data(data SchemaUserModifyPassWordRequest) ApiAnswerApiV1UserPasswordPutRequest {
|
func (r ApiAnswerApiV1UserPasswordPutRequest) Data(data SchemaUserModifyPasswordReq) ApiAnswerApiV1UserPasswordPutRequest {
|
||||||
r.data = &data
|
r.data = &data
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|||||||
20
client.go
20
client.go
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -41,7 +39,7 @@ var (
|
|||||||
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
|
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
|
||||||
)
|
)
|
||||||
|
|
||||||
// APIClient manages communication with the answer API vv0.0.1
|
// APIClient manages communication with the API v1.0.0
|
||||||
// In most cases there should be only one, shared, APIClient.
|
// In most cases there should be only one, shared, APIClient.
|
||||||
type APIClient struct {
|
type APIClient struct {
|
||||||
cfg *Configuration
|
cfg *Configuration
|
||||||
@@ -53,6 +51,8 @@ type APIClient struct {
|
|||||||
|
|
||||||
AdminApi *AdminApiService
|
AdminApi *AdminApiService
|
||||||
|
|
||||||
|
AdminPluginApi *AdminPluginApiService
|
||||||
|
|
||||||
ApiAnswerApi *ApiAnswerApiService
|
ApiAnswerApi *ApiAnswerApiService
|
||||||
|
|
||||||
CollectionApi *CollectionApiService
|
CollectionApi *CollectionApiService
|
||||||
@@ -65,6 +65,12 @@ type APIClient struct {
|
|||||||
|
|
||||||
NotificationApi *NotificationApiService
|
NotificationApi *NotificationApiService
|
||||||
|
|
||||||
|
PermissionApi *PermissionApiService
|
||||||
|
|
||||||
|
PersonalApi *PersonalApiService
|
||||||
|
|
||||||
|
PluginConnectorApi *PluginConnectorApiService
|
||||||
|
|
||||||
QuestionApi *QuestionApiService
|
QuestionApi *QuestionApiService
|
||||||
|
|
||||||
RankApi *RankApiService
|
RankApi *RankApiService
|
||||||
@@ -104,12 +110,16 @@ func NewAPIClient(cfg *Configuration) *APIClient {
|
|||||||
// API Services
|
// API Services
|
||||||
c.ActivityApi = (*ActivityApiService)(&c.common)
|
c.ActivityApi = (*ActivityApiService)(&c.common)
|
||||||
c.AdminApi = (*AdminApiService)(&c.common)
|
c.AdminApi = (*AdminApiService)(&c.common)
|
||||||
|
c.AdminPluginApi = (*AdminPluginApiService)(&c.common)
|
||||||
c.ApiAnswerApi = (*ApiAnswerApiService)(&c.common)
|
c.ApiAnswerApi = (*ApiAnswerApiService)(&c.common)
|
||||||
c.CollectionApi = (*CollectionApiService)(&c.common)
|
c.CollectionApi = (*CollectionApiService)(&c.common)
|
||||||
c.CommentApi = (*CommentApiService)(&c.common)
|
c.CommentApi = (*CommentApiService)(&c.common)
|
||||||
c.InstallationApi = (*InstallationApiService)(&c.common)
|
c.InstallationApi = (*InstallationApiService)(&c.common)
|
||||||
c.LangApi = (*LangApiService)(&c.common)
|
c.LangApi = (*LangApiService)(&c.common)
|
||||||
c.NotificationApi = (*NotificationApiService)(&c.common)
|
c.NotificationApi = (*NotificationApiService)(&c.common)
|
||||||
|
c.PermissionApi = (*PermissionApiService)(&c.common)
|
||||||
|
c.PersonalApi = (*PersonalApiService)(&c.common)
|
||||||
|
c.PluginConnectorApi = (*PluginConnectorApiService)(&c.common)
|
||||||
c.QuestionApi = (*QuestionApiService)(&c.common)
|
c.QuestionApi = (*QuestionApiService)(&c.common)
|
||||||
c.RankApi = (*RankApiService)(&c.common)
|
c.RankApi = (*RankApiService)(&c.common)
|
||||||
c.ReasonApi = (*ReasonApiService)(&c.common)
|
c.ReasonApi = (*ReasonApiService)(&c.common)
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
@@ -93,7 +91,7 @@ func NewConfiguration() *Configuration {
|
|||||||
Debug: false,
|
Debug: false,
|
||||||
Servers: ServerConfigurations{
|
Servers: ServerConfigurations{
|
||||||
{
|
{
|
||||||
URL: "//127.0.0.1:80",
|
URL: "",
|
||||||
Description: "No description provided",
|
Description: "No description provided",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# \ActivityApi
|
# \ActivityApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerApiV1FollowPost**](ActivityApi.md#AnswerApiV1FollowPost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
[**AnswerApiV1FollowPost**](ActivityApi.md#AnswerApiV1FollowPost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
||||||
[**AnswerApiV1FollowTagsPut**](ActivityApi.md#AnswerApiV1FollowTagsPut) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
[**AnswerApiV1FollowTagsPut**](ActivityApi.md#AnswerApiV1FollowTagsPut) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
||||||
[**AnswerApiV1PersonalVotePageGet**](ActivityApi.md#AnswerApiV1PersonalVotePageGet) | **Get** /answer/api/v1/personal/vote/page | user's votes
|
[**AnswerApiV1PersonalVotePageGet**](ActivityApi.md#AnswerApiV1PersonalVotePageGet) | **Get** /answer/api/v1/personal/vote/page | get user personal votes
|
||||||
[**AnswerApiV1VoteDownPost**](ActivityApi.md#AnswerApiV1VoteDownPost) | **Post** /answer/api/v1/vote/down | vote down
|
[**AnswerApiV1VoteDownPost**](ActivityApi.md#AnswerApiV1VoteDownPost) | **Post** /answer/api/v1/vote/down | vote down
|
||||||
[**AnswerApiV1VoteUpPost**](ActivityApi.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
[**AnswerApiV1VoteUpPost**](ActivityApi.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
> AnswerApiV1PersonalVotePageGet200Response AnswerApiV1PersonalVotePageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
> AnswerApiV1PersonalVotePageGet200Response AnswerApiV1PersonalVotePageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
user's votes
|
get user personal votes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
404
docs/AdminApi.md
404
docs/AdminApi.md
@@ -1,17 +1,19 @@
|
|||||||
# \AdminApi
|
# \AdminApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerAdminApiAnswerPageGet**](AdminApi.md#AnswerAdminApiAnswerPageGet) | **Get** /answer/admin/api/answer/page | AdminSearchAnswerList
|
[**AnswerAdminApiAnswerPageGet**](AdminApi.md#AnswerAdminApiAnswerPageGet) | **Get** /answer/admin/api/answer/page | AdminAnswerPage admin answer page
|
||||||
[**AnswerAdminApiAnswerStatusPut**](AdminApi.md#AnswerAdminApiAnswerStatusPut) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
[**AnswerAdminApiAnswerStatusPut**](AdminApi.md#AnswerAdminApiAnswerStatusPut) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
||||||
[**AnswerAdminApiDashboardGet**](AdminApi.md#AnswerAdminApiDashboardGet) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
[**AnswerAdminApiDashboardGet**](AdminApi.md#AnswerAdminApiDashboardGet) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
||||||
[**AnswerAdminApiQuestionPageGet**](AdminApi.md#AnswerAdminApiQuestionPageGet) | **Get** /answer/admin/api/question/page | AdminSearchList
|
[**AnswerAdminApiQuestionPageGet**](AdminApi.md#AnswerAdminApiQuestionPageGet) | **Get** /answer/admin/api/question/page | AdminQuestionPage admin question page
|
||||||
[**AnswerAdminApiQuestionStatusPut**](AdminApi.md#AnswerAdminApiQuestionStatusPut) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
[**AnswerAdminApiQuestionStatusPut**](AdminApi.md#AnswerAdminApiQuestionStatusPut) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
||||||
[**AnswerAdminApiReportPut**](AdminApi.md#AnswerAdminApiReportPut) | **Put** /answer/admin/api/report/ | handle flag
|
[**AnswerAdminApiReportPut**](AdminApi.md#AnswerAdminApiReportPut) | **Put** /answer/admin/api/report/ | handle flag
|
||||||
[**AnswerAdminApiReportsPageGet**](AdminApi.md#AnswerAdminApiReportsPageGet) | **Get** /answer/admin/api/reports/page | list report page
|
[**AnswerAdminApiReportsPageGet**](AdminApi.md#AnswerAdminApiReportsPageGet) | **Get** /answer/admin/api/reports/page | list report page
|
||||||
[**AnswerAdminApiRolesGet**](AdminApi.md#AnswerAdminApiRolesGet) | **Get** /answer/admin/api/roles | get role list
|
[**AnswerAdminApiRolesGet**](AdminApi.md#AnswerAdminApiRolesGet) | **Get** /answer/admin/api/roles | get role list
|
||||||
|
[**AnswerAdminApiSettingPrivilegesGet**](AdminApi.md#AnswerAdminApiSettingPrivilegesGet) | **Get** /answer/admin/api/setting/privileges | GetPrivilegesConfig get privileges config
|
||||||
|
[**AnswerAdminApiSettingPrivilegesPut**](AdminApi.md#AnswerAdminApiSettingPrivilegesPut) | **Put** /answer/admin/api/setting/privileges | update privileges config
|
||||||
[**AnswerAdminApiSettingSmtpGet**](AdminApi.md#AnswerAdminApiSettingSmtpGet) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
[**AnswerAdminApiSettingSmtpGet**](AdminApi.md#AnswerAdminApiSettingSmtpGet) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
||||||
[**AnswerAdminApiSettingSmtpPut**](AdminApi.md#AnswerAdminApiSettingSmtpPut) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
[**AnswerAdminApiSettingSmtpPut**](AdminApi.md#AnswerAdminApiSettingSmtpPut) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
||||||
[**AnswerAdminApiSiteinfoBrandingGet**](AdminApi.md#AnswerAdminApiSiteinfoBrandingGet) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
[**AnswerAdminApiSiteinfoBrandingGet**](AdminApi.md#AnswerAdminApiSiteinfoBrandingGet) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
||||||
@@ -30,13 +32,17 @@ Method | HTTP request | Description
|
|||||||
[**AnswerAdminApiSiteinfoSeoPut**](AdminApi.md#AnswerAdminApiSiteinfoSeoPut) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
[**AnswerAdminApiSiteinfoSeoPut**](AdminApi.md#AnswerAdminApiSiteinfoSeoPut) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
||||||
[**AnswerAdminApiSiteinfoThemeGet**](AdminApi.md#AnswerAdminApiSiteinfoThemeGet) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
[**AnswerAdminApiSiteinfoThemeGet**](AdminApi.md#AnswerAdminApiSiteinfoThemeGet) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
||||||
[**AnswerAdminApiSiteinfoThemePut**](AdminApi.md#AnswerAdminApiSiteinfoThemePut) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
[**AnswerAdminApiSiteinfoThemePut**](AdminApi.md#AnswerAdminApiSiteinfoThemePut) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
||||||
|
[**AnswerAdminApiSiteinfoUsersGet**](AdminApi.md#AnswerAdminApiSiteinfoUsersGet) | **Get** /answer/admin/api/siteinfo/users | get site user config
|
||||||
|
[**AnswerAdminApiSiteinfoUsersPut**](AdminApi.md#AnswerAdminApiSiteinfoUsersPut) | **Put** /answer/admin/api/siteinfo/users | update site info config about users
|
||||||
[**AnswerAdminApiSiteinfoWriteGet**](AdminApi.md#AnswerAdminApiSiteinfoWriteGet) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
[**AnswerAdminApiSiteinfoWriteGet**](AdminApi.md#AnswerAdminApiSiteinfoWriteGet) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
||||||
[**AnswerAdminApiSiteinfoWritePut**](AdminApi.md#AnswerAdminApiSiteinfoWritePut) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
[**AnswerAdminApiSiteinfoWritePut**](AdminApi.md#AnswerAdminApiSiteinfoWritePut) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
||||||
[**AnswerAdminApiThemeOptionsGet**](AdminApi.md#AnswerAdminApiThemeOptionsGet) | **Get** /answer/admin/api/theme/options | Get theme options
|
[**AnswerAdminApiThemeOptionsGet**](AdminApi.md#AnswerAdminApiThemeOptionsGet) | **Get** /answer/admin/api/theme/options | Get theme options
|
||||||
|
[**AnswerAdminApiUserActivationGet**](AdminApi.md#AnswerAdminApiUserActivationGet) | **Get** /answer/admin/api/user/activation | get user activation
|
||||||
[**AnswerAdminApiUserPasswordPut**](AdminApi.md#AnswerAdminApiUserPasswordPut) | **Put** /answer/admin/api/user/password | update user password
|
[**AnswerAdminApiUserPasswordPut**](AdminApi.md#AnswerAdminApiUserPasswordPut) | **Put** /answer/admin/api/user/password | update user password
|
||||||
[**AnswerAdminApiUserPost**](AdminApi.md#AnswerAdminApiUserPost) | **Post** /answer/admin/api/user | add user
|
[**AnswerAdminApiUserPost**](AdminApi.md#AnswerAdminApiUserPost) | **Post** /answer/admin/api/user | add user
|
||||||
[**AnswerAdminApiUserRolePut**](AdminApi.md#AnswerAdminApiUserRolePut) | **Put** /answer/admin/api/user/role | update user role
|
[**AnswerAdminApiUserRolePut**](AdminApi.md#AnswerAdminApiUserRolePut) | **Put** /answer/admin/api/user/role | update user role
|
||||||
[**AnswerAdminApiUserStatusPut**](AdminApi.md#AnswerAdminApiUserStatusPut) | **Put** /answer/admin/api/user/status | update user
|
[**AnswerAdminApiUserStatusPut**](AdminApi.md#AnswerAdminApiUserStatusPut) | **Put** /answer/admin/api/user/status | update user
|
||||||
|
[**AnswerAdminApiUsersActivationPost**](AdminApi.md#AnswerAdminApiUsersActivationPost) | **Post** /answer/admin/api/users/activation | send user activation
|
||||||
[**AnswerAdminApiUsersPageGet**](AdminApi.md#AnswerAdminApiUsersPageGet) | **Get** /answer/admin/api/users/page | get user page
|
[**AnswerAdminApiUsersPageGet**](AdminApi.md#AnswerAdminApiUsersPageGet) | **Get** /answer/admin/api/users/page | get user page
|
||||||
|
|
||||||
|
|
||||||
@@ -45,7 +51,7 @@ Method | HTTP request | Description
|
|||||||
|
|
||||||
> HandlerRespBody AnswerAdminApiAnswerPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).QuestionId(questionId).Execute()
|
> HandlerRespBody AnswerAdminApiAnswerPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).QuestionId(questionId).Execute()
|
||||||
|
|
||||||
AdminSearchAnswerList
|
AdminAnswerPage admin answer page
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -246,7 +252,7 @@ Other parameters are passed through a pointer to a apiAnswerAdminApiDashboardGet
|
|||||||
|
|
||||||
> HandlerRespBody AnswerAdminApiQuestionPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).Execute()
|
> HandlerRespBody AnswerAdminApiQuestionPageGet(ctx).Page(page).PageSize(pageSize).Status(status).Query(query).Execute()
|
||||||
|
|
||||||
AdminSearchList
|
AdminQuestionPage admin question page
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -579,6 +585,133 @@ No authorization required
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiSettingPrivilegesGet
|
||||||
|
|
||||||
|
> AnswerAdminApiSettingPrivilegesGet200Response AnswerAdminApiSettingPrivilegesGet(ctx).Execute()
|
||||||
|
|
||||||
|
GetPrivilegesConfig get privileges config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiSettingPrivilegesGet(context.Background()).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingPrivilegesGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiSettingPrivilegesGet`: AnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingPrivilegesGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiSettingPrivilegesGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiSettingPrivilegesGet200Response**](AnswerAdminApiSettingPrivilegesGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiSettingPrivilegesPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiSettingPrivilegesPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update privileges config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaUpdatePrivilegesConfigReq(openapiclient.schema.PrivilegeLevel(1)) // SchemaUpdatePrivilegesConfigReq | config
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiSettingPrivilegesPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSettingPrivilegesPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiSettingPrivilegesPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSettingPrivilegesPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiSettingPrivilegesPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaUpdatePrivilegesConfigReq**](SchemaUpdatePrivilegesConfigReq.md) | config |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerAdminApiSettingSmtpGet
|
## AnswerAdminApiSettingSmtpGet
|
||||||
|
|
||||||
> AnswerAdminApiSettingSmtpGet200Response AnswerAdminApiSettingSmtpGet(ctx).Execute()
|
> AnswerAdminApiSettingSmtpGet200Response AnswerAdminApiSettingSmtpGet(ctx).Execute()
|
||||||
@@ -1169,7 +1302,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
data := *openapiclient.NewSchemaSiteInterfaceReq("DefaultAvatar_example", "Language_example", "TimeZone_example") // SchemaSiteInterfaceReq | general
|
data := *openapiclient.NewSchemaSiteInterfaceReq("Language_example", "TimeZone_example") // SchemaSiteInterfaceReq | general
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
@@ -1722,6 +1855,133 @@ Name | Type | Description | Notes
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiSiteinfoUsersGet
|
||||||
|
|
||||||
|
> AnswerAdminApiSiteinfoUsersGet200Response AnswerAdminApiSiteinfoUsersGet(ctx).Execute()
|
||||||
|
|
||||||
|
get site user config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoUsersGet(context.Background()).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoUsersGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiSiteinfoUsersGet`: AnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoUsersGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoUsersGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiSiteinfoUsersGet200Response**](AnswerAdminApiSiteinfoUsersGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiSiteinfoUsersPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiSiteinfoUsersPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update site info config about users
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaSiteUsersReq("DefaultAvatar_example") // SchemaSiteUsersReq | users info
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiSiteinfoUsersPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiSiteinfoUsersPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiSiteinfoUsersPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiSiteinfoUsersPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiSiteinfoUsersPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaSiteUsersReq**](SchemaSiteUsersReq.md) | users info |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerAdminApiSiteinfoWriteGet
|
## AnswerAdminApiSiteinfoWriteGet
|
||||||
|
|
||||||
> AnswerAdminApiSiteinfoWriteGet200Response AnswerAdminApiSiteinfoWriteGet(ctx).Execute()
|
> AnswerAdminApiSiteinfoWriteGet200Response AnswerAdminApiSiteinfoWriteGet(ctx).Execute()
|
||||||
@@ -1910,6 +2170,72 @@ Other parameters are passed through a pointer to a apiAnswerAdminApiThemeOptions
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiUserActivationGet
|
||||||
|
|
||||||
|
> AnswerAdminApiUserActivationGet200Response AnswerAdminApiUserActivationGet(ctx).UserId(userId).Execute()
|
||||||
|
|
||||||
|
get user activation
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
userId := "userId_example" // string | user id
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiUserActivationGet(context.Background()).UserId(userId).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUserActivationGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiUserActivationGet`: AnswerAdminApiUserActivationGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUserActivationGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiUserActivationGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**userId** | **string** | user id |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiUserActivationGet200Response**](AnswerAdminApiUserActivationGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerAdminApiUserPasswordPut
|
## AnswerAdminApiUserPasswordPut
|
||||||
|
|
||||||
> HandlerRespBody AnswerAdminApiUserPasswordPut(ctx).Data(data).Execute()
|
> HandlerRespBody AnswerAdminApiUserPasswordPut(ctx).Data(data).Execute()
|
||||||
@@ -2174,6 +2500,72 @@ Name | Type | Description | Notes
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiUsersActivationPost
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiUsersActivationPost(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
send user activation
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaSendUserActivationReq("UserId_example") // SchemaSendUserActivationReq | SendUserActivationReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminApi.AnswerAdminApiUsersActivationPost(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminApi.AnswerAdminApiUsersActivationPost``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiUsersActivationPost`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminApi.AnswerAdminApiUsersActivationPost`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiUsersActivationPostRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaSendUserActivationReq**](SchemaSendUserActivationReq.md) | SendUserActivationReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerAdminApiUsersPageGet
|
## AnswerAdminApiUsersPageGet
|
||||||
|
|
||||||
> AnswerAdminApiUsersPageGet200Response AnswerAdminApiUsersPageGet(ctx).Page(page).PageSize(pageSize).Query(query).Staff(staff).Status(status).Execute()
|
> AnswerAdminApiUsersPageGet200Response AnswerAdminApiUsersPageGet(ctx).Page(page).PageSize(pageSize).Query(query).Staff(staff).Status(status).Execute()
|
||||||
|
|||||||
278
docs/AdminPluginApi.md
Normal file
278
docs/AdminPluginApi.md
Normal file
@@ -0,0 +1,278 @@
|
|||||||
|
# \AdminPluginApi
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**AnswerAdminApiPluginConfigGet**](AdminPluginApi.md#AnswerAdminApiPluginConfigGet) | **Get** /answer/admin/api/plugin/config | get plugin config
|
||||||
|
[**AnswerAdminApiPluginConfigPut**](AdminPluginApi.md#AnswerAdminApiPluginConfigPut) | **Put** /answer/admin/api/plugin/config | update plugin config
|
||||||
|
[**AnswerAdminApiPluginStatusPut**](AdminPluginApi.md#AnswerAdminApiPluginStatusPut) | **Put** /answer/admin/api/plugin/status | update plugin status
|
||||||
|
[**AnswerAdminApiPluginsGet**](AdminPluginApi.md#AnswerAdminApiPluginsGet) | **Get** /answer/admin/api/plugins | get plugin list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginConfigGet
|
||||||
|
|
||||||
|
> AnswerAdminApiPluginConfigGet200Response AnswerAdminApiPluginConfigGet(ctx).PluginSlugName(pluginSlugName).Execute()
|
||||||
|
|
||||||
|
get plugin config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
pluginSlugName := "pluginSlugName_example" // string | plugin_slug_name
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigGet(context.Background()).PluginSlugName(pluginSlugName).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginApi.AnswerAdminApiPluginConfigGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginConfigGet`: AnswerAdminApiPluginConfigGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginApi.AnswerAdminApiPluginConfigGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginConfigGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**pluginSlugName** | **string** | plugin_slug_name |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiPluginConfigGet200Response**](AnswerAdminApiPluginConfigGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginConfigPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiPluginConfigPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update plugin config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaUpdatePluginConfigReq("PluginSlugName_example") // SchemaUpdatePluginConfigReq | UpdatePluginConfigReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginApi.AnswerAdminApiPluginConfigPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginConfigPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginApi.AnswerAdminApiPluginConfigPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginConfigPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaUpdatePluginConfigReq**](SchemaUpdatePluginConfigReq.md) | UpdatePluginConfigReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginStatusPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiPluginStatusPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update plugin status
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaUpdatePluginStatusReq("PluginSlugName_example") // SchemaUpdatePluginStatusReq | UpdatePluginStatusReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginStatusPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginApi.AnswerAdminApiPluginStatusPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginStatusPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginApi.AnswerAdminApiPluginStatusPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginStatusPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaUpdatePluginStatusReq**](SchemaUpdatePluginStatusReq.md) | UpdatePluginStatusReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginsGet
|
||||||
|
|
||||||
|
> AnswerAdminApiPluginsGet200Response AnswerAdminApiPluginsGet(ctx).Status(status).HaveConfig(haveConfig).Execute()
|
||||||
|
|
||||||
|
get plugin list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
status := "status_example" // string | status: active/inactive (optional)
|
||||||
|
haveConfig := true // bool | have config (optional)
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginsGet(context.Background()).Status(status).HaveConfig(haveConfig).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginApi.AnswerAdminApiPluginsGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginsGet`: AnswerAdminApiPluginsGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginApi.AnswerAdminApiPluginsGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginsGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**status** | **string** | status: active/inactive |
|
||||||
|
**haveConfig** | **bool** | have config |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiPluginsGet200Response**](AnswerAdminApiPluginsGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
82
docs/AnswerAdminApiPluginConfigGet200Response.md
Normal file
82
docs/AnswerAdminApiPluginConfigGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerAdminApiPluginConfigGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**SchemaGetPluginConfigResp**](SchemaGetPluginConfigResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginConfigGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginConfigGet200Response() *AnswerAdminApiPluginConfigGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginConfigGet200Response instantiates a new AnswerAdminApiPluginConfigGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults() *AnswerAdminApiPluginConfigGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults instantiates a new AnswerAdminApiPluginConfigGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetData() SchemaGetPluginConfigResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetDataOk() (*SchemaGetPluginConfigResp, 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 *AnswerAdminApiPluginConfigGet200Response) SetData(v SchemaGetPluginConfigResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerAdminApiPluginsGet200Response.md
Normal file
82
docs/AnswerAdminApiPluginsGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerAdminApiPluginsGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**[]SchemaGetPluginListResp**](SchemaGetPluginListResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginsGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginsGet200Response() *AnswerAdminApiPluginsGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginsGet200Response instantiates a new AnswerAdminApiPluginsGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginsGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginsGet200ResponseWithDefaults() *AnswerAdminApiPluginsGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginsGet200ResponseWithDefaults instantiates a new AnswerAdminApiPluginsGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetData() []SchemaGetPluginListResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetDataOk() (*[]SchemaGetPluginListResp, 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 *AnswerAdminApiPluginsGet200Response) SetData(v []SchemaGetPluginListResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerAdminApiSettingPrivilegesGet200Response.md
Normal file
82
docs/AnswerAdminApiSettingPrivilegesGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**SchemaGetPrivilegesConfigResp**](SchemaGetPrivilegesConfigResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSettingPrivilegesGet200Response() *AnswerAdminApiSettingPrivilegesGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSettingPrivilegesGet200Response instantiates a new AnswerAdminApiSettingPrivilegesGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults() *AnswerAdminApiSettingPrivilegesGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults instantiates a new AnswerAdminApiSettingPrivilegesGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetData() SchemaGetPrivilegesConfigResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetDataOk() (*SchemaGetPrivilegesConfigResp, 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 *AnswerAdminApiSettingPrivilegesGet200Response) SetData(v SchemaGetPrivilegesConfigResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerAdminApiSiteinfoUsersGet200Response.md
Normal file
82
docs/AnswerAdminApiSiteinfoUsersGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**SchemaSiteUsersResp**](SchemaSiteUsersResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSiteinfoUsersGet200Response() *AnswerAdminApiSiteinfoUsersGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSiteinfoUsersGet200Response instantiates a new AnswerAdminApiSiteinfoUsersGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults() *AnswerAdminApiSiteinfoUsersGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults instantiates a new AnswerAdminApiSiteinfoUsersGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetData() SchemaSiteUsersResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetDataOk() (*SchemaSiteUsersResp, 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 *AnswerAdminApiSiteinfoUsersGet200Response) SetData(v SchemaSiteUsersResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerAdminApiUserActivationGet200Response.md
Normal file
82
docs/AnswerAdminApiUserActivationGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerAdminApiUserActivationGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**SchemaGetUserActivationResp**](SchemaGetUserActivationResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiUserActivationGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiUserActivationGet200Response() *AnswerAdminApiUserActivationGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiUserActivationGet200Response instantiates a new AnswerAdminApiUserActivationGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiUserActivationGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiUserActivationGet200ResponseWithDefaults() *AnswerAdminApiUserActivationGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiUserActivationGet200ResponseWithDefaults instantiates a new AnswerAdminApiUserActivationGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetData() SchemaGetUserActivationResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetDataOk() (*SchemaGetUserActivationResp, 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 *AnswerAdminApiUserActivationGet200Response) SetData(v SchemaGetUserActivationResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
Normal file
82
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**SchemaExternalLoginBindingUserSendEmailResp**](SchemaExternalLoginBindingUserSendEmailResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorBindingEmailPost200Response() *AnswerApiV1ConnectorBindingEmailPost200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorBindingEmailPost200Response instantiates a new AnswerApiV1ConnectorBindingEmailPost200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults() *AnswerApiV1ConnectorBindingEmailPost200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorBindingEmailPost200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetData() SchemaExternalLoginBindingUserSendEmailResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetDataOk() (*SchemaExternalLoginBindingUserSendEmailResp, 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 *AnswerApiV1ConnectorBindingEmailPost200Response) SetData(v SchemaExternalLoginBindingUserSendEmailResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerApiV1ConnectorInfoGet200Response.md
Normal file
82
docs/AnswerApiV1ConnectorInfoGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**[]SchemaConnectorInfoResp**](SchemaConnectorInfoResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorInfoGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorInfoGet200Response() *AnswerApiV1ConnectorInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorInfoGet200Response instantiates a new AnswerApiV1ConnectorInfoGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults() *AnswerApiV1ConnectorInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorInfoGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetData() []SchemaConnectorInfoResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetDataOk() (*[]SchemaConnectorInfoResp, 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 *AnswerApiV1ConnectorInfoGet200Response) SetData(v []SchemaConnectorInfoResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
Normal file
82
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to [**[]SchemaConnectorUserInfoResp**](SchemaConnectorUserInfoResp.md) | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorUserInfoGet200Response() *AnswerApiV1ConnectorUserInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorUserInfoGet200Response instantiates a new AnswerApiV1ConnectorUserInfoGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults() *AnswerApiV1ConnectorUserInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorUserInfoGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetData() []SchemaConnectorUserInfoResp`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetDataOk() (*[]SchemaConnectorUserInfoResp, 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 *AnswerApiV1ConnectorUserInfoGet200Response) SetData(v []SchemaConnectorUserInfoResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/AnswerApiV1PermissionGet200Response.md
Normal file
82
docs/AnswerApiV1PermissionGet200Response.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerApiV1PermissionGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Data** | Pointer to **map[string]bool** | | [optional]
|
||||||
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1PermissionGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PermissionGet200Response() *AnswerApiV1PermissionGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1PermissionGet200Response instantiates a new AnswerApiV1PermissionGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1PermissionGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PermissionGet200ResponseWithDefaults() *AnswerApiV1PermissionGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1PermissionGet200ResponseWithDefaults instantiates a new AnswerApiV1PermissionGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetData() map[string]bool`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetDataOk() (*map[string]bool, 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 *AnswerApiV1PermissionGet200Response) SetData(v map[string]bool)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||||
|
|
||||||
|
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHandlerRespBodyOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||||
|
|
||||||
|
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||||
|
|
||||||
|
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||||
|
|
||||||
|
### HasHandlerRespBody
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) HasHandlerRespBody() bool`
|
||||||
|
|
||||||
|
HasHandlerRespBody returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Count** | Pointer to **int32** | | [optional]
|
**Count** | Pointer to **int32** | | [optional]
|
||||||
**List** | Pointer to [**[]SchemaGetRankPersonalWithPageResp**](SchemaGetRankPersonalWithPageResp.md) | | [optional]
|
**List** | Pointer to [**[]SchemaGetRankPersonalPageResp**](SchemaGetRankPersonalPageResp.md) | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -53,20 +53,20 @@ HasCount returns a boolean if a field has been set.
|
|||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetList() []SchemaGetRankPersonalWithPageResp`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetList() []SchemaGetRankPersonalPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetListOk() (*[]SchemaGetRankPersonalWithPageResp, bool)`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetListOk() (*[]SchemaGetRankPersonalPageResp, bool)`
|
||||||
|
|
||||||
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) SetList(v []SchemaGetRankPersonalWithPageResp)`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**List** | Pointer to [**[]SchemaGetRankPersonalWithPageResp**](SchemaGetRankPersonalWithPageResp.md) | | [optional]
|
**List** | Pointer to [**[]SchemaGetRankPersonalPageResp**](SchemaGetRankPersonalPageResp.md) | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -27,20 +27,20 @@ but it doesn't guarantee that properties required by API are set
|
|||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetList() []SchemaGetRankPersonalWithPageResp`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetList() []SchemaGetRankPersonalPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetRankPersonalWithPageResp, bool)`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetRankPersonalPageResp, bool)`
|
||||||
|
|
||||||
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) SetList(v []SchemaGetRankPersonalWithPageResp)`
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**SchemaGetUserResp**](SchemaGetUserResp.md) | | [optional]
|
**Data** | Pointer to [**SchemaUserLoginResp**](SchemaUserLoginResp.md) | | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
|
|||||||
|
|
||||||
### GetData
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetData() SchemaGetUserResp`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetData() SchemaUserLoginResp`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetDataOk() (*SchemaGetUserResp, bool)`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetDataOk() (*SchemaUserLoginResp, bool)`
|
||||||
|
|
||||||
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetData(v SchemaGetUserResp)`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetData(v SchemaUserLoginResp)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**SchemaGetUserToSetShowResp**](SchemaGetUserToSetShowResp.md) | | [optional]
|
**Data** | Pointer to [**SchemaGetCurrentLoginUserInfoResp**](SchemaGetCurrentLoginUserInfoResp.md) | | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
|
|||||||
|
|
||||||
### GetData
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) GetData() SchemaGetUserToSetShowResp`
|
`func (o *AnswerApiV1UserInfoGet200Response) GetData() SchemaGetCurrentLoginUserInfoResp`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) GetDataOk() (*SchemaGetUserToSetShowResp, bool)`
|
`func (o *AnswerApiV1UserInfoGet200Response) GetDataOk() (*SchemaGetCurrentLoginUserInfoResp, bool)`
|
||||||
|
|
||||||
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) SetData(v SchemaGetUserToSetShowResp)`
|
`func (o *AnswerApiV1UserInfoGet200Response) SetData(v SchemaGetCurrentLoginUserInfoResp)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \ApiAnswerApi
|
# \ApiAnswerApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
@@ -10,7 +10,6 @@ Method | HTTP request | Description
|
|||||||
[**AnswerApiV1AnswerPageGet**](ApiAnswerApi.md#AnswerApiV1AnswerPageGet) | **Get** /answer/api/v1/answer/page | AnswerList
|
[**AnswerApiV1AnswerPageGet**](ApiAnswerApi.md#AnswerApiV1AnswerPageGet) | **Get** /answer/api/v1/answer/page | AnswerList
|
||||||
[**AnswerApiV1AnswerPost**](ApiAnswerApi.md#AnswerApiV1AnswerPost) | **Post** /answer/api/v1/answer | Insert Answer
|
[**AnswerApiV1AnswerPost**](ApiAnswerApi.md#AnswerApiV1AnswerPost) | **Post** /answer/api/v1/answer | Insert Answer
|
||||||
[**AnswerApiV1AnswerPut**](ApiAnswerApi.md#AnswerApiV1AnswerPut) | **Put** /answer/api/v1/answer | Update Answer
|
[**AnswerApiV1AnswerPut**](ApiAnswerApi.md#AnswerApiV1AnswerPut) | **Put** /answer/api/v1/answer | Update Answer
|
||||||
[**AnswerApiV1PersonalAnswerPageGet**](ApiAnswerApi.md#AnswerApiV1PersonalAnswerPageGet) | **Get** /answer/api/v1/personal/answer/page | UserAnswerList
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -415,75 +414,3 @@ Name | Type | Description | Notes
|
|||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerApiV1PersonalAnswerPageGet
|
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1PersonalAnswerPageGet(ctx).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
|
|
||||||
|
|
||||||
UserAnswerList
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```go
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"context"
|
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
username := "username_example" // string | username (default to "string")
|
|
||||||
order := "order_example" // string | order
|
|
||||||
page := "page_example" // string | page (default to "0")
|
|
||||||
pagesize := "pagesize_example" // string | pagesize (default to "20")
|
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
|
||||||
resp, r, err := apiClient.ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet(context.Background()).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet``: %v\n", err)
|
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
||||||
}
|
|
||||||
// response from `AnswerApiV1PersonalAnswerPageGet`: HandlerRespBody
|
|
||||||
fmt.Fprintf(os.Stdout, "Response from `ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet`: %v\n", resp)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Path Parameters
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other Parameters
|
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiAnswerApiV1PersonalAnswerPageGetRequest struct via the builder pattern
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**username** | **string** | username | [default to "string"]
|
|
||||||
**order** | **string** | order |
|
|
||||||
**page** | **string** | page | [default to "0"]
|
|
||||||
**pagesize** | **string** | pagesize | [default to "20"]
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**HandlerRespBody**](HandlerRespBody.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
|
||||||
[[Back to README]](../README.md)
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
# \CollectionApi
|
# \CollectionApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerApiV1CollectionSwitchPost**](CollectionApi.md#AnswerApiV1CollectionSwitchPost) | **Post** /answer/api/v1/collection/switch | add collection
|
[**AnswerApiV1CollectionSwitchPost**](CollectionApi.md#AnswerApiV1CollectionSwitchPost) | **Post** /answer/api/v1/collection/switch | add collection
|
||||||
[**AnswerApiV1PersonalCollectionPageGet**](CollectionApi.md#AnswerApiV1PersonalCollectionPageGet) | **Get** /answer/api/v1/personal/collection/page | UserCollectionList
|
[**AnswerApiV1PersonalCollectionPageGet**](CollectionApi.md#AnswerApiV1PersonalCollectionPageGet) | **Get** /answer/api/v1/personal/collection/page | list personal collections
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -77,9 +77,9 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## AnswerApiV1PersonalCollectionPageGet
|
## AnswerApiV1PersonalCollectionPageGet
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1PersonalCollectionPageGet(ctx).Page(page).Pagesize(pagesize).Execute()
|
> HandlerRespBody AnswerApiV1PersonalCollectionPageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
UserCollectionList
|
list personal collections
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -97,11 +97,11 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
page := "page_example" // string | page (default to "0")
|
page := "page_example" // string | page (default to "0")
|
||||||
pagesize := "pagesize_example" // string | pagesize (default to "20")
|
pageSize := "pageSize_example" // string | page_size (default to "20")
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.CollectionApi.AnswerApiV1PersonalCollectionPageGet(context.Background()).Page(page).Pagesize(pagesize).Execute()
|
resp, r, err := apiClient.CollectionApi.AnswerApiV1PersonalCollectionPageGet(context.Background()).Page(page).PageSize(pageSize).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `CollectionApi.AnswerApiV1PersonalCollectionPageGet``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `CollectionApi.AnswerApiV1PersonalCollectionPageGet``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
@@ -123,7 +123,7 @@ Other parameters are passed through a pointer to a apiAnswerApiV1PersonalCollect
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**page** | **string** | page | [default to "0"]
|
**page** | **string** | page | [default to "0"]
|
||||||
**pagesize** | **string** | pagesize | [default to "20"]
|
**pageSize** | **string** | page_size | [default to "20"]
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \CommentApi
|
# \CommentApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
108
docs/ConstantPrivilege.md
Normal file
108
docs/ConstantPrivilege.md
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
# ConstantPrivilege
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Key** | Pointer to **string** | | [optional]
|
||||||
|
**Label** | Pointer to **string** | | [optional]
|
||||||
|
**Value** | Pointer to **int32** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewConstantPrivilege
|
||||||
|
|
||||||
|
`func NewConstantPrivilege() *ConstantPrivilege`
|
||||||
|
|
||||||
|
NewConstantPrivilege instantiates a new ConstantPrivilege object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewConstantPrivilegeWithDefaults
|
||||||
|
|
||||||
|
`func NewConstantPrivilegeWithDefaults() *ConstantPrivilege`
|
||||||
|
|
||||||
|
NewConstantPrivilegeWithDefaults instantiates a new ConstantPrivilege object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetKey
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetKey() string`
|
||||||
|
|
||||||
|
GetKey returns the Key field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetKeyOk
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetKeyOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetKey
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) SetKey(v string)`
|
||||||
|
|
||||||
|
SetKey sets Key field to given value.
|
||||||
|
|
||||||
|
### HasKey
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) HasKey() bool`
|
||||||
|
|
||||||
|
HasKey returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLabel
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetLabel() string`
|
||||||
|
|
||||||
|
GetLabel returns the Label field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLabelOk
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetLabelOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLabel
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) SetLabel(v string)`
|
||||||
|
|
||||||
|
SetLabel sets Label field to given value.
|
||||||
|
|
||||||
|
### HasLabel
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) HasLabel() bool`
|
||||||
|
|
||||||
|
HasLabel returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetValue
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetValue() int32`
|
||||||
|
|
||||||
|
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetValueOk
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) GetValueOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetValue
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) SetValue(v int32)`
|
||||||
|
|
||||||
|
SetValue sets Value field to given value.
|
||||||
|
|
||||||
|
### HasValue
|
||||||
|
|
||||||
|
`func (o *ConstantPrivilege) HasValue() bool`
|
||||||
|
|
||||||
|
HasValue returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# \InstallationApi
|
# \InstallationApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \LangApi
|
# \LangApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \NotificationApi
|
# \NotificationApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|||||||
|
|
||||||
## AnswerApiV1NotificationPageGet
|
## AnswerApiV1NotificationPageGet
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1NotificationPageGet(ctx).Type_(type_).Page(page).PageSize(pageSize).Execute()
|
> HandlerRespBody AnswerApiV1NotificationPageGet(ctx).Type_(type_).InboxType(inboxType).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
get notification list
|
get notification list
|
||||||
|
|
||||||
@@ -34,12 +34,13 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
type_ := "type__example" // string | type
|
type_ := "type__example" // string | type
|
||||||
|
inboxType := "inboxType_example" // string | inbox_type
|
||||||
page := int32(56) // int32 | page size (optional)
|
page := int32(56) // int32 | page size (optional)
|
||||||
pageSize := int32(56) // int32 | page size (optional)
|
pageSize := int32(56) // int32 | page size (optional)
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.NotificationApi.AnswerApiV1NotificationPageGet(context.Background()).Type_(type_).Page(page).PageSize(pageSize).Execute()
|
resp, r, err := apiClient.NotificationApi.AnswerApiV1NotificationPageGet(context.Background()).Type_(type_).InboxType(inboxType).Page(page).PageSize(pageSize).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.AnswerApiV1NotificationPageGet``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.AnswerApiV1NotificationPageGet``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
@@ -61,6 +62,7 @@ Other parameters are passed through a pointer to a apiAnswerApiV1NotificationPag
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**type_** | **string** | type |
|
**type_** | **string** | type |
|
||||||
|
**inboxType** | **string** | inbox_type |
|
||||||
**page** | **int32** | page size |
|
**page** | **int32** | page size |
|
||||||
**pageSize** | **int32** | page size |
|
**pageSize** | **int32** | page size |
|
||||||
|
|
||||||
|
|||||||
77
docs/PermissionApi.md
Normal file
77
docs/PermissionApi.md
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
# \PermissionApi
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**AnswerApiV1PermissionGet**](PermissionApi.md#AnswerApiV1PermissionGet) | **Get** /answer/api/v1/permission | check user permission
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1PermissionGet
|
||||||
|
|
||||||
|
> AnswerApiV1PermissionGet200Response AnswerApiV1PermissionGet(ctx).Authorization(authorization).Action(action).Execute()
|
||||||
|
|
||||||
|
check user permission
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
authorization := "authorization_example" // string | access-token
|
||||||
|
action := "action_example" // string | permission key
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PermissionApi.AnswerApiV1PermissionGet(context.Background()).Authorization(authorization).Action(action).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PermissionApi.AnswerApiV1PermissionGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1PermissionGet`: AnswerApiV1PermissionGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PermissionApi.AnswerApiV1PermissionGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1PermissionGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**authorization** | **string** | access-token |
|
||||||
|
**action** | **string** | permission key |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerApiV1PermissionGet200Response**](AnswerApiV1PermissionGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
154
docs/PersonalApi.md
Normal file
154
docs/PersonalApi.md
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
# \PersonalApi
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**AnswerApiV1PersonalAnswerPageGet**](PersonalApi.md#AnswerApiV1PersonalAnswerPageGet) | **Get** /answer/api/v1/personal/answer/page | list personal answers
|
||||||
|
[**PersonalQuestionPageGet**](PersonalApi.md#PersonalQuestionPageGet) | **Get** /personal/question/page | list personal questions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1PersonalAnswerPageGet
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerApiV1PersonalAnswerPageGet(ctx).Username(username).Order(order).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
|
list personal answers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
username := "username_example" // string | username (default to "string")
|
||||||
|
order := "order_example" // string | order
|
||||||
|
page := "page_example" // string | page (default to "0")
|
||||||
|
pageSize := "pageSize_example" // string | page_size (default to "20")
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PersonalApi.AnswerApiV1PersonalAnswerPageGet(context.Background()).Username(username).Order(order).Page(page).PageSize(pageSize).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PersonalApi.AnswerApiV1PersonalAnswerPageGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1PersonalAnswerPageGet`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PersonalApi.AnswerApiV1PersonalAnswerPageGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1PersonalAnswerPageGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **string** | username | [default to "string"]
|
||||||
|
**order** | **string** | order |
|
||||||
|
**page** | **string** | page | [default to "0"]
|
||||||
|
**pageSize** | **string** | page_size | [default to "20"]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## PersonalQuestionPageGet
|
||||||
|
|
||||||
|
> HandlerRespBody PersonalQuestionPageGet(ctx).Username(username).Order(order).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
|
list personal questions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
username := "username_example" // string | username (default to "string")
|
||||||
|
order := "order_example" // string | order
|
||||||
|
page := "page_example" // string | page (default to "0")
|
||||||
|
pageSize := "pageSize_example" // string | page_size (default to "20")
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PersonalApi.PersonalQuestionPageGet(context.Background()).Username(username).Order(order).Page(page).PageSize(pageSize).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PersonalApi.PersonalQuestionPageGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `PersonalQuestionPageGet`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PersonalApi.PersonalQuestionPageGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiPersonalQuestionPageGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **string** | username | [default to "string"]
|
||||||
|
**order** | **string** | order |
|
||||||
|
**page** | **string** | page | [default to "0"]
|
||||||
|
**pageSize** | **string** | page_size | [default to "20"]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
266
docs/PluginConnectorApi.md
Normal file
266
docs/PluginConnectorApi.md
Normal file
@@ -0,0 +1,266 @@
|
|||||||
|
# \PluginConnectorApi
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**AnswerApiV1ConnectorBindingEmailPost**](PluginConnectorApi.md#AnswerApiV1ConnectorBindingEmailPost) | **Post** /answer/api/v1/connector/binding/email | external login binding user send email
|
||||||
|
[**AnswerApiV1ConnectorInfoGet**](PluginConnectorApi.md#AnswerApiV1ConnectorInfoGet) | **Get** /answer/api/v1/connector/info | get all enabled connectors
|
||||||
|
[**AnswerApiV1ConnectorUserInfoGet**](PluginConnectorApi.md#AnswerApiV1ConnectorUserInfoGet) | **Get** /answer/api/v1/connector/user/info | get all connectors info about user
|
||||||
|
[**AnswerApiV1ConnectorUserUnbindingDelete**](PluginConnectorApi.md#AnswerApiV1ConnectorUserUnbindingDelete) | **Delete** /answer/api/v1/connector/user/unbinding | unbind external user login
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1ConnectorBindingEmailPost
|
||||||
|
|
||||||
|
> AnswerApiV1ConnectorBindingEmailPost200Response AnswerApiV1ConnectorBindingEmailPost(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
external login binding user send email
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaExternalLoginBindingUserSendEmailReq("BindingKey_example", "Email_example") // SchemaExternalLoginBindingUserSendEmailReq | external login binding user send email
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PluginConnectorApi.AnswerApiV1ConnectorBindingEmailPost(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PluginConnectorApi.AnswerApiV1ConnectorBindingEmailPost``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1ConnectorBindingEmailPost`: AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PluginConnectorApi.AnswerApiV1ConnectorBindingEmailPost`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1ConnectorBindingEmailPostRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaExternalLoginBindingUserSendEmailReq**](SchemaExternalLoginBindingUserSendEmailReq.md) | external login binding user send email |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerApiV1ConnectorBindingEmailPost200Response**](AnswerApiV1ConnectorBindingEmailPost200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1ConnectorInfoGet
|
||||||
|
|
||||||
|
> AnswerApiV1ConnectorInfoGet200Response AnswerApiV1ConnectorInfoGet(ctx).Execute()
|
||||||
|
|
||||||
|
get all enabled connectors
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PluginConnectorApi.AnswerApiV1ConnectorInfoGet(context.Background()).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PluginConnectorApi.AnswerApiV1ConnectorInfoGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1ConnectorInfoGet`: AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PluginConnectorApi.AnswerApiV1ConnectorInfoGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1ConnectorInfoGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerApiV1ConnectorInfoGet200Response**](AnswerApiV1ConnectorInfoGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1ConnectorUserInfoGet
|
||||||
|
|
||||||
|
> AnswerApiV1ConnectorUserInfoGet200Response AnswerApiV1ConnectorUserInfoGet(ctx).Execute()
|
||||||
|
|
||||||
|
get all connectors info about user
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PluginConnectorApi.AnswerApiV1ConnectorUserInfoGet(context.Background()).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PluginConnectorApi.AnswerApiV1ConnectorUserInfoGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1ConnectorUserInfoGet`: AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PluginConnectorApi.AnswerApiV1ConnectorUserInfoGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1ConnectorUserInfoGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerApiV1ConnectorUserInfoGet200Response**](AnswerApiV1ConnectorUserInfoGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1ConnectorUserUnbindingDelete
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerApiV1ConnectorUserUnbindingDelete(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
unbind external user login
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaExternalLoginUnbindingReq("ExternalId_example") // SchemaExternalLoginUnbindingReq | ExternalLoginUnbindingReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.PluginConnectorApi.AnswerApiV1ConnectorUserUnbindingDelete(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `PluginConnectorApi.AnswerApiV1ConnectorUserUnbindingDelete``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1ConnectorUserUnbindingDelete`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `PluginConnectorApi.AnswerApiV1ConnectorUserUnbindingDelete`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1ConnectorUserUnbindingDeleteRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaExternalLoginUnbindingReq**](SchemaExternalLoginUnbindingReq.md) | ExternalLoginUnbindingReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
@@ -1,14 +1,15 @@
|
|||||||
# \QuestionApi
|
# \QuestionApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerApiV1PersonalQaTopGet**](QuestionApi.md#AnswerApiV1PersonalQaTopGet) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
[**AnswerApiV1PersonalQaTopGet**](QuestionApi.md#AnswerApiV1PersonalQaTopGet) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
||||||
[**AnswerApiV1QuestionAnswerPost**](QuestionApi.md#AnswerApiV1QuestionAnswerPost) | **Post** /answer/api/v1/question/answer | add question and answer
|
[**AnswerApiV1QuestionAnswerPost**](QuestionApi.md#AnswerApiV1QuestionAnswerPost) | **Post** /answer/api/v1/question/answer | add question and answer
|
||||||
[**AnswerApiV1QuestionClosemsglistGet**](QuestionApi.md#AnswerApiV1QuestionClosemsglistGet) | **Get** /answer/api/v1/question/closemsglist | close question msg list
|
|
||||||
[**AnswerApiV1QuestionDelete**](QuestionApi.md#AnswerApiV1QuestionDelete) | **Delete** /answer/api/v1/question | delete question
|
[**AnswerApiV1QuestionDelete**](QuestionApi.md#AnswerApiV1QuestionDelete) | **Delete** /answer/api/v1/question | delete question
|
||||||
[**AnswerApiV1QuestionInfoGet**](QuestionApi.md#AnswerApiV1QuestionInfoGet) | **Get** /answer/api/v1/question/info | get question details
|
[**AnswerApiV1QuestionInfoGet**](QuestionApi.md#AnswerApiV1QuestionInfoGet) | **Get** /answer/api/v1/question/info | get question details
|
||||||
|
[**AnswerApiV1QuestionInviteGet**](QuestionApi.md#AnswerApiV1QuestionInviteGet) | **Get** /answer/api/v1/question/invite | get question invite user info
|
||||||
|
[**AnswerApiV1QuestionInvitePut**](QuestionApi.md#AnswerApiV1QuestionInvitePut) | **Put** /answer/api/v1/question/invite | update question invite user
|
||||||
[**AnswerApiV1QuestionOperationPut**](QuestionApi.md#AnswerApiV1QuestionOperationPut) | **Put** /answer/api/v1/question/operation | Operation question
|
[**AnswerApiV1QuestionOperationPut**](QuestionApi.md#AnswerApiV1QuestionOperationPut) | **Put** /answer/api/v1/question/operation | Operation question
|
||||||
[**AnswerApiV1QuestionPageGet**](QuestionApi.md#AnswerApiV1QuestionPageGet) | **Get** /answer/api/v1/question/page | get questions by page
|
[**AnswerApiV1QuestionPageGet**](QuestionApi.md#AnswerApiV1QuestionPageGet) | **Get** /answer/api/v1/question/page | get questions by page
|
||||||
[**AnswerApiV1QuestionPost**](QuestionApi.md#AnswerApiV1QuestionPost) | **Post** /answer/api/v1/question | add question
|
[**AnswerApiV1QuestionPost**](QuestionApi.md#AnswerApiV1QuestionPost) | **Post** /answer/api/v1/question | add question
|
||||||
@@ -17,7 +18,6 @@ Method | HTTP request | Description
|
|||||||
[**AnswerApiV1QuestionSimilarGet**](QuestionApi.md#AnswerApiV1QuestionSimilarGet) | **Get** /answer/api/v1/question/similar | add question title like
|
[**AnswerApiV1QuestionSimilarGet**](QuestionApi.md#AnswerApiV1QuestionSimilarGet) | **Get** /answer/api/v1/question/similar | add question title like
|
||||||
[**AnswerApiV1QuestionSimilarTagGet**](QuestionApi.md#AnswerApiV1QuestionSimilarTagGet) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
[**AnswerApiV1QuestionSimilarTagGet**](QuestionApi.md#AnswerApiV1QuestionSimilarTagGet) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
||||||
[**AnswerApiV1QuestionStatusPut**](QuestionApi.md#AnswerApiV1QuestionStatusPut) | **Put** /answer/api/v1/question/status | Close question
|
[**AnswerApiV1QuestionStatusPut**](QuestionApi.md#AnswerApiV1QuestionStatusPut) | **Put** /answer/api/v1/question/status | Close question
|
||||||
[**PersonalQuestionPageGet**](QuestionApi.md#PersonalQuestionPageGet) | **Get** /personal/question/page | UserList
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -153,67 +153,6 @@ Name | Type | Description | Notes
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerApiV1QuestionClosemsglistGet
|
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1QuestionClosemsglistGet(ctx).Execute()
|
|
||||||
|
|
||||||
close question msg list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```go
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"context"
|
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
|
||||||
resp, r, err := apiClient.QuestionApi.AnswerApiV1QuestionClosemsglistGet(context.Background()).Execute()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.AnswerApiV1QuestionClosemsglistGet``: %v\n", err)
|
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
||||||
}
|
|
||||||
// response from `AnswerApiV1QuestionClosemsglistGet`: HandlerRespBody
|
|
||||||
fmt.Fprintf(os.Stdout, "Response from `QuestionApi.AnswerApiV1QuestionClosemsglistGet`: %v\n", resp)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Path Parameters
|
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Other Parameters
|
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiAnswerApiV1QuestionClosemsglistGetRequest struct via the builder pattern
|
|
||||||
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**HandlerRespBody**](HandlerRespBody.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
|
||||||
[[Back to README]](../README.md)
|
|
||||||
|
|
||||||
|
|
||||||
## AnswerApiV1QuestionDelete
|
## AnswerApiV1QuestionDelete
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1QuestionDelete(ctx).Data(data).Execute()
|
> HandlerRespBody AnswerApiV1QuestionDelete(ctx).Data(data).Execute()
|
||||||
@@ -346,6 +285,138 @@ Name | Type | Description | Notes
|
|||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1QuestionInviteGet
|
||||||
|
|
||||||
|
> string AnswerApiV1QuestionInviteGet(ctx).Id(id).Execute()
|
||||||
|
|
||||||
|
get question invite user info
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
id := "id_example" // string | Question ID (default to "1")
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.QuestionApi.AnswerApiV1QuestionInviteGet(context.Background()).Id(id).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.AnswerApiV1QuestionInviteGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1QuestionInviteGet`: string
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `QuestionApi.AnswerApiV1QuestionInviteGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1QuestionInviteGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **string** | Question ID | [default to "1"]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**string**
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerApiV1QuestionInvitePut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerApiV1QuestionInvitePut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update question invite user
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaQuestionUpdateInviteUser("Id_example") // SchemaQuestionUpdateInviteUser | question
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.QuestionApi.AnswerApiV1QuestionInvitePut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.AnswerApiV1QuestionInvitePut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerApiV1QuestionInvitePut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `QuestionApi.AnswerApiV1QuestionInvitePut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerApiV1QuestionInvitePutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaQuestionUpdateInviteUser**](SchemaQuestionUpdateInviteUser.md) | question |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerApiV1QuestionOperationPut
|
## AnswerApiV1QuestionOperationPut
|
||||||
|
|
||||||
> HandlerRespBody AnswerApiV1QuestionOperationPut(ctx).Data(data).Execute()
|
> HandlerRespBody AnswerApiV1QuestionOperationPut(ctx).Data(data).Execute()
|
||||||
@@ -414,7 +485,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## AnswerApiV1QuestionPageGet
|
## AnswerApiV1QuestionPageGet
|
||||||
|
|
||||||
> AnswerApiV1QuestionPageGet200Response AnswerApiV1QuestionPageGet(ctx).Data(data).Execute()
|
> AnswerApiV1QuestionPageGet200Response AnswerApiV1QuestionPageGet(ctx).Page(page).PageSize(pageSize).Order(order).Tag(tag).Username(username).InDays(inDays).Execute()
|
||||||
|
|
||||||
get questions by page
|
get questions by page
|
||||||
|
|
||||||
@@ -433,11 +504,16 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
data := *openapiclient.NewSchemaQuestionPageReq() // SchemaQuestionPageReq | QuestionPageReq
|
page := int32(56) // int32 | page (optional)
|
||||||
|
pageSize := int32(56) // int32 | page_size (optional)
|
||||||
|
order := "order_example" // string | order cond (optional)
|
||||||
|
tag := "tag_example" // string | tag (optional)
|
||||||
|
username := "username_example" // string | username (optional)
|
||||||
|
inDays := int32(56) // int32 | in_days (optional)
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.QuestionApi.AnswerApiV1QuestionPageGet(context.Background()).Data(data).Execute()
|
resp, r, err := apiClient.QuestionApi.AnswerApiV1QuestionPageGet(context.Background()).Page(page).PageSize(pageSize).Order(order).Tag(tag).Username(username).InDays(inDays).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.AnswerApiV1QuestionPageGet``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.AnswerApiV1QuestionPageGet``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
@@ -458,7 +534,12 @@ Other parameters are passed through a pointer to a apiAnswerApiV1QuestionPageGet
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**data** | [**SchemaQuestionPageReq**](SchemaQuestionPageReq.md) | QuestionPageReq |
|
**page** | **int32** | page |
|
||||||
|
**pageSize** | **int32** | page_size |
|
||||||
|
**order** | **string** | order cond |
|
||||||
|
**tag** | **string** | tag |
|
||||||
|
**username** | **string** | username |
|
||||||
|
**inDays** | **int32** | in_days |
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
@@ -470,7 +551,7 @@ No authorization required
|
|||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/json
|
- **Accept**: application/json
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
@@ -873,75 +954,3 @@ Name | Type | Description | Notes
|
|||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## PersonalQuestionPageGet
|
|
||||||
|
|
||||||
> HandlerRespBody PersonalQuestionPageGet(ctx).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
|
|
||||||
|
|
||||||
UserList
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```go
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"context"
|
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
username := "username_example" // string | username (default to "string")
|
|
||||||
order := "order_example" // string | order
|
|
||||||
page := "page_example" // string | page (default to "0")
|
|
||||||
pagesize := "pagesize_example" // string | pagesize (default to "20")
|
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
|
||||||
resp, r, err := apiClient.QuestionApi.PersonalQuestionPageGet(context.Background()).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `QuestionApi.PersonalQuestionPageGet``: %v\n", err)
|
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
||||||
}
|
|
||||||
// response from `PersonalQuestionPageGet`: HandlerRespBody
|
|
||||||
fmt.Fprintf(os.Stdout, "Response from `QuestionApi.PersonalQuestionPageGet`: %v\n", resp)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Path Parameters
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other Parameters
|
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiPersonalQuestionPageGetRequest struct via the builder pattern
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**username** | **string** | username | [default to "string"]
|
|
||||||
**order** | **string** | order |
|
|
||||||
**page** | **string** | page | [default to "0"]
|
|
||||||
**pagesize** | **string** | pagesize | [default to "20"]
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**HandlerRespBody**](HandlerRespBody.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
|
||||||
[[Back to README]](../README.md)
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \RankApi
|
# \RankApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \ReasonApi
|
# \ReasonApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
# \ReportApi
|
# \ReportApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerApiV1ReportPost**](ReportApi.md#AnswerApiV1ReportPost) | **Post** /answer/api/v1/report | add report
|
[**AnswerApiV1ReportPost**](ReportApi.md#AnswerApiV1ReportPost) | **Post** /answer/api/v1/report | add report
|
||||||
[**AnswerApiV1ReportTypeListGet**](ReportApi.md#AnswerApiV1ReportTypeListGet) | **Get** /answer/api/v1/report/type/list | get report type list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -74,69 +73,3 @@ Name | Type | Description | Notes
|
|||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
[[Back to README]](../README.md)
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
## AnswerApiV1ReportTypeListGet
|
|
||||||
|
|
||||||
> AnswerApiV1ReportTypeListGet200Response AnswerApiV1ReportTypeListGet(ctx).Source(source).Execute()
|
|
||||||
|
|
||||||
get report type list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```go
|
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"context"
|
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
source := "source_example" // string | report source
|
|
||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
|
||||||
resp, r, err := apiClient.ReportApi.AnswerApiV1ReportTypeListGet(context.Background()).Source(source).Execute()
|
|
||||||
if err != nil {
|
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `ReportApi.AnswerApiV1ReportTypeListGet``: %v\n", err)
|
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
||||||
}
|
|
||||||
// response from `AnswerApiV1ReportTypeListGet`: AnswerApiV1ReportTypeListGet200Response
|
|
||||||
fmt.Fprintf(os.Stdout, "Response from `ReportApi.AnswerApiV1ReportTypeListGet`: %v\n", resp)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Path Parameters
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other Parameters
|
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiAnswerApiV1ReportTypeListGetRequest struct via the builder pattern
|
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**source** | **string** | report source |
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**AnswerApiV1ReportTypeListGet200Response**](AnswerApiV1ReportTypeListGet200Response.md)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
|
||||||
[[Back to README]](../README.md)
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# \RevisionApi
|
# \RevisionApi
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**MentionUsernameList** | Pointer to **[]string** | @ user id list | [optional]
|
**MentionUsernameList** | Pointer to **[]string** | @ user id list | [optional]
|
||||||
**ObjectId** | **string** | object id |
|
**ObjectId** | **string** | object id |
|
||||||
**OriginalText** | **string** | original comment content |
|
**OriginalText** | **string** | original comment content |
|
||||||
@@ -28,6 +30,56 @@ NewSchemaAddCommentReqWithDefaults instantiates a new SchemaAddCommentReq object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddCommentReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetMentionUsernameList
|
### GetMentionUsernameList
|
||||||
|
|
||||||
`func (o *SchemaAddCommentReq) GetMentionUsernameList() []string`
|
`func (o *SchemaAddCommentReq) GetMentionUsernameList() []string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | Pointer to **string** | report content | [optional]
|
**Content** | Pointer to **string** | report content | [optional]
|
||||||
**ObjectId** | **string** | object id |
|
**ObjectId** | **string** | object id |
|
||||||
**ReportType** | **int32** | report type |
|
**ReportType** | **int32** | report type |
|
||||||
@@ -27,6 +29,56 @@ NewSchemaAddReportReqWithDefaults instantiates a new SchemaAddReportReq object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAddReportReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaAddReportReq) GetContent() string`
|
`func (o *SchemaAddReportReq) GetContent() string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | **string** | |
|
**Content** | **string** | |
|
||||||
**QuestionId** | Pointer to **string** | | [optional]
|
**QuestionId** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
@@ -26,6 +28,56 @@ NewSchemaAnswerAddReqWithDefaults instantiates a new SchemaAnswerAddReq object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerAddReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaAnswerAddReq) GetContent() string`
|
`func (o *SchemaAnswerAddReq) GetContent() string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | **string** | |
|
**Content** | **string** | |
|
||||||
**EditSummary** | Pointer to **string** | | [optional]
|
**EditSummary** | Pointer to **string** | | [optional]
|
||||||
**Id** | Pointer to **string** | | [optional]
|
**Id** | Pointer to **string** | | [optional]
|
||||||
@@ -29,6 +31,56 @@ NewSchemaAnswerUpdateReqWithDefaults instantiates a new SchemaAnswerUpdateReq ob
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaAnswerUpdateReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaAnswerUpdateReq) GetContent() string`
|
`func (o *SchemaAnswerUpdateReq) GetContent() string`
|
||||||
|
|||||||
238
docs/SchemaConfigField.md
Normal file
238
docs/SchemaConfigField.md
Normal file
@@ -0,0 +1,238 @@
|
|||||||
|
# SchemaConfigField
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Description** | Pointer to **string** | | [optional]
|
||||||
|
**Name** | Pointer to **string** | | [optional]
|
||||||
|
**Options** | Pointer to [**[]SchemaConfigFieldOption**](SchemaConfigFieldOption.md) | | [optional]
|
||||||
|
**Required** | Pointer to **bool** | | [optional]
|
||||||
|
**Title** | Pointer to **string** | | [optional]
|
||||||
|
**Type** | Pointer to **string** | | [optional]
|
||||||
|
**UiOptions** | Pointer to [**SchemaConfigFieldUIOptions**](SchemaConfigFieldUIOptions.md) | | [optional]
|
||||||
|
**Value** | Pointer to **map[string]interface{}** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaConfigField
|
||||||
|
|
||||||
|
`func NewSchemaConfigField() *SchemaConfigField`
|
||||||
|
|
||||||
|
NewSchemaConfigField instantiates a new SchemaConfigField object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaConfigFieldWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaConfigFieldWithDefaults() *SchemaConfigField`
|
||||||
|
|
||||||
|
NewSchemaConfigFieldWithDefaults instantiates a new SchemaConfigField object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetDescription() string`
|
||||||
|
|
||||||
|
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDescriptionOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetDescriptionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetDescription(v string)`
|
||||||
|
|
||||||
|
SetDescription sets Description field to given value.
|
||||||
|
|
||||||
|
### HasDescription
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasDescription() bool`
|
||||||
|
|
||||||
|
HasDescription returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetOptions() []SchemaConfigFieldOption`
|
||||||
|
|
||||||
|
GetOptions returns the Options field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetOptionsOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetOptionsOk() (*[]SchemaConfigFieldOption, bool)`
|
||||||
|
|
||||||
|
GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetOptions(v []SchemaConfigFieldOption)`
|
||||||
|
|
||||||
|
SetOptions sets Options field to given value.
|
||||||
|
|
||||||
|
### HasOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasOptions() bool`
|
||||||
|
|
||||||
|
HasOptions returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRequired
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetRequired() bool`
|
||||||
|
|
||||||
|
GetRequired returns the Required field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRequiredOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetRequiredOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRequired
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetRequired(v bool)`
|
||||||
|
|
||||||
|
SetRequired sets Required field to given value.
|
||||||
|
|
||||||
|
### HasRequired
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasRequired() bool`
|
||||||
|
|
||||||
|
HasRequired returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetTitle() string`
|
||||||
|
|
||||||
|
GetTitle returns the Title field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTitleOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetTitleOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetTitle(v string)`
|
||||||
|
|
||||||
|
SetTitle sets Title field to given value.
|
||||||
|
|
||||||
|
### HasTitle
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasTitle() bool`
|
||||||
|
|
||||||
|
HasTitle returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetType() string`
|
||||||
|
|
||||||
|
GetType returns the Type field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTypeOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetType(v string)`
|
||||||
|
|
||||||
|
SetType sets Type field to given value.
|
||||||
|
|
||||||
|
### HasType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasType() bool`
|
||||||
|
|
||||||
|
HasType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetUiOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetUiOptions() SchemaConfigFieldUIOptions`
|
||||||
|
|
||||||
|
GetUiOptions returns the UiOptions field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUiOptionsOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetUiOptionsOk() (*SchemaConfigFieldUIOptions, bool)`
|
||||||
|
|
||||||
|
GetUiOptionsOk returns a tuple with the UiOptions field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUiOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetUiOptions(v SchemaConfigFieldUIOptions)`
|
||||||
|
|
||||||
|
SetUiOptions sets UiOptions field to given value.
|
||||||
|
|
||||||
|
### HasUiOptions
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasUiOptions() bool`
|
||||||
|
|
||||||
|
HasUiOptions returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetValue() map[string]interface{}`
|
||||||
|
|
||||||
|
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetValueOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) GetValueOk() (*map[string]interface{}, bool)`
|
||||||
|
|
||||||
|
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) SetValue(v map[string]interface{})`
|
||||||
|
|
||||||
|
SetValue sets Value field to given value.
|
||||||
|
|
||||||
|
### HasValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigField) HasValue() bool`
|
||||||
|
|
||||||
|
HasValue returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/SchemaConfigFieldOption.md
Normal file
82
docs/SchemaConfigFieldOption.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# SchemaConfigFieldOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Label** | Pointer to **string** | | [optional]
|
||||||
|
**Value** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaConfigFieldOption
|
||||||
|
|
||||||
|
`func NewSchemaConfigFieldOption() *SchemaConfigFieldOption`
|
||||||
|
|
||||||
|
NewSchemaConfigFieldOption instantiates a new SchemaConfigFieldOption object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaConfigFieldOptionWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaConfigFieldOptionWithDefaults() *SchemaConfigFieldOption`
|
||||||
|
|
||||||
|
NewSchemaConfigFieldOptionWithDefaults instantiates a new SchemaConfigFieldOption object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) GetLabel() string`
|
||||||
|
|
||||||
|
GetLabel returns the Label field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLabelOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) GetLabelOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) SetLabel(v string)`
|
||||||
|
|
||||||
|
SetLabel sets Label field to given value.
|
||||||
|
|
||||||
|
### HasLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) HasLabel() bool`
|
||||||
|
|
||||||
|
HasLabel returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) GetValue() string`
|
||||||
|
|
||||||
|
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetValueOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) GetValueOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) SetValue(v string)`
|
||||||
|
|
||||||
|
SetValue sets Value field to given value.
|
||||||
|
|
||||||
|
### HasValue
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldOption) HasValue() bool`
|
||||||
|
|
||||||
|
HasValue returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
212
docs/SchemaConfigFieldUIOptions.md
Normal file
212
docs/SchemaConfigFieldUIOptions.md
Normal file
@@ -0,0 +1,212 @@
|
|||||||
|
# SchemaConfigFieldUIOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Action** | Pointer to [**SchemaUIOptionAction**](SchemaUIOptionAction.md) | | [optional]
|
||||||
|
**InputType** | Pointer to **string** | | [optional]
|
||||||
|
**Label** | Pointer to **string** | | [optional]
|
||||||
|
**Placeholder** | Pointer to **string** | | [optional]
|
||||||
|
**Rows** | Pointer to **string** | | [optional]
|
||||||
|
**Text** | Pointer to **string** | | [optional]
|
||||||
|
**Variant** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaConfigFieldUIOptions
|
||||||
|
|
||||||
|
`func NewSchemaConfigFieldUIOptions() *SchemaConfigFieldUIOptions`
|
||||||
|
|
||||||
|
NewSchemaConfigFieldUIOptions instantiates a new SchemaConfigFieldUIOptions object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaConfigFieldUIOptionsWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaConfigFieldUIOptionsWithDefaults() *SchemaConfigFieldUIOptions`
|
||||||
|
|
||||||
|
NewSchemaConfigFieldUIOptionsWithDefaults instantiates a new SchemaConfigFieldUIOptions object
|
||||||
|
This 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 *SchemaConfigFieldUIOptions) GetAction() SchemaUIOptionAction`
|
||||||
|
|
||||||
|
GetAction returns the Action field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetActionOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetActionOk() (*SchemaUIOptionAction, 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 *SchemaConfigFieldUIOptions) SetAction(v SchemaUIOptionAction)`
|
||||||
|
|
||||||
|
SetAction sets Action field to given value.
|
||||||
|
|
||||||
|
### HasAction
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasAction() bool`
|
||||||
|
|
||||||
|
HasAction returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetInputType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetInputType() string`
|
||||||
|
|
||||||
|
GetInputType returns the InputType field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetInputTypeOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetInputTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetInputTypeOk returns a tuple with the InputType field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetInputType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetInputType(v string)`
|
||||||
|
|
||||||
|
SetInputType sets InputType field to given value.
|
||||||
|
|
||||||
|
### HasInputType
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasInputType() bool`
|
||||||
|
|
||||||
|
HasInputType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetLabel() string`
|
||||||
|
|
||||||
|
GetLabel returns the Label field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLabelOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetLabelOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetLabel(v string)`
|
||||||
|
|
||||||
|
SetLabel sets Label field to given value.
|
||||||
|
|
||||||
|
### HasLabel
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasLabel() bool`
|
||||||
|
|
||||||
|
HasLabel returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetPlaceholder
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetPlaceholder() string`
|
||||||
|
|
||||||
|
GetPlaceholder returns the Placeholder field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetPlaceholderOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetPlaceholderOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetPlaceholderOk returns a tuple with the Placeholder field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetPlaceholder
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetPlaceholder(v string)`
|
||||||
|
|
||||||
|
SetPlaceholder sets Placeholder field to given value.
|
||||||
|
|
||||||
|
### HasPlaceholder
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasPlaceholder() bool`
|
||||||
|
|
||||||
|
HasPlaceholder returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRows
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetRows() string`
|
||||||
|
|
||||||
|
GetRows returns the Rows field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRowsOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetRowsOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetRowsOk returns a tuple with the Rows field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRows
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetRows(v string)`
|
||||||
|
|
||||||
|
SetRows sets Rows field to given value.
|
||||||
|
|
||||||
|
### HasRows
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasRows() bool`
|
||||||
|
|
||||||
|
HasRows returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetText
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetText() string`
|
||||||
|
|
||||||
|
GetText returns the Text field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTextOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetTextOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetText
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetText(v string)`
|
||||||
|
|
||||||
|
SetText sets Text field to given value.
|
||||||
|
|
||||||
|
### HasText
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasText() bool`
|
||||||
|
|
||||||
|
HasText returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetVariant
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetVariant() string`
|
||||||
|
|
||||||
|
GetVariant returns the Variant field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetVariantOk
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) GetVariantOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetVariantOk returns a tuple with the Variant field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetVariant
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) SetVariant(v string)`
|
||||||
|
|
||||||
|
SetVariant sets Variant field to given value.
|
||||||
|
|
||||||
|
### HasVariant
|
||||||
|
|
||||||
|
`func (o *SchemaConfigFieldUIOptions) HasVariant() bool`
|
||||||
|
|
||||||
|
HasVariant returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
108
docs/SchemaConnectorInfoResp.md
Normal file
108
docs/SchemaConnectorInfoResp.md
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
# SchemaConnectorInfoResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Icon** | Pointer to **string** | | [optional]
|
||||||
|
**Link** | Pointer to **string** | | [optional]
|
||||||
|
**Name** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaConnectorInfoResp
|
||||||
|
|
||||||
|
`func NewSchemaConnectorInfoResp() *SchemaConnectorInfoResp`
|
||||||
|
|
||||||
|
NewSchemaConnectorInfoResp instantiates a new SchemaConnectorInfoResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaConnectorInfoRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaConnectorInfoRespWithDefaults() *SchemaConnectorInfoResp`
|
||||||
|
|
||||||
|
NewSchemaConnectorInfoRespWithDefaults instantiates a new SchemaConnectorInfoResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetIcon() string`
|
||||||
|
|
||||||
|
GetIcon returns the Icon field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIconOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetIconOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) SetIcon(v string)`
|
||||||
|
|
||||||
|
SetIcon sets Icon field to given value.
|
||||||
|
|
||||||
|
### HasIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) HasIcon() bool`
|
||||||
|
|
||||||
|
HasIcon returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetLink() string`
|
||||||
|
|
||||||
|
GetLink returns the Link field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLinkOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetLinkOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) SetLink(v string)`
|
||||||
|
|
||||||
|
SetLink sets Link field to given value.
|
||||||
|
|
||||||
|
### HasLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) HasLink() bool`
|
||||||
|
|
||||||
|
HasLink returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorInfoResp) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
160
docs/SchemaConnectorUserInfoResp.md
Normal file
160
docs/SchemaConnectorUserInfoResp.md
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
# SchemaConnectorUserInfoResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Binding** | Pointer to **bool** | | [optional]
|
||||||
|
**ExternalId** | Pointer to **string** | | [optional]
|
||||||
|
**Icon** | Pointer to **string** | | [optional]
|
||||||
|
**Link** | Pointer to **string** | | [optional]
|
||||||
|
**Name** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaConnectorUserInfoResp
|
||||||
|
|
||||||
|
`func NewSchemaConnectorUserInfoResp() *SchemaConnectorUserInfoResp`
|
||||||
|
|
||||||
|
NewSchemaConnectorUserInfoResp instantiates a new SchemaConnectorUserInfoResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaConnectorUserInfoRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaConnectorUserInfoRespWithDefaults() *SchemaConnectorUserInfoResp`
|
||||||
|
|
||||||
|
NewSchemaConnectorUserInfoRespWithDefaults instantiates a new SchemaConnectorUserInfoResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetBinding
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetBinding() bool`
|
||||||
|
|
||||||
|
GetBinding returns the Binding field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetBindingOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetBindingOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetBindingOk returns a tuple with the Binding field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetBinding
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) SetBinding(v bool)`
|
||||||
|
|
||||||
|
SetBinding sets Binding field to given value.
|
||||||
|
|
||||||
|
### HasBinding
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) HasBinding() bool`
|
||||||
|
|
||||||
|
HasBinding returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetExternalId
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetExternalId() string`
|
||||||
|
|
||||||
|
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetExternalIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetExternalIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetExternalId
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) SetExternalId(v string)`
|
||||||
|
|
||||||
|
SetExternalId sets ExternalId field to given value.
|
||||||
|
|
||||||
|
### HasExternalId
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) HasExternalId() bool`
|
||||||
|
|
||||||
|
HasExternalId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetIcon() string`
|
||||||
|
|
||||||
|
GetIcon returns the Icon field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIconOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetIconOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) SetIcon(v string)`
|
||||||
|
|
||||||
|
SetIcon sets Icon field to given value.
|
||||||
|
|
||||||
|
### HasIcon
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) HasIcon() bool`
|
||||||
|
|
||||||
|
HasIcon returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetLink() string`
|
||||||
|
|
||||||
|
GetLink returns the Link field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLinkOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetLinkOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) SetLink(v string)`
|
||||||
|
|
||||||
|
SetLink sets Link field to given value.
|
||||||
|
|
||||||
|
### HasLink
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) HasLink() bool`
|
||||||
|
|
||||||
|
HasLink returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SchemaConnectorUserInfoResp) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
98
docs/SchemaExternalLoginBindingUserSendEmailReq.md
Normal file
98
docs/SchemaExternalLoginBindingUserSendEmailReq.md
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
# SchemaExternalLoginBindingUserSendEmailReq
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**BindingKey** | **string** | |
|
||||||
|
**Email** | **string** | |
|
||||||
|
**Must** | Pointer to **bool** | If must is true, whatever email if exists, try to bind user. If must is false, when email exist, will only be prompted with a warning. | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginBindingUserSendEmailReq
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginBindingUserSendEmailReq(bindingKey string, email string, ) *SchemaExternalLoginBindingUserSendEmailReq`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginBindingUserSendEmailReq instantiates a new SchemaExternalLoginBindingUserSendEmailReq object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginBindingUserSendEmailReqWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginBindingUserSendEmailReqWithDefaults() *SchemaExternalLoginBindingUserSendEmailReq`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginBindingUserSendEmailReqWithDefaults instantiates a new SchemaExternalLoginBindingUserSendEmailReq object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetBindingKey
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetBindingKey() string`
|
||||||
|
|
||||||
|
GetBindingKey returns the BindingKey field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetBindingKeyOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetBindingKeyOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetBindingKeyOk returns a tuple with the BindingKey field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetBindingKey
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) SetBindingKey(v string)`
|
||||||
|
|
||||||
|
SetBindingKey sets BindingKey field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetEmail
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetEmail() string`
|
||||||
|
|
||||||
|
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetEmailOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetEmailOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetEmail
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) SetEmail(v string)`
|
||||||
|
|
||||||
|
SetEmail sets Email field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetMust
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetMust() bool`
|
||||||
|
|
||||||
|
GetMust returns the Must field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMustOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) GetMustOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetMustOk returns a tuple with the Must field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetMust
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) SetMust(v bool)`
|
||||||
|
|
||||||
|
SetMust sets Must field to given value.
|
||||||
|
|
||||||
|
### HasMust
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailReq) HasMust() bool`
|
||||||
|
|
||||||
|
HasMust returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/SchemaExternalLoginBindingUserSendEmailResp.md
Normal file
82
docs/SchemaExternalLoginBindingUserSendEmailResp.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# SchemaExternalLoginBindingUserSendEmailResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AccessToken** | Pointer to **string** | | [optional]
|
||||||
|
**EmailExistAndMustBeConfirmed** | Pointer to **bool** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginBindingUserSendEmailResp
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginBindingUserSendEmailResp() *SchemaExternalLoginBindingUserSendEmailResp`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginBindingUserSendEmailResp instantiates a new SchemaExternalLoginBindingUserSendEmailResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginBindingUserSendEmailRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginBindingUserSendEmailRespWithDefaults() *SchemaExternalLoginBindingUserSendEmailResp`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginBindingUserSendEmailRespWithDefaults instantiates a new SchemaExternalLoginBindingUserSendEmailResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) GetAccessToken() string`
|
||||||
|
|
||||||
|
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAccessTokenOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) GetAccessTokenOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) SetAccessToken(v string)`
|
||||||
|
|
||||||
|
SetAccessToken sets AccessToken field to given value.
|
||||||
|
|
||||||
|
### HasAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) HasAccessToken() bool`
|
||||||
|
|
||||||
|
HasAccessToken returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetEmailExistAndMustBeConfirmed
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) GetEmailExistAndMustBeConfirmed() bool`
|
||||||
|
|
||||||
|
GetEmailExistAndMustBeConfirmed returns the EmailExistAndMustBeConfirmed field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetEmailExistAndMustBeConfirmedOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) GetEmailExistAndMustBeConfirmedOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetEmailExistAndMustBeConfirmedOk returns a tuple with the EmailExistAndMustBeConfirmed field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetEmailExistAndMustBeConfirmed
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) SetEmailExistAndMustBeConfirmed(v bool)`
|
||||||
|
|
||||||
|
SetEmailExistAndMustBeConfirmed sets EmailExistAndMustBeConfirmed field to given value.
|
||||||
|
|
||||||
|
### HasEmailExistAndMustBeConfirmed
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginBindingUserSendEmailResp) HasEmailExistAndMustBeConfirmed() bool`
|
||||||
|
|
||||||
|
HasEmailExistAndMustBeConfirmed returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
51
docs/SchemaExternalLoginUnbindingReq.md
Normal file
51
docs/SchemaExternalLoginUnbindingReq.md
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# SchemaExternalLoginUnbindingReq
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**ExternalId** | **string** | |
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginUnbindingReq
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginUnbindingReq(externalId string, ) *SchemaExternalLoginUnbindingReq`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginUnbindingReq instantiates a new SchemaExternalLoginUnbindingReq object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaExternalLoginUnbindingReqWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaExternalLoginUnbindingReqWithDefaults() *SchemaExternalLoginUnbindingReq`
|
||||||
|
|
||||||
|
NewSchemaExternalLoginUnbindingReqWithDefaults instantiates a new SchemaExternalLoginUnbindingReq object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetExternalId
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginUnbindingReq) GetExternalId() string`
|
||||||
|
|
||||||
|
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetExternalIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginUnbindingReq) GetExternalIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetExternalId
|
||||||
|
|
||||||
|
`func (o *SchemaExternalLoginUnbindingReq) SetExternalId(v string)`
|
||||||
|
|
||||||
|
SetExternalId sets ExternalId 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)
|
||||||
|
|
||||||
|
|
||||||
680
docs/SchemaGetCurrentLoginUserInfoResp.md
Normal file
680
docs/SchemaGetCurrentLoginUserInfoResp.md
Normal file
@@ -0,0 +1,680 @@
|
|||||||
|
# SchemaGetCurrentLoginUserInfoResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AccessToken** | Pointer to **string** | access token | [optional]
|
||||||
|
**AnswerCount** | Pointer to **int32** | answer count | [optional]
|
||||||
|
**AuthorityGroup** | Pointer to **int32** | authority group | [optional]
|
||||||
|
**Avatar** | Pointer to [**SchemaAvatarInfo**](SchemaAvatarInfo.md) | | [optional]
|
||||||
|
**Bio** | Pointer to **string** | bio markdown | [optional]
|
||||||
|
**BioHtml** | Pointer to **string** | bio html | [optional]
|
||||||
|
**CreatedAt** | Pointer to **int32** | create time | [optional]
|
||||||
|
**DisplayName** | Pointer to **string** | display name | [optional]
|
||||||
|
**EMail** | Pointer to **string** | email | [optional]
|
||||||
|
**FollowCount** | Pointer to **int32** | follow count | [optional]
|
||||||
|
**HavePassword** | Pointer to **bool** | | [optional]
|
||||||
|
**Id** | Pointer to **string** | user id | [optional]
|
||||||
|
**IpInfo** | Pointer to **string** | ip info | [optional]
|
||||||
|
**Language** | Pointer to **string** | language | [optional]
|
||||||
|
**LastLoginDate** | Pointer to **int32** | last login date | [optional]
|
||||||
|
**Location** | Pointer to **string** | location | [optional]
|
||||||
|
**MailStatus** | Pointer to **int32** | mail status(1 pass 2 to be verified) | [optional]
|
||||||
|
**Mobile** | Pointer to **string** | mobile | [optional]
|
||||||
|
**NoticeStatus** | Pointer to **int32** | notice status(1 on 2off) | [optional]
|
||||||
|
**QuestionCount** | Pointer to **int32** | question count | [optional]
|
||||||
|
**Rank** | Pointer to **int32** | rank | [optional]
|
||||||
|
**RoleId** | Pointer to **int32** | role id | [optional]
|
||||||
|
**Status** | Pointer to **string** | user status | [optional]
|
||||||
|
**Username** | Pointer to **string** | username | [optional]
|
||||||
|
**Website** | Pointer to **string** | website | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetCurrentLoginUserInfoResp
|
||||||
|
|
||||||
|
`func NewSchemaGetCurrentLoginUserInfoResp() *SchemaGetCurrentLoginUserInfoResp`
|
||||||
|
|
||||||
|
NewSchemaGetCurrentLoginUserInfoResp instantiates a new SchemaGetCurrentLoginUserInfoResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetCurrentLoginUserInfoRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetCurrentLoginUserInfoRespWithDefaults() *SchemaGetCurrentLoginUserInfoResp`
|
||||||
|
|
||||||
|
NewSchemaGetCurrentLoginUserInfoRespWithDefaults instantiates a new SchemaGetCurrentLoginUserInfoResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAccessToken() string`
|
||||||
|
|
||||||
|
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAccessTokenOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAccessTokenOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetAccessToken(v string)`
|
||||||
|
|
||||||
|
SetAccessToken sets AccessToken field to given value.
|
||||||
|
|
||||||
|
### HasAccessToken
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasAccessToken() bool`
|
||||||
|
|
||||||
|
HasAccessToken returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAnswerCount() int32`
|
||||||
|
|
||||||
|
GetAnswerCount returns the AnswerCount field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAnswerCountOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAnswerCountOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetAnswerCountOk returns a tuple with the AnswerCount field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetAnswerCount(v int32)`
|
||||||
|
|
||||||
|
SetAnswerCount sets AnswerCount field to given value.
|
||||||
|
|
||||||
|
### HasAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasAnswerCount() bool`
|
||||||
|
|
||||||
|
HasAnswerCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAuthorityGroup
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAuthorityGroup() int32`
|
||||||
|
|
||||||
|
GetAuthorityGroup returns the AuthorityGroup field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAuthorityGroupOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAuthorityGroupOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetAuthorityGroupOk returns a tuple with the AuthorityGroup field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAuthorityGroup
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetAuthorityGroup(v int32)`
|
||||||
|
|
||||||
|
SetAuthorityGroup sets AuthorityGroup field to given value.
|
||||||
|
|
||||||
|
### HasAuthorityGroup
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasAuthorityGroup() bool`
|
||||||
|
|
||||||
|
HasAuthorityGroup returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAvatar() SchemaAvatarInfo`
|
||||||
|
|
||||||
|
GetAvatar returns the Avatar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAvatarOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetAvatarOk() (*SchemaAvatarInfo, bool)`
|
||||||
|
|
||||||
|
GetAvatarOk returns a tuple with the Avatar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetAvatar(v SchemaAvatarInfo)`
|
||||||
|
|
||||||
|
SetAvatar sets Avatar field to given value.
|
||||||
|
|
||||||
|
### HasAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasAvatar() bool`
|
||||||
|
|
||||||
|
HasAvatar returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetBio
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetBio() string`
|
||||||
|
|
||||||
|
GetBio returns the Bio field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetBioOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetBioOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetBioOk returns a tuple with the Bio field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetBio
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetBio(v string)`
|
||||||
|
|
||||||
|
SetBio sets Bio field to given value.
|
||||||
|
|
||||||
|
### HasBio
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasBio() bool`
|
||||||
|
|
||||||
|
HasBio returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetBioHtml
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetBioHtml() string`
|
||||||
|
|
||||||
|
GetBioHtml returns the BioHtml field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetBioHtmlOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetBioHtmlOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetBioHtmlOk returns a tuple with the BioHtml field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetBioHtml
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetBioHtml(v string)`
|
||||||
|
|
||||||
|
SetBioHtml sets BioHtml field to given value.
|
||||||
|
|
||||||
|
### HasBioHtml
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasBioHtml() bool`
|
||||||
|
|
||||||
|
HasBioHtml returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetCreatedAt() int32`
|
||||||
|
|
||||||
|
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatedAtOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetCreatedAtOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetCreatedAt(v int32)`
|
||||||
|
|
||||||
|
SetCreatedAt sets CreatedAt field to given value.
|
||||||
|
|
||||||
|
### HasCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasCreatedAt() bool`
|
||||||
|
|
||||||
|
HasCreatedAt returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetDisplayName() string`
|
||||||
|
|
||||||
|
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDisplayNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetDisplayNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetDisplayName(v string)`
|
||||||
|
|
||||||
|
SetDisplayName sets DisplayName field to given value.
|
||||||
|
|
||||||
|
### HasDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasDisplayName() bool`
|
||||||
|
|
||||||
|
HasDisplayName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetEMail
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetEMail() string`
|
||||||
|
|
||||||
|
GetEMail returns the EMail field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetEMailOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetEMailOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetEMailOk returns a tuple with the EMail field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetEMail
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetEMail(v string)`
|
||||||
|
|
||||||
|
SetEMail sets EMail field to given value.
|
||||||
|
|
||||||
|
### HasEMail
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasEMail() bool`
|
||||||
|
|
||||||
|
HasEMail returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetFollowCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetFollowCount() int32`
|
||||||
|
|
||||||
|
GetFollowCount returns the FollowCount field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetFollowCountOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetFollowCountOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetFollowCountOk returns a tuple with the FollowCount field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetFollowCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetFollowCount(v int32)`
|
||||||
|
|
||||||
|
SetFollowCount sets FollowCount field to given value.
|
||||||
|
|
||||||
|
### HasFollowCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasFollowCount() bool`
|
||||||
|
|
||||||
|
HasFollowCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHavePassword
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetHavePassword() bool`
|
||||||
|
|
||||||
|
GetHavePassword returns the HavePassword field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHavePasswordOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetHavePasswordOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetHavePasswordOk returns a tuple with the HavePassword field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHavePassword
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetHavePassword(v bool)`
|
||||||
|
|
||||||
|
SetHavePassword sets HavePassword field to given value.
|
||||||
|
|
||||||
|
### HasHavePassword
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasHavePassword() bool`
|
||||||
|
|
||||||
|
HasHavePassword returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetIpInfo() string`
|
||||||
|
|
||||||
|
GetIpInfo returns the IpInfo field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIpInfoOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetIpInfoOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIpInfoOk returns a tuple with the IpInfo field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetIpInfo(v string)`
|
||||||
|
|
||||||
|
SetIpInfo sets IpInfo field to given value.
|
||||||
|
|
||||||
|
### HasIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasIpInfo() bool`
|
||||||
|
|
||||||
|
HasIpInfo returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLanguage
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLanguage() string`
|
||||||
|
|
||||||
|
GetLanguage returns the Language field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLanguageOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLanguageOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLanguageOk returns a tuple with the Language field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLanguage
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetLanguage(v string)`
|
||||||
|
|
||||||
|
SetLanguage sets Language field to given value.
|
||||||
|
|
||||||
|
### HasLanguage
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasLanguage() bool`
|
||||||
|
|
||||||
|
HasLanguage returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLastLoginDate
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLastLoginDate() int32`
|
||||||
|
|
||||||
|
GetLastLoginDate returns the LastLoginDate field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLastLoginDateOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLastLoginDateOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetLastLoginDateOk returns a tuple with the LastLoginDate field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLastLoginDate
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetLastLoginDate(v int32)`
|
||||||
|
|
||||||
|
SetLastLoginDate sets LastLoginDate field to given value.
|
||||||
|
|
||||||
|
### HasLastLoginDate
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasLastLoginDate() bool`
|
||||||
|
|
||||||
|
HasLastLoginDate returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLocation
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLocation() string`
|
||||||
|
|
||||||
|
GetLocation returns the Location field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLocationOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetLocationOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLocation
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetLocation(v string)`
|
||||||
|
|
||||||
|
SetLocation sets Location field to given value.
|
||||||
|
|
||||||
|
### HasLocation
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasLocation() bool`
|
||||||
|
|
||||||
|
HasLocation returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMailStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetMailStatus() int32`
|
||||||
|
|
||||||
|
GetMailStatus returns the MailStatus field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMailStatusOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetMailStatusOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetMailStatusOk returns a tuple with the MailStatus field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetMailStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetMailStatus(v int32)`
|
||||||
|
|
||||||
|
SetMailStatus sets MailStatus field to given value.
|
||||||
|
|
||||||
|
### HasMailStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasMailStatus() bool`
|
||||||
|
|
||||||
|
HasMailStatus returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMobile
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetMobile() string`
|
||||||
|
|
||||||
|
GetMobile returns the Mobile field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMobileOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetMobileOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetMobileOk returns a tuple with the Mobile field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetMobile
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetMobile(v string)`
|
||||||
|
|
||||||
|
SetMobile sets Mobile field to given value.
|
||||||
|
|
||||||
|
### HasMobile
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasMobile() bool`
|
||||||
|
|
||||||
|
HasMobile returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetNoticeStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetNoticeStatus() int32`
|
||||||
|
|
||||||
|
GetNoticeStatus returns the NoticeStatus field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNoticeStatusOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetNoticeStatusOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetNoticeStatusOk returns a tuple with the NoticeStatus field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetNoticeStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetNoticeStatus(v int32)`
|
||||||
|
|
||||||
|
SetNoticeStatus sets NoticeStatus field to given value.
|
||||||
|
|
||||||
|
### HasNoticeStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasNoticeStatus() bool`
|
||||||
|
|
||||||
|
HasNoticeStatus returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetQuestionCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetQuestionCount() int32`
|
||||||
|
|
||||||
|
GetQuestionCount returns the QuestionCount field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetQuestionCountOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetQuestionCountOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetQuestionCountOk returns a tuple with the QuestionCount field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetQuestionCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetQuestionCount(v int32)`
|
||||||
|
|
||||||
|
SetQuestionCount sets QuestionCount field to given value.
|
||||||
|
|
||||||
|
### HasQuestionCount
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasQuestionCount() bool`
|
||||||
|
|
||||||
|
HasQuestionCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRank
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetRank() int32`
|
||||||
|
|
||||||
|
GetRank returns the Rank field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRankOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetRankOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetRankOk returns a tuple with the Rank field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRank
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetRank(v int32)`
|
||||||
|
|
||||||
|
SetRank sets Rank field to given value.
|
||||||
|
|
||||||
|
### HasRank
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasRank() bool`
|
||||||
|
|
||||||
|
HasRank returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRoleId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetRoleId() int32`
|
||||||
|
|
||||||
|
GetRoleId returns the RoleId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRoleIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetRoleIdOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetRoleIdOk returns a tuple with the RoleId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRoleId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetRoleId(v int32)`
|
||||||
|
|
||||||
|
SetRoleId sets RoleId field to given value.
|
||||||
|
|
||||||
|
### HasRoleId
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasRoleId() bool`
|
||||||
|
|
||||||
|
HasRoleId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetStatus() string`
|
||||||
|
|
||||||
|
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStatusOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetStatus(v string)`
|
||||||
|
|
||||||
|
SetStatus sets Status field to given value.
|
||||||
|
|
||||||
|
### HasStatus
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasStatus() bool`
|
||||||
|
|
||||||
|
HasStatus returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetUsername
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetUsername() string`
|
||||||
|
|
||||||
|
GetUsername returns the Username field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUsernameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetUsernameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUsername
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetUsername(v string)`
|
||||||
|
|
||||||
|
SetUsername sets Username field to given value.
|
||||||
|
|
||||||
|
### HasUsername
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasUsername() bool`
|
||||||
|
|
||||||
|
HasUsername returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetWebsite() string`
|
||||||
|
|
||||||
|
GetWebsite returns the Website field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetWebsiteOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) GetWebsiteOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetWebsiteOk returns a tuple with the Website field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) SetWebsite(v string)`
|
||||||
|
|
||||||
|
SetWebsite sets Website field to given value.
|
||||||
|
|
||||||
|
### HasWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaGetCurrentLoginUserInfoResp) HasWebsite() bool`
|
||||||
|
|
||||||
|
HasWebsite returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
160
docs/SchemaGetPluginConfigResp.md
Normal file
160
docs/SchemaGetPluginConfigResp.md
Normal file
@@ -0,0 +1,160 @@
|
|||||||
|
# SchemaGetPluginConfigResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**ConfigFields** | Pointer to [**[]SchemaConfigField**](SchemaConfigField.md) | | [optional]
|
||||||
|
**Description** | Pointer to **string** | | [optional]
|
||||||
|
**Name** | Pointer to **string** | | [optional]
|
||||||
|
**SlugName** | Pointer to **string** | | [optional]
|
||||||
|
**Version** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetPluginConfigResp
|
||||||
|
|
||||||
|
`func NewSchemaGetPluginConfigResp() *SchemaGetPluginConfigResp`
|
||||||
|
|
||||||
|
NewSchemaGetPluginConfigResp instantiates a new SchemaGetPluginConfigResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetPluginConfigRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetPluginConfigRespWithDefaults() *SchemaGetPluginConfigResp`
|
||||||
|
|
||||||
|
NewSchemaGetPluginConfigRespWithDefaults instantiates a new SchemaGetPluginConfigResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetConfigFields
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetConfigFields() []SchemaConfigField`
|
||||||
|
|
||||||
|
GetConfigFields returns the ConfigFields field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetConfigFieldsOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetConfigFieldsOk() (*[]SchemaConfigField, bool)`
|
||||||
|
|
||||||
|
GetConfigFieldsOk returns a tuple with the ConfigFields field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetConfigFields
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) SetConfigFields(v []SchemaConfigField)`
|
||||||
|
|
||||||
|
SetConfigFields sets ConfigFields field to given value.
|
||||||
|
|
||||||
|
### HasConfigFields
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) HasConfigFields() bool`
|
||||||
|
|
||||||
|
HasConfigFields returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetDescription() string`
|
||||||
|
|
||||||
|
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDescriptionOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetDescriptionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) SetDescription(v string)`
|
||||||
|
|
||||||
|
SetDescription sets Description field to given value.
|
||||||
|
|
||||||
|
### HasDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) HasDescription() bool`
|
||||||
|
|
||||||
|
HasDescription returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetSlugName() string`
|
||||||
|
|
||||||
|
GetSlugName returns the SlugName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSlugNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetSlugNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetSlugNameOk returns a tuple with the SlugName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) SetSlugName(v string)`
|
||||||
|
|
||||||
|
SetSlugName sets SlugName field to given value.
|
||||||
|
|
||||||
|
### HasSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) HasSlugName() bool`
|
||||||
|
|
||||||
|
HasSlugName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetVersion() string`
|
||||||
|
|
||||||
|
GetVersion returns the Version field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetVersionOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) GetVersionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) SetVersion(v string)`
|
||||||
|
|
||||||
|
SetVersion sets Version field to given value.
|
||||||
|
|
||||||
|
### HasVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginConfigResp) HasVersion() bool`
|
||||||
|
|
||||||
|
HasVersion returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
212
docs/SchemaGetPluginListResp.md
Normal file
212
docs/SchemaGetPluginListResp.md
Normal file
@@ -0,0 +1,212 @@
|
|||||||
|
# SchemaGetPluginListResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Description** | Pointer to **string** | | [optional]
|
||||||
|
**Enabled** | Pointer to **bool** | | [optional]
|
||||||
|
**HaveConfig** | Pointer to **bool** | | [optional]
|
||||||
|
**Link** | Pointer to **string** | | [optional]
|
||||||
|
**Name** | Pointer to **string** | | [optional]
|
||||||
|
**SlugName** | Pointer to **string** | | [optional]
|
||||||
|
**Version** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetPluginListResp
|
||||||
|
|
||||||
|
`func NewSchemaGetPluginListResp() *SchemaGetPluginListResp`
|
||||||
|
|
||||||
|
NewSchemaGetPluginListResp instantiates a new SchemaGetPluginListResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetPluginListRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetPluginListRespWithDefaults() *SchemaGetPluginListResp`
|
||||||
|
|
||||||
|
NewSchemaGetPluginListRespWithDefaults instantiates a new SchemaGetPluginListResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetDescription() string`
|
||||||
|
|
||||||
|
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDescriptionOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetDescriptionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetDescription(v string)`
|
||||||
|
|
||||||
|
SetDescription sets Description field to given value.
|
||||||
|
|
||||||
|
### HasDescription
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasDescription() bool`
|
||||||
|
|
||||||
|
HasDescription returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetEnabled
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetEnabled() bool`
|
||||||
|
|
||||||
|
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetEnabledOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetEnabledOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetEnabled
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetEnabled(v bool)`
|
||||||
|
|
||||||
|
SetEnabled sets Enabled field to given value.
|
||||||
|
|
||||||
|
### HasEnabled
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasEnabled() bool`
|
||||||
|
|
||||||
|
HasEnabled returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHaveConfig
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetHaveConfig() bool`
|
||||||
|
|
||||||
|
GetHaveConfig returns the HaveConfig field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHaveConfigOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetHaveConfigOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetHaveConfigOk returns a tuple with the HaveConfig field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHaveConfig
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetHaveConfig(v bool)`
|
||||||
|
|
||||||
|
SetHaveConfig sets HaveConfig field to given value.
|
||||||
|
|
||||||
|
### HasHaveConfig
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasHaveConfig() bool`
|
||||||
|
|
||||||
|
HasHaveConfig returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLink
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetLink() string`
|
||||||
|
|
||||||
|
GetLink returns the Link field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLinkOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetLinkOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLink
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetLink(v string)`
|
||||||
|
|
||||||
|
SetLink sets Link field to given value.
|
||||||
|
|
||||||
|
### HasLink
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasLink() bool`
|
||||||
|
|
||||||
|
HasLink returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetSlugName() string`
|
||||||
|
|
||||||
|
GetSlugName returns the SlugName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSlugNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetSlugNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetSlugNameOk returns a tuple with the SlugName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetSlugName(v string)`
|
||||||
|
|
||||||
|
SetSlugName sets SlugName field to given value.
|
||||||
|
|
||||||
|
### HasSlugName
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasSlugName() bool`
|
||||||
|
|
||||||
|
HasSlugName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetVersion() string`
|
||||||
|
|
||||||
|
GetVersion returns the Version field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetVersionOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) GetVersionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) SetVersion(v string)`
|
||||||
|
|
||||||
|
SetVersion sets Version field to given value.
|
||||||
|
|
||||||
|
### HasVersion
|
||||||
|
|
||||||
|
`func (o *SchemaGetPluginListResp) HasVersion() bool`
|
||||||
|
|
||||||
|
HasVersion returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/SchemaGetPrivilegesConfigResp.md
Normal file
82
docs/SchemaGetPrivilegesConfigResp.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# SchemaGetPrivilegesConfigResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Options** | Pointer to [**[]SchemaPrivilegeOption**](SchemaPrivilegeOption.md) | | [optional]
|
||||||
|
**SelectedLevel** | Pointer to [**SchemaPrivilegeLevel**](SchemaPrivilegeLevel.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetPrivilegesConfigResp
|
||||||
|
|
||||||
|
`func NewSchemaGetPrivilegesConfigResp() *SchemaGetPrivilegesConfigResp`
|
||||||
|
|
||||||
|
NewSchemaGetPrivilegesConfigResp instantiates a new SchemaGetPrivilegesConfigResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetPrivilegesConfigRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetPrivilegesConfigRespWithDefaults() *SchemaGetPrivilegesConfigResp`
|
||||||
|
|
||||||
|
NewSchemaGetPrivilegesConfigRespWithDefaults instantiates a new SchemaGetPrivilegesConfigResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetOptions
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) GetOptions() []SchemaPrivilegeOption`
|
||||||
|
|
||||||
|
GetOptions returns the Options field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetOptionsOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) GetOptionsOk() (*[]SchemaPrivilegeOption, bool)`
|
||||||
|
|
||||||
|
GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetOptions
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) SetOptions(v []SchemaPrivilegeOption)`
|
||||||
|
|
||||||
|
SetOptions sets Options field to given value.
|
||||||
|
|
||||||
|
### HasOptions
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) HasOptions() bool`
|
||||||
|
|
||||||
|
HasOptions returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetSelectedLevel
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) GetSelectedLevel() SchemaPrivilegeLevel`
|
||||||
|
|
||||||
|
GetSelectedLevel returns the SelectedLevel field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSelectedLevelOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) GetSelectedLevelOk() (*SchemaPrivilegeLevel, bool)`
|
||||||
|
|
||||||
|
GetSelectedLevelOk returns a tuple with the SelectedLevel field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSelectedLevel
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) SetSelectedLevel(v SchemaPrivilegeLevel)`
|
||||||
|
|
||||||
|
SetSelectedLevel sets SelectedLevel field to given value.
|
||||||
|
|
||||||
|
### HasSelectedLevel
|
||||||
|
|
||||||
|
`func (o *SchemaGetPrivilegesConfigResp) HasSelectedLevel() bool`
|
||||||
|
|
||||||
|
HasSelectedLevel returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
290
docs/SchemaGetRankPersonalPageResp.md
Normal file
290
docs/SchemaGetRankPersonalPageResp.md
Normal file
@@ -0,0 +1,290 @@
|
|||||||
|
# SchemaGetRankPersonalPageResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AnswerId** | Pointer to **string** | answer id | [optional]
|
||||||
|
**Content** | Pointer to **string** | content | [optional]
|
||||||
|
**CreatedAt** | Pointer to **int32** | create time | [optional]
|
||||||
|
**ObjectId** | Pointer to **string** | object id | [optional]
|
||||||
|
**ObjectType** | Pointer to **string** | object type | [optional]
|
||||||
|
**QuestionId** | Pointer to **string** | question id | [optional]
|
||||||
|
**RankType** | Pointer to **string** | rank type | [optional]
|
||||||
|
**Reputation** | Pointer to **int32** | reputation | [optional]
|
||||||
|
**Title** | Pointer to **string** | title | [optional]
|
||||||
|
**UrlTitle** | Pointer to **string** | url title | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetRankPersonalPageResp
|
||||||
|
|
||||||
|
`func NewSchemaGetRankPersonalPageResp() *SchemaGetRankPersonalPageResp`
|
||||||
|
|
||||||
|
NewSchemaGetRankPersonalPageResp instantiates a new SchemaGetRankPersonalPageResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetRankPersonalPageRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetRankPersonalPageRespWithDefaults() *SchemaGetRankPersonalPageResp`
|
||||||
|
|
||||||
|
NewSchemaGetRankPersonalPageRespWithDefaults instantiates a new SchemaGetRankPersonalPageResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAnswerId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetAnswerId() string`
|
||||||
|
|
||||||
|
GetAnswerId returns the AnswerId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAnswerIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetAnswerIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetAnswerIdOk returns a tuple with the AnswerId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAnswerId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetAnswerId(v string)`
|
||||||
|
|
||||||
|
SetAnswerId sets AnswerId field to given value.
|
||||||
|
|
||||||
|
### HasAnswerId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasAnswerId() bool`
|
||||||
|
|
||||||
|
HasAnswerId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetContent
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetContent() string`
|
||||||
|
|
||||||
|
GetContent returns the Content field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetContentOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetContentOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetContent
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetContent(v string)`
|
||||||
|
|
||||||
|
SetContent sets Content field to given value.
|
||||||
|
|
||||||
|
### HasContent
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasContent() bool`
|
||||||
|
|
||||||
|
HasContent returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetCreatedAt() int32`
|
||||||
|
|
||||||
|
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatedAtOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetCreatedAtOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetCreatedAt(v int32)`
|
||||||
|
|
||||||
|
SetCreatedAt sets CreatedAt field to given value.
|
||||||
|
|
||||||
|
### HasCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasCreatedAt() bool`
|
||||||
|
|
||||||
|
HasCreatedAt returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetObjectId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetObjectId() string`
|
||||||
|
|
||||||
|
GetObjectId returns the ObjectId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetObjectIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetObjectIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetObjectId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetObjectId(v string)`
|
||||||
|
|
||||||
|
SetObjectId sets ObjectId field to given value.
|
||||||
|
|
||||||
|
### HasObjectId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasObjectId() bool`
|
||||||
|
|
||||||
|
HasObjectId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetObjectType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetObjectType() string`
|
||||||
|
|
||||||
|
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetObjectTypeOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetObjectTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetObjectType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetObjectType(v string)`
|
||||||
|
|
||||||
|
SetObjectType sets ObjectType field to given value.
|
||||||
|
|
||||||
|
### HasObjectType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasObjectType() bool`
|
||||||
|
|
||||||
|
HasObjectType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetQuestionId() string`
|
||||||
|
|
||||||
|
GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetQuestionIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetQuestionIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetQuestionIdOk returns a tuple with the QuestionId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetQuestionId(v string)`
|
||||||
|
|
||||||
|
SetQuestionId sets QuestionId field to given value.
|
||||||
|
|
||||||
|
### HasQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasQuestionId() bool`
|
||||||
|
|
||||||
|
HasQuestionId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRankType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetRankType() string`
|
||||||
|
|
||||||
|
GetRankType returns the RankType field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRankTypeOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetRankTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetRankTypeOk returns a tuple with the RankType field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRankType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetRankType(v string)`
|
||||||
|
|
||||||
|
SetRankType sets RankType field to given value.
|
||||||
|
|
||||||
|
### HasRankType
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasRankType() bool`
|
||||||
|
|
||||||
|
HasRankType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetReputation
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetReputation() int32`
|
||||||
|
|
||||||
|
GetReputation returns the Reputation field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetReputationOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetReputationOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetReputationOk returns a tuple with the Reputation field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetReputation
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetReputation(v int32)`
|
||||||
|
|
||||||
|
SetReputation sets Reputation field to given value.
|
||||||
|
|
||||||
|
### HasReputation
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasReputation() bool`
|
||||||
|
|
||||||
|
HasReputation returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetTitle() string`
|
||||||
|
|
||||||
|
GetTitle returns the Title field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTitleOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetTitleOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetTitle(v string)`
|
||||||
|
|
||||||
|
SetTitle sets Title field to given value.
|
||||||
|
|
||||||
|
### HasTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasTitle() bool`
|
||||||
|
|
||||||
|
HasTitle returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetUrlTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetUrlTitle() string`
|
||||||
|
|
||||||
|
GetUrlTitle returns the UrlTitle field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUrlTitleOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) GetUrlTitleOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetUrlTitleOk returns a tuple with the UrlTitle field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUrlTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) SetUrlTitle(v string)`
|
||||||
|
|
||||||
|
SetUrlTitle sets UrlTitle field to given value.
|
||||||
|
|
||||||
|
### HasUrlTitle
|
||||||
|
|
||||||
|
`func (o *SchemaGetRankPersonalPageResp) HasUrlTitle() bool`
|
||||||
|
|
||||||
|
HasUrlTitle returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
56
docs/SchemaGetUserActivationResp.md
Normal file
56
docs/SchemaGetUserActivationResp.md
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
# SchemaGetUserActivationResp
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**ActivationUrl** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaGetUserActivationResp
|
||||||
|
|
||||||
|
`func NewSchemaGetUserActivationResp() *SchemaGetUserActivationResp`
|
||||||
|
|
||||||
|
NewSchemaGetUserActivationResp instantiates a new SchemaGetUserActivationResp object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaGetUserActivationRespWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaGetUserActivationRespWithDefaults() *SchemaGetUserActivationResp`
|
||||||
|
|
||||||
|
NewSchemaGetUserActivationRespWithDefaults instantiates a new SchemaGetUserActivationResp object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetActivationUrl
|
||||||
|
|
||||||
|
`func (o *SchemaGetUserActivationResp) GetActivationUrl() string`
|
||||||
|
|
||||||
|
GetActivationUrl returns the ActivationUrl field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetActivationUrlOk
|
||||||
|
|
||||||
|
`func (o *SchemaGetUserActivationResp) GetActivationUrlOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetActivationUrlOk returns a tuple with the ActivationUrl field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetActivationUrl
|
||||||
|
|
||||||
|
`func (o *SchemaGetUserActivationResp) SetActivationUrl(v string)`
|
||||||
|
|
||||||
|
SetActivationUrl sets ActivationUrl field to given value.
|
||||||
|
|
||||||
|
### HasActivationUrl
|
||||||
|
|
||||||
|
`func (o *SchemaGetUserActivationResp) HasActivationUrl() bool`
|
||||||
|
|
||||||
|
HasActivationUrl returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/SchemaLoadingAction.md
Normal file
82
docs/SchemaLoadingAction.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# SchemaLoadingAction
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**State** | Pointer to **string** | | [optional]
|
||||||
|
**Text** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaLoadingAction
|
||||||
|
|
||||||
|
`func NewSchemaLoadingAction() *SchemaLoadingAction`
|
||||||
|
|
||||||
|
NewSchemaLoadingAction instantiates a new SchemaLoadingAction object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaLoadingActionWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaLoadingActionWithDefaults() *SchemaLoadingAction`
|
||||||
|
|
||||||
|
NewSchemaLoadingActionWithDefaults instantiates a new SchemaLoadingAction object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetState
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) GetState() string`
|
||||||
|
|
||||||
|
GetState returns the State field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStateOk
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) GetStateOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetState
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) SetState(v string)`
|
||||||
|
|
||||||
|
SetState sets State field to given value.
|
||||||
|
|
||||||
|
### HasState
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) HasState() bool`
|
||||||
|
|
||||||
|
HasState returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetText
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) GetText() string`
|
||||||
|
|
||||||
|
GetText returns the Text field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTextOk
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) GetTextOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetText
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) SetText(v string)`
|
||||||
|
|
||||||
|
SetText sets Text field to given value.
|
||||||
|
|
||||||
|
### HasText
|
||||||
|
|
||||||
|
`func (o *SchemaLoadingAction) HasText() bool`
|
||||||
|
|
||||||
|
HasText returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
82
docs/SchemaOnCompleteAction.md
Normal file
82
docs/SchemaOnCompleteAction.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# SchemaOnCompleteAction
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**RefreshFormConfig** | Pointer to **bool** | | [optional]
|
||||||
|
**ToastReturnMessage** | Pointer to **bool** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaOnCompleteAction
|
||||||
|
|
||||||
|
`func NewSchemaOnCompleteAction() *SchemaOnCompleteAction`
|
||||||
|
|
||||||
|
NewSchemaOnCompleteAction instantiates a new SchemaOnCompleteAction object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaOnCompleteActionWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaOnCompleteActionWithDefaults() *SchemaOnCompleteAction`
|
||||||
|
|
||||||
|
NewSchemaOnCompleteActionWithDefaults instantiates a new SchemaOnCompleteAction object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetRefreshFormConfig
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) GetRefreshFormConfig() bool`
|
||||||
|
|
||||||
|
GetRefreshFormConfig returns the RefreshFormConfig field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRefreshFormConfigOk
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) GetRefreshFormConfigOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetRefreshFormConfigOk returns a tuple with the RefreshFormConfig field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRefreshFormConfig
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) SetRefreshFormConfig(v bool)`
|
||||||
|
|
||||||
|
SetRefreshFormConfig sets RefreshFormConfig field to given value.
|
||||||
|
|
||||||
|
### HasRefreshFormConfig
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) HasRefreshFormConfig() bool`
|
||||||
|
|
||||||
|
HasRefreshFormConfig returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetToastReturnMessage
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) GetToastReturnMessage() bool`
|
||||||
|
|
||||||
|
GetToastReturnMessage returns the ToastReturnMessage field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetToastReturnMessageOk
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) GetToastReturnMessageOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetToastReturnMessageOk returns a tuple with the ToastReturnMessage field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetToastReturnMessage
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) SetToastReturnMessage(v bool)`
|
||||||
|
|
||||||
|
SetToastReturnMessage sets ToastReturnMessage field to given value.
|
||||||
|
|
||||||
|
### HasToastReturnMessage
|
||||||
|
|
||||||
|
`func (o *SchemaOnCompleteAction) HasToastReturnMessage() bool`
|
||||||
|
|
||||||
|
HasToastReturnMessage returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
15
docs/SchemaPrivilegeLevel.md
Normal file
15
docs/SchemaPrivilegeLevel.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# SchemaPrivilegeLevel
|
||||||
|
|
||||||
|
## Enum
|
||||||
|
|
||||||
|
|
||||||
|
* `PrivilegeLevel1` (value: `1`)
|
||||||
|
|
||||||
|
* `PrivilegeLevel2` (value: `2`)
|
||||||
|
|
||||||
|
* `PrivilegeLevel3` (value: `3`)
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
108
docs/SchemaPrivilegeOption.md
Normal file
108
docs/SchemaPrivilegeOption.md
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
# SchemaPrivilegeOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Level** | Pointer to [**SchemaPrivilegeLevel**](SchemaPrivilegeLevel.md) | | [optional]
|
||||||
|
**LevelDesc** | Pointer to **string** | | [optional]
|
||||||
|
**Privileges** | Pointer to [**[]ConstantPrivilege**](ConstantPrivilege.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaPrivilegeOption
|
||||||
|
|
||||||
|
`func NewSchemaPrivilegeOption() *SchemaPrivilegeOption`
|
||||||
|
|
||||||
|
NewSchemaPrivilegeOption instantiates a new SchemaPrivilegeOption object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaPrivilegeOptionWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaPrivilegeOptionWithDefaults() *SchemaPrivilegeOption`
|
||||||
|
|
||||||
|
NewSchemaPrivilegeOptionWithDefaults instantiates a new SchemaPrivilegeOption object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetLevel
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetLevel() SchemaPrivilegeLevel`
|
||||||
|
|
||||||
|
GetLevel returns the Level field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLevelOk
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetLevelOk() (*SchemaPrivilegeLevel, bool)`
|
||||||
|
|
||||||
|
GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLevel
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) SetLevel(v SchemaPrivilegeLevel)`
|
||||||
|
|
||||||
|
SetLevel sets Level field to given value.
|
||||||
|
|
||||||
|
### HasLevel
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) HasLevel() bool`
|
||||||
|
|
||||||
|
HasLevel returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLevelDesc
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetLevelDesc() string`
|
||||||
|
|
||||||
|
GetLevelDesc returns the LevelDesc field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLevelDescOk
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetLevelDescOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLevelDescOk returns a tuple with the LevelDesc field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLevelDesc
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) SetLevelDesc(v string)`
|
||||||
|
|
||||||
|
SetLevelDesc sets LevelDesc field to given value.
|
||||||
|
|
||||||
|
### HasLevelDesc
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) HasLevelDesc() bool`
|
||||||
|
|
||||||
|
HasLevelDesc returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetPrivileges
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetPrivileges() []ConstantPrivilege`
|
||||||
|
|
||||||
|
GetPrivileges returns the Privileges field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetPrivilegesOk
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) GetPrivilegesOk() (*[]ConstantPrivilege, bool)`
|
||||||
|
|
||||||
|
GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetPrivileges
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) SetPrivileges(v []ConstantPrivilege)`
|
||||||
|
|
||||||
|
SetPrivileges sets Privileges field to given value.
|
||||||
|
|
||||||
|
### HasPrivileges
|
||||||
|
|
||||||
|
`func (o *SchemaPrivilegeOption) HasPrivileges() bool`
|
||||||
|
|
||||||
|
HasPrivileges returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | **string** | content |
|
**Content** | **string** | content |
|
||||||
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
||||||
**Title** | **string** | question title |
|
**Title** | **string** | question title |
|
||||||
@@ -27,6 +29,56 @@ NewSchemaQuestionAddWithDefaults instantiates a new SchemaQuestionAdd object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAdd) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaQuestionAdd) GetContent() string`
|
`func (o *SchemaQuestionAdd) GetContent() string`
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**AnswerContent** | **string** | |
|
**AnswerContent** | **string** | |
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | **string** | content |
|
**Content** | **string** | content |
|
||||||
|
**MentionUsernameList** | Pointer to **[]string** | | [optional]
|
||||||
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
||||||
**Title** | **string** | question title |
|
**Title** | **string** | question title |
|
||||||
|
|
||||||
@@ -48,6 +51,56 @@ and a boolean to check if the value has been set.
|
|||||||
SetAnswerContent sets AnswerContent field to given value.
|
SetAnswerContent sets AnswerContent field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaQuestionAddByAnswer) GetContent() string`
|
`func (o *SchemaQuestionAddByAnswer) GetContent() string`
|
||||||
@@ -68,6 +121,31 @@ and a boolean to check if the value has been set.
|
|||||||
SetContent sets Content field to given value.
|
SetContent sets Content field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetMentionUsernameList
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetMentionUsernameList() []string`
|
||||||
|
|
||||||
|
GetMentionUsernameList returns the MentionUsernameList field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMentionUsernameListOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) GetMentionUsernameListOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetMentionUsernameListOk returns a tuple with the MentionUsernameList field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetMentionUsernameList
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) SetMentionUsernameList(v []string)`
|
||||||
|
|
||||||
|
SetMentionUsernameList sets MentionUsernameList field to given value.
|
||||||
|
|
||||||
|
### HasMentionUsernameList
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionAddByAnswer) HasMentionUsernameList() bool`
|
||||||
|
|
||||||
|
HasMentionUsernameList returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetTags
|
### GetTags
|
||||||
|
|
||||||
`func (o *SchemaQuestionAddByAnswer) GetTags() []SchemaTagItem`
|
`func (o *SchemaQuestionAddByAnswer) GetTags() []SchemaTagItem`
|
||||||
|
|||||||
@@ -4,9 +4,12 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Content** | **string** | content |
|
**Content** | **string** | content |
|
||||||
**EditSummary** | Pointer to **string** | edit summary | [optional]
|
**EditSummary** | Pointer to **string** | edit summary | [optional]
|
||||||
**Id** | **string** | question id |
|
**Id** | **string** | question id |
|
||||||
|
**InviteUser** | Pointer to **[]string** | | [optional]
|
||||||
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
**Tags** | [**[]SchemaTagItem**](SchemaTagItem.md) | tags |
|
||||||
**Title** | **string** | question title |
|
**Title** | **string** | question title |
|
||||||
|
|
||||||
@@ -29,6 +32,56 @@ NewSchemaQuestionUpdateWithDefaults instantiates a new SchemaQuestionUpdate obje
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetContent
|
### GetContent
|
||||||
|
|
||||||
`func (o *SchemaQuestionUpdate) GetContent() string`
|
`func (o *SchemaQuestionUpdate) GetContent() string`
|
||||||
@@ -94,6 +147,31 @@ and a boolean to check if the value has been set.
|
|||||||
SetId sets Id field to given value.
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetInviteUser() []string`
|
||||||
|
|
||||||
|
GetInviteUser returns the InviteUser field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetInviteUserOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) GetInviteUserOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetInviteUserOk returns a tuple with the InviteUser field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) SetInviteUser(v []string)`
|
||||||
|
|
||||||
|
SetInviteUser sets InviteUser field to given value.
|
||||||
|
|
||||||
|
### HasInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdate) HasInviteUser() bool`
|
||||||
|
|
||||||
|
HasInviteUser returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetTags
|
### GetTags
|
||||||
|
|
||||||
`func (o *SchemaQuestionUpdate) GetTags() []SchemaTagItem`
|
`func (o *SchemaQuestionUpdate) GetTags() []SchemaTagItem`
|
||||||
|
|||||||
129
docs/SchemaQuestionUpdateInviteUser.md
Normal file
129
docs/SchemaQuestionUpdateInviteUser.md
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
# SchemaQuestionUpdateInviteUser
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
|
**Id** | **string** | |
|
||||||
|
**InviteUser** | Pointer to **[]string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaQuestionUpdateInviteUser
|
||||||
|
|
||||||
|
`func NewSchemaQuestionUpdateInviteUser(id string, ) *SchemaQuestionUpdateInviteUser`
|
||||||
|
|
||||||
|
NewSchemaQuestionUpdateInviteUser instantiates a new SchemaQuestionUpdateInviteUser object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaQuestionUpdateInviteUserWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaQuestionUpdateInviteUserWithDefaults() *SchemaQuestionUpdateInviteUser`
|
||||||
|
|
||||||
|
NewSchemaQuestionUpdateInviteUserWithDefaults instantiates a new SchemaQuestionUpdateInviteUser object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetInviteUser() []string`
|
||||||
|
|
||||||
|
GetInviteUser returns the InviteUser field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetInviteUserOk
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) GetInviteUserOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetInviteUserOk returns a tuple with the InviteUser field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) SetInviteUser(v []string)`
|
||||||
|
|
||||||
|
SetInviteUser sets InviteUser field to given value.
|
||||||
|
|
||||||
|
### HasInviteUser
|
||||||
|
|
||||||
|
`func (o *SchemaQuestionUpdateInviteUser) HasInviteUser() bool`
|
||||||
|
|
||||||
|
HasInviteUser returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Id** | **string** | answer id |
|
**Id** | **string** | answer id |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -25,6 +27,56 @@ NewSchemaRemoveAnswerReqWithDefaults instantiates a new SchemaRemoveAnswerReq ob
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveAnswerReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetId
|
### GetId
|
||||||
|
|
||||||
`func (o *SchemaRemoveAnswerReq) GetId() string`
|
`func (o *SchemaRemoveAnswerReq) GetId() string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**CommentId** | **string** | comment id |
|
**CommentId** | **string** | comment id |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -25,6 +27,56 @@ NewSchemaRemoveCommentReqWithDefaults instantiates a new SchemaRemoveCommentReq
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveCommentReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetCommentId
|
### GetCommentId
|
||||||
|
|
||||||
`func (o *SchemaRemoveCommentReq) GetCommentId() string`
|
`func (o *SchemaRemoveCommentReq) GetCommentId() string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**CaptchaCode** | Pointer to **string** | | [optional]
|
||||||
|
**CaptchaId** | Pointer to **string** | captcha_id | [optional]
|
||||||
**Id** | **string** | question id |
|
**Id** | **string** | question id |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -25,6 +27,56 @@ NewSchemaRemoveQuestionReqWithDefaults instantiates a new SchemaRemoveQuestionRe
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) GetCaptchaCode() string`
|
||||||
|
|
||||||
|
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaCodeOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) GetCaptchaCodeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) SetCaptchaCode(v string)`
|
||||||
|
|
||||||
|
SetCaptchaCode sets CaptchaCode field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaCode
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) HasCaptchaCode() bool`
|
||||||
|
|
||||||
|
HasCaptchaCode returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) GetCaptchaId() string`
|
||||||
|
|
||||||
|
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCaptchaIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) GetCaptchaIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) SetCaptchaId(v string)`
|
||||||
|
|
||||||
|
SetCaptchaId sets CaptchaId field to given value.
|
||||||
|
|
||||||
|
### HasCaptchaId
|
||||||
|
|
||||||
|
`func (o *SchemaRemoveQuestionReq) HasCaptchaId() bool`
|
||||||
|
|
||||||
|
HasCaptchaId returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetId
|
### GetId
|
||||||
|
|
||||||
`func (o *SchemaRemoveQuestionReq) GetId() string`
|
`func (o *SchemaRemoveQuestionReq) GetId() string`
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|||||||
**Status** | Pointer to **string** | Status | [optional]
|
**Status** | Pointer to **string** | Status | [optional]
|
||||||
**Tags** | Pointer to [**[]SchemaTagResp**](SchemaTagResp.md) | tags | [optional]
|
**Tags** | Pointer to [**[]SchemaTagResp**](SchemaTagResp.md) | tags | [optional]
|
||||||
**Title** | Pointer to **string** | | [optional]
|
**Title** | Pointer to **string** | | [optional]
|
||||||
**UserInfo** | Pointer to [**SchemaUserBasicInfo**](SchemaUserBasicInfo.md) | | [optional]
|
**UserInfo** | Pointer to [**SchemaSearchObjectUserInfo**](SchemaSearchObjectUserInfo.md) | | [optional]
|
||||||
**VoteCount** | Pointer to **int32** | | [optional]
|
**VoteCount** | Pointer to **int32** | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -262,20 +262,20 @@ HasTitle returns a boolean if a field has been set.
|
|||||||
|
|
||||||
### GetUserInfo
|
### GetUserInfo
|
||||||
|
|
||||||
`func (o *SchemaSearchObject) GetUserInfo() SchemaUserBasicInfo`
|
`func (o *SchemaSearchObject) GetUserInfo() SchemaSearchObjectUserInfo`
|
||||||
|
|
||||||
GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.
|
GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetUserInfoOk
|
### GetUserInfoOk
|
||||||
|
|
||||||
`func (o *SchemaSearchObject) GetUserInfoOk() (*SchemaUserBasicInfo, bool)`
|
`func (o *SchemaSearchObject) GetUserInfoOk() (*SchemaSearchObjectUserInfo, bool)`
|
||||||
|
|
||||||
GetUserInfoOk returns a tuple with the UserInfo field if it's non-nil, zero value otherwise
|
GetUserInfoOk returns a tuple with the UserInfo field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetUserInfo
|
### SetUserInfo
|
||||||
|
|
||||||
`func (o *SchemaSearchObject) SetUserInfo(v SchemaUserBasicInfo)`
|
`func (o *SchemaSearchObject) SetUserInfo(v SchemaSearchObjectUserInfo)`
|
||||||
|
|
||||||
SetUserInfo sets UserInfo field to given value.
|
SetUserInfo sets UserInfo field to given value.
|
||||||
|
|
||||||
|
|||||||
264
docs/SchemaSearchObjectUserInfo.md
Normal file
264
docs/SchemaSearchObjectUserInfo.md
Normal file
@@ -0,0 +1,264 @@
|
|||||||
|
# SchemaSearchObjectUserInfo
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Avatar** | Pointer to **string** | avatar | [optional]
|
||||||
|
**DisplayName** | Pointer to **string** | display_name | [optional]
|
||||||
|
**Id** | Pointer to **string** | user_id | [optional]
|
||||||
|
**IpInfo** | Pointer to **string** | ip info | [optional]
|
||||||
|
**Location** | Pointer to **string** | location | [optional]
|
||||||
|
**Rank** | Pointer to **int32** | rank | [optional]
|
||||||
|
**Status** | Pointer to **string** | status | [optional]
|
||||||
|
**Username** | Pointer to **string** | name | [optional]
|
||||||
|
**Website** | Pointer to **string** | website | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaSearchObjectUserInfo
|
||||||
|
|
||||||
|
`func NewSchemaSearchObjectUserInfo() *SchemaSearchObjectUserInfo`
|
||||||
|
|
||||||
|
NewSchemaSearchObjectUserInfo instantiates a new SchemaSearchObjectUserInfo object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaSearchObjectUserInfoWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaSearchObjectUserInfoWithDefaults() *SchemaSearchObjectUserInfo`
|
||||||
|
|
||||||
|
NewSchemaSearchObjectUserInfoWithDefaults instantiates a new SchemaSearchObjectUserInfo object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetAvatar() string`
|
||||||
|
|
||||||
|
GetAvatar returns the Avatar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAvatarOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetAvatarOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetAvatarOk returns a tuple with the Avatar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetAvatar(v string)`
|
||||||
|
|
||||||
|
SetAvatar sets Avatar field to given value.
|
||||||
|
|
||||||
|
### HasAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasAvatar() bool`
|
||||||
|
|
||||||
|
HasAvatar returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetDisplayName() string`
|
||||||
|
|
||||||
|
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDisplayNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetDisplayNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetDisplayName(v string)`
|
||||||
|
|
||||||
|
SetDisplayName sets DisplayName field to given value.
|
||||||
|
|
||||||
|
### HasDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasDisplayName() bool`
|
||||||
|
|
||||||
|
HasDisplayName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetIpInfo() string`
|
||||||
|
|
||||||
|
GetIpInfo returns the IpInfo field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIpInfoOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetIpInfoOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIpInfoOk returns a tuple with the IpInfo field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetIpInfo(v string)`
|
||||||
|
|
||||||
|
SetIpInfo sets IpInfo field to given value.
|
||||||
|
|
||||||
|
### HasIpInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasIpInfo() bool`
|
||||||
|
|
||||||
|
HasIpInfo returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetLocation() string`
|
||||||
|
|
||||||
|
GetLocation returns the Location field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLocationOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetLocationOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetLocation(v string)`
|
||||||
|
|
||||||
|
SetLocation sets Location field to given value.
|
||||||
|
|
||||||
|
### HasLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasLocation() bool`
|
||||||
|
|
||||||
|
HasLocation returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRank
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetRank() int32`
|
||||||
|
|
||||||
|
GetRank returns the Rank field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRankOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetRankOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetRankOk returns a tuple with the Rank field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRank
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetRank(v int32)`
|
||||||
|
|
||||||
|
SetRank sets Rank field to given value.
|
||||||
|
|
||||||
|
### HasRank
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasRank() bool`
|
||||||
|
|
||||||
|
HasRank returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetStatus
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetStatus() string`
|
||||||
|
|
||||||
|
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStatusOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) 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 *SchemaSearchObjectUserInfo) SetStatus(v string)`
|
||||||
|
|
||||||
|
SetStatus sets Status field to given value.
|
||||||
|
|
||||||
|
### HasStatus
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasStatus() bool`
|
||||||
|
|
||||||
|
HasStatus returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetUsername() string`
|
||||||
|
|
||||||
|
GetUsername returns the Username field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUsernameOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetUsernameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetUsername(v string)`
|
||||||
|
|
||||||
|
SetUsername sets Username field to given value.
|
||||||
|
|
||||||
|
### HasUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasUsername() bool`
|
||||||
|
|
||||||
|
HasUsername returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetWebsite() string`
|
||||||
|
|
||||||
|
GetWebsite returns the Website field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetWebsiteOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) GetWebsiteOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetWebsiteOk returns a tuple with the Website field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) SetWebsite(v string)`
|
||||||
|
|
||||||
|
SetWebsite sets Website field to given value.
|
||||||
|
|
||||||
|
### HasWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSearchObjectUserInfo) HasWebsite() bool`
|
||||||
|
|
||||||
|
HasWebsite returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Object** | Pointer to [**SchemaSearchObject**](SchemaSearchObject.md) | | [optional]
|
**Object** | Pointer to [**SchemaSearchRespObject**](SchemaSearchRespObject.md) | | [optional]
|
||||||
**ObjectType** | Pointer to **string** | object_type | [optional]
|
**ObjectType** | Pointer to **string** | object_type | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
@@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set
|
|||||||
|
|
||||||
### GetObject
|
### GetObject
|
||||||
|
|
||||||
`func (o *SchemaSearchResp) GetObject() SchemaSearchObject`
|
`func (o *SchemaSearchResp) GetObject() SchemaSearchRespObject`
|
||||||
|
|
||||||
GetObject returns the Object field if non-nil, zero value otherwise.
|
GetObject returns the Object field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetObjectOk
|
### GetObjectOk
|
||||||
|
|
||||||
`func (o *SchemaSearchResp) GetObjectOk() (*SchemaSearchObject, bool)`
|
`func (o *SchemaSearchResp) GetObjectOk() (*SchemaSearchRespObject, bool)`
|
||||||
|
|
||||||
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise
|
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetObject
|
### SetObject
|
||||||
|
|
||||||
`func (o *SchemaSearchResp) SetObject(v SchemaSearchObject)`
|
`func (o *SchemaSearchResp) SetObject(v SchemaSearchRespObject)`
|
||||||
|
|
||||||
SetObject sets Object field to given value.
|
SetObject sets Object field to given value.
|
||||||
|
|
||||||
|
|||||||
316
docs/SchemaSearchRespObject.md
Normal file
316
docs/SchemaSearchRespObject.md
Normal file
@@ -0,0 +1,316 @@
|
|||||||
|
# SchemaSearchRespObject
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Accepted** | Pointer to **bool** | | [optional]
|
||||||
|
**AnswerCount** | Pointer to **int32** | | [optional]
|
||||||
|
**CreatedAt** | Pointer to **int32** | | [optional]
|
||||||
|
**Excerpt** | Pointer to **string** | | [optional]
|
||||||
|
**Id** | Pointer to **string** | | [optional]
|
||||||
|
**QuestionId** | Pointer to **string** | | [optional]
|
||||||
|
**Status** | Pointer to **string** | Status | [optional]
|
||||||
|
**Tags** | Pointer to [**[]SchemaTagResp**](SchemaTagResp.md) | tags | [optional]
|
||||||
|
**Title** | Pointer to **string** | | [optional]
|
||||||
|
**UserInfo** | Pointer to [**SchemaSearchObjectUserInfo**](SchemaSearchObjectUserInfo.md) | | [optional]
|
||||||
|
**VoteCount** | Pointer to **int32** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaSearchRespObject
|
||||||
|
|
||||||
|
`func NewSchemaSearchRespObject() *SchemaSearchRespObject`
|
||||||
|
|
||||||
|
NewSchemaSearchRespObject instantiates a new SchemaSearchRespObject object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaSearchRespObjectWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaSearchRespObjectWithDefaults() *SchemaSearchRespObject`
|
||||||
|
|
||||||
|
NewSchemaSearchRespObjectWithDefaults instantiates a new SchemaSearchRespObject object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAccepted
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetAccepted() bool`
|
||||||
|
|
||||||
|
GetAccepted returns the Accepted field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAcceptedOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetAcceptedOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAcceptedOk returns a tuple with the Accepted field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAccepted
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetAccepted(v bool)`
|
||||||
|
|
||||||
|
SetAccepted sets Accepted field to given value.
|
||||||
|
|
||||||
|
### HasAccepted
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasAccepted() bool`
|
||||||
|
|
||||||
|
HasAccepted returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetAnswerCount() int32`
|
||||||
|
|
||||||
|
GetAnswerCount returns the AnswerCount field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAnswerCountOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetAnswerCountOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetAnswerCountOk returns a tuple with the AnswerCount field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetAnswerCount(v int32)`
|
||||||
|
|
||||||
|
SetAnswerCount sets AnswerCount field to given value.
|
||||||
|
|
||||||
|
### HasAnswerCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasAnswerCount() bool`
|
||||||
|
|
||||||
|
HasAnswerCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetCreatedAt() int32`
|
||||||
|
|
||||||
|
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatedAtOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetCreatedAtOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetCreatedAt(v int32)`
|
||||||
|
|
||||||
|
SetCreatedAt sets CreatedAt field to given value.
|
||||||
|
|
||||||
|
### HasCreatedAt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasCreatedAt() bool`
|
||||||
|
|
||||||
|
HasCreatedAt returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetExcerpt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetExcerpt() string`
|
||||||
|
|
||||||
|
GetExcerpt returns the Excerpt field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetExcerptOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetExcerptOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetExcerptOk returns a tuple with the Excerpt field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetExcerpt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetExcerpt(v string)`
|
||||||
|
|
||||||
|
SetExcerpt sets Excerpt field to given value.
|
||||||
|
|
||||||
|
### HasExcerpt
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasExcerpt() bool`
|
||||||
|
|
||||||
|
HasExcerpt returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetQuestionId() string`
|
||||||
|
|
||||||
|
GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetQuestionIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetQuestionIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetQuestionIdOk returns a tuple with the QuestionId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetQuestionId(v string)`
|
||||||
|
|
||||||
|
SetQuestionId sets QuestionId field to given value.
|
||||||
|
|
||||||
|
### HasQuestionId
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasQuestionId() bool`
|
||||||
|
|
||||||
|
HasQuestionId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetStatus
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetStatus() string`
|
||||||
|
|
||||||
|
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStatusOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) 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 *SchemaSearchRespObject) SetStatus(v string)`
|
||||||
|
|
||||||
|
SetStatus sets Status field to given value.
|
||||||
|
|
||||||
|
### HasStatus
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasStatus() bool`
|
||||||
|
|
||||||
|
HasStatus returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTags
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetTags() []SchemaTagResp`
|
||||||
|
|
||||||
|
GetTags returns the Tags field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTagsOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetTagsOk() (*[]SchemaTagResp, bool)`
|
||||||
|
|
||||||
|
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTags
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetTags(v []SchemaTagResp)`
|
||||||
|
|
||||||
|
SetTags sets Tags field to given value.
|
||||||
|
|
||||||
|
### HasTags
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasTags() bool`
|
||||||
|
|
||||||
|
HasTags returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetTitle() string`
|
||||||
|
|
||||||
|
GetTitle returns the Title field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTitleOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetTitleOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTitle
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetTitle(v string)`
|
||||||
|
|
||||||
|
SetTitle sets Title field to given value.
|
||||||
|
|
||||||
|
### HasTitle
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasTitle() bool`
|
||||||
|
|
||||||
|
HasTitle returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetUserInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetUserInfo() SchemaSearchObjectUserInfo`
|
||||||
|
|
||||||
|
GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUserInfoOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetUserInfoOk() (*SchemaSearchObjectUserInfo, bool)`
|
||||||
|
|
||||||
|
GetUserInfoOk returns a tuple with the UserInfo field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUserInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetUserInfo(v SchemaSearchObjectUserInfo)`
|
||||||
|
|
||||||
|
SetUserInfo sets UserInfo field to given value.
|
||||||
|
|
||||||
|
### HasUserInfo
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasUserInfo() bool`
|
||||||
|
|
||||||
|
HasUserInfo returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetVoteCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetVoteCount() int32`
|
||||||
|
|
||||||
|
GetVoteCount returns the VoteCount field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetVoteCountOk
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) GetVoteCountOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetVoteCountOk returns a tuple with the VoteCount field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetVoteCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) SetVoteCount(v int32)`
|
||||||
|
|
||||||
|
SetVoteCount sets VoteCount field to given value.
|
||||||
|
|
||||||
|
### HasVoteCount
|
||||||
|
|
||||||
|
`func (o *SchemaSearchRespObject) HasVoteCount() bool`
|
||||||
|
|
||||||
|
HasVoteCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
51
docs/SchemaSendUserActivationReq.md
Normal file
51
docs/SchemaSendUserActivationReq.md
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# SchemaSendUserActivationReq
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**UserId** | **string** | |
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaSendUserActivationReq
|
||||||
|
|
||||||
|
`func NewSchemaSendUserActivationReq(userId string, ) *SchemaSendUserActivationReq`
|
||||||
|
|
||||||
|
NewSchemaSendUserActivationReq instantiates a new SchemaSendUserActivationReq object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaSendUserActivationReqWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaSendUserActivationReqWithDefaults() *SchemaSendUserActivationReq`
|
||||||
|
|
||||||
|
NewSchemaSendUserActivationReqWithDefaults instantiates a new SchemaSendUserActivationReq object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetUserId
|
||||||
|
|
||||||
|
`func (o *SchemaSendUserActivationReq) GetUserId() string`
|
||||||
|
|
||||||
|
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetUserIdOk
|
||||||
|
|
||||||
|
`func (o *SchemaSendUserActivationReq) GetUserIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetUserId
|
||||||
|
|
||||||
|
`func (o *SchemaSendUserActivationReq) SetUserId(v string)`
|
||||||
|
|
||||||
|
SetUserId sets UserId 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)
|
||||||
|
|
||||||
|
|
||||||
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**CustomFooter** | Pointer to **string** | | [optional]
|
**CustomFooter** | Pointer to **string** | | [optional]
|
||||||
**CustomHead** | Pointer to **string** | | [optional]
|
**CustomHead** | Pointer to **string** | | [optional]
|
||||||
**CustomHeader** | Pointer to **string** | | [optional]
|
**CustomHeader** | Pointer to **string** | | [optional]
|
||||||
|
**CustomSidebar** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -128,6 +129,31 @@ SetCustomHeader sets CustomHeader field to given value.
|
|||||||
|
|
||||||
HasCustomHeader returns a boolean if a field has been set.
|
HasCustomHeader returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLReq) GetCustomSidebar() string`
|
||||||
|
|
||||||
|
GetCustomSidebar returns the CustomSidebar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCustomSidebarOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLReq) GetCustomSidebarOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCustomSidebarOk returns a tuple with the CustomSidebar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLReq) SetCustomSidebar(v string)`
|
||||||
|
|
||||||
|
SetCustomSidebar sets CustomSidebar field to given value.
|
||||||
|
|
||||||
|
### HasCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLReq) HasCustomSidebar() bool`
|
||||||
|
|
||||||
|
HasCustomSidebar returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**CustomFooter** | Pointer to **string** | | [optional]
|
**CustomFooter** | Pointer to **string** | | [optional]
|
||||||
**CustomHead** | Pointer to **string** | | [optional]
|
**CustomHead** | Pointer to **string** | | [optional]
|
||||||
**CustomHeader** | Pointer to **string** | | [optional]
|
**CustomHeader** | Pointer to **string** | | [optional]
|
||||||
|
**CustomSidebar** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -128,6 +129,31 @@ SetCustomHeader sets CustomHeader field to given value.
|
|||||||
|
|
||||||
HasCustomHeader returns a boolean if a field has been set.
|
HasCustomHeader returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLResp) GetCustomSidebar() string`
|
||||||
|
|
||||||
|
GetCustomSidebar returns the CustomSidebar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCustomSidebarOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLResp) GetCustomSidebarOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCustomSidebarOk returns a tuple with the CustomSidebar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLResp) SetCustomSidebar(v string)`
|
||||||
|
|
||||||
|
SetCustomSidebar sets CustomSidebar field to given value.
|
||||||
|
|
||||||
|
### HasCustomSidebar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteCustomCssHTMLResp) HasCustomSidebar() bool`
|
||||||
|
|
||||||
|
HasCustomSidebar returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ Name | Type | Description | Notes
|
|||||||
**Interface** | Pointer to [**SchemaSiteInterfaceResp**](SchemaSiteInterfaceResp.md) | | [optional]
|
**Interface** | Pointer to [**SchemaSiteInterfaceResp**](SchemaSiteInterfaceResp.md) | | [optional]
|
||||||
**Login** | Pointer to [**SchemaSiteLoginResp**](SchemaSiteLoginResp.md) | | [optional]
|
**Login** | Pointer to [**SchemaSiteLoginResp**](SchemaSiteLoginResp.md) | | [optional]
|
||||||
**Revision** | Pointer to **string** | | [optional]
|
**Revision** | Pointer to **string** | | [optional]
|
||||||
**SiteSeo** | Pointer to [**SchemaSiteSeoReq**](SchemaSiteSeoReq.md) | | [optional]
|
**SiteSeo** | Pointer to [**SchemaSiteSeoResp**](SchemaSiteSeoResp.md) | | [optional]
|
||||||
|
**SiteUsers** | Pointer to [**SchemaSiteUsersResp**](SchemaSiteUsersResp.md) | | [optional]
|
||||||
**Theme** | Pointer to [**SchemaSiteThemeResp**](SchemaSiteThemeResp.md) | | [optional]
|
**Theme** | Pointer to [**SchemaSiteThemeResp**](SchemaSiteThemeResp.md) | | [optional]
|
||||||
**Version** | Pointer to **string** | | [optional]
|
**Version** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
@@ -185,20 +186,20 @@ HasRevision returns a boolean if a field has been set.
|
|||||||
|
|
||||||
### GetSiteSeo
|
### GetSiteSeo
|
||||||
|
|
||||||
`func (o *SchemaSiteInfoResp) GetSiteSeo() SchemaSiteSeoReq`
|
`func (o *SchemaSiteInfoResp) GetSiteSeo() SchemaSiteSeoResp`
|
||||||
|
|
||||||
GetSiteSeo returns the SiteSeo field if non-nil, zero value otherwise.
|
GetSiteSeo returns the SiteSeo field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetSiteSeoOk
|
### GetSiteSeoOk
|
||||||
|
|
||||||
`func (o *SchemaSiteInfoResp) GetSiteSeoOk() (*SchemaSiteSeoReq, bool)`
|
`func (o *SchemaSiteInfoResp) GetSiteSeoOk() (*SchemaSiteSeoResp, bool)`
|
||||||
|
|
||||||
GetSiteSeoOk returns a tuple with the SiteSeo field if it's non-nil, zero value otherwise
|
GetSiteSeoOk returns a tuple with the SiteSeo field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetSiteSeo
|
### SetSiteSeo
|
||||||
|
|
||||||
`func (o *SchemaSiteInfoResp) SetSiteSeo(v SchemaSiteSeoReq)`
|
`func (o *SchemaSiteInfoResp) SetSiteSeo(v SchemaSiteSeoResp)`
|
||||||
|
|
||||||
SetSiteSeo sets SiteSeo field to given value.
|
SetSiteSeo sets SiteSeo field to given value.
|
||||||
|
|
||||||
@@ -208,6 +209,31 @@ SetSiteSeo sets SiteSeo field to given value.
|
|||||||
|
|
||||||
HasSiteSeo returns a boolean if a field has been set.
|
HasSiteSeo returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetSiteUsers
|
||||||
|
|
||||||
|
`func (o *SchemaSiteInfoResp) GetSiteUsers() SchemaSiteUsersResp`
|
||||||
|
|
||||||
|
GetSiteUsers returns the SiteUsers field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSiteUsersOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteInfoResp) GetSiteUsersOk() (*SchemaSiteUsersResp, bool)`
|
||||||
|
|
||||||
|
GetSiteUsersOk returns a tuple with the SiteUsers field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSiteUsers
|
||||||
|
|
||||||
|
`func (o *SchemaSiteInfoResp) SetSiteUsers(v SchemaSiteUsersResp)`
|
||||||
|
|
||||||
|
SetSiteUsers sets SiteUsers field to given value.
|
||||||
|
|
||||||
|
### HasSiteUsers
|
||||||
|
|
||||||
|
`func (o *SchemaSiteInfoResp) HasSiteUsers() bool`
|
||||||
|
|
||||||
|
HasSiteUsers returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetTheme
|
### GetTheme
|
||||||
|
|
||||||
`func (o *SchemaSiteInfoResp) GetTheme() SchemaSiteThemeResp`
|
`func (o *SchemaSiteInfoResp) GetTheme() SchemaSiteThemeResp`
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**DefaultAvatar** | **string** | |
|
|
||||||
**Language** | **string** | |
|
**Language** | **string** | |
|
||||||
**TimeZone** | **string** | |
|
**TimeZone** | **string** | |
|
||||||
|
|
||||||
@@ -12,7 +11,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### NewSchemaSiteInterfaceReq
|
### NewSchemaSiteInterfaceReq
|
||||||
|
|
||||||
`func NewSchemaSiteInterfaceReq(defaultAvatar string, language string, timeZone string, ) *SchemaSiteInterfaceReq`
|
`func NewSchemaSiteInterfaceReq(language string, timeZone string, ) *SchemaSiteInterfaceReq`
|
||||||
|
|
||||||
NewSchemaSiteInterfaceReq instantiates a new SchemaSiteInterfaceReq object
|
NewSchemaSiteInterfaceReq instantiates a new SchemaSiteInterfaceReq object
|
||||||
This constructor will assign default values to properties that have it defined,
|
This constructor will assign default values to properties that have it defined,
|
||||||
@@ -27,26 +26,6 @@ NewSchemaSiteInterfaceReqWithDefaults instantiates a new SchemaSiteInterfaceReq
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetDefaultAvatar
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceReq) GetDefaultAvatar() string`
|
|
||||||
|
|
||||||
GetDefaultAvatar returns the DefaultAvatar field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetDefaultAvatarOk
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceReq) GetDefaultAvatarOk() (*string, bool)`
|
|
||||||
|
|
||||||
GetDefaultAvatarOk returns a tuple with the DefaultAvatar field if it's non-nil, zero value otherwise
|
|
||||||
and a boolean to check if the value has been set.
|
|
||||||
|
|
||||||
### SetDefaultAvatar
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceReq) SetDefaultAvatar(v string)`
|
|
||||||
|
|
||||||
SetDefaultAvatar sets DefaultAvatar field to given value.
|
|
||||||
|
|
||||||
|
|
||||||
### GetLanguage
|
### GetLanguage
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceReq) GetLanguage() string`
|
`func (o *SchemaSiteInterfaceReq) GetLanguage() string`
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**DefaultAvatar** | **string** | |
|
|
||||||
**Language** | **string** | |
|
**Language** | **string** | |
|
||||||
**TimeZone** | **string** | |
|
**TimeZone** | **string** | |
|
||||||
|
|
||||||
@@ -12,7 +11,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### NewSchemaSiteInterfaceResp
|
### NewSchemaSiteInterfaceResp
|
||||||
|
|
||||||
`func NewSchemaSiteInterfaceResp(defaultAvatar string, language string, timeZone string, ) *SchemaSiteInterfaceResp`
|
`func NewSchemaSiteInterfaceResp(language string, timeZone string, ) *SchemaSiteInterfaceResp`
|
||||||
|
|
||||||
NewSchemaSiteInterfaceResp instantiates a new SchemaSiteInterfaceResp object
|
NewSchemaSiteInterfaceResp instantiates a new SchemaSiteInterfaceResp object
|
||||||
This constructor will assign default values to properties that have it defined,
|
This constructor will assign default values to properties that have it defined,
|
||||||
@@ -27,26 +26,6 @@ NewSchemaSiteInterfaceRespWithDefaults instantiates a new SchemaSiteInterfaceRes
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetDefaultAvatar
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceResp) GetDefaultAvatar() string`
|
|
||||||
|
|
||||||
GetDefaultAvatar returns the DefaultAvatar field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetDefaultAvatarOk
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceResp) GetDefaultAvatarOk() (*string, bool)`
|
|
||||||
|
|
||||||
GetDefaultAvatarOk returns a tuple with the DefaultAvatar field if it's non-nil, zero value otherwise
|
|
||||||
and a boolean to check if the value has been set.
|
|
||||||
|
|
||||||
### SetDefaultAvatar
|
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceResp) SetDefaultAvatar(v string)`
|
|
||||||
|
|
||||||
SetDefaultAvatar sets DefaultAvatar field to given value.
|
|
||||||
|
|
||||||
|
|
||||||
### GetLanguage
|
### GetLanguage
|
||||||
|
|
||||||
`func (o *SchemaSiteInterfaceResp) GetLanguage() string`
|
`func (o *SchemaSiteInterfaceResp) GetLanguage() string`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AllowEmailDomains** | Pointer to **[]string** | | [optional]
|
||||||
|
**AllowEmailRegistrations** | Pointer to **bool** | | [optional]
|
||||||
**AllowNewRegistrations** | Pointer to **bool** | | [optional]
|
**AllowNewRegistrations** | Pointer to **bool** | | [optional]
|
||||||
**LoginRequired** | Pointer to **bool** | | [optional]
|
**LoginRequired** | Pointer to **bool** | | [optional]
|
||||||
|
|
||||||
@@ -26,6 +28,56 @@ NewSchemaSiteLoginReqWithDefaults instantiates a new SchemaSiteLoginReq object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) GetAllowEmailDomains() []string`
|
||||||
|
|
||||||
|
GetAllowEmailDomains returns the AllowEmailDomains field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowEmailDomainsOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) GetAllowEmailDomainsOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetAllowEmailDomainsOk returns a tuple with the AllowEmailDomains field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) SetAllowEmailDomains(v []string)`
|
||||||
|
|
||||||
|
SetAllowEmailDomains sets AllowEmailDomains field to given value.
|
||||||
|
|
||||||
|
### HasAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) HasAllowEmailDomains() bool`
|
||||||
|
|
||||||
|
HasAllowEmailDomains returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) GetAllowEmailRegistrations() bool`
|
||||||
|
|
||||||
|
GetAllowEmailRegistrations returns the AllowEmailRegistrations field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowEmailRegistrationsOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) GetAllowEmailRegistrationsOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowEmailRegistrationsOk returns a tuple with the AllowEmailRegistrations field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) SetAllowEmailRegistrations(v bool)`
|
||||||
|
|
||||||
|
SetAllowEmailRegistrations sets AllowEmailRegistrations field to given value.
|
||||||
|
|
||||||
|
### HasAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginReq) HasAllowEmailRegistrations() bool`
|
||||||
|
|
||||||
|
HasAllowEmailRegistrations returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetAllowNewRegistrations
|
### GetAllowNewRegistrations
|
||||||
|
|
||||||
`func (o *SchemaSiteLoginReq) GetAllowNewRegistrations() bool`
|
`func (o *SchemaSiteLoginReq) GetAllowNewRegistrations() bool`
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AllowEmailDomains** | Pointer to **[]string** | | [optional]
|
||||||
|
**AllowEmailRegistrations** | Pointer to **bool** | | [optional]
|
||||||
**AllowNewRegistrations** | Pointer to **bool** | | [optional]
|
**AllowNewRegistrations** | Pointer to **bool** | | [optional]
|
||||||
**LoginRequired** | Pointer to **bool** | | [optional]
|
**LoginRequired** | Pointer to **bool** | | [optional]
|
||||||
|
|
||||||
@@ -26,6 +28,56 @@ NewSchemaSiteLoginRespWithDefaults instantiates a new SchemaSiteLoginResp object
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) GetAllowEmailDomains() []string`
|
||||||
|
|
||||||
|
GetAllowEmailDomains returns the AllowEmailDomains field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowEmailDomainsOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) GetAllowEmailDomainsOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetAllowEmailDomainsOk returns a tuple with the AllowEmailDomains field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) SetAllowEmailDomains(v []string)`
|
||||||
|
|
||||||
|
SetAllowEmailDomains sets AllowEmailDomains field to given value.
|
||||||
|
|
||||||
|
### HasAllowEmailDomains
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) HasAllowEmailDomains() bool`
|
||||||
|
|
||||||
|
HasAllowEmailDomains returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) GetAllowEmailRegistrations() bool`
|
||||||
|
|
||||||
|
GetAllowEmailRegistrations returns the AllowEmailRegistrations field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowEmailRegistrationsOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) GetAllowEmailRegistrationsOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowEmailRegistrationsOk returns a tuple with the AllowEmailRegistrations field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) SetAllowEmailRegistrations(v bool)`
|
||||||
|
|
||||||
|
SetAllowEmailRegistrations sets AllowEmailRegistrations field to given value.
|
||||||
|
|
||||||
|
### HasAllowEmailRegistrations
|
||||||
|
|
||||||
|
`func (o *SchemaSiteLoginResp) HasAllowEmailRegistrations() bool`
|
||||||
|
|
||||||
|
HasAllowEmailRegistrations returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetAllowNewRegistrations
|
### GetAllowNewRegistrations
|
||||||
|
|
||||||
`func (o *SchemaSiteLoginResp) GetAllowNewRegistrations() bool`
|
`func (o *SchemaSiteLoginResp) GetAllowNewRegistrations() bool`
|
||||||
|
|||||||
233
docs/SchemaSiteUsersReq.md
Normal file
233
docs/SchemaSiteUsersReq.md
Normal file
@@ -0,0 +1,233 @@
|
|||||||
|
# SchemaSiteUsersReq
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**AllowUpdateAvatar** | Pointer to **bool** | | [optional]
|
||||||
|
**AllowUpdateBio** | Pointer to **bool** | | [optional]
|
||||||
|
**AllowUpdateDisplayName** | Pointer to **bool** | | [optional]
|
||||||
|
**AllowUpdateLocation** | Pointer to **bool** | | [optional]
|
||||||
|
**AllowUpdateUsername** | Pointer to **bool** | | [optional]
|
||||||
|
**AllowUpdateWebsite** | Pointer to **bool** | | [optional]
|
||||||
|
**DefaultAvatar** | **string** | |
|
||||||
|
**GravatarBaseUrl** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSchemaSiteUsersReq
|
||||||
|
|
||||||
|
`func NewSchemaSiteUsersReq(defaultAvatar string, ) *SchemaSiteUsersReq`
|
||||||
|
|
||||||
|
NewSchemaSiteUsersReq instantiates a new SchemaSiteUsersReq object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSchemaSiteUsersReqWithDefaults
|
||||||
|
|
||||||
|
`func NewSchemaSiteUsersReqWithDefaults() *SchemaSiteUsersReq`
|
||||||
|
|
||||||
|
NewSchemaSiteUsersReqWithDefaults instantiates a new SchemaSiteUsersReq object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetAllowUpdateAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateAvatar() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateAvatar returns the AllowUpdateAvatar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateAvatarOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateAvatarOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateAvatarOk returns a tuple with the AllowUpdateAvatar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateAvatar(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateAvatar sets AllowUpdateAvatar field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateAvatar() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateAvatar returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowUpdateBio
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateBio() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateBio returns the AllowUpdateBio field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateBioOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateBioOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateBioOk returns a tuple with the AllowUpdateBio field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateBio
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateBio(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateBio sets AllowUpdateBio field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateBio
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateBio() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateBio returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowUpdateDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateDisplayName() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateDisplayName returns the AllowUpdateDisplayName field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateDisplayNameOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateDisplayNameOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateDisplayNameOk returns a tuple with the AllowUpdateDisplayName field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateDisplayName(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateDisplayName sets AllowUpdateDisplayName field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateDisplayName
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateDisplayName() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateDisplayName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowUpdateLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateLocation() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateLocation returns the AllowUpdateLocation field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateLocationOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateLocationOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateLocationOk returns a tuple with the AllowUpdateLocation field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateLocation(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateLocation sets AllowUpdateLocation field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateLocation
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateLocation() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateLocation returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowUpdateUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateUsername() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateUsername returns the AllowUpdateUsername field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateUsernameOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateUsernameOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateUsernameOk returns a tuple with the AllowUpdateUsername field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateUsername(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateUsername sets AllowUpdateUsername field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateUsername
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateUsername() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateUsername returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetAllowUpdateWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateWebsite() bool`
|
||||||
|
|
||||||
|
GetAllowUpdateWebsite returns the AllowUpdateWebsite field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetAllowUpdateWebsiteOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetAllowUpdateWebsiteOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetAllowUpdateWebsiteOk returns a tuple with the AllowUpdateWebsite field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetAllowUpdateWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetAllowUpdateWebsite(v bool)`
|
||||||
|
|
||||||
|
SetAllowUpdateWebsite sets AllowUpdateWebsite field to given value.
|
||||||
|
|
||||||
|
### HasAllowUpdateWebsite
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasAllowUpdateWebsite() bool`
|
||||||
|
|
||||||
|
HasAllowUpdateWebsite returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDefaultAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetDefaultAvatar() string`
|
||||||
|
|
||||||
|
GetDefaultAvatar returns the DefaultAvatar field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDefaultAvatarOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetDefaultAvatarOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDefaultAvatarOk returns a tuple with the DefaultAvatar field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDefaultAvatar
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetDefaultAvatar(v string)`
|
||||||
|
|
||||||
|
SetDefaultAvatar sets DefaultAvatar field to given value.
|
||||||
|
|
||||||
|
|
||||||
|
### GetGravatarBaseUrl
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetGravatarBaseUrl() string`
|
||||||
|
|
||||||
|
GetGravatarBaseUrl returns the GravatarBaseUrl field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetGravatarBaseUrlOk
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) GetGravatarBaseUrlOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetGravatarBaseUrlOk returns a tuple with the GravatarBaseUrl field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetGravatarBaseUrl
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) SetGravatarBaseUrl(v string)`
|
||||||
|
|
||||||
|
SetGravatarBaseUrl sets GravatarBaseUrl field to given value.
|
||||||
|
|
||||||
|
### HasGravatarBaseUrl
|
||||||
|
|
||||||
|
`func (o *SchemaSiteUsersReq) HasGravatarBaseUrl() bool`
|
||||||
|
|
||||||
|
HasGravatarBaseUrl returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user