更新文档内容
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,5 +22,3 @@ _testmain.go
|
||||
*.exe
|
||||
*.test
|
||||
*.prof
|
||||
|
||||
.idea
|
||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
9
.idea/answer-openapi.iml
generated
Normal file
9
.idea/answer-openapi.iml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="Go" enabled="true" />
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/answer-openapi.iml" filepath="$PROJECT_DIR$/.idea/answer-openapi.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,4 +1,5 @@
|
||||
.gitignore
|
||||
.openapi-generator-ignore
|
||||
.travis.yml
|
||||
README.md
|
||||
api/openapi.yaml
|
||||
@@ -26,9 +27,9 @@ api_upload.go
|
||||
api_user.go
|
||||
client.go
|
||||
configuration.go
|
||||
docs/ActivityApi.md
|
||||
docs/AdminApi.md
|
||||
docs/AdminPluginApi.md
|
||||
docs/ActivityAPI.md
|
||||
docs/AdminAPI.md
|
||||
docs/AdminPluginAPI.md
|
||||
docs/AnswerAdminApiPluginConfigGet200Response.md
|
||||
docs/AnswerAdminApiPluginsGet200Response.md
|
||||
docs/AnswerAdminApiRolesGet200Response.md
|
||||
@@ -46,13 +47,11 @@ docs/AnswerAdminApiSiteinfoUsersGet200Response.md
|
||||
docs/AnswerAdminApiSiteinfoWriteGet200Response.md
|
||||
docs/AnswerAdminApiUserActivationGet200Response.md
|
||||
docs/AnswerAdminApiUsersPageGet200Response.md
|
||||
docs/AnswerAdminApiUsersPageGet200ResponseData.md
|
||||
docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md
|
||||
docs/AnswerAdminApiUsersPageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1ActivityTimelineGet200Response.md
|
||||
docs/AnswerApiV1CollectionSwitchPost200Response.md
|
||||
docs/AnswerApiV1CommentGet200Response.md
|
||||
docs/AnswerApiV1CommentGet200ResponseData.md
|
||||
docs/AnswerApiV1CommentGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1CommentGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1CommentPost200Response.md
|
||||
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
|
||||
docs/AnswerApiV1ConnectorInfoGet200Response.md
|
||||
@@ -61,23 +60,18 @@ docs/AnswerApiV1FilePost200Response.md
|
||||
docs/AnswerApiV1FollowPost200Response.md
|
||||
docs/AnswerApiV1PermissionGet200Response.md
|
||||
docs/AnswerApiV1PersonalCommentPageGet200Response.md
|
||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md
|
||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1PersonalRankPageGet200Response.md
|
||||
docs/AnswerApiV1PersonalRankPageGet200ResponseData.md
|
||||
docs/AnswerApiV1PersonalRankPageGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1PersonalUserInfoGet200Response.md
|
||||
docs/AnswerApiV1PersonalVotePageGet200Response.md
|
||||
docs/AnswerApiV1PersonalVotePageGet200ResponseData.md
|
||||
docs/AnswerApiV1PersonalVotePageGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1QuestionPageGet200Response.md
|
||||
docs/AnswerApiV1QuestionPageGet200ResponseData.md
|
||||
docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1QuestionPageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1QuestionTagsGet200Response.md
|
||||
docs/AnswerApiV1RevisionsGet200Response.md
|
||||
docs/AnswerApiV1RevisionsUnreviewedGet200Response.md
|
||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md
|
||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1SearchGet200Response.md
|
||||
docs/AnswerApiV1SiteinfoGet200Response.md
|
||||
docs/AnswerApiV1SiteinfoLegalGet200Response.md
|
||||
@@ -85,36 +79,37 @@ docs/AnswerApiV1TagGet200Response.md
|
||||
docs/AnswerApiV1TagSynonymsGet200Response.md
|
||||
docs/AnswerApiV1TagsFollowingGet200Response.md
|
||||
docs/AnswerApiV1TagsPageGet200Response.md
|
||||
docs/AnswerApiV1TagsPageGet200ResponseData.md
|
||||
docs/AnswerApiV1TagsPageGet200ResponseDataAllOf.md
|
||||
docs/AnswerApiV1TagsPageGet200ResponseAllOfData.md
|
||||
docs/AnswerApiV1UserActionRecordGet200Response.md
|
||||
docs/AnswerApiV1UserEmailVerificationPost200Response.md
|
||||
docs/AnswerApiV1UserInfoGet200Response.md
|
||||
docs/AnswerApiV1UserNoticeSetPost200Response.md
|
||||
docs/AnswerApiV1UserNotificationConfigPost200Response.md
|
||||
docs/AnswerApiV1UserRankingGet200Response.md
|
||||
docs/AnswerApiV1VoteDownPost200Response.md
|
||||
docs/ApiAnswerApi.md
|
||||
docs/CollectionApi.md
|
||||
docs/CommentApi.md
|
||||
docs/ApiAnswerAPI.md
|
||||
docs/CollectionAPI.md
|
||||
docs/CommentAPI.md
|
||||
docs/ConstantNotificationChannelKey.md
|
||||
docs/ConstantPrivilege.md
|
||||
docs/HandlerRespBody.md
|
||||
docs/InstallCheckConfigFileResp.md
|
||||
docs/InstallCheckDatabaseReq.md
|
||||
docs/InstallInitBaseInfoReq.md
|
||||
docs/InstallationApi.md
|
||||
docs/InstallationAPI.md
|
||||
docs/InstallationConfigFileCheckPost200Response.md
|
||||
docs/InstallationLanguageOptionsGet200Response.md
|
||||
docs/LangApi.md
|
||||
docs/NotificationApi.md
|
||||
docs/LangAPI.md
|
||||
docs/NotificationAPI.md
|
||||
docs/PagerPageModel.md
|
||||
docs/PermissionApi.md
|
||||
docs/PersonalApi.md
|
||||
docs/PluginConnectorApi.md
|
||||
docs/QuestionApi.md
|
||||
docs/RankApi.md
|
||||
docs/ReasonApi.md
|
||||
docs/ReportApi.md
|
||||
docs/RevisionApi.md
|
||||
docs/PermissionAPI.md
|
||||
docs/PersonalAPI.md
|
||||
docs/PluginConnectorAPI.md
|
||||
docs/QuestionAPI.md
|
||||
docs/RankAPI.md
|
||||
docs/ReasonAPI.md
|
||||
docs/ReportAPI.md
|
||||
docs/RevisionAPI.md
|
||||
docs/SchemaAcceptAnswerReq.md
|
||||
docs/SchemaActObjectInfo.md
|
||||
docs/SchemaActObjectTimeline.md
|
||||
docs/SchemaActionRecordResp.md
|
||||
@@ -122,9 +117,9 @@ docs/SchemaAddCommentReq.md
|
||||
docs/SchemaAddReportReq.md
|
||||
docs/SchemaAddTagReq.md
|
||||
docs/SchemaAddUserReq.md
|
||||
docs/SchemaAddUsersReq.md
|
||||
docs/SchemaAdminSetAnswerStatusRequest.md
|
||||
docs/SchemaAdminSetQuestionStatusRequest.md
|
||||
docs/SchemaAnswerAcceptedReq.md
|
||||
docs/SchemaAnswerAddReq.md
|
||||
docs/SchemaAnswerUpdateReq.md
|
||||
docs/SchemaAvatarInfo.md
|
||||
@@ -161,9 +156,11 @@ docs/SchemaGetTagResp.md
|
||||
docs/SchemaGetTagSynonymsResp.md
|
||||
docs/SchemaGetUnreviewedRevisionResp.md
|
||||
docs/SchemaGetUserActivationResp.md
|
||||
docs/SchemaGetUserNotificationConfigResp.md
|
||||
docs/SchemaGetUserPageResp.md
|
||||
docs/SchemaGetVoteWithPageResp.md
|
||||
docs/SchemaLoadingAction.md
|
||||
docs/SchemaNotificationChannelConfig.md
|
||||
docs/SchemaNotificationClearIDRequest.md
|
||||
docs/SchemaNotificationClearRequest.md
|
||||
docs/SchemaOnCompleteAction.md
|
||||
@@ -185,11 +182,10 @@ docs/SchemaRemoveTagReq.md
|
||||
docs/SchemaReopenQuestionReq.md
|
||||
docs/SchemaReportHandleReq.md
|
||||
docs/SchemaRevisionAuditReq.md
|
||||
docs/SchemaSearchListResp.md
|
||||
docs/SchemaSearchObject.md
|
||||
docs/SchemaSearchObjectUserInfo.md
|
||||
docs/SchemaSearchObjectUser.md
|
||||
docs/SchemaSearchResp.md
|
||||
docs/SchemaSearchRespObject.md
|
||||
docs/SchemaSearchResult.md
|
||||
docs/SchemaSendUserActivationReq.md
|
||||
docs/SchemaSiteBrandingReq.md
|
||||
docs/SchemaSiteBrandingResp.md
|
||||
@@ -221,7 +217,6 @@ docs/SchemaUnreviewedRevisionInfoInfo.md
|
||||
docs/SchemaUpdateCommentReq.md
|
||||
docs/SchemaUpdateFollowTagsReq.md
|
||||
docs/SchemaUpdateInfoRequest.md
|
||||
docs/SchemaUpdateInfoRequestAvatar.md
|
||||
docs/SchemaUpdatePluginConfigReq.md
|
||||
docs/SchemaUpdatePluginStatusReq.md
|
||||
docs/SchemaUpdatePrivilegesConfigReq.md
|
||||
@@ -229,30 +224,30 @@ docs/SchemaUpdateSMTPConfigReq.md
|
||||
docs/SchemaUpdateTagReq.md
|
||||
docs/SchemaUpdateTagSynonymReq.md
|
||||
docs/SchemaUpdateUserInterfaceRequest.md
|
||||
docs/SchemaUpdateUserNotificationConfigReq.md
|
||||
docs/SchemaUpdateUserPasswordReq.md
|
||||
docs/SchemaUpdateUserRoleReq.md
|
||||
docs/SchemaUpdateUserStatusReq.md
|
||||
docs/SchemaUserBasicInfo.md
|
||||
docs/SchemaUserChangeEmailSendCodeReq.md
|
||||
docs/SchemaUserChangeEmailVerifyReq.md
|
||||
docs/SchemaUserEmailLogin.md
|
||||
docs/SchemaUserEmailLoginReq.md
|
||||
docs/SchemaUserLoginResp.md
|
||||
docs/SchemaUserModifyPasswordReq.md
|
||||
docs/SchemaUserNoticeSetRequest.md
|
||||
docs/SchemaUserNoticeSetResp.md
|
||||
docs/SchemaUserRankingResp.md
|
||||
docs/SchemaUserRankingSimpleInfo.md
|
||||
docs/SchemaUserRePassWordRequest.md
|
||||
docs/SchemaUserRegisterReq.md
|
||||
docs/SchemaUserRetrievePassWordRequest.md
|
||||
docs/SchemaUserUnsubscribeNotificationReq.md
|
||||
docs/SchemaVoteReq.md
|
||||
docs/SchemaVoteResp.md
|
||||
docs/SearchApi.md
|
||||
docs/SiteApi.md
|
||||
docs/TagApi.md
|
||||
docs/SearchAPI.md
|
||||
docs/SiteAPI.md
|
||||
docs/TagAPI.md
|
||||
docs/TranslatorLangOption.md
|
||||
docs/UploadApi.md
|
||||
docs/UserApi.md
|
||||
docs/UploadAPI.md
|
||||
docs/UserAPI.md
|
||||
git_push.sh
|
||||
go.mod
|
||||
go.sum
|
||||
@@ -273,13 +268,11 @@ model__answer_admin_api_siteinfo_users_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_data.go
|
||||
model__answer_admin_api_users_page_get_200_response_data_all_of.go
|
||||
model__answer_admin_api_users_page_get_200_response_all_of_data.go
|
||||
model__answer_api_v1_activity_timeline_get_200_response.go
|
||||
model__answer_api_v1_collection_switch_post_200_response.go
|
||||
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_all_of.go
|
||||
model__answer_api_v1_comment_get_200_response_all_of_data.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
|
||||
@@ -288,23 +281,18 @@ model__answer_api_v1_file_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_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_all_of_data.go
|
||||
model__answer_api_v1_personal_rank_page_get_200_response.go
|
||||
model__answer_api_v1_personal_rank_page_get_200_response_data.go
|
||||
model__answer_api_v1_personal_rank_page_get_200_response_data_all_of.go
|
||||
model__answer_api_v1_personal_rank_page_get_200_response_all_of_data.go
|
||||
model__answer_api_v1_personal_user_info_get_200_response.go
|
||||
model__answer_api_v1_personal_vote_page_get_200_response.go
|
||||
model__answer_api_v1_personal_vote_page_get_200_response_data.go
|
||||
model__answer_api_v1_personal_vote_page_get_200_response_data_all_of.go
|
||||
model__answer_api_v1_personal_vote_page_get_200_response_all_of_data.go
|
||||
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_all_of.go
|
||||
model__answer_api_v1_question_page_get_200_response_all_of_data.go
|
||||
model__answer_api_v1_question_tags_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_data.go
|
||||
model__answer_api_v1_revisions_unreviewed_get_200_response_data_all_of.go
|
||||
model__answer_api_v1_revisions_unreviewed_get_200_response_all_of_data.go
|
||||
model__answer_api_v1_search_get_200_response.go
|
||||
model__answer_api_v1_siteinfo_get_200_response.go
|
||||
model__answer_api_v1_siteinfo_legal_get_200_response.go
|
||||
@@ -312,22 +300,23 @@ model__answer_api_v1_tag_get_200_response.go
|
||||
model__answer_api_v1_tag_synonyms_get_200_response.go
|
||||
model__answer_api_v1_tags_following_get_200_response.go
|
||||
model__answer_api_v1_tags_page_get_200_response.go
|
||||
model__answer_api_v1_tags_page_get_200_response_data.go
|
||||
model__answer_api_v1_tags_page_get_200_response_data_all_of.go
|
||||
model__answer_api_v1_tags_page_get_200_response_all_of_data.go
|
||||
model__answer_api_v1_user_action_record_get_200_response.go
|
||||
model__answer_api_v1_user_email_verification_post_200_response.go
|
||||
model__answer_api_v1_user_info_get_200_response.go
|
||||
model__answer_api_v1_user_notice_set_post_200_response.go
|
||||
model__answer_api_v1_user_notification_config_post_200_response.go
|
||||
model__answer_api_v1_user_ranking_get_200_response.go
|
||||
model__answer_api_v1_vote_down_post_200_response.go
|
||||
model__installation_config_file_check_post_200_response.go
|
||||
model__installation_language_options_get_200_response.go
|
||||
model_constant_notification_channel_key.go
|
||||
model_constant_privilege.go
|
||||
model_handler_resp_body.go
|
||||
model_install_check_config_file_resp.go
|
||||
model_install_check_database_req.go
|
||||
model_install_init_base_info_req.go
|
||||
model_pager_page_model.go
|
||||
model_schema_accept_answer_req.go
|
||||
model_schema_act_object_info.go
|
||||
model_schema_act_object_timeline.go
|
||||
model_schema_action_record_resp.go
|
||||
@@ -335,9 +324,9 @@ model_schema_add_comment_req.go
|
||||
model_schema_add_report_req.go
|
||||
model_schema_add_tag_req.go
|
||||
model_schema_add_user_req.go
|
||||
model_schema_add_users_req.go
|
||||
model_schema_admin_set_answer_status_request.go
|
||||
model_schema_admin_set_question_status_request.go
|
||||
model_schema_answer_accepted_req.go
|
||||
model_schema_answer_add_req.go
|
||||
model_schema_answer_update_req.go
|
||||
model_schema_avatar_info.go
|
||||
@@ -374,9 +363,11 @@ model_schema_get_tag_resp.go
|
||||
model_schema_get_tag_synonyms_resp.go
|
||||
model_schema_get_unreviewed_revision_resp.go
|
||||
model_schema_get_user_activation_resp.go
|
||||
model_schema_get_user_notification_config_resp.go
|
||||
model_schema_get_user_page_resp.go
|
||||
model_schema_get_vote_with_page_resp.go
|
||||
model_schema_loading_action.go
|
||||
model_schema_notification_channel_config.go
|
||||
model_schema_notification_clear_id_request.go
|
||||
model_schema_notification_clear_request.go
|
||||
model_schema_on_complete_action.go
|
||||
@@ -398,11 +389,10 @@ model_schema_remove_tag_req.go
|
||||
model_schema_reopen_question_req.go
|
||||
model_schema_report_handle_req.go
|
||||
model_schema_revision_audit_req.go
|
||||
model_schema_search_list_resp.go
|
||||
model_schema_search_object.go
|
||||
model_schema_search_object_user_info.go
|
||||
model_schema_search_object_user.go
|
||||
model_schema_search_resp.go
|
||||
model_schema_search_resp_object.go
|
||||
model_schema_search_result.go
|
||||
model_schema_send_user_activation_req.go
|
||||
model_schema_site_branding_req.go
|
||||
model_schema_site_branding_resp.go
|
||||
@@ -434,7 +424,6 @@ model_schema_unreviewed_revision_info_info.go
|
||||
model_schema_update_comment_req.go
|
||||
model_schema_update_follow_tags_req.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
|
||||
@@ -442,28 +431,46 @@ model_schema_update_smtp_config_req.go
|
||||
model_schema_update_tag_req.go
|
||||
model_schema_update_tag_synonym_req.go
|
||||
model_schema_update_user_interface_request.go
|
||||
model_schema_update_user_notification_config_req.go
|
||||
model_schema_update_user_password_req.go
|
||||
model_schema_update_user_role_req.go
|
||||
model_schema_update_user_status_req.go
|
||||
model_schema_user_basic_info.go
|
||||
model_schema_user_change_email_send_code_req.go
|
||||
model_schema_user_change_email_verify_req.go
|
||||
model_schema_user_email_login.go
|
||||
model_schema_user_email_login_req.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_resp.go
|
||||
model_schema_user_ranking_resp.go
|
||||
model_schema_user_ranking_simple_info.go
|
||||
model_schema_user_re_pass_word_request.go
|
||||
model_schema_user_register_req.go
|
||||
model_schema_user_retrieve_pass_word_request.go
|
||||
model_schema_user_unsubscribe_notification_req.go
|
||||
model_schema_vote_req.go
|
||||
model_schema_vote_resp.go
|
||||
model_translator_lang_option.go
|
||||
response.go
|
||||
test/api_activity_test.go
|
||||
test/api_admin_plugin_test.go
|
||||
test/api_admin_test.go
|
||||
test/api_api_answer_test.go
|
||||
test/api_collection_test.go
|
||||
test/api_comment_test.go
|
||||
test/api_installation_test.go
|
||||
test/api_lang_test.go
|
||||
test/api_notification_test.go
|
||||
test/api_permission_test.go
|
||||
test/api_personal_test.go
|
||||
test/api_plugin_connector_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
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.6.0
|
||||
7.0.1
|
||||
362
README.md
362
README.md
@@ -1,4 +1,4 @@
|
||||
# Go API client for openapi
|
||||
# Go API client for answer_sdk
|
||||
|
||||
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||
|
||||
@@ -21,7 +21,7 @@ go get golang.org/x/net/context
|
||||
Put the package under your project folder and add the following in import:
|
||||
|
||||
```golang
|
||||
import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
import answer_sdk "git.ncc.cx/package/openapi-go-answer"
|
||||
```
|
||||
|
||||
To use a proxy, set the environment variable `HTTP_PROXY`:
|
||||
@@ -39,7 +39,7 @@ Default configuration comes with `Servers` field that contains server objects as
|
||||
For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.
|
||||
|
||||
```golang
|
||||
ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
|
||||
ctx := context.WithValue(context.Background(), answer_sdk.ContextServerIndex, 1)
|
||||
```
|
||||
|
||||
### Templated Server URL
|
||||
@@ -47,7 +47,7 @@ ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
|
||||
Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
|
||||
|
||||
```golang
|
||||
ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
|
||||
ctx := context.WithValue(context.Background(), answer_sdk.ContextServerVariables, map[string]string{
|
||||
"basePath": "v2",
|
||||
})
|
||||
```
|
||||
@@ -61,10 +61,10 @@ An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
|
||||
Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
|
||||
|
||||
```golang
|
||||
ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
|
||||
ctx := context.WithValue(context.Background(), answer_sdk.ContextOperationServerIndices, map[string]int{
|
||||
"{classname}Service.{nickname}": 2,
|
||||
})
|
||||
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
|
||||
ctx = context.WithValue(context.Background(), answer_sdk.ContextOperationServerVariables, map[string]map[string]string{
|
||||
"{classname}Service.{nickname}": {
|
||||
"port": "8443",
|
||||
},
|
||||
@@ -77,151 +77,154 @@ All URIs are relative to *http://localhost*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*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* | [**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* | [**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 | AdminAnswerPage admin answer page
|
||||
*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* | [**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* | [**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* | [**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* | [**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* | [**AnswerAdminApiSiteinfoBrandingPut**](docs/AdminApi.md#answeradminapisiteinfobrandingput) | **Put** /answer/admin/api/siteinfo/branding | update site info branding
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoCustomCssHtmlGet**](docs/AdminApi.md#answeradminapisiteinfocustomcsshtmlget) | **Get** /answer/admin/api/siteinfo/custom-css-html | get site info custom html css config
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoCustomCssHtmlPut**](docs/AdminApi.md#answeradminapisiteinfocustomcsshtmlput) | **Put** /answer/admin/api/siteinfo/custom-css-html | update site custom css html config
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoGeneralGet**](docs/AdminApi.md#answeradminapisiteinfogeneralget) | **Get** /answer/admin/api/siteinfo/general | get site general information
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoGeneralPut**](docs/AdminApi.md#answeradminapisiteinfogeneralput) | **Put** /answer/admin/api/siteinfo/general | update site general information
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoInterfaceGet**](docs/AdminApi.md#answeradminapisiteinfointerfaceget) | **Get** /answer/admin/api/siteinfo/interface | get site interface
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoInterfacePut**](docs/AdminApi.md#answeradminapisiteinfointerfaceput) | **Put** /answer/admin/api/siteinfo/interface | update site info interface
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoLegalGet**](docs/AdminApi.md#answeradminapisiteinfolegalget) | **Get** /answer/admin/api/siteinfo/legal | Set the legal information for the site
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoLegalPut**](docs/AdminApi.md#answeradminapisiteinfolegalput) | **Put** /answer/admin/api/siteinfo/legal | update site legal info
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoLoginGet**](docs/AdminApi.md#answeradminapisiteinfologinget) | **Get** /answer/admin/api/siteinfo/login | get site info login config
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoLoginPut**](docs/AdminApi.md#answeradminapisiteinfologinput) | **Put** /answer/admin/api/siteinfo/login | update site login
|
||||
*AdminApi* | [**AnswerAdminApiSiteinfoSeoGet**](docs/AdminApi.md#answeradminapisiteinfoseoget) | **Get** /answer/admin/api/siteinfo/seo | get 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* | [**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* | [**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* | [**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* | [**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* | [**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
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerApi.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
||||
*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 | list personal collections
|
||||
*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* | [**AnswerApiV1CommentDelete**](docs/CommentApi.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
||||
*CommentApi* | [**AnswerApiV1CommentGet**](docs/CommentApi.md#answerapiv1commentget) | **Get** /answer/api/v1/comment | get comment by id
|
||||
*CommentApi* | [**AnswerApiV1CommentPageGet**](docs/CommentApi.md#answerapiv1commentpageget) | **Get** /answer/api/v1/comment/page | get comment page
|
||||
*CommentApi* | [**AnswerApiV1CommentPost**](docs/CommentApi.md#answerapiv1commentpost) | **Post** /answer/api/v1/comment | add comment
|
||||
*CommentApi* | [**AnswerApiV1CommentPut**](docs/CommentApi.md#answerapiv1commentput) | **Put** /answer/api/v1/comment | update comment
|
||||
*CommentApi* | [**AnswerApiV1PersonalCommentPageGet**](docs/CommentApi.md#answerapiv1personalcommentpageget) | **Get** /answer/api/v1/personal/comment/page | user personal comment list
|
||||
*InstallationApi* | [**InstallationBaseInfoPost**](docs/InstallationApi.md#installationbaseinfopost) | **Post** /installation/base-info | init base info
|
||||
*InstallationApi* | [**InstallationConfigFileCheckPost**](docs/InstallationApi.md#installationconfigfilecheckpost) | **Post** /installation/config-file/check | check config file if exist when installation
|
||||
*InstallationApi* | [**InstallationDbCheckPost**](docs/InstallationApi.md#installationdbcheckpost) | **Post** /installation/db/check | check database if exist when installation
|
||||
*InstallationApi* | [**InstallationInitPost**](docs/InstallationApi.md#installationinitpost) | **Post** /installation/init | init environment
|
||||
*InstallationApi* | [**RootGet**](docs/InstallationApi.md#rootget) | **Get** / | if config file not exist try to redirect to install page
|
||||
*LangApi* | [**AnswerAdminApiLanguageOptionsGet**](docs/LangApi.md#answeradminapilanguageoptionsget) | **Get** /answer/admin/api/language/options | Get language options
|
||||
*LangApi* | [**AnswerApiV1LanguageConfigGet**](docs/LangApi.md#answerapiv1languageconfigget) | **Get** /answer/api/v1/language/config | get language config mapping
|
||||
*LangApi* | [**AnswerApiV1LanguageOptionsGet**](docs/LangApi.md#answerapiv1languageoptionsget) | **Get** /answer/api/v1/language/options | Get language options
|
||||
*LangApi* | [**InstallationLanguageOptionsGet**](docs/LangApi.md#installationlanguageoptionsget) | **Get** /installation/language/options | get installation language options
|
||||
*NotificationApi* | [**AnswerApiV1NotificationPageGet**](docs/NotificationApi.md#answerapiv1notificationpageget) | **Get** /answer/api/v1/notification/page | get notification list
|
||||
*NotificationApi* | [**AnswerApiV1NotificationReadStateAllPut**](docs/NotificationApi.md#answerapiv1notificationreadstateallput) | **Put** /answer/api/v1/notification/read/state/all | 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* | [**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* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionApi.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1QuestionPut**](docs/QuestionApi.md#answerapiv1questionput) | **Put** /answer/api/v1/question | update question
|
||||
*QuestionApi* | [**AnswerApiV1QuestionReopenPut**](docs/QuestionApi.md#answerapiv1questionreopenput) | **Put** /answer/api/v1/question/reopen | reopen question
|
||||
*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* | [**AnswerApiV1QuestionStatusPut**](docs/QuestionApi.md#answerapiv1questionstatusput) | **Put** /answer/api/v1/question/status | Close question
|
||||
*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* | [**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
|
||||
*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* | [**AnswerApiV1RevisionsGet**](docs/RevisionApi.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
||||
*RevisionApi* | [**AnswerApiV1RevisionsUnreviewedGet**](docs/RevisionApi.md#answerapiv1revisionsunreviewedget) | **Get** /answer/api/v1/revisions/unreviewed | get unreviewed revision list
|
||||
*SearchApi* | [**AnswerApiV1SearchGet**](docs/SearchApi.md#answerapiv1searchget) | **Get** /answer/api/v1/search | search object
|
||||
*SiteApi* | [**AnswerApiV1SiteinfoGet**](docs/SiteApi.md#answerapiv1siteinfoget) | **Get** /answer/api/v1/siteinfo | get site info
|
||||
*SiteApi* | [**AnswerApiV1SiteinfoLegalGet**](docs/SiteApi.md#answerapiv1siteinfolegalget) | **Get** /answer/api/v1/siteinfo/legal | get site legal info
|
||||
*SiteApi* | [**CustomCssGet**](docs/SiteApi.md#customcssget) | **Get** /custom.css | get site robots information
|
||||
*SiteApi* | [**RobotsTxtGet**](docs/SiteApi.md#robotstxtget) | **Get** /robots.txt | get site robots information
|
||||
*TagApi* | [**AnswerApiV1QuestionTagsGet**](docs/TagApi.md#answerapiv1questiontagsget) | **Get** /answer/api/v1/question/tags | get tag list
|
||||
*TagApi* | [**AnswerApiV1TagDelete**](docs/TagApi.md#answerapiv1tagdelete) | **Delete** /answer/api/v1/tag | delete tag
|
||||
*TagApi* | [**AnswerApiV1TagGet**](docs/TagApi.md#answerapiv1tagget) | **Get** /answer/api/v1/tag | get tag one
|
||||
*TagApi* | [**AnswerApiV1TagPost**](docs/TagApi.md#answerapiv1tagpost) | **Post** /answer/api/v1/tag | add tag
|
||||
*TagApi* | [**AnswerApiV1TagPut**](docs/TagApi.md#answerapiv1tagput) | **Put** /answer/api/v1/tag | update tag
|
||||
*TagApi* | [**AnswerApiV1TagSynonymPut**](docs/TagApi.md#answerapiv1tagsynonymput) | **Put** /answer/api/v1/tag/synonym | update tag
|
||||
*TagApi* | [**AnswerApiV1TagSynonymsGet**](docs/TagApi.md#answerapiv1tagsynonymsget) | **Get** /answer/api/v1/tag/synonyms | get tag synonyms
|
||||
*TagApi* | [**AnswerApiV1TagsFollowingGet**](docs/TagApi.md#answerapiv1tagsfollowingget) | **Get** /answer/api/v1/tags/following | get following tag list
|
||||
*TagApi* | [**AnswerApiV1TagsGet**](docs/TagApi.md#answerapiv1tagsget) | **Get** /answer/api/v1/tags | get tags list
|
||||
*TagApi* | [**AnswerApiV1TagsPageGet**](docs/TagApi.md#answerapiv1tagspageget) | **Get** /answer/api/v1/tags/page | get tag page
|
||||
*UploadApi* | [**AnswerApiV1FilePost**](docs/UploadApi.md#answerapiv1filepost) | **Post** /answer/api/v1/file | upload file
|
||||
*UploadApi* | [**AnswerApiV1PostRenderPost**](docs/UploadApi.md#answerapiv1postrenderpost) | **Post** /answer/api/v1/post/render | render post content
|
||||
*UserApi* | [**AnswerApiV1PersonalUserInfoGet**](docs/UserApi.md#answerapiv1personaluserinfoget) | **Get** /answer/api/v1/personal/user/info | GetOtherUserInfoByUsername
|
||||
*UserApi* | [**AnswerApiV1UserActionRecordGet**](docs/UserApi.md#answerapiv1useractionrecordget) | **Get** /answer/api/v1/user/action/record | ActionRecord
|
||||
*UserApi* | [**AnswerApiV1UserEmailChangeCodePost**](docs/UserApi.md#answerapiv1useremailchangecodepost) | **Post** /answer/api/v1/user/email/change/code | send email to the user email then change their email
|
||||
*UserApi* | [**AnswerApiV1UserEmailNotificationPut**](docs/UserApi.md#answerapiv1useremailnotificationput) | **Put** /answer/api/v1/user/email/notification | unsubscribe email notification
|
||||
*UserApi* | [**AnswerApiV1UserEmailPut**](docs/UserApi.md#answerapiv1useremailput) | **Put** /answer/api/v1/user/email | user change email verification
|
||||
*UserApi* | [**AnswerApiV1UserEmailVerificationPost**](docs/UserApi.md#answerapiv1useremailverificationpost) | **Post** /answer/api/v1/user/email/verification | UserVerifyEmail
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1UserNoticeSetPost**](docs/UserApi.md#answerapiv1usernoticesetpost) | **Post** /answer/api/v1/user/notice/set | UserNoticeSet
|
||||
*UserApi* | [**AnswerApiV1UserPasswordPut**](docs/UserApi.md#answerapiv1userpasswordput) | **Put** /answer/api/v1/user/password | UserModifyPassWord
|
||||
*UserApi* | [**AnswerApiV1UserPasswordReplacementPost**](docs/UserApi.md#answerapiv1userpasswordreplacementpost) | **Post** /answer/api/v1/user/password/replacement | UseRePassWord
|
||||
*UserApi* | [**AnswerApiV1UserPasswordResetPost**](docs/UserApi.md#answerapiv1userpasswordresetpost) | **Post** /answer/api/v1/user/password/reset | RetrievePassWord
|
||||
*UserApi* | [**AnswerApiV1UserRankingGet**](docs/UserApi.md#answerapiv1userrankingget) | **Get** /answer/api/v1/user/ranking | get user ranking
|
||||
*UserApi* | [**AnswerApiV1UserRegisterCaptchaGet**](docs/UserApi.md#answerapiv1userregistercaptchaget) | **Get** /answer/api/v1/user/register/captcha | UserRegisterCaptcha
|
||||
*UserApi* | [**AnswerApiV1UserRegisterEmailPost**](docs/UserApi.md#answerapiv1userregisteremailpost) | **Post** /answer/api/v1/user/register/email | UserRegisterByEmail
|
||||
*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* | [**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* | [**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 | AdminAnswerPage admin answer page
|
||||
*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* | [**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* | [**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* | [**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* | [**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* | [**AnswerAdminApiSiteinfoBrandingPut**](docs/AdminAPI.md#answeradminapisiteinfobrandingput) | **Put** /answer/admin/api/siteinfo/branding | update site info branding
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoCustomCssHtmlGet**](docs/AdminAPI.md#answeradminapisiteinfocustomcsshtmlget) | **Get** /answer/admin/api/siteinfo/custom-css-html | get site info custom html css config
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoCustomCssHtmlPut**](docs/AdminAPI.md#answeradminapisiteinfocustomcsshtmlput) | **Put** /answer/admin/api/siteinfo/custom-css-html | update site custom css html config
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoGeneralGet**](docs/AdminAPI.md#answeradminapisiteinfogeneralget) | **Get** /answer/admin/api/siteinfo/general | get site general information
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoGeneralPut**](docs/AdminAPI.md#answeradminapisiteinfogeneralput) | **Put** /answer/admin/api/siteinfo/general | update site general information
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoInterfaceGet**](docs/AdminAPI.md#answeradminapisiteinfointerfaceget) | **Get** /answer/admin/api/siteinfo/interface | get site interface
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoInterfacePut**](docs/AdminAPI.md#answeradminapisiteinfointerfaceput) | **Put** /answer/admin/api/siteinfo/interface | update site info interface
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoLegalGet**](docs/AdminAPI.md#answeradminapisiteinfolegalget) | **Get** /answer/admin/api/siteinfo/legal | Set the legal information for the site
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoLegalPut**](docs/AdminAPI.md#answeradminapisiteinfolegalput) | **Put** /answer/admin/api/siteinfo/legal | update site legal info
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoLoginGet**](docs/AdminAPI.md#answeradminapisiteinfologinget) | **Get** /answer/admin/api/siteinfo/login | get site info login config
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoLoginPut**](docs/AdminAPI.md#answeradminapisiteinfologinput) | **Put** /answer/admin/api/siteinfo/login | update site login
|
||||
*AdminAPI* | [**AnswerAdminApiSiteinfoSeoGet**](docs/AdminAPI.md#answeradminapisiteinfoseoget) | **Get** /answer/admin/api/siteinfo/seo | get 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* | [**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* | [**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* | [**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* | [**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* | [**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* | [**AnswerAdminApiUsersPost**](docs/AdminAPI.md#answeradminapiuserspost) | **Post** /answer/admin/api/users | add users
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerAPI.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
||||
*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 | list personal collections
|
||||
*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* | [**AnswerApiV1CommentDelete**](docs/CommentAPI.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
||||
*CommentAPI* | [**AnswerApiV1CommentGet**](docs/CommentAPI.md#answerapiv1commentget) | **Get** /answer/api/v1/comment | get comment by id
|
||||
*CommentAPI* | [**AnswerApiV1CommentPageGet**](docs/CommentAPI.md#answerapiv1commentpageget) | **Get** /answer/api/v1/comment/page | get comment page
|
||||
*CommentAPI* | [**AnswerApiV1CommentPost**](docs/CommentAPI.md#answerapiv1commentpost) | **Post** /answer/api/v1/comment | add comment
|
||||
*CommentAPI* | [**AnswerApiV1CommentPut**](docs/CommentAPI.md#answerapiv1commentput) | **Put** /answer/api/v1/comment | update comment
|
||||
*CommentAPI* | [**AnswerApiV1PersonalCommentPageGet**](docs/CommentAPI.md#answerapiv1personalcommentpageget) | **Get** /answer/api/v1/personal/comment/page | user personal comment list
|
||||
*InstallationAPI* | [**InstallationBaseInfoPost**](docs/InstallationAPI.md#installationbaseinfopost) | **Post** /installation/base-info | init base info
|
||||
*InstallationAPI* | [**InstallationConfigFileCheckPost**](docs/InstallationAPI.md#installationconfigfilecheckpost) | **Post** /installation/config-file/check | check config file if exist when installation
|
||||
*InstallationAPI* | [**InstallationDbCheckPost**](docs/InstallationAPI.md#installationdbcheckpost) | **Post** /installation/db/check | check database if exist when installation
|
||||
*InstallationAPI* | [**InstallationInitPost**](docs/InstallationAPI.md#installationinitpost) | **Post** /installation/init | init environment
|
||||
*InstallationAPI* | [**RootGet**](docs/InstallationAPI.md#rootget) | **Get** / | if config file not exist try to redirect to install page
|
||||
*LangAPI* | [**AnswerAdminApiLanguageOptionsGet**](docs/LangAPI.md#answeradminapilanguageoptionsget) | **Get** /answer/admin/api/language/options | Get language options
|
||||
*LangAPI* | [**AnswerApiV1LanguageConfigGet**](docs/LangAPI.md#answerapiv1languageconfigget) | **Get** /answer/api/v1/language/config | get language config mapping
|
||||
*LangAPI* | [**AnswerApiV1LanguageOptionsGet**](docs/LangAPI.md#answerapiv1languageoptionsget) | **Get** /answer/api/v1/language/options | Get language options
|
||||
*LangAPI* | [**InstallationLanguageOptionsGet**](docs/LangAPI.md#installationlanguageoptionsget) | **Get** /installation/language/options | get installation language options
|
||||
*NotificationAPI* | [**AnswerApiV1NotificationPageGet**](docs/NotificationAPI.md#answerapiv1notificationpageget) | **Get** /answer/api/v1/notification/page | get notification list
|
||||
*NotificationAPI* | [**AnswerApiV1NotificationReadStateAllPut**](docs/NotificationAPI.md#answerapiv1notificationreadstateallput) | **Put** /answer/api/v1/notification/read/state/all | 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* | [**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* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionAPI.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1QuestionPut**](docs/QuestionAPI.md#answerapiv1questionput) | **Put** /answer/api/v1/question | update question
|
||||
*QuestionAPI* | [**AnswerApiV1QuestionReopenPut**](docs/QuestionAPI.md#answerapiv1questionreopenput) | **Put** /answer/api/v1/question/reopen | reopen question
|
||||
*QuestionAPI* | [**AnswerApiV1QuestionSimilarGet**](docs/QuestionAPI.md#answerapiv1questionsimilarget) | **Get** /answer/api/v1/question/similar | fuzzy query similar questions based on title
|
||||
*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
|
||||
*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* | [**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
|
||||
*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* | [**AnswerApiV1RevisionsGet**](docs/RevisionAPI.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
||||
*RevisionAPI* | [**AnswerApiV1RevisionsUnreviewedGet**](docs/RevisionAPI.md#answerapiv1revisionsunreviewedget) | **Get** /answer/api/v1/revisions/unreviewed | get unreviewed revision list
|
||||
*SearchAPI* | [**AnswerApiV1SearchDescGet**](docs/SearchAPI.md#answerapiv1searchdescget) | **Get** /answer/api/v1/search/desc | get search description
|
||||
*SearchAPI* | [**AnswerApiV1SearchGet**](docs/SearchAPI.md#answerapiv1searchget) | **Get** /answer/api/v1/search | search object
|
||||
*SiteAPI* | [**AnswerApiV1SiteinfoGet**](docs/SiteAPI.md#answerapiv1siteinfoget) | **Get** /answer/api/v1/siteinfo | get site info
|
||||
*SiteAPI* | [**AnswerApiV1SiteinfoLegalGet**](docs/SiteAPI.md#answerapiv1siteinfolegalget) | **Get** /answer/api/v1/siteinfo/legal | get site legal info
|
||||
*SiteAPI* | [**CustomCssGet**](docs/SiteAPI.md#customcssget) | **Get** /custom.css | get site robots information
|
||||
*SiteAPI* | [**RobotsTxtGet**](docs/SiteAPI.md#robotstxtget) | **Get** /robots.txt | get site robots information
|
||||
*TagAPI* | [**AnswerApiV1QuestionTagsGet**](docs/TagAPI.md#answerapiv1questiontagsget) | **Get** /answer/api/v1/question/tags | get tag list
|
||||
*TagAPI* | [**AnswerApiV1TagDelete**](docs/TagAPI.md#answerapiv1tagdelete) | **Delete** /answer/api/v1/tag | delete tag
|
||||
*TagAPI* | [**AnswerApiV1TagGet**](docs/TagAPI.md#answerapiv1tagget) | **Get** /answer/api/v1/tag | get tag one
|
||||
*TagAPI* | [**AnswerApiV1TagPost**](docs/TagAPI.md#answerapiv1tagpost) | **Post** /answer/api/v1/tag | add tag
|
||||
*TagAPI* | [**AnswerApiV1TagPut**](docs/TagAPI.md#answerapiv1tagput) | **Put** /answer/api/v1/tag | update tag
|
||||
*TagAPI* | [**AnswerApiV1TagSynonymPut**](docs/TagAPI.md#answerapiv1tagsynonymput) | **Put** /answer/api/v1/tag/synonym | update tag
|
||||
*TagAPI* | [**AnswerApiV1TagSynonymsGet**](docs/TagAPI.md#answerapiv1tagsynonymsget) | **Get** /answer/api/v1/tag/synonyms | get tag synonyms
|
||||
*TagAPI* | [**AnswerApiV1TagsFollowingGet**](docs/TagAPI.md#answerapiv1tagsfollowingget) | **Get** /answer/api/v1/tags/following | get following tag list
|
||||
*TagAPI* | [**AnswerApiV1TagsGet**](docs/TagAPI.md#answerapiv1tagsget) | **Get** /answer/api/v1/tags | get tags list
|
||||
*TagAPI* | [**AnswerApiV1TagsPageGet**](docs/TagAPI.md#answerapiv1tagspageget) | **Get** /answer/api/v1/tags/page | get tag page
|
||||
*UploadAPI* | [**AnswerApiV1FilePost**](docs/UploadAPI.md#answerapiv1filepost) | **Post** /answer/api/v1/file | upload file
|
||||
*UploadAPI* | [**AnswerApiV1PostRenderPost**](docs/UploadAPI.md#answerapiv1postrenderpost) | **Post** /answer/api/v1/post/render | render post content
|
||||
*UserAPI* | [**AnswerApiV1PersonalUserInfoGet**](docs/UserAPI.md#answerapiv1personaluserinfoget) | **Get** /answer/api/v1/personal/user/info | GetOtherUserInfoByUsername
|
||||
*UserAPI* | [**AnswerApiV1UserActionRecordGet**](docs/UserAPI.md#answerapiv1useractionrecordget) | **Get** /answer/api/v1/user/action/record | ActionRecord
|
||||
*UserAPI* | [**AnswerApiV1UserEmailChangeCodePost**](docs/UserAPI.md#answerapiv1useremailchangecodepost) | **Post** /answer/api/v1/user/email/change/code | send email to the user email then change their email
|
||||
*UserAPI* | [**AnswerApiV1UserEmailPut**](docs/UserAPI.md#answerapiv1useremailput) | **Put** /answer/api/v1/user/email | user change email verification
|
||||
*UserAPI* | [**AnswerApiV1UserEmailVerificationPost**](docs/UserAPI.md#answerapiv1useremailverificationpost) | **Post** /answer/api/v1/user/email/verification | UserVerifyEmail
|
||||
*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* | [**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* | [**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* | [**AnswerApiV1UserNotificationConfigPost**](docs/UserAPI.md#answerapiv1usernotificationconfigpost) | **Post** /answer/api/v1/user/notification/config | get user's notification config
|
||||
*UserAPI* | [**AnswerApiV1UserNotificationConfigPut**](docs/UserAPI.md#answerapiv1usernotificationconfigput) | **Put** /answer/api/v1/user/notification/config | update user's notification config
|
||||
*UserAPI* | [**AnswerApiV1UserNotificationUnsubscribePut**](docs/UserAPI.md#answerapiv1usernotificationunsubscribeput) | **Put** /answer/api/v1/user/notification/unsubscribe | unsubscribe notification
|
||||
*UserAPI* | [**AnswerApiV1UserPasswordPut**](docs/UserAPI.md#answerapiv1userpasswordput) | **Put** /answer/api/v1/user/password | UserModifyPassWord
|
||||
*UserAPI* | [**AnswerApiV1UserPasswordReplacementPost**](docs/UserAPI.md#answerapiv1userpasswordreplacementpost) | **Post** /answer/api/v1/user/password/replacement | UseRePassWord
|
||||
*UserAPI* | [**AnswerApiV1UserPasswordResetPost**](docs/UserAPI.md#answerapiv1userpasswordresetpost) | **Post** /answer/api/v1/user/password/reset | RetrievePassWord
|
||||
*UserAPI* | [**AnswerApiV1UserRankingGet**](docs/UserAPI.md#answerapiv1userrankingget) | **Get** /answer/api/v1/user/ranking | get user ranking
|
||||
*UserAPI* | [**AnswerApiV1UserRegisterCaptchaGet**](docs/UserAPI.md#answerapiv1userregistercaptchaget) | **Get** /answer/api/v1/user/register/captcha | UserRegisterCaptcha
|
||||
*UserAPI* | [**AnswerApiV1UserRegisterEmailPost**](docs/UserAPI.md#answerapiv1userregisteremailpost) | **Post** /answer/api/v1/user/register/email | UserRegisterByEmail
|
||||
|
||||
|
||||
## Documentation For Models
|
||||
@@ -243,13 +246,11 @@ Class | Method | HTTP request | Description
|
||||
- [AnswerAdminApiSiteinfoWriteGet200Response](docs/AnswerAdminApiSiteinfoWriteGet200Response.md)
|
||||
- [AnswerAdminApiUserActivationGet200Response](docs/AnswerAdminApiUserActivationGet200Response.md)
|
||||
- [AnswerAdminApiUsersPageGet200Response](docs/AnswerAdminApiUsersPageGet200Response.md)
|
||||
- [AnswerAdminApiUsersPageGet200ResponseData](docs/AnswerAdminApiUsersPageGet200ResponseData.md)
|
||||
- [AnswerAdminApiUsersPageGet200ResponseDataAllOf](docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md)
|
||||
- [AnswerAdminApiUsersPageGet200ResponseAllOfData](docs/AnswerAdminApiUsersPageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1ActivityTimelineGet200Response](docs/AnswerApiV1ActivityTimelineGet200Response.md)
|
||||
- [AnswerApiV1CollectionSwitchPost200Response](docs/AnswerApiV1CollectionSwitchPost200Response.md)
|
||||
- [AnswerApiV1CommentGet200Response](docs/AnswerApiV1CommentGet200Response.md)
|
||||
- [AnswerApiV1CommentGet200ResponseData](docs/AnswerApiV1CommentGet200ResponseData.md)
|
||||
- [AnswerApiV1CommentGet200ResponseDataAllOf](docs/AnswerApiV1CommentGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1CommentGet200ResponseAllOfData](docs/AnswerApiV1CommentGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1CommentPost200Response](docs/AnswerApiV1CommentPost200Response.md)
|
||||
- [AnswerApiV1ConnectorBindingEmailPost200Response](docs/AnswerApiV1ConnectorBindingEmailPost200Response.md)
|
||||
- [AnswerApiV1ConnectorInfoGet200Response](docs/AnswerApiV1ConnectorInfoGet200Response.md)
|
||||
@@ -258,23 +259,18 @@ Class | Method | HTTP request | Description
|
||||
- [AnswerApiV1FollowPost200Response](docs/AnswerApiV1FollowPost200Response.md)
|
||||
- [AnswerApiV1PermissionGet200Response](docs/AnswerApiV1PermissionGet200Response.md)
|
||||
- [AnswerApiV1PersonalCommentPageGet200Response](docs/AnswerApiV1PersonalCommentPageGet200Response.md)
|
||||
- [AnswerApiV1PersonalCommentPageGet200ResponseData](docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md)
|
||||
- [AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1PersonalCommentPageGet200ResponseAllOfData](docs/AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1PersonalRankPageGet200Response](docs/AnswerApiV1PersonalRankPageGet200Response.md)
|
||||
- [AnswerApiV1PersonalRankPageGet200ResponseData](docs/AnswerApiV1PersonalRankPageGet200ResponseData.md)
|
||||
- [AnswerApiV1PersonalRankPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalRankPageGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1PersonalRankPageGet200ResponseAllOfData](docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1PersonalUserInfoGet200Response](docs/AnswerApiV1PersonalUserInfoGet200Response.md)
|
||||
- [AnswerApiV1PersonalVotePageGet200Response](docs/AnswerApiV1PersonalVotePageGet200Response.md)
|
||||
- [AnswerApiV1PersonalVotePageGet200ResponseData](docs/AnswerApiV1PersonalVotePageGet200ResponseData.md)
|
||||
- [AnswerApiV1PersonalVotePageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalVotePageGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1PersonalVotePageGet200ResponseAllOfData](docs/AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1QuestionPageGet200Response](docs/AnswerApiV1QuestionPageGet200Response.md)
|
||||
- [AnswerApiV1QuestionPageGet200ResponseData](docs/AnswerApiV1QuestionPageGet200ResponseData.md)
|
||||
- [AnswerApiV1QuestionPageGet200ResponseDataAllOf](docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1QuestionPageGet200ResponseAllOfData](docs/AnswerApiV1QuestionPageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1QuestionTagsGet200Response](docs/AnswerApiV1QuestionTagsGet200Response.md)
|
||||
- [AnswerApiV1RevisionsGet200Response](docs/AnswerApiV1RevisionsGet200Response.md)
|
||||
- [AnswerApiV1RevisionsUnreviewedGet200Response](docs/AnswerApiV1RevisionsUnreviewedGet200Response.md)
|
||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md)
|
||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1SearchGet200Response](docs/AnswerApiV1SearchGet200Response.md)
|
||||
- [AnswerApiV1SiteinfoGet200Response](docs/AnswerApiV1SiteinfoGet200Response.md)
|
||||
- [AnswerApiV1SiteinfoLegalGet200Response](docs/AnswerApiV1SiteinfoLegalGet200Response.md)
|
||||
@@ -282,14 +278,14 @@ Class | Method | HTTP request | Description
|
||||
- [AnswerApiV1TagSynonymsGet200Response](docs/AnswerApiV1TagSynonymsGet200Response.md)
|
||||
- [AnswerApiV1TagsFollowingGet200Response](docs/AnswerApiV1TagsFollowingGet200Response.md)
|
||||
- [AnswerApiV1TagsPageGet200Response](docs/AnswerApiV1TagsPageGet200Response.md)
|
||||
- [AnswerApiV1TagsPageGet200ResponseData](docs/AnswerApiV1TagsPageGet200ResponseData.md)
|
||||
- [AnswerApiV1TagsPageGet200ResponseDataAllOf](docs/AnswerApiV1TagsPageGet200ResponseDataAllOf.md)
|
||||
- [AnswerApiV1TagsPageGet200ResponseAllOfData](docs/AnswerApiV1TagsPageGet200ResponseAllOfData.md)
|
||||
- [AnswerApiV1UserActionRecordGet200Response](docs/AnswerApiV1UserActionRecordGet200Response.md)
|
||||
- [AnswerApiV1UserEmailVerificationPost200Response](docs/AnswerApiV1UserEmailVerificationPost200Response.md)
|
||||
- [AnswerApiV1UserInfoGet200Response](docs/AnswerApiV1UserInfoGet200Response.md)
|
||||
- [AnswerApiV1UserNoticeSetPost200Response](docs/AnswerApiV1UserNoticeSetPost200Response.md)
|
||||
- [AnswerApiV1UserNotificationConfigPost200Response](docs/AnswerApiV1UserNotificationConfigPost200Response.md)
|
||||
- [AnswerApiV1UserRankingGet200Response](docs/AnswerApiV1UserRankingGet200Response.md)
|
||||
- [AnswerApiV1VoteDownPost200Response](docs/AnswerApiV1VoteDownPost200Response.md)
|
||||
- [ConstantNotificationChannelKey](docs/ConstantNotificationChannelKey.md)
|
||||
- [ConstantPrivilege](docs/ConstantPrivilege.md)
|
||||
- [HandlerRespBody](docs/HandlerRespBody.md)
|
||||
- [InstallCheckConfigFileResp](docs/InstallCheckConfigFileResp.md)
|
||||
@@ -298,6 +294,7 @@ Class | Method | HTTP request | Description
|
||||
- [InstallationConfigFileCheckPost200Response](docs/InstallationConfigFileCheckPost200Response.md)
|
||||
- [InstallationLanguageOptionsGet200Response](docs/InstallationLanguageOptionsGet200Response.md)
|
||||
- [PagerPageModel](docs/PagerPageModel.md)
|
||||
- [SchemaAcceptAnswerReq](docs/SchemaAcceptAnswerReq.md)
|
||||
- [SchemaActObjectInfo](docs/SchemaActObjectInfo.md)
|
||||
- [SchemaActObjectTimeline](docs/SchemaActObjectTimeline.md)
|
||||
- [SchemaActionRecordResp](docs/SchemaActionRecordResp.md)
|
||||
@@ -305,9 +302,9 @@ Class | Method | HTTP request | Description
|
||||
- [SchemaAddReportReq](docs/SchemaAddReportReq.md)
|
||||
- [SchemaAddTagReq](docs/SchemaAddTagReq.md)
|
||||
- [SchemaAddUserReq](docs/SchemaAddUserReq.md)
|
||||
- [SchemaAddUsersReq](docs/SchemaAddUsersReq.md)
|
||||
- [SchemaAdminSetAnswerStatusRequest](docs/SchemaAdminSetAnswerStatusRequest.md)
|
||||
- [SchemaAdminSetQuestionStatusRequest](docs/SchemaAdminSetQuestionStatusRequest.md)
|
||||
- [SchemaAnswerAcceptedReq](docs/SchemaAnswerAcceptedReq.md)
|
||||
- [SchemaAnswerAddReq](docs/SchemaAnswerAddReq.md)
|
||||
- [SchemaAnswerUpdateReq](docs/SchemaAnswerUpdateReq.md)
|
||||
- [SchemaAvatarInfo](docs/SchemaAvatarInfo.md)
|
||||
@@ -344,9 +341,11 @@ Class | Method | HTTP request | Description
|
||||
- [SchemaGetTagSynonymsResp](docs/SchemaGetTagSynonymsResp.md)
|
||||
- [SchemaGetUnreviewedRevisionResp](docs/SchemaGetUnreviewedRevisionResp.md)
|
||||
- [SchemaGetUserActivationResp](docs/SchemaGetUserActivationResp.md)
|
||||
- [SchemaGetUserNotificationConfigResp](docs/SchemaGetUserNotificationConfigResp.md)
|
||||
- [SchemaGetUserPageResp](docs/SchemaGetUserPageResp.md)
|
||||
- [SchemaGetVoteWithPageResp](docs/SchemaGetVoteWithPageResp.md)
|
||||
- [SchemaLoadingAction](docs/SchemaLoadingAction.md)
|
||||
- [SchemaNotificationChannelConfig](docs/SchemaNotificationChannelConfig.md)
|
||||
- [SchemaNotificationClearIDRequest](docs/SchemaNotificationClearIDRequest.md)
|
||||
- [SchemaNotificationClearRequest](docs/SchemaNotificationClearRequest.md)
|
||||
- [SchemaOnCompleteAction](docs/SchemaOnCompleteAction.md)
|
||||
@@ -368,11 +367,10 @@ Class | Method | HTTP request | Description
|
||||
- [SchemaReopenQuestionReq](docs/SchemaReopenQuestionReq.md)
|
||||
- [SchemaReportHandleReq](docs/SchemaReportHandleReq.md)
|
||||
- [SchemaRevisionAuditReq](docs/SchemaRevisionAuditReq.md)
|
||||
- [SchemaSearchListResp](docs/SchemaSearchListResp.md)
|
||||
- [SchemaSearchObject](docs/SchemaSearchObject.md)
|
||||
- [SchemaSearchObjectUserInfo](docs/SchemaSearchObjectUserInfo.md)
|
||||
- [SchemaSearchObjectUser](docs/SchemaSearchObjectUser.md)
|
||||
- [SchemaSearchResp](docs/SchemaSearchResp.md)
|
||||
- [SchemaSearchRespObject](docs/SchemaSearchRespObject.md)
|
||||
- [SchemaSearchResult](docs/SchemaSearchResult.md)
|
||||
- [SchemaSendUserActivationReq](docs/SchemaSendUserActivationReq.md)
|
||||
- [SchemaSiteBrandingReq](docs/SchemaSiteBrandingReq.md)
|
||||
- [SchemaSiteBrandingResp](docs/SchemaSiteBrandingResp.md)
|
||||
@@ -404,7 +402,6 @@ Class | Method | HTTP request | Description
|
||||
- [SchemaUpdateCommentReq](docs/SchemaUpdateCommentReq.md)
|
||||
- [SchemaUpdateFollowTagsReq](docs/SchemaUpdateFollowTagsReq.md)
|
||||
- [SchemaUpdateInfoRequest](docs/SchemaUpdateInfoRequest.md)
|
||||
- [SchemaUpdateInfoRequestAvatar](docs/SchemaUpdateInfoRequestAvatar.md)
|
||||
- [SchemaUpdatePluginConfigReq](docs/SchemaUpdatePluginConfigReq.md)
|
||||
- [SchemaUpdatePluginStatusReq](docs/SchemaUpdatePluginStatusReq.md)
|
||||
- [SchemaUpdatePrivilegesConfigReq](docs/SchemaUpdatePrivilegesConfigReq.md)
|
||||
@@ -412,22 +409,22 @@ Class | Method | HTTP request | Description
|
||||
- [SchemaUpdateTagReq](docs/SchemaUpdateTagReq.md)
|
||||
- [SchemaUpdateTagSynonymReq](docs/SchemaUpdateTagSynonymReq.md)
|
||||
- [SchemaUpdateUserInterfaceRequest](docs/SchemaUpdateUserInterfaceRequest.md)
|
||||
- [SchemaUpdateUserNotificationConfigReq](docs/SchemaUpdateUserNotificationConfigReq.md)
|
||||
- [SchemaUpdateUserPasswordReq](docs/SchemaUpdateUserPasswordReq.md)
|
||||
- [SchemaUpdateUserRoleReq](docs/SchemaUpdateUserRoleReq.md)
|
||||
- [SchemaUpdateUserStatusReq](docs/SchemaUpdateUserStatusReq.md)
|
||||
- [SchemaUserBasicInfo](docs/SchemaUserBasicInfo.md)
|
||||
- [SchemaUserChangeEmailSendCodeReq](docs/SchemaUserChangeEmailSendCodeReq.md)
|
||||
- [SchemaUserChangeEmailVerifyReq](docs/SchemaUserChangeEmailVerifyReq.md)
|
||||
- [SchemaUserEmailLogin](docs/SchemaUserEmailLogin.md)
|
||||
- [SchemaUserEmailLoginReq](docs/SchemaUserEmailLoginReq.md)
|
||||
- [SchemaUserLoginResp](docs/SchemaUserLoginResp.md)
|
||||
- [SchemaUserModifyPasswordReq](docs/SchemaUserModifyPasswordReq.md)
|
||||
- [SchemaUserNoticeSetRequest](docs/SchemaUserNoticeSetRequest.md)
|
||||
- [SchemaUserNoticeSetResp](docs/SchemaUserNoticeSetResp.md)
|
||||
- [SchemaUserRankingResp](docs/SchemaUserRankingResp.md)
|
||||
- [SchemaUserRankingSimpleInfo](docs/SchemaUserRankingSimpleInfo.md)
|
||||
- [SchemaUserRePassWordRequest](docs/SchemaUserRePassWordRequest.md)
|
||||
- [SchemaUserRegisterReq](docs/SchemaUserRegisterReq.md)
|
||||
- [SchemaUserRetrievePassWordRequest](docs/SchemaUserRetrievePassWordRequest.md)
|
||||
- [SchemaUserUnsubscribeNotificationReq](docs/SchemaUserUnsubscribeNotificationReq.md)
|
||||
- [SchemaVoteReq](docs/SchemaVoteReq.md)
|
||||
- [SchemaVoteResp](docs/SchemaVoteResp.md)
|
||||
- [TranslatorLangOption](docs/TranslatorLangOption.md)
|
||||
@@ -445,6 +442,19 @@ Authentication schemes defined for the API:
|
||||
|
||||
Note, each API key must be added to a map of `map[string]APIKey` where the key is: Authorization and passed in as the auth context for each request.
|
||||
|
||||
Example
|
||||
|
||||
```golang
|
||||
auth := context.WithValue(
|
||||
context.Background(),
|
||||
sw.ContextAPIKeys,
|
||||
map[string]sw.APIKey{
|
||||
"Authorization": {Key: "API_KEY_STRING"},
|
||||
},
|
||||
)
|
||||
r, err := client.Service.Operation(auth, args)
|
||||
```
|
||||
|
||||
|
||||
## Documentation for Utility Methods
|
||||
|
||||
|
||||
2607
api/openapi.yaml
2607
api/openapi.yaml
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// ActivityApiService ActivityApi service
|
||||
type ActivityApiService service
|
||||
// ActivityAPIService ActivityAPI service
|
||||
type ActivityAPIService service
|
||||
|
||||
type ApiAnswerApiV1FollowPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ActivityApiService
|
||||
ApiService *ActivityAPIService
|
||||
data *SchemaFollowReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ follow object or cancel follow operation
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1FollowPostRequest
|
||||
*/
|
||||
func (a *ActivityApiService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswerApiV1FollowPostRequest {
|
||||
func (a *ActivityAPIService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswerApiV1FollowPostRequest {
|
||||
return ApiAnswerApiV1FollowPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1FollowPost200Response
|
||||
func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1FollowPostRequest) (*AnswerApiV1FollowPost200Response, *http.Response, error) {
|
||||
func (a *ActivityAPIService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1FollowPostRequest) (*AnswerApiV1FollowPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1Follow
|
||||
localVarReturnValue *AnswerApiV1FollowPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityApiService.AnswerApiV1FollowPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityAPIService.AnswerApiV1FollowPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -147,7 +147,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1Follow
|
||||
|
||||
type ApiAnswerApiV1FollowTagsPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ActivityApiService
|
||||
ApiService *ActivityAPIService
|
||||
data *SchemaUpdateFollowTagsReq
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ update user follow tags
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1FollowTagsPutRequest
|
||||
*/
|
||||
func (a *ActivityApiService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAnswerApiV1FollowTagsPutRequest {
|
||||
func (a *ActivityAPIService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAnswerApiV1FollowTagsPutRequest {
|
||||
return ApiAnswerApiV1FollowTagsPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -178,7 +178,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAn
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1FollowTagsPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *ActivityAPIService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1FollowTagsPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -186,7 +186,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1Fol
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityApiService.AnswerApiV1FollowTagsPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityAPIService.AnswerApiV1FollowTagsPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -272,7 +272,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1Fol
|
||||
|
||||
type ApiAnswerApiV1PersonalVotePageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ActivityApiService
|
||||
ApiService *ActivityAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
}
|
||||
@@ -301,7 +301,7 @@ get user personal votes
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalVotePageGetRequest
|
||||
*/
|
||||
func (a *ActivityApiService) AnswerApiV1PersonalVotePageGet(ctx context.Context) ApiAnswerApiV1PersonalVotePageGetRequest {
|
||||
func (a *ActivityAPIService) AnswerApiV1PersonalVotePageGet(ctx context.Context) ApiAnswerApiV1PersonalVotePageGetRequest {
|
||||
return ApiAnswerApiV1PersonalVotePageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -310,7 +310,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGet(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalVotePageGet200Response
|
||||
func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerApiV1PersonalVotePageGetRequest) (*AnswerApiV1PersonalVotePageGet200Response, *http.Response, error) {
|
||||
func (a *ActivityAPIService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerApiV1PersonalVotePageGetRequest) (*AnswerApiV1PersonalVotePageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -318,7 +318,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerAp
|
||||
localVarReturnValue *AnswerApiV1PersonalVotePageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityApiService.AnswerApiV1PersonalVotePageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityAPIService.AnswerApiV1PersonalVotePageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -405,7 +405,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerAp
|
||||
|
||||
type ApiAnswerApiV1VoteDownPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ActivityApiService
|
||||
ApiService *ActivityAPIService
|
||||
data *SchemaVoteReq
|
||||
}
|
||||
|
||||
@@ -427,7 +427,7 @@ add vote
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1VoteDownPostRequest
|
||||
*/
|
||||
func (a *ActivityApiService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAnswerApiV1VoteDownPostRequest {
|
||||
func (a *ActivityAPIService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAnswerApiV1VoteDownPostRequest {
|
||||
return ApiAnswerApiV1VoteDownPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -436,7 +436,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1VoteDownPost200Response
|
||||
func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1VoteDownPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||
func (a *ActivityAPIService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1VoteDownPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -444,7 +444,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1Vote
|
||||
localVarReturnValue *AnswerApiV1VoteDownPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityApiService.AnswerApiV1VoteDownPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityAPIService.AnswerApiV1VoteDownPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -530,7 +530,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1Vote
|
||||
|
||||
type ApiAnswerApiV1VoteUpPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ActivityApiService
|
||||
ApiService *ActivityAPIService
|
||||
data *SchemaVoteReq
|
||||
}
|
||||
|
||||
@@ -552,7 +552,7 @@ add vote
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1VoteUpPostRequest
|
||||
*/
|
||||
func (a *ActivityApiService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswerApiV1VoteUpPostRequest {
|
||||
func (a *ActivityAPIService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswerApiV1VoteUpPostRequest {
|
||||
return ApiAnswerApiV1VoteUpPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -561,7 +561,7 @@ func (a *ActivityApiService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1VoteDownPost200Response
|
||||
func (a *ActivityApiService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUpPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||
func (a *ActivityAPIService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUpPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -569,7 +569,7 @@ func (a *ActivityApiService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUp
|
||||
localVarReturnValue *AnswerApiV1VoteDownPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityApiService.AnswerApiV1VoteUpPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ActivityAPIService.AnswerApiV1VoteUpPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
451
api_admin.go
451
api_admin.go
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// AdminPluginApiService AdminPluginApi service
|
||||
type AdminPluginApiService service
|
||||
// AdminPluginAPIService AdminPluginAPI service
|
||||
type AdminPluginAPIService service
|
||||
|
||||
type ApiAnswerAdminApiPluginConfigGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *AdminPluginApiService
|
||||
ApiService *AdminPluginAPIService
|
||||
pluginSlugName *string
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ 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 {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigGet(ctx context.Context) ApiAnswerAdminApiPluginConfigGetRequest {
|
||||
return ApiAnswerAdminApiPluginConfigGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGet(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerAdminApiPluginConfigGet200Response
|
||||
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswerAdminApiPluginConfigGetRequest) (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswerAdminApiPluginConfigGetRequest) (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswer
|
||||
localVarReturnValue *AnswerAdminApiPluginConfigGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginConfigGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginConfigGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -146,7 +146,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerAdminApiPluginConfigPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *AdminPluginApiService
|
||||
ApiService *AdminPluginAPIService
|
||||
data *SchemaUpdatePluginConfigReq
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ 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 {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigPut(ctx context.Context) ApiAnswerAdminApiPluginConfigPutRequest {
|
||||
return ApiAnswerAdminApiPluginConfigPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -177,7 +177,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPut(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswerAdminApiPluginConfigPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswerAdminApiPluginConfigPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -185,7 +185,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswer
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginConfigPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginConfigPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -271,7 +271,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerAdminApiPluginStatusPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *AdminPluginApiService
|
||||
ApiService *AdminPluginAPIService
|
||||
data *SchemaUpdatePluginStatusReq
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ 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 {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginStatusPut(ctx context.Context) ApiAnswerAdminApiPluginStatusPutRequest {
|
||||
return ApiAnswerAdminApiPluginStatusPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -302,7 +302,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPut(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswerAdminApiPluginStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswerAdminApiPluginStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -310,7 +310,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswer
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginStatusPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginStatusPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -396,7 +396,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerAdminApiPluginsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *AdminPluginApiService
|
||||
ApiService *AdminPluginAPIService
|
||||
status *string
|
||||
haveConfig *bool
|
||||
}
|
||||
@@ -425,7 +425,7 @@ 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 {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginsGet(ctx context.Context) ApiAnswerAdminApiPluginsGetRequest {
|
||||
return ApiAnswerAdminApiPluginsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -434,7 +434,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginsGet(ctx context.Context) Ap
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerAdminApiPluginsGet200Response
|
||||
func (a *AdminPluginApiService) AnswerAdminApiPluginsGetExecute(r ApiAnswerAdminApiPluginsGetRequest) (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||
func (a *AdminPluginAPIService) AnswerAdminApiPluginsGetExecute(r ApiAnswerAdminApiPluginsGetRequest) (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -442,7 +442,7 @@ func (a *AdminPluginApiService) AnswerAdminApiPluginsGetExecute(r ApiAnswerAdmin
|
||||
localVarReturnValue *AnswerAdminApiPluginsGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginApiService.AnswerAdminApiPluginsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,17 +17,17 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// ApiAnswerApiService ApiAnswerApi service
|
||||
type ApiAnswerApiService service
|
||||
// ApiAnswerAPIService ApiAnswerAPI service
|
||||
type ApiAnswerAPIService service
|
||||
|
||||
type ApiAnswerApiV1AnswerAcceptancePostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
data *SchemaAnswerAcceptedReq
|
||||
ApiService *ApiAnswerAPIService
|
||||
data *SchemaAcceptAnswerReq
|
||||
}
|
||||
|
||||
// AnswerAcceptedReq
|
||||
func (r ApiAnswerApiV1AnswerAcceptancePostRequest) Data(data SchemaAnswerAcceptedReq) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||
// AcceptAnswerReq
|
||||
func (r ApiAnswerApiV1AnswerAcceptancePostRequest) Data(data SchemaAcceptAnswerReq) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||
r.data = &data
|
||||
return r
|
||||
}
|
||||
@@ -44,7 +44,7 @@ Accepted
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerAcceptancePostRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePost(ctx context.Context) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerAcceptancePost(ctx context.Context) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||
return ApiAnswerApiV1AnswerAcceptancePostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePost(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswerApiV1AnswerAcceptancePostRequest) (string, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswerApiV1AnswerAcceptancePostRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswer
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerAcceptancePost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerAcceptancePost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -147,7 +147,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerApiV1AnswerDeleteRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
ApiService *ApiAnswerAPIService
|
||||
data *SchemaRemoveAnswerReq
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ delete answer
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerDeleteRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAnswerApiV1AnswerDeleteRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAnswerApiV1AnswerDeleteRequest {
|
||||
return ApiAnswerApiV1AnswerDeleteRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -178,7 +178,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAn
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1AnswerDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1AnswerDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodDelete
|
||||
localVarPostBody interface{}
|
||||
@@ -186,7 +186,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1Ans
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerDelete")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerDelete")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -272,7 +272,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1Ans
|
||||
|
||||
type ApiAnswerApiV1AnswerInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
ApiService *ApiAnswerAPIService
|
||||
id *string
|
||||
}
|
||||
|
||||
@@ -294,7 +294,7 @@ Get Answer
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerInfoGetRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiAnswerApiV1AnswerInfoGetRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiAnswerApiV1AnswerInfoGetRequest {
|
||||
return ApiAnswerApiV1AnswerInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -303,7 +303,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiA
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1AnswerInfoGetRequest) (string, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1AnswerInfoGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -311,7 +311,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1An
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -382,7 +382,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1An
|
||||
|
||||
type ApiAnswerApiV1AnswerPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
ApiService *ApiAnswerAPIService
|
||||
questionId *string
|
||||
order *string
|
||||
page *string
|
||||
@@ -425,7 +425,7 @@ AnswerList <br> <b>order</b> (default or updated)
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerPageGetRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiAnswerApiV1AnswerPageGetRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiAnswerApiV1AnswerPageGetRequest {
|
||||
return ApiAnswerApiV1AnswerPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -434,7 +434,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiA
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1AnswerPageGetRequest) (string, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1AnswerPageGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -442,7 +442,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1An
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -539,7 +539,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1An
|
||||
|
||||
type ApiAnswerApiV1AnswerPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
ApiService *ApiAnswerAPIService
|
||||
data *SchemaAnswerAddReq
|
||||
}
|
||||
|
||||
@@ -561,7 +561,7 @@ Insert Answer
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerPostRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnswerApiV1AnswerPostRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnswerApiV1AnswerPostRequest {
|
||||
return ApiAnswerApiV1AnswerPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -570,7 +570,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnsw
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1AnswerPostRequest) (string, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1AnswerPostRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -578,7 +578,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1Answe
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -664,7 +664,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1Answe
|
||||
|
||||
type ApiAnswerApiV1AnswerPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ApiAnswerApiService
|
||||
ApiService *ApiAnswerAPIService
|
||||
data *SchemaAnswerUpdateReq
|
||||
}
|
||||
|
||||
@@ -686,7 +686,7 @@ Update Answer
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1AnswerPutRequest
|
||||
*/
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswerApiV1AnswerPutRequest {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswerApiV1AnswerPutRequest {
|
||||
return ApiAnswerApiV1AnswerPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -695,7 +695,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1AnswerPutRequest) (string, *http.Response, error) {
|
||||
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1AnswerPutRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -703,7 +703,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1Answer
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1AnswerPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerAPIService.AnswerApiV1AnswerPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// CollectionApiService CollectionApi service
|
||||
type CollectionApiService service
|
||||
// CollectionAPIService CollectionAPI service
|
||||
type CollectionAPIService service
|
||||
|
||||
type ApiAnswerApiV1CollectionSwitchPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CollectionApiService
|
||||
ApiService *CollectionAPIService
|
||||
data *SchemaCollectionSwitchReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ add collection
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CollectionSwitchPostRequest
|
||||
*/
|
||||
func (a *CollectionApiService) AnswerApiV1CollectionSwitchPost(ctx context.Context) ApiAnswerApiV1CollectionSwitchPostRequest {
|
||||
func (a *CollectionAPIService) AnswerApiV1CollectionSwitchPost(ctx context.Context) ApiAnswerApiV1CollectionSwitchPostRequest {
|
||||
return ApiAnswerApiV1CollectionSwitchPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPost(ctx context.Conte
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1CollectionSwitchPost200Response
|
||||
func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswerApiV1CollectionSwitchPostRequest) (*AnswerApiV1CollectionSwitchPost200Response, *http.Response, error) {
|
||||
func (a *CollectionAPIService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswerApiV1CollectionSwitchPostRequest) (*AnswerApiV1CollectionSwitchPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswe
|
||||
localVarReturnValue *AnswerApiV1CollectionSwitchPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CollectionApiService.AnswerApiV1CollectionSwitchPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CollectionAPIService.AnswerApiV1CollectionSwitchPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -147,7 +147,7 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswe
|
||||
|
||||
type ApiAnswerApiV1PersonalCollectionPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CollectionApiService
|
||||
ApiService *CollectionAPIService
|
||||
page *string
|
||||
pageSize *string
|
||||
}
|
||||
@@ -176,7 +176,7 @@ list personal collections
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalCollectionPageGetRequest
|
||||
*/
|
||||
func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGet(ctx context.Context) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
||||
func (a *CollectionAPIService) AnswerApiV1PersonalCollectionPageGet(ctx context.Context) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
||||
return ApiAnswerApiV1PersonalCollectionPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -185,7 +185,7 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGet(ctx context.
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r ApiAnswerApiV1PersonalCollectionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *CollectionAPIService) AnswerApiV1PersonalCollectionPageGetExecute(r ApiAnswerApiV1PersonalCollectionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -193,7 +193,7 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r Api
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CollectionApiService.AnswerApiV1PersonalCollectionPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CollectionAPIService.AnswerApiV1PersonalCollectionPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// CommentApiService CommentApi service
|
||||
type CommentApiService service
|
||||
// CommentAPIService CommentAPI service
|
||||
type CommentAPIService service
|
||||
|
||||
type ApiAnswerApiV1ActivityTimelineDetailGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
revisionId *string
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ get object timeline detail
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1ActivityTimelineDetailGetRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineDetailGetRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineDetailGetRequest {
|
||||
return ApiAnswerApiV1ActivityTimelineDetailGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Con
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1ActivityTimelineGet200Response
|
||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAnswerApiV1ActivityTimelineDetailGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAnswerApiV1ActivityTimelineDetailGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAns
|
||||
localVarReturnValue *AnswerApiV1ActivityTimelineGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1ActivityTimelineDetailGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1ActivityTimelineDetailGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -132,7 +132,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAns
|
||||
|
||||
type ApiAnswerApiV1ActivityTimelineGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
objectId *string
|
||||
tagSlugName *string
|
||||
objectType *string
|
||||
@@ -175,7 +175,7 @@ get object timeline
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1ActivityTimelineGetRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineGetRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1ActivityTimelineGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineGetRequest {
|
||||
return ApiAnswerApiV1ActivityTimelineGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -184,7 +184,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGet(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1ActivityTimelineGet200Response
|
||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApiV1ActivityTimelineGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApiV1ActivityTimelineGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -192,7 +192,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApi
|
||||
localVarReturnValue *AnswerApiV1ActivityTimelineGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1ActivityTimelineGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1ActivityTimelineGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -271,7 +271,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApi
|
||||
|
||||
type ApiAnswerApiV1CommentDeleteRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
data *SchemaRemoveCommentReq
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ remove comment
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CommentDeleteRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1CommentDelete(ctx context.Context) ApiAnswerApiV1CommentDeleteRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentDelete(ctx context.Context) ApiAnswerApiV1CommentDeleteRequest {
|
||||
return ApiAnswerApiV1CommentDeleteRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -302,7 +302,7 @@ func (a *CommentApiService) AnswerApiV1CommentDelete(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1CommentDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1CommentDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodDelete
|
||||
localVarPostBody interface{}
|
||||
@@ -310,7 +310,7 @@ func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1Comm
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1CommentDelete")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1CommentDelete")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -396,7 +396,7 @@ func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1Comm
|
||||
|
||||
type ApiAnswerApiV1CommentGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
id *string
|
||||
}
|
||||
|
||||
@@ -418,7 +418,7 @@ get comment by id
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CommentGetRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswerApiV1CommentGetRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswerApiV1CommentGetRequest {
|
||||
return ApiAnswerApiV1CommentGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -427,7 +427,7 @@ func (a *CommentApiService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswer
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1CommentGet200Response
|
||||
func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1CommentGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1CommentGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -435,7 +435,7 @@ func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1Comment
|
||||
localVarReturnValue *AnswerApiV1CommentGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1CommentGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1CommentGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -506,7 +506,7 @@ func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1Comment
|
||||
|
||||
type ApiAnswerApiV1CommentPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
objectId *string
|
||||
page *int32
|
||||
pageSize *int32
|
||||
@@ -549,7 +549,7 @@ get comment page
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CommentPageGetRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAnswerApiV1CommentPageGetRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAnswerApiV1CommentPageGetRequest {
|
||||
return ApiAnswerApiV1CommentPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -558,7 +558,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAn
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1CommentGet200Response
|
||||
func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1CommentPageGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1CommentPageGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -566,7 +566,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1Com
|
||||
localVarReturnValue *AnswerApiV1CommentGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1CommentPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1CommentPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -646,7 +646,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1Com
|
||||
|
||||
type ApiAnswerApiV1CommentPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
data *SchemaAddCommentReq
|
||||
}
|
||||
|
||||
@@ -668,7 +668,7 @@ add comment
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CommentPostRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswerApiV1CommentPostRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswerApiV1CommentPostRequest {
|
||||
return ApiAnswerApiV1CommentPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -677,7 +677,7 @@ func (a *CommentApiService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1CommentPost200Response
|
||||
func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1CommentPostRequest) (*AnswerApiV1CommentPost200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1CommentPostRequest) (*AnswerApiV1CommentPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -685,7 +685,7 @@ func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1Commen
|
||||
localVarReturnValue *AnswerApiV1CommentPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1CommentPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1CommentPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -771,7 +771,7 @@ func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1Commen
|
||||
|
||||
type ApiAnswerApiV1CommentPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
data *SchemaUpdateCommentReq
|
||||
}
|
||||
|
||||
@@ -793,7 +793,7 @@ update comment
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1CommentPutRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswerApiV1CommentPutRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswerApiV1CommentPutRequest {
|
||||
return ApiAnswerApiV1CommentPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -802,7 +802,7 @@ func (a *CommentApiService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswer
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1CommentPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1CommentPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -810,7 +810,7 @@ func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1Comment
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1CommentPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1CommentPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -896,7 +896,7 @@ func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1Comment
|
||||
|
||||
type ApiAnswerApiV1PersonalCommentPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *CommentApiService
|
||||
ApiService *CommentAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
username *string
|
||||
@@ -932,7 +932,7 @@ user personal comment list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalCommentPageGetRequest
|
||||
*/
|
||||
func (a *CommentApiService) AnswerApiV1PersonalCommentPageGet(ctx context.Context) ApiAnswerApiV1PersonalCommentPageGetRequest {
|
||||
func (a *CommentAPIService) AnswerApiV1PersonalCommentPageGet(ctx context.Context) ApiAnswerApiV1PersonalCommentPageGetRequest {
|
||||
return ApiAnswerApiV1PersonalCommentPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -941,7 +941,7 @@ func (a *CommentApiService) AnswerApiV1PersonalCommentPageGet(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalCommentPageGet200Response
|
||||
func (a *CommentApiService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswerApiV1PersonalCommentPageGetRequest) (*AnswerApiV1PersonalCommentPageGet200Response, *http.Response, error) {
|
||||
func (a *CommentAPIService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswerApiV1PersonalCommentPageGetRequest) (*AnswerApiV1PersonalCommentPageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -949,7 +949,7 @@ func (a *CommentApiService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswer
|
||||
localVarReturnValue *AnswerApiV1PersonalCommentPageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentApiService.AnswerApiV1PersonalCommentPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommentAPIService.AnswerApiV1PersonalCommentPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// InstallationApiService InstallationApi service
|
||||
type InstallationApiService service
|
||||
// InstallationAPIService InstallationAPI service
|
||||
type InstallationAPIService service
|
||||
|
||||
type ApiInstallationBaseInfoPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *InstallationApiService
|
||||
ApiService *InstallationAPIService
|
||||
data *InstallInitBaseInfoReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ init base info
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiInstallationBaseInfoPostRequest
|
||||
*/
|
||||
func (a *InstallationApiService) InstallationBaseInfoPost(ctx context.Context) ApiInstallationBaseInfoPostRequest {
|
||||
func (a *InstallationAPIService) InstallationBaseInfoPost(ctx context.Context) ApiInstallationBaseInfoPostRequest {
|
||||
return ApiInstallationBaseInfoPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *InstallationApiService) InstallationBaseInfoPost(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallationBaseInfoPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *InstallationAPIService) InstallationBaseInfoPostExecute(r ApiInstallationBaseInfoPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallati
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationApiService.InstallationBaseInfoPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationAPIService.InstallationBaseInfoPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -133,7 +133,7 @@ func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallati
|
||||
|
||||
type ApiInstallationConfigFileCheckPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *InstallationApiService
|
||||
ApiService *InstallationAPIService
|
||||
}
|
||||
|
||||
func (r ApiInstallationConfigFileCheckPostRequest) Execute() (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||
@@ -148,7 +148,7 @@ check config file if exist when installation
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiInstallationConfigFileCheckPostRequest
|
||||
*/
|
||||
func (a *InstallationApiService) InstallationConfigFileCheckPost(ctx context.Context) ApiInstallationConfigFileCheckPostRequest {
|
||||
func (a *InstallationAPIService) InstallationConfigFileCheckPost(ctx context.Context) ApiInstallationConfigFileCheckPostRequest {
|
||||
return ApiInstallationConfigFileCheckPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -157,7 +157,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPost(ctx context.Con
|
||||
|
||||
// Execute executes the request
|
||||
// @return InstallationConfigFileCheckPost200Response
|
||||
func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiInstallationConfigFileCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||
func (a *InstallationAPIService) InstallationConfigFileCheckPostExecute(r ApiInstallationConfigFileCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -165,7 +165,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiIns
|
||||
localVarReturnValue *InstallationConfigFileCheckPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationApiService.InstallationConfigFileCheckPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationAPIService.InstallationConfigFileCheckPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -232,7 +232,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiIns
|
||||
|
||||
type ApiInstallationDbCheckPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *InstallationApiService
|
||||
ApiService *InstallationAPIService
|
||||
data *InstallCheckDatabaseReq
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ check database if exist when installation
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiInstallationDbCheckPostRequest
|
||||
*/
|
||||
func (a *InstallationApiService) InstallationDbCheckPost(ctx context.Context) ApiInstallationDbCheckPostRequest {
|
||||
func (a *InstallationAPIService) InstallationDbCheckPost(ctx context.Context) ApiInstallationDbCheckPostRequest {
|
||||
return ApiInstallationDbCheckPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -263,7 +263,7 @@ func (a *InstallationApiService) InstallationDbCheckPost(ctx context.Context) Ap
|
||||
|
||||
// Execute executes the request
|
||||
// @return InstallationConfigFileCheckPost200Response
|
||||
func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallationDbCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||
func (a *InstallationAPIService) InstallationDbCheckPostExecute(r ApiInstallationDbCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -271,7 +271,7 @@ func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallatio
|
||||
localVarReturnValue *InstallationConfigFileCheckPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationApiService.InstallationDbCheckPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationAPIService.InstallationDbCheckPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -343,7 +343,7 @@ func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallatio
|
||||
|
||||
type ApiInstallationInitPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *InstallationApiService
|
||||
ApiService *InstallationAPIService
|
||||
data *InstallCheckDatabaseReq
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ init environment
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiInstallationInitPostRequest
|
||||
*/
|
||||
func (a *InstallationApiService) InstallationInitPost(ctx context.Context) ApiInstallationInitPostRequest {
|
||||
func (a *InstallationAPIService) InstallationInitPost(ctx context.Context) ApiInstallationInitPostRequest {
|
||||
return ApiInstallationInitPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -374,7 +374,7 @@ func (a *InstallationApiService) InstallationInitPost(ctx context.Context) ApiIn
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationInitPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *InstallationAPIService) InstallationInitPostExecute(r ApiInstallationInitPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -382,7 +382,7 @@ func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationIn
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationApiService.InstallationInitPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationAPIService.InstallationInitPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -454,7 +454,7 @@ func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationIn
|
||||
|
||||
type ApiRootGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *InstallationApiService
|
||||
ApiService *InstallationAPIService
|
||||
}
|
||||
|
||||
func (r ApiRootGetRequest) Execute() (*http.Response, error) {
|
||||
@@ -469,7 +469,7 @@ if config file not exist try to redirect to install page
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiRootGetRequest
|
||||
*/
|
||||
func (a *InstallationApiService) RootGet(ctx context.Context) ApiRootGetRequest {
|
||||
func (a *InstallationAPIService) RootGet(ctx context.Context) ApiRootGetRequest {
|
||||
return ApiRootGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -477,14 +477,14 @@ func (a *InstallationApiService) RootGet(ctx context.Context) ApiRootGetRequest
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
func (a *InstallationApiService) RootGetExecute(r ApiRootGetRequest) (*http.Response, error) {
|
||||
func (a *InstallationAPIService) RootGetExecute(r ApiRootGetRequest) (*http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationApiService.RootGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InstallationAPIService.RootGet")
|
||||
if err != nil {
|
||||
return nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
38
api_lang.go
38
api_lang.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// LangApiService LangApi service
|
||||
type LangApiService service
|
||||
// LangAPIService LangAPI service
|
||||
type LangAPIService service
|
||||
|
||||
type ApiAnswerAdminApiLanguageOptionsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *LangApiService
|
||||
ApiService *LangAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerAdminApiLanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
@@ -37,7 +37,7 @@ Get language options
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerAdminApiLanguageOptionsGetRequest
|
||||
*/
|
||||
func (a *LangApiService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) ApiAnswerAdminApiLanguageOptionsGetRequest {
|
||||
func (a *LangAPIService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) ApiAnswerAdminApiLanguageOptionsGetRequest {
|
||||
return ApiAnswerAdminApiLanguageOptionsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -46,7 +46,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdminApiLanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *LangAPIService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdminApiLanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -54,7 +54,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdmi
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangApiService.AnswerAdminApiLanguageOptionsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangAPIService.AnswerAdminApiLanguageOptionsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdmi
|
||||
|
||||
type ApiAnswerApiV1LanguageConfigGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *LangApiService
|
||||
ApiService *LangAPIService
|
||||
acceptLanguage *string
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ get language config mapping
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1LanguageConfigGetRequest
|
||||
*/
|
||||
func (a *LangApiService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAnswerApiV1LanguageConfigGetRequest {
|
||||
func (a *LangAPIService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAnswerApiV1LanguageConfigGetRequest {
|
||||
return ApiAnswerApiV1LanguageConfigGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -152,7 +152,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAn
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1LanguageConfigGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *LangAPIService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1LanguageConfigGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -160,7 +160,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1Lan
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangApiService.AnswerApiV1LanguageConfigGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangAPIService.AnswerApiV1LanguageConfigGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -231,7 +231,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1Lan
|
||||
|
||||
type ApiAnswerApiV1LanguageOptionsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *LangApiService
|
||||
ApiService *LangAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1LanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
@@ -246,7 +246,7 @@ Get language options
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1LanguageOptionsGetRequest
|
||||
*/
|
||||
func (a *LangApiService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiAnswerApiV1LanguageOptionsGetRequest {
|
||||
func (a *LangAPIService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiAnswerApiV1LanguageOptionsGetRequest {
|
||||
return ApiAnswerApiV1LanguageOptionsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -255,7 +255,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1LanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *LangAPIService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1LanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -263,7 +263,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1La
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangApiService.AnswerApiV1LanguageOptionsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangAPIService.AnswerApiV1LanguageOptionsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -330,7 +330,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1La
|
||||
|
||||
type ApiInstallationLanguageOptionsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *LangApiService
|
||||
ApiService *LangAPIService
|
||||
}
|
||||
|
||||
func (r ApiInstallationLanguageOptionsGetRequest) Execute() (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
||||
@@ -345,7 +345,7 @@ get installation language options
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiInstallationLanguageOptionsGetRequest
|
||||
*/
|
||||
func (a *LangApiService) InstallationLanguageOptionsGet(ctx context.Context) ApiInstallationLanguageOptionsGetRequest {
|
||||
func (a *LangAPIService) InstallationLanguageOptionsGet(ctx context.Context) ApiInstallationLanguageOptionsGetRequest {
|
||||
return ApiInstallationLanguageOptionsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -354,7 +354,7 @@ func (a *LangApiService) InstallationLanguageOptionsGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return InstallationLanguageOptionsGet200Response
|
||||
func (a *LangApiService) InstallationLanguageOptionsGetExecute(r ApiInstallationLanguageOptionsGetRequest) (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
||||
func (a *LangAPIService) InstallationLanguageOptionsGetExecute(r ApiInstallationLanguageOptionsGetRequest) (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -362,7 +362,7 @@ func (a *LangApiService) InstallationLanguageOptionsGetExecute(r ApiInstallation
|
||||
localVarReturnValue *InstallationLanguageOptionsGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangApiService.InstallationLanguageOptionsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LangAPIService.InstallationLanguageOptionsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// NotificationApiService NotificationApi service
|
||||
type NotificationApiService service
|
||||
// NotificationAPIService NotificationAPI service
|
||||
type NotificationAPIService service
|
||||
|
||||
type ApiAnswerApiV1NotificationPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *NotificationApiService
|
||||
ApiService *NotificationAPIService
|
||||
type_ *string
|
||||
inboxType *string
|
||||
page *int32
|
||||
@@ -65,7 +65,7 @@ get notification list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1NotificationPageGetRequest
|
||||
*/
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationPageGet(ctx context.Context) ApiAnswerApiV1NotificationPageGetRequest {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationPageGet(ctx context.Context) ApiAnswerApiV1NotificationPageGetRequest {
|
||||
return ApiAnswerApiV1NotificationPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -74,7 +74,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGet(ctx context.Cont
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnswerApiV1NotificationPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationPageGetExecute(r ApiAnswerApiV1NotificationPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -82,7 +82,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.AnswerApiV1NotificationPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.AnswerApiV1NotificationPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -177,7 +177,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
||||
|
||||
type ApiAnswerApiV1NotificationReadStateAllPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *NotificationApiService
|
||||
ApiService *NotificationAPIService
|
||||
data *SchemaNotificationClearRequest
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ ClearUnRead
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1NotificationReadStateAllPutRequest
|
||||
*/
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPut(ctx context.Context) ApiAnswerApiV1NotificationReadStateAllPutRequest {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationReadStateAllPut(ctx context.Context) ApiAnswerApiV1NotificationReadStateAllPutRequest {
|
||||
return ApiAnswerApiV1NotificationReadStateAllPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -208,7 +208,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPut(ctx cont
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r ApiAnswerApiV1NotificationReadStateAllPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationReadStateAllPutExecute(r ApiAnswerApiV1NotificationReadStateAllPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -216,7 +216,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.AnswerApiV1NotificationReadStateAllPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.AnswerApiV1NotificationReadStateAllPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -302,7 +302,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r
|
||||
|
||||
type ApiAnswerApiV1NotificationReadStatePutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *NotificationApiService
|
||||
ApiService *NotificationAPIService
|
||||
data *SchemaNotificationClearIDRequest
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@ ClearUnRead
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1NotificationReadStatePutRequest
|
||||
*/
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStatePut(ctx context.Context) ApiAnswerApiV1NotificationReadStatePutRequest {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationReadStatePut(ctx context.Context) ApiAnswerApiV1NotificationReadStatePutRequest {
|
||||
return ApiAnswerApiV1NotificationReadStatePutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -333,7 +333,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePut(ctx context
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r ApiAnswerApiV1NotificationReadStatePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationReadStatePutExecute(r ApiAnswerApiV1NotificationReadStatePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -341,7 +341,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r Ap
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.AnswerApiV1NotificationReadStatePut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.AnswerApiV1NotificationReadStatePut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -427,7 +427,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r Ap
|
||||
|
||||
type ApiAnswerApiV1NotificationStatusGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *NotificationApiService
|
||||
ApiService *NotificationAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1NotificationStatusGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
@@ -442,7 +442,7 @@ GetRedDot
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1NotificationStatusGetRequest
|
||||
*/
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusGet(ctx context.Context) ApiAnswerApiV1NotificationStatusGetRequest {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationStatusGet(ctx context.Context) ApiAnswerApiV1NotificationStatusGetRequest {
|
||||
return ApiAnswerApiV1NotificationStatusGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -451,7 +451,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGet(ctx context.Co
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAnswerApiV1NotificationStatusGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationStatusGetExecute(r ApiAnswerApiV1NotificationStatusGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -459,7 +459,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAn
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.AnswerApiV1NotificationStatusGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.AnswerApiV1NotificationStatusGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -540,7 +540,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAn
|
||||
|
||||
type ApiAnswerApiV1NotificationStatusPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *NotificationApiService
|
||||
ApiService *NotificationAPIService
|
||||
data *SchemaNotificationClearRequest
|
||||
}
|
||||
|
||||
@@ -562,7 +562,7 @@ DelRedDot
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1NotificationStatusPutRequest
|
||||
*/
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusPut(ctx context.Context) ApiAnswerApiV1NotificationStatusPutRequest {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationStatusPut(ctx context.Context) ApiAnswerApiV1NotificationStatusPutRequest {
|
||||
return ApiAnswerApiV1NotificationStatusPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -571,7 +571,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusPut(ctx context.Co
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusPutExecute(r ApiAnswerApiV1NotificationStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *NotificationAPIService) AnswerApiV1NotificationStatusPutExecute(r ApiAnswerApiV1NotificationStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -579,7 +579,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusPutExecute(r ApiAn
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.AnswerApiV1NotificationStatusPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationAPIService.AnswerApiV1NotificationStatusPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// PermissionApiService PermissionApi service
|
||||
type PermissionApiService service
|
||||
// PermissionAPIService PermissionAPI service
|
||||
type PermissionAPIService service
|
||||
|
||||
type ApiAnswerApiV1PermissionGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PermissionApiService
|
||||
ApiService *PermissionAPIService
|
||||
authorization *string
|
||||
action *string
|
||||
}
|
||||
@@ -51,7 +51,7 @@ 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 {
|
||||
func (a *PermissionAPIService) AnswerApiV1PermissionGet(ctx context.Context) ApiAnswerApiV1PermissionGetRequest {
|
||||
return ApiAnswerApiV1PermissionGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -60,7 +60,7 @@ func (a *PermissionApiService) AnswerApiV1PermissionGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PermissionGet200Response
|
||||
func (a *PermissionApiService) AnswerApiV1PermissionGetExecute(r ApiAnswerApiV1PermissionGetRequest) (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||
func (a *PermissionAPIService) AnswerApiV1PermissionGetExecute(r ApiAnswerApiV1PermissionGetRequest) (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -68,7 +68,7 @@ func (a *PermissionApiService) AnswerApiV1PermissionGetExecute(r ApiAnswerApiV1P
|
||||
localVarReturnValue *AnswerApiV1PermissionGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionApiService.AnswerApiV1PermissionGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.AnswerApiV1PermissionGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// PersonalApiService PersonalApi service
|
||||
type PersonalApiService service
|
||||
// PersonalAPIService PersonalAPI service
|
||||
type PersonalAPIService service
|
||||
|
||||
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PersonalApiService
|
||||
ApiService *PersonalAPIService
|
||||
username *string
|
||||
order *string
|
||||
page *string
|
||||
@@ -65,7 +65,7 @@ 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 {
|
||||
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -74,7 +74,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -82,7 +82,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswer
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.AnswerApiV1PersonalAnswerPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.AnswerApiV1PersonalAnswerPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -179,7 +179,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswer
|
||||
|
||||
type ApiPersonalQuestionPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PersonalApiService
|
||||
ApiService *PersonalAPIService
|
||||
username *string
|
||||
order *string
|
||||
page *string
|
||||
@@ -222,7 +222,7 @@ 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 {
|
||||
func (a *PersonalAPIService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
|
||||
return ApiPersonalQuestionPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -231,7 +231,7 @@ func (a *PersonalApiService) PersonalQuestionPageGet(ctx context.Context) ApiPer
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *PersonalApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *PersonalAPIService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -239,7 +239,7 @@ func (a *PersonalApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestio
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.PersonalQuestionPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.PersonalQuestionPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// PluginConnectorApiService PluginConnectorApi service
|
||||
type PluginConnectorApiService service
|
||||
// PluginConnectorAPIService PluginConnectorAPI service
|
||||
type PluginConnectorAPIService service
|
||||
|
||||
type ApiAnswerApiV1ConnectorBindingEmailPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PluginConnectorApiService
|
||||
ApiService *PluginConnectorAPIService
|
||||
data *SchemaExternalLoginBindingUserSendEmailReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ 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 {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorBindingEmailPost(ctx context.Context) ApiAnswerApiV1ConnectorBindingEmailPostRequest {
|
||||
return ApiAnswerApiV1ConnectorBindingEmailPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPost(ctx con
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1ConnectorBindingEmailPost200Response
|
||||
func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPostExecute(r ApiAnswerApiV1ConnectorBindingEmailPostRequest) (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorBindingEmailPostExecute(r ApiAnswerApiV1ConnectorBindingEmailPostRequest) (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPostExecute(
|
||||
localVarReturnValue *AnswerApiV1ConnectorBindingEmailPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorBindingEmailPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorBindingEmailPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -133,7 +133,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorBindingEmailPostExecute(
|
||||
|
||||
type ApiAnswerApiV1ConnectorInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PluginConnectorApiService
|
||||
ApiService *PluginConnectorAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1ConnectorInfoGetRequest) Execute() (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||
@@ -148,7 +148,7 @@ 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 {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorInfoGetRequest {
|
||||
return ApiAnswerApiV1ConnectorInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -157,7 +157,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGet(ctx context.Cont
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1ConnectorInfoGet200Response
|
||||
func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnswerApiV1ConnectorInfoGetRequest) (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnswerApiV1ConnectorInfoGetRequest) (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -165,7 +165,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnsw
|
||||
localVarReturnValue *AnswerApiV1ConnectorInfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -246,7 +246,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnsw
|
||||
|
||||
type ApiAnswerApiV1ConnectorUserInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PluginConnectorApiService
|
||||
ApiService *PluginConnectorAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1ConnectorUserInfoGetRequest) Execute() (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||
@@ -261,7 +261,7 @@ 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 {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorUserInfoGetRequest {
|
||||
return ApiAnswerApiV1ConnectorUserInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -270,7 +270,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGet(ctx context.
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1ConnectorUserInfoGet200Response
|
||||
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGetExecute(r ApiAnswerApiV1ConnectorUserInfoGetRequest) (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserInfoGetExecute(r ApiAnswerApiV1ConnectorUserInfoGetRequest) (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -278,7 +278,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGetExecute(r Api
|
||||
localVarReturnValue *AnswerApiV1ConnectorUserInfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorUserInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorUserInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -359,7 +359,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserInfoGetExecute(r Api
|
||||
|
||||
type ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *PluginConnectorApiService
|
||||
ApiService *PluginConnectorAPIService
|
||||
data *SchemaExternalLoginUnbindingReq
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ 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 {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserUnbindingDelete(ctx context.Context) ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest {
|
||||
return ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -390,7 +390,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserUnbindingDelete(ctx
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserUnbindingDeleteExecute(r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserUnbindingDeleteExecute(r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodDelete
|
||||
localVarPostBody interface{}
|
||||
@@ -398,7 +398,7 @@ func (a *PluginConnectorApiService) AnswerApiV1ConnectorUserUnbindingDeleteExecu
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorApiService.AnswerApiV1ConnectorUserUnbindingDelete")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorUserUnbindingDelete")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
122
api_question.go
122
api_question.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// QuestionApiService QuestionApi service
|
||||
type QuestionApiService service
|
||||
// QuestionAPIService QuestionAPI service
|
||||
type QuestionAPIService service
|
||||
|
||||
type ApiAnswerApiV1PersonalQaTopGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
username *string
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ UserTop
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalQaTopGetRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1PersonalQaTopGet(ctx context.Context) ApiAnswerApiV1PersonalQaTopGetRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1PersonalQaTopGet(ctx context.Context) ApiAnswerApiV1PersonalQaTopGetRequest {
|
||||
return ApiAnswerApiV1PersonalQaTopGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *QuestionApiService) AnswerApiV1PersonalQaTopGet(ctx context.Context) Ap
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1PersonalQaTopGetExecute(r ApiAnswerApiV1PersonalQaTopGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1PersonalQaTopGetExecute(r ApiAnswerApiV1PersonalQaTopGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *QuestionApiService) AnswerApiV1PersonalQaTopGetExecute(r ApiAnswerApiV1
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1PersonalQaTopGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1PersonalQaTopGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -146,7 +146,7 @@ func (a *QuestionApiService) AnswerApiV1PersonalQaTopGetExecute(r ApiAnswerApiV1
|
||||
|
||||
type ApiAnswerApiV1QuestionAnswerPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaQuestionAddByAnswer
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ add question and answer
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionAnswerPostRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionAnswerPost(ctx context.Context) ApiAnswerApiV1QuestionAnswerPostRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionAnswerPost(ctx context.Context) ApiAnswerApiV1QuestionAnswerPostRequest {
|
||||
return ApiAnswerApiV1QuestionAnswerPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -177,7 +177,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionAnswerPost(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionAnswerPostExecute(r ApiAnswerApiV1QuestionAnswerPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionAnswerPostExecute(r ApiAnswerApiV1QuestionAnswerPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -185,7 +185,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionAnswerPostExecute(r ApiAnswerApi
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionAnswerPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionAnswerPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -271,7 +271,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionAnswerPostExecute(r ApiAnswerApi
|
||||
|
||||
type ApiAnswerApiV1QuestionDeleteRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaRemoveQuestionReq
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ delete question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionDeleteRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionDelete(ctx context.Context) ApiAnswerApiV1QuestionDeleteRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionDelete(ctx context.Context) ApiAnswerApiV1QuestionDeleteRequest {
|
||||
return ApiAnswerApiV1QuestionDeleteRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -302,7 +302,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionDelete(ctx context.Context) ApiA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionDeleteExecute(r ApiAnswerApiV1QuestionDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionDeleteExecute(r ApiAnswerApiV1QuestionDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodDelete
|
||||
localVarPostBody interface{}
|
||||
@@ -310,7 +310,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionDeleteExecute(r ApiAnswerApiV1Qu
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionDelete")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionDelete")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -396,7 +396,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionDeleteExecute(r ApiAnswerApiV1Qu
|
||||
|
||||
type ApiAnswerApiV1QuestionInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
id *string
|
||||
}
|
||||
|
||||
@@ -418,7 +418,7 @@ get question details
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionInfoGetRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionInfoGet(ctx context.Context) ApiAnswerApiV1QuestionInfoGetRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInfoGet(ctx context.Context) ApiAnswerApiV1QuestionInfoGetRequest {
|
||||
return ApiAnswerApiV1QuestionInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -427,7 +427,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInfoGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionInfoGetExecute(r ApiAnswerApiV1QuestionInfoGetRequest) (string, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInfoGetExecute(r ApiAnswerApiV1QuestionInfoGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -435,7 +435,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInfoGetExecute(r ApiAnswerApiV1Q
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -520,7 +520,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInfoGetExecute(r ApiAnswerApiV1Q
|
||||
|
||||
type ApiAnswerApiV1QuestionInviteGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
id *string
|
||||
}
|
||||
|
||||
@@ -542,7 +542,7 @@ 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 {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInviteGet(ctx context.Context) ApiAnswerApiV1QuestionInviteGetRequest {
|
||||
return ApiAnswerApiV1QuestionInviteGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -551,7 +551,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInviteGet(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionInviteGetExecute(r ApiAnswerApiV1QuestionInviteGetRequest) (string, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInviteGetExecute(r ApiAnswerApiV1QuestionInviteGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -559,7 +559,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInviteGetExecute(r ApiAnswerApiV
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionInviteGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionInviteGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -644,7 +644,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInviteGetExecute(r ApiAnswerApiV
|
||||
|
||||
type ApiAnswerApiV1QuestionInvitePutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaQuestionUpdateInviteUser
|
||||
}
|
||||
|
||||
@@ -666,7 +666,7 @@ 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 {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInvitePut(ctx context.Context) ApiAnswerApiV1QuestionInvitePutRequest {
|
||||
return ApiAnswerApiV1QuestionInvitePutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -675,7 +675,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInvitePut(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionInvitePutExecute(r ApiAnswerApiV1QuestionInvitePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionInvitePutExecute(r ApiAnswerApiV1QuestionInvitePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -683,7 +683,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInvitePutExecute(r ApiAnswerApiV
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionInvitePut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionInvitePut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -769,7 +769,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionInvitePutExecute(r ApiAnswerApiV
|
||||
|
||||
type ApiAnswerApiV1QuestionOperationPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaOperationQuestionReq
|
||||
}
|
||||
|
||||
@@ -791,7 +791,7 @@ Operation question \n operation [pin unpin hide show]
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionOperationPutRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionOperationPut(ctx context.Context) ApiAnswerApiV1QuestionOperationPutRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionOperationPut(ctx context.Context) ApiAnswerApiV1QuestionOperationPutRequest {
|
||||
return ApiAnswerApiV1QuestionOperationPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -800,7 +800,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionOperationPut(ctx context.Context
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionOperationPutExecute(r ApiAnswerApiV1QuestionOperationPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionOperationPutExecute(r ApiAnswerApiV1QuestionOperationPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -808,7 +808,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionOperationPutExecute(r ApiAnswerA
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionOperationPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionOperationPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -894,7 +894,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionOperationPutExecute(r ApiAnswerA
|
||||
|
||||
type ApiAnswerApiV1QuestionPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
order *string
|
||||
@@ -951,7 +951,7 @@ get questions by page
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionPageGetRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPageGet(ctx context.Context) ApiAnswerApiV1QuestionPageGetRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPageGet(ctx context.Context) ApiAnswerApiV1QuestionPageGetRequest {
|
||||
return ApiAnswerApiV1QuestionPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -960,7 +960,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPageGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1QuestionPageGet200Response
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1QuestionPageGetRequest) (*AnswerApiV1QuestionPageGet200Response, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1QuestionPageGetRequest) (*AnswerApiV1QuestionPageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -968,7 +968,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1Q
|
||||
localVarReturnValue *AnswerApiV1QuestionPageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1053,7 +1053,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPageGetExecute(r ApiAnswerApiV1Q
|
||||
|
||||
type ApiAnswerApiV1QuestionPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaQuestionAdd
|
||||
}
|
||||
|
||||
@@ -1075,7 +1075,7 @@ add question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionPostRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPost(ctx context.Context) ApiAnswerApiV1QuestionPostRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPost(ctx context.Context) ApiAnswerApiV1QuestionPostRequest {
|
||||
return ApiAnswerApiV1QuestionPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1084,7 +1084,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPost(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPostExecute(r ApiAnswerApiV1QuestionPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPostExecute(r ApiAnswerApiV1QuestionPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -1092,7 +1092,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPostExecute(r ApiAnswerApiV1Ques
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1178,7 +1178,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPostExecute(r ApiAnswerApiV1Ques
|
||||
|
||||
type ApiAnswerApiV1QuestionPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaQuestionUpdate
|
||||
}
|
||||
|
||||
@@ -1200,7 +1200,7 @@ update question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionPutRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPut(ctx context.Context) ApiAnswerApiV1QuestionPutRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPut(ctx context.Context) ApiAnswerApiV1QuestionPutRequest {
|
||||
return ApiAnswerApiV1QuestionPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1209,7 +1209,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPut(ctx context.Context) ApiAnsw
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionPutExecute(r ApiAnswerApiV1QuestionPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionPutExecute(r ApiAnswerApiV1QuestionPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1217,7 +1217,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPutExecute(r ApiAnswerApiV1Quest
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1303,7 +1303,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionPutExecute(r ApiAnswerApiV1Quest
|
||||
|
||||
type ApiAnswerApiV1QuestionReopenPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaReopenQuestionReq
|
||||
}
|
||||
|
||||
@@ -1325,7 +1325,7 @@ reopen question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionReopenPutRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionReopenPut(ctx context.Context) ApiAnswerApiV1QuestionReopenPutRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionReopenPut(ctx context.Context) ApiAnswerApiV1QuestionReopenPutRequest {
|
||||
return ApiAnswerApiV1QuestionReopenPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1334,7 +1334,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionReopenPut(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionReopenPutExecute(r ApiAnswerApiV1QuestionReopenPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionReopenPutExecute(r ApiAnswerApiV1QuestionReopenPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1342,7 +1342,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionReopenPutExecute(r ApiAnswerApiV
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionReopenPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionReopenPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1428,7 +1428,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionReopenPutExecute(r ApiAnswerApiV
|
||||
|
||||
type ApiAnswerApiV1QuestionSimilarGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
title *string
|
||||
}
|
||||
|
||||
@@ -1443,14 +1443,14 @@ func (r ApiAnswerApiV1QuestionSimilarGetRequest) Execute() (*HandlerRespBody, *h
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1QuestionSimilarGet add question title like
|
||||
AnswerApiV1QuestionSimilarGet fuzzy query similar questions based on title
|
||||
|
||||
add question title like
|
||||
fuzzy query similar questions based on title
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionSimilarGetRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionSimilarGet(ctx context.Context) ApiAnswerApiV1QuestionSimilarGetRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionSimilarGet(ctx context.Context) ApiAnswerApiV1QuestionSimilarGetRequest {
|
||||
return ApiAnswerApiV1QuestionSimilarGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1459,7 +1459,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarGet(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionSimilarGetExecute(r ApiAnswerApiV1QuestionSimilarGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionSimilarGetExecute(r ApiAnswerApiV1QuestionSimilarGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -1467,7 +1467,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarGetExecute(r ApiAnswerApi
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionSimilarGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionSimilarGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1552,7 +1552,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarGetExecute(r ApiAnswerApi
|
||||
|
||||
type ApiAnswerApiV1QuestionSimilarTagGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
questionId *string
|
||||
}
|
||||
|
||||
@@ -1574,7 +1574,7 @@ Search Similar Question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionSimilarTagGetRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionSimilarTagGet(ctx context.Context) ApiAnswerApiV1QuestionSimilarTagGetRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionSimilarTagGet(ctx context.Context) ApiAnswerApiV1QuestionSimilarTagGetRequest {
|
||||
return ApiAnswerApiV1QuestionSimilarTagGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1583,7 +1583,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarTagGet(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionSimilarTagGetExecute(r ApiAnswerApiV1QuestionSimilarTagGetRequest) (string, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionSimilarTagGetExecute(r ApiAnswerApiV1QuestionSimilarTagGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -1591,7 +1591,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarTagGetExecute(r ApiAnswer
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionSimilarTagGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionSimilarTagGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1662,7 +1662,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionSimilarTagGetExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerApiV1QuestionStatusPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *QuestionApiService
|
||||
ApiService *QuestionAPIService
|
||||
data *SchemaCloseQuestionReq
|
||||
}
|
||||
|
||||
@@ -1684,7 +1684,7 @@ Close question
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionStatusPutRequest
|
||||
*/
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionStatusPut(ctx context.Context) ApiAnswerApiV1QuestionStatusPutRequest {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionStatusPut(ctx context.Context) ApiAnswerApiV1QuestionStatusPutRequest {
|
||||
return ApiAnswerApiV1QuestionStatusPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1693,7 +1693,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionStatusPut(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *QuestionApiService) AnswerApiV1QuestionStatusPutExecute(r ApiAnswerApiV1QuestionStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *QuestionAPIService) AnswerApiV1QuestionStatusPutExecute(r ApiAnswerApiV1QuestionStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1701,7 +1701,7 @@ func (a *QuestionApiService) AnswerApiV1QuestionStatusPutExecute(r ApiAnswerApiV
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionApiService.AnswerApiV1QuestionStatusPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuestionAPIService.AnswerApiV1QuestionStatusPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
14
api_rank.go
14
api_rank.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// RankApiService RankApi service
|
||||
type RankApiService service
|
||||
// RankAPIService RankAPI service
|
||||
type RankAPIService service
|
||||
|
||||
type ApiAnswerApiV1PersonalRankPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RankApiService
|
||||
ApiService *RankAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
username *string
|
||||
@@ -58,7 +58,7 @@ user personal rank list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalRankPageGetRequest
|
||||
*/
|
||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
||||
func (a *RankAPIService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
||||
return ApiAnswerApiV1PersonalRankPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -67,7 +67,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalRankPageGet200Response
|
||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
||||
func (a *RankAPIService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -75,7 +75,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1P
|
||||
localVarReturnValue *AnswerApiV1PersonalRankPageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RankApiService.AnswerApiV1PersonalRankPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RankAPIService.AnswerApiV1PersonalRankPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// ReasonApiService ReasonApi service
|
||||
type ReasonApiService service
|
||||
// ReasonAPIService ReasonAPI service
|
||||
type ReasonAPIService service
|
||||
|
||||
type ApiAnswerAdminApiReasonsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ReasonApiService
|
||||
ApiService *ReasonAPIService
|
||||
objectType *string
|
||||
action *string
|
||||
}
|
||||
@@ -51,7 +51,7 @@ get reasons by object type and action
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerAdminApiReasonsGetRequest
|
||||
*/
|
||||
func (a *ReasonApiService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnswerAdminApiReasonsGetRequest {
|
||||
func (a *ReasonAPIService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnswerAdminApiReasonsGetRequest {
|
||||
return ApiAnswerAdminApiReasonsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -60,7 +60,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnsw
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *ReasonAPIService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -68,7 +68,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiRe
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReasonApiService.AnswerAdminApiReasonsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReasonAPIService.AnswerAdminApiReasonsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -157,7 +157,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiRe
|
||||
|
||||
type ApiAnswerApiV1ReasonsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ReasonApiService
|
||||
ApiService *ReasonAPIService
|
||||
objectType *string
|
||||
action *string
|
||||
}
|
||||
@@ -186,7 +186,7 @@ get reasons by object type and action
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1ReasonsGetRequest
|
||||
*/
|
||||
func (a *ReasonApiService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerApiV1ReasonsGetRequest {
|
||||
func (a *ReasonAPIService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerApiV1ReasonsGetRequest {
|
||||
return ApiAnswerApiV1ReasonsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -195,7 +195,7 @@ func (a *ReasonApiService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *ReasonApiService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *ReasonAPIService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -203,7 +203,7 @@ func (a *ReasonApiService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsG
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReasonApiService.AnswerApiV1ReasonsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReasonAPIService.AnswerApiV1ReasonsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// ReportApiService ReportApi service
|
||||
type ReportApiService service
|
||||
// ReportAPIService ReportAPI service
|
||||
type ReportAPIService service
|
||||
|
||||
type ApiAnswerApiV1ReportPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *ReportApiService
|
||||
ApiService *ReportAPIService
|
||||
data *SchemaAddReportReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ add report <br> source (question, answer, comment, user)
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1ReportPostRequest
|
||||
*/
|
||||
func (a *ReportApiService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerApiV1ReportPostRequest {
|
||||
func (a *ReportAPIService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerApiV1ReportPostRequest {
|
||||
return ApiAnswerApiV1ReportPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *ReportApiService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *ReportAPIService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPo
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReportApiService.AnswerApiV1ReportPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReportAPIService.AnswerApiV1ReportPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// RevisionApiService RevisionApi service
|
||||
type RevisionApiService service
|
||||
// RevisionAPIService RevisionAPI service
|
||||
type RevisionAPIService service
|
||||
|
||||
type ApiAnswerApiV1RevisionsAuditPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RevisionApiService
|
||||
ApiService *RevisionAPIService
|
||||
data *SchemaRevisionAuditReq
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ revision audit operation:approve or reject
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1RevisionsAuditPutRequest
|
||||
*/
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsAuditPut(ctx context.Context) ApiAnswerApiV1RevisionsAuditPutRequest {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsAuditPut(ctx context.Context) ApiAnswerApiV1RevisionsAuditPutRequest {
|
||||
return ApiAnswerApiV1RevisionsAuditPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPut(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV1RevisionsAuditPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV1RevisionsAuditPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionApiService.AnswerApiV1RevisionsAuditPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionAPIService.AnswerApiV1RevisionsAuditPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -147,7 +147,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV
|
||||
|
||||
type ApiAnswerApiV1RevisionsEditCheckGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RevisionApiService
|
||||
ApiService *RevisionAPIService
|
||||
id *string
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ check can update revision
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1RevisionsEditCheckGetRequest
|
||||
*/
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGet(ctx context.Context) ApiAnswerApiV1RevisionsEditCheckGetRequest {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsEditCheckGet(ctx context.Context) ApiAnswerApiV1RevisionsEditCheckGetRequest {
|
||||
return ApiAnswerApiV1RevisionsEditCheckGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -178,7 +178,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGet(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswerApiV1RevisionsEditCheckGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswerApiV1RevisionsEditCheckGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -186,7 +186,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswer
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionApiService.AnswerApiV1RevisionsEditCheckGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionAPIService.AnswerApiV1RevisionsEditCheckGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -271,7 +271,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerApiV1RevisionsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RevisionApiService
|
||||
ApiService *RevisionAPIService
|
||||
objectId *string
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ get revision list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1RevisionsGetRequest
|
||||
*/
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAnswerApiV1RevisionsGetRequest {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAnswerApiV1RevisionsGetRequest {
|
||||
return ApiAnswerApiV1RevisionsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -302,7 +302,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1RevisionsGet200Response
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1RevisionsGetRequest) (*AnswerApiV1RevisionsGet200Response, *http.Response, error) {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1RevisionsGetRequest) (*AnswerApiV1RevisionsGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -310,7 +310,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1Revi
|
||||
localVarReturnValue *AnswerApiV1RevisionsGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionApiService.AnswerApiV1RevisionsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionAPIService.AnswerApiV1RevisionsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -381,7 +381,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1Revi
|
||||
|
||||
type ApiAnswerApiV1RevisionsUnreviewedGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RevisionApiService
|
||||
ApiService *RevisionAPIService
|
||||
page *string
|
||||
}
|
||||
|
||||
@@ -403,7 +403,7 @@ get unreviewed revision list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1RevisionsUnreviewedGetRequest
|
||||
*/
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Context) ApiAnswerApiV1RevisionsUnreviewedGetRequest {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Context) ApiAnswerApiV1RevisionsUnreviewedGetRequest {
|
||||
return ApiAnswerApiV1RevisionsUnreviewedGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -412,7 +412,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Conte
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1RevisionsUnreviewedGet200Response
|
||||
func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswerApiV1RevisionsUnreviewedGetRequest) (*AnswerApiV1RevisionsUnreviewedGet200Response, *http.Response, error) {
|
||||
func (a *RevisionAPIService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswerApiV1RevisionsUnreviewedGetRequest) (*AnswerApiV1RevisionsUnreviewedGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -420,7 +420,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswe
|
||||
localVarReturnValue *AnswerApiV1RevisionsUnreviewedGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionApiService.AnswerApiV1RevisionsUnreviewedGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RevisionAPIService.AnswerApiV1RevisionsUnreviewedGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
113
api_search.go
113
api_search.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,111 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// SearchApiService SearchApi service
|
||||
type SearchApiService service
|
||||
// SearchAPIService SearchAPI service
|
||||
type SearchAPIService service
|
||||
|
||||
type ApiAnswerApiV1SearchDescGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SearchAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1SearchDescGetRequest) Execute() (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1SearchDescGetExecute(r)
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1SearchDescGet get search description
|
||||
|
||||
get search description
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1SearchDescGetRequest
|
||||
*/
|
||||
func (a *SearchAPIService) AnswerApiV1SearchDescGet(ctx context.Context) ApiAnswerApiV1SearchDescGetRequest {
|
||||
return ApiAnswerApiV1SearchDescGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
}
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1SearchGet200Response
|
||||
func (a *SearchAPIService) AnswerApiV1SearchDescGetExecute(r ApiAnswerApiV1SearchDescGetRequest) (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
localVarReturnValue *AnswerApiV1SearchGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SearchAPIService.AnswerApiV1SearchDescGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
localVarPath := localBasePath + "/answer/api/v1/search/desc"
|
||||
|
||||
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
|
||||
}
|
||||
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 ApiAnswerApiV1SearchGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SearchApiService
|
||||
ApiService *SearchAPIService
|
||||
q *string
|
||||
order *string
|
||||
}
|
||||
@@ -51,7 +150,7 @@ search object
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1SearchGetRequest
|
||||
*/
|
||||
func (a *SearchApiService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerApiV1SearchGetRequest {
|
||||
func (a *SearchAPIService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerApiV1SearchGetRequest {
|
||||
return ApiAnswerApiV1SearchGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -60,7 +159,7 @@ func (a *SearchApiService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerAp
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1SearchGet200Response
|
||||
func (a *SearchApiService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGetRequest) (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
||||
func (a *SearchAPIService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGetRequest) (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -68,7 +167,7 @@ func (a *SearchApiService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGet
|
||||
localVarReturnValue *AnswerApiV1SearchGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SearchApiService.AnswerApiV1SearchGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SearchAPIService.AnswerApiV1SearchGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
38
api_site.go
38
api_site.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// SiteApiService SiteApi service
|
||||
type SiteApiService service
|
||||
// SiteAPIService SiteAPI service
|
||||
type SiteAPIService service
|
||||
|
||||
type ApiAnswerApiV1SiteinfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SiteApiService
|
||||
ApiService *SiteAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1SiteinfoGetRequest) Execute() (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
||||
@@ -37,7 +37,7 @@ get site info
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1SiteinfoGetRequest
|
||||
*/
|
||||
func (a *SiteApiService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerApiV1SiteinfoGetRequest {
|
||||
func (a *SiteAPIService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerApiV1SiteinfoGetRequest {
|
||||
return ApiAnswerApiV1SiteinfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -46,7 +46,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerAp
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1SiteinfoGet200Response
|
||||
func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoGetRequest) (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
||||
func (a *SiteAPIService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoGetRequest) (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -54,7 +54,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoG
|
||||
localVarReturnValue *AnswerApiV1SiteinfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteApiService.AnswerApiV1SiteinfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteAPIService.AnswerApiV1SiteinfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoG
|
||||
|
||||
type ApiAnswerApiV1SiteinfoLegalGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SiteApiService
|
||||
ApiService *SiteAPIService
|
||||
infoType *string
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ get site legal info
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1SiteinfoLegalGetRequest
|
||||
*/
|
||||
func (a *SiteApiService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAnswerApiV1SiteinfoLegalGetRequest {
|
||||
func (a *SiteAPIService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAnswerApiV1SiteinfoLegalGetRequest {
|
||||
return ApiAnswerApiV1SiteinfoLegalGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -152,7 +152,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1SiteinfoLegalGet200Response
|
||||
func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1SiteinfoLegalGetRequest) (*AnswerApiV1SiteinfoLegalGet200Response, *http.Response, error) {
|
||||
func (a *SiteAPIService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1SiteinfoLegalGetRequest) (*AnswerApiV1SiteinfoLegalGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -160,7 +160,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1Site
|
||||
localVarReturnValue *AnswerApiV1SiteinfoLegalGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteApiService.AnswerApiV1SiteinfoLegalGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteAPIService.AnswerApiV1SiteinfoLegalGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -231,7 +231,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1Site
|
||||
|
||||
type ApiCustomCssGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SiteApiService
|
||||
ApiService *SiteAPIService
|
||||
}
|
||||
|
||||
func (r ApiCustomCssGetRequest) Execute() (string, *http.Response, error) {
|
||||
@@ -246,7 +246,7 @@ get site robots information
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiCustomCssGetRequest
|
||||
*/
|
||||
func (a *SiteApiService) CustomCssGet(ctx context.Context) ApiCustomCssGetRequest {
|
||||
func (a *SiteAPIService) CustomCssGet(ctx context.Context) ApiCustomCssGetRequest {
|
||||
return ApiCustomCssGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -255,7 +255,7 @@ func (a *SiteApiService) CustomCssGet(ctx context.Context) ApiCustomCssGetReques
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string, *http.Response, error) {
|
||||
func (a *SiteAPIService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -263,7 +263,7 @@ func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string,
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteApiService.CustomCssGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteAPIService.CustomCssGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -330,7 +330,7 @@ func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string,
|
||||
|
||||
type ApiRobotsTxtGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *SiteApiService
|
||||
ApiService *SiteAPIService
|
||||
}
|
||||
|
||||
func (r ApiRobotsTxtGetRequest) Execute() (string, *http.Response, error) {
|
||||
@@ -345,7 +345,7 @@ get site robots information
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiRobotsTxtGetRequest
|
||||
*/
|
||||
func (a *SiteApiService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetRequest {
|
||||
func (a *SiteAPIService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetRequest {
|
||||
return ApiRobotsTxtGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -354,7 +354,7 @@ func (a *SiteApiService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetReques
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *SiteApiService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string, *http.Response, error) {
|
||||
func (a *SiteAPIService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -362,7 +362,7 @@ func (a *SiteApiService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string,
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteApiService.RobotsTxtGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SiteAPIService.RobotsTxtGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
86
api_tag.go
86
api_tag.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// TagApiService TagApi service
|
||||
type TagApiService service
|
||||
// TagAPIService TagAPI service
|
||||
type TagAPIService service
|
||||
|
||||
type ApiAnswerApiV1QuestionTagsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
tag *string
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ get tag list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1QuestionTagsGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswerApiV1QuestionTagsGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswerApiV1QuestionTagsGetRequest {
|
||||
return ApiAnswerApiV1QuestionTagsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1QuestionTagsGet200Response
|
||||
func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1QuestionTagsGetRequest) (*AnswerApiV1QuestionTagsGet200Response, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1QuestionTagsGetRequest) (*AnswerApiV1QuestionTagsGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1Questi
|
||||
localVarReturnValue *AnswerApiV1QuestionTagsGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1QuestionTagsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1QuestionTagsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -145,7 +145,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1Questi
|
||||
|
||||
type ApiAnswerApiV1TagDeleteRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
data *SchemaRemoveTagReq
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ delete tag
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagDeleteRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1TagDeleteRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1TagDeleteRequest {
|
||||
return ApiAnswerApiV1TagDeleteRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -176,7 +176,7 @@ func (a *TagApiService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodDelete
|
||||
localVarPostBody interface{}
|
||||
@@ -184,7 +184,7 @@ func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteReq
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagDelete")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagDelete")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -256,7 +256,7 @@ func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteReq
|
||||
|
||||
type ApiAnswerApiV1TagGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
tagId *string
|
||||
tagName *string
|
||||
}
|
||||
@@ -285,7 +285,7 @@ get tag one
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1TagGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1TagGetRequest {
|
||||
return ApiAnswerApiV1TagGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -294,7 +294,7 @@ func (a *TagApiService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1Tag
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1TagGet200Response
|
||||
func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest) (*AnswerApiV1TagGet200Response, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest) (*AnswerApiV1TagGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -302,7 +302,7 @@ func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest)
|
||||
localVarReturnValue *AnswerApiV1TagGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -377,7 +377,7 @@ func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest)
|
||||
|
||||
type ApiAnswerApiV1TagPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
data *SchemaAddTagReq
|
||||
}
|
||||
|
||||
@@ -399,7 +399,7 @@ add tag
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagPostRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1TagPostRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1TagPostRequest {
|
||||
return ApiAnswerApiV1TagPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -408,7 +408,7 @@ func (a *TagApiService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1Ta
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -416,7 +416,7 @@ func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -488,7 +488,7 @@ func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest
|
||||
|
||||
type ApiAnswerApiV1TagPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
data *SchemaUpdateTagReq
|
||||
}
|
||||
|
||||
@@ -510,7 +510,7 @@ update tag
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagPutRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1TagPutRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1TagPutRequest {
|
||||
return ApiAnswerApiV1TagPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -519,7 +519,7 @@ func (a *TagApiService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1Tag
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -527,7 +527,7 @@ func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest)
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -599,7 +599,7 @@ func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest)
|
||||
|
||||
type ApiAnswerApiV1TagSynonymPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
data *SchemaUpdateTagSynonymReq
|
||||
}
|
||||
|
||||
@@ -621,7 +621,7 @@ update tag
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagSynonymPutRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerApiV1TagSynonymPutRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerApiV1TagSynonymPutRequest {
|
||||
return ApiAnswerApiV1TagSynonymPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -630,7 +630,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynonymPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynonymPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -638,7 +638,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynon
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagSynonymPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagSynonymPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -710,7 +710,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynon
|
||||
|
||||
type ApiAnswerApiV1TagSynonymsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
tagId *int32
|
||||
}
|
||||
|
||||
@@ -732,7 +732,7 @@ get tag synonyms
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagSynonymsGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswerApiV1TagSynonymsGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswerApiV1TagSynonymsGetRequest {
|
||||
return ApiAnswerApiV1TagSynonymsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -741,7 +741,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswer
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1TagSynonymsGet200Response
|
||||
func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSynonymsGetRequest) (*AnswerApiV1TagSynonymsGet200Response, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSynonymsGetRequest) (*AnswerApiV1TagSynonymsGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -749,7 +749,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSyno
|
||||
localVarReturnValue *AnswerApiV1TagSynonymsGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagSynonymsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagSynonymsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -820,7 +820,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSyno
|
||||
|
||||
type ApiAnswerApiV1TagsFollowingGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1TagsFollowingGetRequest) Execute() (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
||||
@@ -835,7 +835,7 @@ get following tag list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagsFollowingGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnswerApiV1TagsFollowingGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnswerApiV1TagsFollowingGetRequest {
|
||||
return ApiAnswerApiV1TagsFollowingGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -844,7 +844,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnsw
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1TagsFollowingGet200Response
|
||||
func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsFollowingGetRequest) (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsFollowingGetRequest) (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -852,7 +852,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsF
|
||||
localVarReturnValue *AnswerApiV1TagsFollowingGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagsFollowingGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagsFollowingGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -933,7 +933,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsF
|
||||
|
||||
type ApiAnswerApiV1TagsGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
tags *[]string
|
||||
}
|
||||
|
||||
@@ -955,7 +955,7 @@ get tags list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagsGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1TagsGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1TagsGetRequest {
|
||||
return ApiAnswerApiV1TagsGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -964,7 +964,7 @@ func (a *TagApiService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1Ta
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -972,7 +972,7 @@ func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagsGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagsGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1042,7 +1042,7 @@ func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest
|
||||
|
||||
type ApiAnswerApiV1TagsPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *TagApiService
|
||||
ApiService *TagAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
slugName *string
|
||||
@@ -1085,7 +1085,7 @@ get tag page
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1TagsPageGetRequest
|
||||
*/
|
||||
func (a *TagApiService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApiV1TagsPageGetRequest {
|
||||
func (a *TagAPIService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApiV1TagsPageGetRequest {
|
||||
return ApiAnswerApiV1TagsPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1094,7 +1094,7 @@ func (a *TagApiService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApi
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1TagsPageGet200Response
|
||||
func (a *TagApiService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGetRequest) (*AnswerApiV1TagsPageGet200Response, *http.Response, error) {
|
||||
func (a *TagAPIService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGetRequest) (*AnswerApiV1TagsPageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -1102,7 +1102,7 @@ func (a *TagApiService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGe
|
||||
localVarReturnValue *AnswerApiV1TagsPageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.AnswerApiV1TagsPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagAPIService.AnswerApiV1TagsPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -18,12 +18,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// UploadApiService UploadApi service
|
||||
type UploadApiService service
|
||||
// UploadAPIService UploadAPI service
|
||||
type UploadAPIService service
|
||||
|
||||
type ApiAnswerApiV1FilePostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UploadApiService
|
||||
ApiService *UploadAPIService
|
||||
source *string
|
||||
file *os.File
|
||||
}
|
||||
@@ -52,7 +52,7 @@ upload file
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1FilePostRequest
|
||||
*/
|
||||
func (a *UploadApiService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApiV1FilePostRequest {
|
||||
func (a *UploadAPIService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApiV1FilePostRequest {
|
||||
return ApiAnswerApiV1FilePostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -61,7 +61,7 @@ func (a *UploadApiService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApi
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1FilePost200Response
|
||||
func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRequest) (*AnswerApiV1FilePost200Response, *http.Response, error) {
|
||||
func (a *UploadAPIService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRequest) (*AnswerApiV1FilePost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -69,7 +69,7 @@ func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRe
|
||||
localVarReturnValue *AnswerApiV1FilePost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UploadApiService.AnswerApiV1FilePost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UploadAPIService.AnswerApiV1FilePost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -174,7 +174,7 @@ func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRe
|
||||
|
||||
type ApiAnswerApiV1PostRenderPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UploadApiService
|
||||
ApiService *UploadAPIService
|
||||
data *SchemaPostRenderReq
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ render post content
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PostRenderPostRequest
|
||||
*/
|
||||
func (a *UploadApiService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAnswerApiV1PostRenderPostRequest {
|
||||
func (a *UploadAPIService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAnswerApiV1PostRenderPostRequest {
|
||||
return ApiAnswerApiV1PostRenderPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -205,7 +205,7 @@ func (a *UploadApiService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UploadApiService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1PostRenderPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UploadAPIService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1PostRenderPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -213,7 +213,7 @@ func (a *UploadApiService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1Post
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UploadApiService.AnswerApiV1PostRenderPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UploadAPIService.AnswerApiV1PostRenderPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
519
api_user.go
519
api_user.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -17,12 +17,12 @@ import (
|
||||
)
|
||||
|
||||
|
||||
// UserApiService UserApi service
|
||||
type UserApiService service
|
||||
// UserAPIService UserAPI service
|
||||
type UserAPIService service
|
||||
|
||||
type ApiAnswerApiV1PersonalUserInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
username *string
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ GetOtherUserInfoByUsername
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalUserInfoGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1PersonalUserInfoGet(ctx context.Context) ApiAnswerApiV1PersonalUserInfoGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1PersonalUserInfoGet(ctx context.Context) ApiAnswerApiV1PersonalUserInfoGetRequest {
|
||||
return ApiAnswerApiV1PersonalUserInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -53,7 +53,7 @@ func (a *UserApiService) AnswerApiV1PersonalUserInfoGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalUserInfoGet200Response
|
||||
func (a *UserApiService) AnswerApiV1PersonalUserInfoGetExecute(r ApiAnswerApiV1PersonalUserInfoGetRequest) (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1PersonalUserInfoGetExecute(r ApiAnswerApiV1PersonalUserInfoGetRequest) (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -61,7 +61,7 @@ func (a *UserApiService) AnswerApiV1PersonalUserInfoGetExecute(r ApiAnswerApiV1P
|
||||
localVarReturnValue *AnswerApiV1PersonalUserInfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1PersonalUserInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1PersonalUserInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -146,7 +146,7 @@ func (a *UserApiService) AnswerApiV1PersonalUserInfoGetExecute(r ApiAnswerApiV1P
|
||||
|
||||
type ApiAnswerApiV1UserActionRecordGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
action *string
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ ActionRecord
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserActionRecordGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserActionRecordGet(ctx context.Context) ApiAnswerApiV1UserActionRecordGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserActionRecordGet(ctx context.Context) ApiAnswerApiV1UserActionRecordGetRequest {
|
||||
return ApiAnswerApiV1UserActionRecordGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -177,7 +177,7 @@ func (a *UserApiService) AnswerApiV1UserActionRecordGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserActionRecordGet200Response
|
||||
func (a *UserApiService) AnswerApiV1UserActionRecordGetExecute(r ApiAnswerApiV1UserActionRecordGetRequest) (*AnswerApiV1UserActionRecordGet200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserActionRecordGetExecute(r ApiAnswerApiV1UserActionRecordGetRequest) (*AnswerApiV1UserActionRecordGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -185,7 +185,7 @@ func (a *UserApiService) AnswerApiV1UserActionRecordGetExecute(r ApiAnswerApiV1U
|
||||
localVarReturnValue *AnswerApiV1UserActionRecordGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserActionRecordGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserActionRecordGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -270,7 +270,7 @@ func (a *UserApiService) AnswerApiV1UserActionRecordGetExecute(r ApiAnswerApiV1U
|
||||
|
||||
type ApiAnswerApiV1UserEmailChangeCodePostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserChangeEmailSendCodeReq
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@ send email to the user email then change their email
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserEmailChangeCodePostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserEmailChangeCodePost(ctx context.Context) ApiAnswerApiV1UserEmailChangeCodePostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailChangeCodePost(ctx context.Context) ApiAnswerApiV1UserEmailChangeCodePostRequest {
|
||||
return ApiAnswerApiV1UserEmailChangeCodePostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -301,7 +301,7 @@ func (a *UserApiService) AnswerApiV1UserEmailChangeCodePost(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserEmailChangeCodePostExecute(r ApiAnswerApiV1UserEmailChangeCodePostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailChangeCodePostExecute(r ApiAnswerApiV1UserEmailChangeCodePostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -309,7 +309,7 @@ func (a *UserApiService) AnswerApiV1UserEmailChangeCodePostExecute(r ApiAnswerAp
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserEmailChangeCodePost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserEmailChangeCodePost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -379,108 +379,9 @@ func (a *UserApiService) AnswerApiV1UserEmailChangeCodePostExecute(r ApiAnswerAp
|
||||
return localVarReturnValue, localVarHTTPResponse, nil
|
||||
}
|
||||
|
||||
type ApiAnswerApiV1UserEmailNotificationPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserEmailNotificationPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1UserEmailNotificationPutExecute(r)
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1UserEmailNotificationPut unsubscribe email notification
|
||||
|
||||
unsubscribe email notification
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserEmailNotificationPutRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserEmailNotificationPut(ctx context.Context) ApiAnswerApiV1UserEmailNotificationPutRequest {
|
||||
return ApiAnswerApiV1UserEmailNotificationPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
}
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserEmailNotificationPutExecute(r ApiAnswerApiV1UserEmailNotificationPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserEmailNotificationPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
localVarPath := localBasePath + "/answer/api/v1/user/email/notification"
|
||||
|
||||
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
|
||||
}
|
||||
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 ApiAnswerApiV1UserEmailPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserChangeEmailVerifyReq
|
||||
}
|
||||
|
||||
@@ -502,7 +403,7 @@ user change email verification
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserEmailPutRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserEmailPut(ctx context.Context) ApiAnswerApiV1UserEmailPutRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailPut(ctx context.Context) ApiAnswerApiV1UserEmailPutRequest {
|
||||
return ApiAnswerApiV1UserEmailPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -511,7 +412,7 @@ func (a *UserApiService) AnswerApiV1UserEmailPut(ctx context.Context) ApiAnswerA
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserEmailPutExecute(r ApiAnswerApiV1UserEmailPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailPutExecute(r ApiAnswerApiV1UserEmailPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -519,7 +420,7 @@ func (a *UserApiService) AnswerApiV1UserEmailPutExecute(r ApiAnswerApiV1UserEmai
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserEmailPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserEmailPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -605,7 +506,7 @@ func (a *UserApiService) AnswerApiV1UserEmailPutExecute(r ApiAnswerApiV1UserEmai
|
||||
|
||||
type ApiAnswerApiV1UserEmailVerificationPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
code *string
|
||||
}
|
||||
|
||||
@@ -627,7 +528,7 @@ UserVerifyEmail
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserEmailVerificationPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserEmailVerificationPost(ctx context.Context) ApiAnswerApiV1UserEmailVerificationPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailVerificationPost(ctx context.Context) ApiAnswerApiV1UserEmailVerificationPostRequest {
|
||||
return ApiAnswerApiV1UserEmailVerificationPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -636,7 +537,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationPost(ctx context.Contex
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserEmailVerificationPost200Response
|
||||
func (a *UserApiService) AnswerApiV1UserEmailVerificationPostExecute(r ApiAnswerApiV1UserEmailVerificationPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailVerificationPostExecute(r ApiAnswerApiV1UserEmailVerificationPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -644,7 +545,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationPostExecute(r ApiAnswer
|
||||
localVarReturnValue *AnswerApiV1UserEmailVerificationPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserEmailVerificationPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserEmailVerificationPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -715,7 +616,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationPostExecute(r ApiAnswer
|
||||
|
||||
type ApiAnswerApiV1UserEmailVerificationSendPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
captchaId *string
|
||||
captchaCode *string
|
||||
}
|
||||
@@ -744,7 +645,7 @@ UserVerifyEmailSend
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserEmailVerificationSendPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserEmailVerificationSendPost(ctx context.Context) ApiAnswerApiV1UserEmailVerificationSendPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailVerificationSendPost(ctx context.Context) ApiAnswerApiV1UserEmailVerificationSendPostRequest {
|
||||
return ApiAnswerApiV1UserEmailVerificationSendPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -753,7 +654,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationSendPost(ctx context.Co
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *UserApiService) AnswerApiV1UserEmailVerificationSendPostExecute(r ApiAnswerApiV1UserEmailVerificationSendPostRequest) (string, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserEmailVerificationSendPostExecute(r ApiAnswerApiV1UserEmailVerificationSendPostRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -761,7 +662,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationSendPostExecute(r ApiAn
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserEmailVerificationSendPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserEmailVerificationSendPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -848,7 +749,7 @@ func (a *UserApiService) AnswerApiV1UserEmailVerificationSendPostExecute(r ApiAn
|
||||
|
||||
type ApiAnswerApiV1UserInfoGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserInfoGetRequest) Execute() (*AnswerApiV1UserInfoGet200Response, *http.Response, error) {
|
||||
@@ -863,7 +764,7 @@ get user info, if user no login response http code is 200, but user info is null
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserInfoGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserInfoGet(ctx context.Context) ApiAnswerApiV1UserInfoGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoGet(ctx context.Context) ApiAnswerApiV1UserInfoGetRequest {
|
||||
return ApiAnswerApiV1UserInfoGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -872,7 +773,7 @@ func (a *UserApiService) AnswerApiV1UserInfoGet(ctx context.Context) ApiAnswerAp
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserInfoGet200Response
|
||||
func (a *UserApiService) AnswerApiV1UserInfoGetExecute(r ApiAnswerApiV1UserInfoGetRequest) (*AnswerApiV1UserInfoGet200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoGetExecute(r ApiAnswerApiV1UserInfoGetRequest) (*AnswerApiV1UserInfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -880,7 +781,7 @@ func (a *UserApiService) AnswerApiV1UserInfoGetExecute(r ApiAnswerApiV1UserInfoG
|
||||
localVarReturnValue *AnswerApiV1UserInfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserInfoGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserInfoGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -961,7 +862,7 @@ func (a *UserApiService) AnswerApiV1UserInfoGetExecute(r ApiAnswerApiV1UserInfoG
|
||||
|
||||
type ApiAnswerApiV1UserInfoPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
authorization *string
|
||||
data *SchemaUpdateInfoRequest
|
||||
}
|
||||
@@ -990,7 +891,7 @@ UserUpdateInfo update user info
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserInfoPutRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserInfoPut(ctx context.Context) ApiAnswerApiV1UserInfoPutRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoPut(ctx context.Context) ApiAnswerApiV1UserInfoPutRequest {
|
||||
return ApiAnswerApiV1UserInfoPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -999,7 +900,7 @@ func (a *UserApiService) AnswerApiV1UserInfoPut(ctx context.Context) ApiAnswerAp
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserInfoPutExecute(r ApiAnswerApiV1UserInfoPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoPutExecute(r ApiAnswerApiV1UserInfoPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1007,7 +908,7 @@ func (a *UserApiService) AnswerApiV1UserInfoPutExecute(r ApiAnswerApiV1UserInfoP
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserInfoPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserInfoPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1097,7 +998,7 @@ func (a *UserApiService) AnswerApiV1UserInfoPutExecute(r ApiAnswerApiV1UserInfoP
|
||||
|
||||
type ApiAnswerApiV1UserInfoSearchGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
username *string
|
||||
}
|
||||
|
||||
@@ -1119,7 +1020,7 @@ 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 {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoSearchGet(ctx context.Context) ApiAnswerApiV1UserInfoSearchGetRequest {
|
||||
return ApiAnswerApiV1UserInfoSearchGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1128,7 +1029,7 @@ func (a *UserApiService) AnswerApiV1UserInfoSearchGet(ctx context.Context) ApiAn
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalUserInfoGet200Response
|
||||
func (a *UserApiService) AnswerApiV1UserInfoSearchGetExecute(r ApiAnswerApiV1UserInfoSearchGetRequest) (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserInfoSearchGetExecute(r ApiAnswerApiV1UserInfoSearchGetRequest) (*AnswerApiV1PersonalUserInfoGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -1136,7 +1037,7 @@ func (a *UserApiService) AnswerApiV1UserInfoSearchGetExecute(r ApiAnswerApiV1Use
|
||||
localVarReturnValue *AnswerApiV1PersonalUserInfoGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserInfoSearchGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserInfoSearchGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1221,7 +1122,7 @@ func (a *UserApiService) AnswerApiV1UserInfoSearchGetExecute(r ApiAnswerApiV1Use
|
||||
|
||||
type ApiAnswerApiV1UserInterfacePutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
authorization *string
|
||||
data *SchemaUpdateUserInterfaceRequest
|
||||
}
|
||||
@@ -1250,7 +1151,7 @@ UserUpdateInterface update user interface config
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserInterfacePutRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserInterfacePut(ctx context.Context) ApiAnswerApiV1UserInterfacePutRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserInterfacePut(ctx context.Context) ApiAnswerApiV1UserInterfacePutRequest {
|
||||
return ApiAnswerApiV1UserInterfacePutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1259,7 +1160,7 @@ func (a *UserApiService) AnswerApiV1UserInterfacePut(ctx context.Context) ApiAns
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserInterfacePutExecute(r ApiAnswerApiV1UserInterfacePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserInterfacePutExecute(r ApiAnswerApiV1UserInterfacePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1267,7 +1168,7 @@ func (a *UserApiService) AnswerApiV1UserInterfacePutExecute(r ApiAnswerApiV1User
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserInterfacePut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserInterfacePut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1357,12 +1258,12 @@ func (a *UserApiService) AnswerApiV1UserInterfacePutExecute(r ApiAnswerApiV1User
|
||||
|
||||
type ApiAnswerApiV1UserLoginEmailPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
data *SchemaUserEmailLogin
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserEmailLoginReq
|
||||
}
|
||||
|
||||
// UserEmailLogin
|
||||
func (r ApiAnswerApiV1UserLoginEmailPostRequest) Data(data SchemaUserEmailLogin) ApiAnswerApiV1UserLoginEmailPostRequest {
|
||||
func (r ApiAnswerApiV1UserLoginEmailPostRequest) Data(data SchemaUserEmailLoginReq) ApiAnswerApiV1UserLoginEmailPostRequest {
|
||||
r.data = &data
|
||||
return r
|
||||
}
|
||||
@@ -1379,7 +1280,7 @@ UserEmailLogin
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserLoginEmailPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserLoginEmailPost(ctx context.Context) ApiAnswerApiV1UserLoginEmailPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserLoginEmailPost(ctx context.Context) ApiAnswerApiV1UserLoginEmailPostRequest {
|
||||
return ApiAnswerApiV1UserLoginEmailPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1388,7 +1289,7 @@ func (a *UserApiService) AnswerApiV1UserLoginEmailPost(ctx context.Context) ApiA
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserEmailVerificationPost200Response
|
||||
func (a *UserApiService) AnswerApiV1UserLoginEmailPostExecute(r ApiAnswerApiV1UserLoginEmailPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserLoginEmailPostExecute(r ApiAnswerApiV1UserLoginEmailPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -1396,7 +1297,7 @@ func (a *UserApiService) AnswerApiV1UserLoginEmailPostExecute(r ApiAnswerApiV1Us
|
||||
localVarReturnValue *AnswerApiV1UserEmailVerificationPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserLoginEmailPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserLoginEmailPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1468,7 +1369,7 @@ func (a *UserApiService) AnswerApiV1UserLoginEmailPostExecute(r ApiAnswerApiV1Us
|
||||
|
||||
type ApiAnswerApiV1UserLogoutGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserLogoutGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
@@ -1483,7 +1384,7 @@ user logout
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserLogoutGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserLogoutGet(ctx context.Context) ApiAnswerApiV1UserLogoutGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserLogoutGet(ctx context.Context) ApiAnswerApiV1UserLogoutGetRequest {
|
||||
return ApiAnswerApiV1UserLogoutGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1492,7 +1393,7 @@ func (a *UserApiService) AnswerApiV1UserLogoutGet(ctx context.Context) ApiAnswer
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserLogoutGetExecute(r ApiAnswerApiV1UserLogoutGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserLogoutGetExecute(r ApiAnswerApiV1UserLogoutGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -1500,7 +1401,7 @@ func (a *UserApiService) AnswerApiV1UserLogoutGetExecute(r ApiAnswerApiV1UserLog
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserLogoutGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserLogoutGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1565,53 +1466,166 @@ func (a *UserApiService) AnswerApiV1UserLogoutGetExecute(r ApiAnswerApiV1UserLog
|
||||
return localVarReturnValue, localVarHTTPResponse, nil
|
||||
}
|
||||
|
||||
type ApiAnswerApiV1UserNoticeSetPostRequest struct {
|
||||
type ApiAnswerApiV1UserNotificationConfigPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
data *SchemaUserNoticeSetRequest
|
||||
ApiService *UserAPIService
|
||||
}
|
||||
|
||||
// UserNoticeSetRequest
|
||||
func (r ApiAnswerApiV1UserNoticeSetPostRequest) Data(data SchemaUserNoticeSetRequest) ApiAnswerApiV1UserNoticeSetPostRequest {
|
||||
r.data = &data
|
||||
return r
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserNoticeSetPostRequest) Execute() (*AnswerApiV1UserNoticeSetPost200Response, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1UserNoticeSetPostExecute(r)
|
||||
func (r ApiAnswerApiV1UserNotificationConfigPostRequest) Execute() (*AnswerApiV1UserNotificationConfigPost200Response, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1UserNotificationConfigPostExecute(r)
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1UserNoticeSetPost UserNoticeSet
|
||||
AnswerApiV1UserNotificationConfigPost get user's notification config
|
||||
|
||||
UserNoticeSet
|
||||
get user's notification config
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserNoticeSetPostRequest
|
||||
@return ApiAnswerApiV1UserNotificationConfigPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserNoticeSetPost(ctx context.Context) ApiAnswerApiV1UserNoticeSetPostRequest {
|
||||
return ApiAnswerApiV1UserNoticeSetPostRequest{
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationConfigPost(ctx context.Context) ApiAnswerApiV1UserNotificationConfigPostRequest {
|
||||
return ApiAnswerApiV1UserNotificationConfigPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
}
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserNoticeSetPost200Response
|
||||
func (a *UserApiService) AnswerApiV1UserNoticeSetPostExecute(r ApiAnswerApiV1UserNoticeSetPostRequest) (*AnswerApiV1UserNoticeSetPost200Response, *http.Response, error) {
|
||||
// @return AnswerApiV1UserNotificationConfigPost200Response
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationConfigPostExecute(r ApiAnswerApiV1UserNotificationConfigPostRequest) (*AnswerApiV1UserNotificationConfigPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
localVarReturnValue *AnswerApiV1UserNoticeSetPost200Response
|
||||
localVarReturnValue *AnswerApiV1UserNotificationConfigPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserNoticeSetPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserNotificationConfigPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
localVarPath := localBasePath + "/answer/api/v1/user/notice/set"
|
||||
localVarPath := localBasePath + "/answer/api/v1/user/notification/config"
|
||||
|
||||
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 ApiAnswerApiV1UserNotificationConfigPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUpdateUserNotificationConfigReq
|
||||
}
|
||||
|
||||
// UpdateUserNotificationConfigReq
|
||||
func (r ApiAnswerApiV1UserNotificationConfigPutRequest) Data(data SchemaUpdateUserNotificationConfigReq) ApiAnswerApiV1UserNotificationConfigPutRequest {
|
||||
r.data = &data
|
||||
return r
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserNotificationConfigPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1UserNotificationConfigPutExecute(r)
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1UserNotificationConfigPut update user's notification config
|
||||
|
||||
update user's notification config
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserNotificationConfigPutRequest
|
||||
*/
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationConfigPut(ctx context.Context) ApiAnswerApiV1UserNotificationConfigPutRequest {
|
||||
return ApiAnswerApiV1UserNotificationConfigPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
}
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationConfigPutExecute(r ApiAnswerApiV1UserNotificationConfigPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserNotificationConfigPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
localVarPath := localBasePath + "/answer/api/v1/user/notification/config"
|
||||
|
||||
localVarHeaderParams := make(map[string]string)
|
||||
localVarQueryParams := url.Values{}
|
||||
@@ -1690,9 +1704,120 @@ func (a *UserApiService) AnswerApiV1UserNoticeSetPostExecute(r ApiAnswerApiV1Use
|
||||
return localVarReturnValue, localVarHTTPResponse, nil
|
||||
}
|
||||
|
||||
type ApiAnswerApiV1UserNotificationUnsubscribePutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserUnsubscribeNotificationReq
|
||||
}
|
||||
|
||||
// UserUnsubscribeNotificationReq
|
||||
func (r ApiAnswerApiV1UserNotificationUnsubscribePutRequest) Data(data SchemaUserUnsubscribeNotificationReq) ApiAnswerApiV1UserNotificationUnsubscribePutRequest {
|
||||
r.data = &data
|
||||
return r
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserNotificationUnsubscribePutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||
return r.ApiService.AnswerApiV1UserNotificationUnsubscribePutExecute(r)
|
||||
}
|
||||
|
||||
/*
|
||||
AnswerApiV1UserNotificationUnsubscribePut unsubscribe notification
|
||||
|
||||
unsubscribe notification
|
||||
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserNotificationUnsubscribePutRequest
|
||||
*/
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationUnsubscribePut(ctx context.Context) ApiAnswerApiV1UserNotificationUnsubscribePutRequest {
|
||||
return ApiAnswerApiV1UserNotificationUnsubscribePutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
}
|
||||
}
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserAPIService) AnswerApiV1UserNotificationUnsubscribePutExecute(r ApiAnswerApiV1UserNotificationUnsubscribePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
formFiles []formFile
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserNotificationUnsubscribePut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
localVarPath := localBasePath + "/answer/api/v1/user/notification/unsubscribe"
|
||||
|
||||
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 ApiAnswerApiV1UserPasswordPutRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserModifyPasswordReq
|
||||
}
|
||||
|
||||
@@ -1714,7 +1839,7 @@ UserModifyPassWord
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserPasswordPutRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordPut(ctx context.Context) ApiAnswerApiV1UserPasswordPutRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordPut(ctx context.Context) ApiAnswerApiV1UserPasswordPutRequest {
|
||||
return ApiAnswerApiV1UserPasswordPutRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1723,7 +1848,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordPut(ctx context.Context) ApiAnsw
|
||||
|
||||
// Execute executes the request
|
||||
// @return HandlerRespBody
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordPutExecute(r ApiAnswerApiV1UserPasswordPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordPutExecute(r ApiAnswerApiV1UserPasswordPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPut
|
||||
localVarPostBody interface{}
|
||||
@@ -1731,7 +1856,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordPutExecute(r ApiAnswerApiV1UserP
|
||||
localVarReturnValue *HandlerRespBody
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserPasswordPut")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserPasswordPut")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1817,7 +1942,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordPutExecute(r ApiAnswerApiV1UserP
|
||||
|
||||
type ApiAnswerApiV1UserPasswordReplacementPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserRePassWordRequest
|
||||
}
|
||||
|
||||
@@ -1839,7 +1964,7 @@ UseRePassWord
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserPasswordReplacementPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordReplacementPost(ctx context.Context) ApiAnswerApiV1UserPasswordReplacementPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordReplacementPost(ctx context.Context) ApiAnswerApiV1UserPasswordReplacementPostRequest {
|
||||
return ApiAnswerApiV1UserPasswordReplacementPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1848,7 +1973,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordReplacementPost(ctx context.Cont
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordReplacementPostExecute(r ApiAnswerApiV1UserPasswordReplacementPostRequest) (string, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordReplacementPostExecute(r ApiAnswerApiV1UserPasswordReplacementPostRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -1856,7 +1981,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordReplacementPostExecute(r ApiAnsw
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserPasswordReplacementPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserPasswordReplacementPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -1928,7 +2053,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordReplacementPostExecute(r ApiAnsw
|
||||
|
||||
type ApiAnswerApiV1UserPasswordResetPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserRetrievePassWordRequest
|
||||
}
|
||||
|
||||
@@ -1950,7 +2075,7 @@ RetrievePassWord
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserPasswordResetPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordResetPost(ctx context.Context) ApiAnswerApiV1UserPasswordResetPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordResetPost(ctx context.Context) ApiAnswerApiV1UserPasswordResetPostRequest {
|
||||
return ApiAnswerApiV1UserPasswordResetPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -1959,7 +2084,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordResetPost(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return string
|
||||
func (a *UserApiService) AnswerApiV1UserPasswordResetPostExecute(r ApiAnswerApiV1UserPasswordResetPostRequest) (string, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserPasswordResetPostExecute(r ApiAnswerApiV1UserPasswordResetPostRequest) (string, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -1967,7 +2092,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordResetPostExecute(r ApiAnswerApiV
|
||||
localVarReturnValue string
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserPasswordResetPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserPasswordResetPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -2039,7 +2164,7 @@ func (a *UserApiService) AnswerApiV1UserPasswordResetPostExecute(r ApiAnswerApiV
|
||||
|
||||
type ApiAnswerApiV1UserRankingGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserRankingGetRequest) Execute() (*AnswerApiV1UserRankingGet200Response, *http.Response, error) {
|
||||
@@ -2054,7 +2179,7 @@ get user ranking
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserRankingGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserRankingGet(ctx context.Context) ApiAnswerApiV1UserRankingGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserRankingGet(ctx context.Context) ApiAnswerApiV1UserRankingGetRequest {
|
||||
return ApiAnswerApiV1UserRankingGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -2063,7 +2188,7 @@ func (a *UserApiService) AnswerApiV1UserRankingGet(ctx context.Context) ApiAnswe
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserRankingGet200Response
|
||||
func (a *UserApiService) AnswerApiV1UserRankingGetExecute(r ApiAnswerApiV1UserRankingGetRequest) (*AnswerApiV1UserRankingGet200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserRankingGetExecute(r ApiAnswerApiV1UserRankingGetRequest) (*AnswerApiV1UserRankingGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -2071,7 +2196,7 @@ func (a *UserApiService) AnswerApiV1UserRankingGetExecute(r ApiAnswerApiV1UserRa
|
||||
localVarReturnValue *AnswerApiV1UserRankingGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserRankingGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserRankingGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -2152,7 +2277,7 @@ func (a *UserApiService) AnswerApiV1UserRankingGetExecute(r ApiAnswerApiV1UserRa
|
||||
|
||||
type ApiAnswerApiV1UserRegisterCaptchaGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
}
|
||||
|
||||
func (r ApiAnswerApiV1UserRegisterCaptchaGetRequest) Execute() (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
@@ -2167,7 +2292,7 @@ UserRegisterCaptcha
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserRegisterCaptchaGetRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserRegisterCaptchaGet(ctx context.Context) ApiAnswerApiV1UserRegisterCaptchaGetRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserRegisterCaptchaGet(ctx context.Context) ApiAnswerApiV1UserRegisterCaptchaGetRequest {
|
||||
return ApiAnswerApiV1UserRegisterCaptchaGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -2176,7 +2301,7 @@ func (a *UserApiService) AnswerApiV1UserRegisterCaptchaGet(ctx context.Context)
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserEmailVerificationPost200Response
|
||||
func (a *UserApiService) AnswerApiV1UserRegisterCaptchaGetExecute(r ApiAnswerApiV1UserRegisterCaptchaGetRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserRegisterCaptchaGetExecute(r ApiAnswerApiV1UserRegisterCaptchaGetRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -2184,7 +2309,7 @@ func (a *UserApiService) AnswerApiV1UserRegisterCaptchaGetExecute(r ApiAnswerApi
|
||||
localVarReturnValue *AnswerApiV1UserEmailVerificationPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserRegisterCaptchaGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserRegisterCaptchaGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
@@ -2251,7 +2376,7 @@ func (a *UserApiService) AnswerApiV1UserRegisterCaptchaGetExecute(r ApiAnswerApi
|
||||
|
||||
type ApiAnswerApiV1UserRegisterEmailPostRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *UserApiService
|
||||
ApiService *UserAPIService
|
||||
data *SchemaUserRegisterReq
|
||||
}
|
||||
|
||||
@@ -2273,7 +2398,7 @@ UserRegisterByEmail
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1UserRegisterEmailPostRequest
|
||||
*/
|
||||
func (a *UserApiService) AnswerApiV1UserRegisterEmailPost(ctx context.Context) ApiAnswerApiV1UserRegisterEmailPostRequest {
|
||||
func (a *UserAPIService) AnswerApiV1UserRegisterEmailPost(ctx context.Context) ApiAnswerApiV1UserRegisterEmailPostRequest {
|
||||
return ApiAnswerApiV1UserRegisterEmailPostRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -2282,7 +2407,7 @@ func (a *UserApiService) AnswerApiV1UserRegisterEmailPost(ctx context.Context) A
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1UserEmailVerificationPost200Response
|
||||
func (a *UserApiService) AnswerApiV1UserRegisterEmailPostExecute(r ApiAnswerApiV1UserRegisterEmailPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
func (a *UserAPIService) AnswerApiV1UserRegisterEmailPostExecute(r ApiAnswerApiV1UserRegisterEmailPostRequest) (*AnswerApiV1UserEmailVerificationPost200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodPost
|
||||
localVarPostBody interface{}
|
||||
@@ -2290,7 +2415,7 @@ func (a *UserApiService) AnswerApiV1UserRegisterEmailPostExecute(r ApiAnswerApiV
|
||||
localVarReturnValue *AnswerApiV1UserEmailVerificationPost200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.AnswerApiV1UserRegisterEmailPost")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserAPIService.AnswerApiV1UserRegisterEmailPost")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
98
client.go
98
client.go
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
@@ -47,49 +47,49 @@ type APIClient struct {
|
||||
|
||||
// API Services
|
||||
|
||||
ActivityApi *ActivityApiService
|
||||
ActivityAPI *ActivityAPIService
|
||||
|
||||
AdminApi *AdminApiService
|
||||
AdminAPI *AdminAPIService
|
||||
|
||||
AdminPluginApi *AdminPluginApiService
|
||||
AdminPluginAPI *AdminPluginAPIService
|
||||
|
||||
ApiAnswerApi *ApiAnswerApiService
|
||||
ApiAnswerAPI *ApiAnswerAPIService
|
||||
|
||||
CollectionApi *CollectionApiService
|
||||
CollectionAPI *CollectionAPIService
|
||||
|
||||
CommentApi *CommentApiService
|
||||
CommentAPI *CommentAPIService
|
||||
|
||||
InstallationApi *InstallationApiService
|
||||
InstallationAPI *InstallationAPIService
|
||||
|
||||
LangApi *LangApiService
|
||||
LangAPI *LangAPIService
|
||||
|
||||
NotificationApi *NotificationApiService
|
||||
NotificationAPI *NotificationAPIService
|
||||
|
||||
PermissionApi *PermissionApiService
|
||||
PermissionAPI *PermissionAPIService
|
||||
|
||||
PersonalApi *PersonalApiService
|
||||
PersonalAPI *PersonalAPIService
|
||||
|
||||
PluginConnectorApi *PluginConnectorApiService
|
||||
PluginConnectorAPI *PluginConnectorAPIService
|
||||
|
||||
QuestionApi *QuestionApiService
|
||||
QuestionAPI *QuestionAPIService
|
||||
|
||||
RankApi *RankApiService
|
||||
RankAPI *RankAPIService
|
||||
|
||||
ReasonApi *ReasonApiService
|
||||
ReasonAPI *ReasonAPIService
|
||||
|
||||
ReportApi *ReportApiService
|
||||
ReportAPI *ReportAPIService
|
||||
|
||||
RevisionApi *RevisionApiService
|
||||
RevisionAPI *RevisionAPIService
|
||||
|
||||
SearchApi *SearchApiService
|
||||
SearchAPI *SearchAPIService
|
||||
|
||||
SiteApi *SiteApiService
|
||||
SiteAPI *SiteAPIService
|
||||
|
||||
TagApi *TagApiService
|
||||
TagAPI *TagAPIService
|
||||
|
||||
UploadApi *UploadApiService
|
||||
UploadAPI *UploadAPIService
|
||||
|
||||
UserApi *UserApiService
|
||||
UserAPI *UserAPIService
|
||||
}
|
||||
|
||||
type service struct {
|
||||
@@ -108,28 +108,28 @@ func NewAPIClient(cfg *Configuration) *APIClient {
|
||||
c.common.client = c
|
||||
|
||||
// API Services
|
||||
c.ActivityApi = (*ActivityApiService)(&c.common)
|
||||
c.AdminApi = (*AdminApiService)(&c.common)
|
||||
c.AdminPluginApi = (*AdminPluginApiService)(&c.common)
|
||||
c.ApiAnswerApi = (*ApiAnswerApiService)(&c.common)
|
||||
c.CollectionApi = (*CollectionApiService)(&c.common)
|
||||
c.CommentApi = (*CommentApiService)(&c.common)
|
||||
c.InstallationApi = (*InstallationApiService)(&c.common)
|
||||
c.LangApi = (*LangApiService)(&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.RankApi = (*RankApiService)(&c.common)
|
||||
c.ReasonApi = (*ReasonApiService)(&c.common)
|
||||
c.ReportApi = (*ReportApiService)(&c.common)
|
||||
c.RevisionApi = (*RevisionApiService)(&c.common)
|
||||
c.SearchApi = (*SearchApiService)(&c.common)
|
||||
c.SiteApi = (*SiteApiService)(&c.common)
|
||||
c.TagApi = (*TagApiService)(&c.common)
|
||||
c.UploadApi = (*UploadApiService)(&c.common)
|
||||
c.UserApi = (*UserApiService)(&c.common)
|
||||
c.ActivityAPI = (*ActivityAPIService)(&c.common)
|
||||
c.AdminAPI = (*AdminAPIService)(&c.common)
|
||||
c.AdminPluginAPI = (*AdminPluginAPIService)(&c.common)
|
||||
c.ApiAnswerAPI = (*ApiAnswerAPIService)(&c.common)
|
||||
c.CollectionAPI = (*CollectionAPIService)(&c.common)
|
||||
c.CommentAPI = (*CommentAPIService)(&c.common)
|
||||
c.InstallationAPI = (*InstallationAPIService)(&c.common)
|
||||
c.LangAPI = (*LangAPIService)(&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.RankAPI = (*RankAPIService)(&c.common)
|
||||
c.ReasonAPI = (*ReasonAPIService)(&c.common)
|
||||
c.ReportAPI = (*ReportAPIService)(&c.common)
|
||||
c.RevisionAPI = (*RevisionAPIService)(&c.common)
|
||||
c.SearchAPI = (*SearchAPIService)(&c.common)
|
||||
c.SiteAPI = (*SiteAPIService)(&c.common)
|
||||
c.TagAPI = (*TagAPIService)(&c.common)
|
||||
c.UploadAPI = (*UploadAPIService)(&c.common)
|
||||
c.UserAPI = (*UserAPIService)(&c.common)
|
||||
|
||||
return c
|
||||
}
|
||||
@@ -497,6 +497,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return
|
||||
}
|
||||
_, err = f.Seek(0, io.SeekStart)
|
||||
err = os.Remove(f.Name())
|
||||
return
|
||||
}
|
||||
if f, ok := v.(**os.File); ok {
|
||||
@@ -509,6 +510,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
||||
return
|
||||
}
|
||||
_, err = (*f).Seek(0, io.SeekStart)
|
||||
err = os.Remove((*f).Name())
|
||||
return
|
||||
}
|
||||
if xmlCheck.MatchString(contentType) {
|
||||
@@ -585,7 +587,11 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e
|
||||
} else if jsonCheck.MatchString(contentType) {
|
||||
err = json.NewEncoder(bodyBuf).Encode(body)
|
||||
} else if xmlCheck.MatchString(contentType) {
|
||||
err = xml.NewEncoder(bodyBuf).Encode(body)
|
||||
var bs []byte
|
||||
bs, err = xml.Marshal(body)
|
||||
if err == nil {
|
||||
bodyBuf.Write(bs)
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
||||
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# \ActivityApi
|
||||
# \ActivityAPI
|
||||
|
||||
All URIs are relative to *http://localhost*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**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
|
||||
[**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
|
||||
[**AnswerApiV1VoteUpPost**](ActivityApi.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
||||
[**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
|
||||
[**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
|
||||
[**AnswerApiV1VoteUpPost**](ActivityAPI.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -37,13 +37,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ActivityApi.AnswerApiV1FollowPost(context.Background()).Data(data).Execute()
|
||||
resp, r, err := apiClient.ActivityAPI.AnswerApiV1FollowPost(context.Background()).Data(data).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityApi.AnswerApiV1FollowPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityAPI.AnswerApiV1FollowPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AnswerApiV1FollowPost`: AnswerApiV1FollowPost200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityApi.AnswerApiV1FollowPost`: %v\n", resp)
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityAPI.AnswerApiV1FollowPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -95,7 +95,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -103,13 +103,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ActivityApi.AnswerApiV1FollowTagsPut(context.Background()).Data(data).Execute()
|
||||
resp, r, err := apiClient.ActivityAPI.AnswerApiV1FollowTagsPut(context.Background()).Data(data).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityApi.AnswerApiV1FollowTagsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityAPI.AnswerApiV1FollowTagsPut``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AnswerApiV1FollowTagsPut`: HandlerRespBody
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityApi.AnswerApiV1FollowTagsPut`: %v\n", resp)
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityAPI.AnswerApiV1FollowTagsPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -161,7 +161,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -170,13 +170,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ActivityApi.AnswerApiV1PersonalVotePageGet(context.Background()).Page(page).PageSize(pageSize).Execute()
|
||||
resp, r, err := apiClient.ActivityAPI.AnswerApiV1PersonalVotePageGet(context.Background()).Page(page).PageSize(pageSize).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityApi.AnswerApiV1PersonalVotePageGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityAPI.AnswerApiV1PersonalVotePageGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AnswerApiV1PersonalVotePageGet`: AnswerApiV1PersonalVotePageGet200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityApi.AnswerApiV1PersonalVotePageGet`: %v\n", resp)
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityAPI.AnswerApiV1PersonalVotePageGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -229,7 +229,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -237,13 +237,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ActivityApi.AnswerApiV1VoteDownPost(context.Background()).Data(data).Execute()
|
||||
resp, r, err := apiClient.ActivityAPI.AnswerApiV1VoteDownPost(context.Background()).Data(data).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityApi.AnswerApiV1VoteDownPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityAPI.AnswerApiV1VoteDownPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AnswerApiV1VoteDownPost`: AnswerApiV1VoteDownPost200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityApi.AnswerApiV1VoteDownPost`: %v\n", resp)
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityAPI.AnswerApiV1VoteDownPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -295,7 +295,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -303,13 +303,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.ActivityApi.AnswerApiV1VoteUpPost(context.Background()).Data(data).Execute()
|
||||
resp, r, err := apiClient.ActivityAPI.AnswerApiV1VoteUpPost(context.Background()).Data(data).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityApi.AnswerApiV1VoteUpPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ActivityAPI.AnswerApiV1VoteUpPost``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `AnswerApiV1VoteUpPost`: AnswerApiV1VoteDownPost200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityApi.AnswerApiV1VoteUpPost`: %v\n", resp)
|
||||
fmt.Fprintf(os.Stdout, "Response from `ActivityAPI.AnswerApiV1VoteUpPost`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
||||
# \AdminPluginApi
|
||||
# \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**](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
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -36,13 +36,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigGet(context.Background()).PluginSlugName(pluginSlugName).Execute()
|
||||
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, "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)
|
||||
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginConfigGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -94,7 +94,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -102,13 +102,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigPut(context.Background()).Data(data).Execute()
|
||||
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, "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)
|
||||
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginConfigPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -160,7 +160,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -168,13 +168,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginStatusPut(context.Background()).Data(data).Execute()
|
||||
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, "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)
|
||||
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginStatusPut`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -226,7 +226,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -235,13 +235,13 @@ func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AdminPluginApi.AnswerAdminApiPluginsGet(context.Background()).Status(status).HaveConfig(haveConfig).Execute()
|
||||
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, "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)
|
||||
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginsGet`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetPluginConfigResp**](SchemaGetPluginConfigResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults instantiates a new Answe
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetData() SchemaGetPluginConfigResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginConfigGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaGetPluginListResp**](SchemaGetPluginListResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiPluginsGet200ResponseWithDefaults instantiates a new AnswerAdmi
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetData() []SchemaGetPluginListResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiPluginsGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaGetRoleResp**](SchemaGetRoleResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiRolesGet200ResponseWithDefaults instantiates a new AnswerAdminA
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetData() []SchemaGetRoleResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiRolesGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiRolesGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiRolesGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetPrivilegesConfigResp**](SchemaGetPrivilegesConfigResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults instantiates a new
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetData() SchemaGetPrivilegesConfigResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetSMTPConfigResp**](SchemaGetSMTPConfigResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSettingSmtpGet200ResponseWithDefaults instantiates a new Answer
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetData() SchemaGetSMTPConfigResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteBrandingResp**](SchemaSiteBrandingResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoBrandingGet200ResponseWithDefaults instantiates a new A
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetData() SchemaSiteBrandingResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteCustomCssHTMLResp**](SchemaSiteCustomCssHTMLResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoCustomCssHtmlGet200ResponseWithDefaults instantiates a
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetData() SchemaSiteCustomCssHTMLResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteGeneralResp**](SchemaSiteGeneralResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoGeneralGet200ResponseWithDefaults instantiates a new An
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetData() SchemaSiteGeneralResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteInterfaceResp**](SchemaSiteInterfaceResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoInterfaceGet200ResponseWithDefaults instantiates a new
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetData() SchemaSiteInterfaceResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteLegalResp**](SchemaSiteLegalResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoLegalGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetData() SchemaSiteLegalResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteLoginResp**](SchemaSiteLoginResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoLoginGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetData() SchemaSiteLoginResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteSeoResp**](SchemaSiteSeoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoSeoGet200ResponseWithDefaults instantiates a new Answer
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetData() SchemaSiteSeoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteThemeResp**](SchemaSiteThemeResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoThemeGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetData() SchemaSiteThemeResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteUsersResp**](SchemaSiteUsersResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetData() SchemaSiteUsersResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteWriteResp**](SchemaSiteWriteResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoWriteGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetData() SchemaSiteWriteResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetUserActivationResp**](SchemaGetUserActivationResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiUserActivationGet200ResponseWithDefaults instantiates a new Ans
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetData() SchemaGetUserActivationResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiUserActivationGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerAdminApiUsersPageGet200ResponseData**](AnswerAdminApiUsersPageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerAdminApiUsersPageGet200ResponseAllOfData**](AnswerAdminApiUsersPageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerAdminApiUsersPageGet200ResponseWithDefaults instantiates a new AnswerAd
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetData() AnswerAdminApiUsersPageGet200ResponseData`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetData() AnswerAdminApiUsersPageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetDataOk() (*AnswerAdminApiUsersPageGet200ResponseData, bool)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetDataOk() (*AnswerAdminApiUsersPageGet200ResponseAllOfData, 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 *AnswerAdminApiUsersPageGet200Response) SetData(v AnswerAdminApiUsersPageGet200ResponseData)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetData(v AnswerAdminApiUsersPageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerAdminApiUsersPageGet200ResponseData
|
||||
# AnswerAdminApiUsersPageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -10,95 +10,95 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseData
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseData() *AnswerAdminApiUsersPageGet200ResponseData`
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseAllOfData() *AnswerAdminApiUsersPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerAdminApiUsersPageGet200ResponseData instantiates a new AnswerAdminApiUsersPageGet200ResponseData object
|
||||
NewAnswerAdminApiUsersPageGet200ResponseAllOfData instantiates a new AnswerAdminApiUsersPageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseDataWithDefaults
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseDataWithDefaults() *AnswerAdminApiUsersPageGet200ResponseData`
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseAllOfDataWithDefaults() *AnswerAdminApiUsersPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerAdminApiUsersPageGet200ResponseDataWithDefaults instantiates a new AnswerAdminApiUsersPageGet200ResponseData object
|
||||
NewAnswerAdminApiUsersPageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerAdminApiUsersPageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetList() map[string]interface{}`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetList() map[string]interface{}`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetListOk() (*map[string]interface{}, bool)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetListOk() (*map[string]interface{}, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetList(v map[string]interface{})`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetList(v map[string]interface{})`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
### GetRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetRecords() []SchemaGetUserPageResp`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetRecords() []SchemaGetUserPageResp`
|
||||
|
||||
GetRecords returns the Records field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRecordsOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetRecordsOk() (*[]SchemaGetUserPageResp, bool)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetRecordsOk() (*[]SchemaGetUserPageResp, bool)`
|
||||
|
||||
GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetRecords(v []SchemaGetUserPageResp)`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetRecords(v []SchemaGetUserPageResp)`
|
||||
|
||||
SetRecords sets Records field to given value.
|
||||
|
||||
### HasRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasRecords() bool`
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasRecords() bool`
|
||||
|
||||
HasRecords returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerAdminApiUsersPageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Records** | Pointer to [**[]SchemaGetUserPageResp**](SchemaGetUserPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseDataAllOf() *AnswerAdminApiUsersPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerAdminApiUsersPageGet200ResponseDataAllOf instantiates a new AnswerAdminApiUsersPageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerAdminApiUsersPageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerAdminApiUsersPageGet200ResponseDataAllOfWithDefaults() *AnswerAdminApiUsersPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerAdminApiUsersPageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerAdminApiUsersPageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseDataAllOf) GetRecords() []SchemaGetUserPageResp`
|
||||
|
||||
GetRecords returns the Records field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRecordsOk
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseDataAllOf) GetRecordsOk() (*[]SchemaGetUserPageResp, bool)`
|
||||
|
||||
GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseDataAllOf) SetRecords(v []SchemaGetUserPageResp)`
|
||||
|
||||
SetRecords sets Records field to given value.
|
||||
|
||||
### HasRecords
|
||||
|
||||
`func (o *AnswerAdminApiUsersPageGet200ResponseDataAllOf) HasRecords() bool`
|
||||
|
||||
HasRecords returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetObjectTimelineResp**](SchemaGetObjectTimelineResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1ActivityTimelineGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetData() SchemaGetObjectTimelineResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaCollectionSwitchResp**](SchemaCollectionSwitchResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1CollectionSwitchPost200ResponseWithDefaults instantiates a new Ans
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetData() SchemaCollectionSwitchResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1CommentGet200ResponseData**](AnswerApiV1CommentGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1CommentGet200ResponseAllOfData**](AnswerApiV1CommentGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1CommentGet200ResponseWithDefaults instantiates a new AnswerApiV1Co
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetData() AnswerApiV1CommentGet200ResponseData`
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetData() AnswerApiV1CommentGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetDataOk() (*AnswerApiV1CommentGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetDataOk() (*AnswerApiV1CommentGet200ResponseAllOfData, 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 *AnswerApiV1CommentGet200Response) SetData(v AnswerApiV1CommentGet200ResponseData)`
|
||||
`func (o *AnswerApiV1CommentGet200Response) SetData(v AnswerApiV1CommentGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1CommentGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1CommentGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1CommentGet200ResponseData
|
||||
# AnswerApiV1CommentGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1CommentGet200ResponseData
|
||||
### NewAnswerApiV1CommentGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1CommentGet200ResponseData() *AnswerApiV1CommentGet200ResponseData`
|
||||
`func NewAnswerApiV1CommentGet200ResponseAllOfData() *AnswerApiV1CommentGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1CommentGet200ResponseData instantiates a new AnswerApiV1CommentGet200ResponseData object
|
||||
NewAnswerApiV1CommentGet200ResponseAllOfData instantiates a new AnswerApiV1CommentGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1CommentGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1CommentGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1CommentGet200ResponseDataWithDefaults() *AnswerApiV1CommentGet200ResponseData`
|
||||
`func NewAnswerApiV1CommentGet200ResponseAllOfDataWithDefaults() *AnswerApiV1CommentGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1CommentGet200ResponseDataWithDefaults instantiates a new AnswerApiV1CommentGet200ResponseData object
|
||||
NewAnswerApiV1CommentGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1CommentGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetList() []SchemaGetCommentResp`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetList() []SchemaGetCommentResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetListOk() (*[]SchemaGetCommentResp, bool)`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetListOk() (*[]SchemaGetCommentResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) SetList(v []SchemaGetCommentResp)`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) SetList(v []SchemaGetCommentResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1CommentGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetCommentResp**](SchemaGetCommentResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1CommentGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1CommentGet200ResponseDataAllOf() *AnswerApiV1CommentGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1CommentGet200ResponseDataAllOf instantiates a new AnswerApiV1CommentGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1CommentGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1CommentGet200ResponseDataAllOfWithDefaults() *AnswerApiV1CommentGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1CommentGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1CommentGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseDataAllOf) GetList() []SchemaGetCommentResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetCommentResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseDataAllOf) SetList(v []SchemaGetCommentResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1CommentGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetCommentResp**](SchemaGetCommentResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1CommentPost200ResponseWithDefaults instantiates a new AnswerApiV1C
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetData() SchemaGetCommentResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1CommentPost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1CommentPost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1CommentPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaExternalLoginBindingUserSendEmailResp**](SchemaExternalLoginBindingUserSendEmailResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults instantiates a ne
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetData() SchemaExternalLoginBindingUserSendEmailResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaConnectorInfoResp**](SchemaConnectorInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults instantiates a new AnswerA
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetData() []SchemaConnectorInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaConnectorUserInfoResp**](SchemaConnectorUserInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults instantiates a new Ans
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetData() []SchemaConnectorUserInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to **string** | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1FilePost200ResponseWithDefaults instantiates a new AnswerApiV1File
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetData() string`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1FilePost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1FilePost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1FilePost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1FilePost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1FilePost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaFollowResp**](SchemaFollowResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1FollowPost200ResponseWithDefaults instantiates a new AnswerApiV1Fo
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetData() SchemaFollowResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1FollowPost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1FollowPost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1FollowPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to **map[string]bool** | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1PermissionGet200ResponseWithDefaults instantiates a new AnswerApiV
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetData() map[string]bool`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1PermissionGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1PermissionGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1PermissionGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalCommentPageGet200ResponseData**](AnswerApiV1PersonalCommentPageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalCommentPageGet200ResponseAllOfData**](AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalCommentPageGet200ResponseWithDefaults instantiates a new A
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetData() AnswerApiV1PersonalCommentPageGet200ResponseData`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetData() AnswerApiV1PersonalCommentPageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetDataOk() (*AnswerApiV1PersonalCommentPageGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetDataOk() (*AnswerApiV1PersonalCommentPageGet200ResponseAllOfData, 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 *AnswerApiV1PersonalCommentPageGet200Response) SetData(v AnswerApiV1PersonalCommentPageGet200ResponseData)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetData(v AnswerApiV1PersonalCommentPageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1PersonalCommentPageGet200ResponseData
|
||||
# AnswerApiV1PersonalCommentPageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseData
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseData() *AnswerApiV1PersonalCommentPageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfData() *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseData instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfData instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseDataWithDefaults() *AnswerApiV1PersonalCommentPageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetList() []SchemaGetCommentPersonalWithPageResp`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetList() []SchemaGetCommentPersonalWithPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetListOk() (*[]SchemaGetCommentPersonalWithPageResp, bool)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetListOk() (*[]SchemaGetCommentPersonalWithPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) SetList(v []SchemaGetCommentPersonalWithPageResp)`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) SetList(v []SchemaGetCommentPersonalWithPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetCommentPersonalWithPageResp**](SchemaGetCommentPersonalWithPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOf() *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOf instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOfWithDefaults() *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalCommentPageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf) GetList() []SchemaGetCommentPersonalWithPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetCommentPersonalWithPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf) SetList(v []SchemaGetCommentPersonalWithPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalRankPageGet200ResponseData**](AnswerApiV1PersonalRankPageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalRankPageGet200ResponseAllOfData**](AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalRankPageGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetData() AnswerApiV1PersonalRankPageGet200ResponseData`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetData() AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetDataOk() (*AnswerApiV1PersonalRankPageGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetDataOk() (*AnswerApiV1PersonalRankPageGet200ResponseAllOfData, 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 *AnswerApiV1PersonalRankPageGet200Response) SetData(v AnswerApiV1PersonalRankPageGet200ResponseData)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetData(v AnswerApiV1PersonalRankPageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1PersonalRankPageGet200ResponseData
|
||||
# AnswerApiV1PersonalRankPageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseData
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseData() *AnswerApiV1PersonalRankPageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseAllOfData() *AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseData instantiates a new AnswerApiV1PersonalRankPageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseAllOfData instantiates a new AnswerApiV1PersonalRankPageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseDataWithDefaults() *AnswerApiV1PersonalRankPageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1PersonalRankPageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1PersonalRankPageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetList() []SchemaGetRankPersonalPageResp`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetList() []SchemaGetRankPersonalPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetListOk() (*[]SchemaGetRankPersonalPageResp, bool)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetListOk() (*[]SchemaGetRankPersonalPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1PersonalRankPageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetRankPersonalPageResp**](SchemaGetRankPersonalPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOf() *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOf instantiates a new AnswerApiV1PersonalRankPageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOfWithDefaults() *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalRankPageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1PersonalRankPageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetList() []SchemaGetRankPersonalPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetRankPersonalPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetOtherUserInfoResp**](SchemaGetOtherUserInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1PersonalUserInfoGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetData() SchemaGetOtherUserInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalVotePageGet200ResponseData**](AnswerApiV1PersonalVotePageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1PersonalVotePageGet200ResponseAllOfData**](AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalVotePageGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetData() AnswerApiV1PersonalVotePageGet200ResponseData`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetData() AnswerApiV1PersonalVotePageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetDataOk() (*AnswerApiV1PersonalVotePageGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetDataOk() (*AnswerApiV1PersonalVotePageGet200ResponseAllOfData, 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 *AnswerApiV1PersonalVotePageGet200Response) SetData(v AnswerApiV1PersonalVotePageGet200ResponseData)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetData(v AnswerApiV1PersonalVotePageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1PersonalVotePageGet200ResponseData
|
||||
# AnswerApiV1PersonalVotePageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseData
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseData() *AnswerApiV1PersonalVotePageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseAllOfData() *AnswerApiV1PersonalVotePageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseData instantiates a new AnswerApiV1PersonalVotePageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseAllOfData instantiates a new AnswerApiV1PersonalVotePageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseDataWithDefaults() *AnswerApiV1PersonalVotePageGet200ResponseData`
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1PersonalVotePageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1PersonalVotePageGet200ResponseData object
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1PersonalVotePageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetList() []SchemaGetVoteWithPageResp`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetList() []SchemaGetVoteWithPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetListOk() (*[]SchemaGetVoteWithPageResp, bool)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetListOk() (*[]SchemaGetVoteWithPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) SetList(v []SchemaGetVoteWithPageResp)`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) SetList(v []SchemaGetVoteWithPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1PersonalVotePageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetVoteWithPageResp**](SchemaGetVoteWithPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOf() *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOf instantiates a new AnswerApiV1PersonalVotePageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOfWithDefaults() *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1PersonalVotePageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1PersonalVotePageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf) GetList() []SchemaGetVoteWithPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetVoteWithPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf) SetList(v []SchemaGetVoteWithPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1QuestionPageGet200ResponseData**](AnswerApiV1QuestionPageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1QuestionPageGet200ResponseAllOfData**](AnswerApiV1QuestionPageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1QuestionPageGet200ResponseWithDefaults instantiates a new AnswerAp
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetData() AnswerApiV1QuestionPageGet200ResponseData`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetData() AnswerApiV1QuestionPageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetDataOk() (*AnswerApiV1QuestionPageGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetDataOk() (*AnswerApiV1QuestionPageGet200ResponseAllOfData, 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 *AnswerApiV1QuestionPageGet200Response) SetData(v AnswerApiV1QuestionPageGet200ResponseData)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetData(v AnswerApiV1QuestionPageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1QuestionPageGet200ResponseData
|
||||
# AnswerApiV1QuestionPageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseData
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseData() *AnswerApiV1QuestionPageGet200ResponseData`
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseAllOfData() *AnswerApiV1QuestionPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1QuestionPageGet200ResponseData instantiates a new AnswerApiV1QuestionPageGet200ResponseData object
|
||||
NewAnswerApiV1QuestionPageGet200ResponseAllOfData instantiates a new AnswerApiV1QuestionPageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseDataWithDefaults() *AnswerApiV1QuestionPageGet200ResponseData`
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1QuestionPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1QuestionPageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1QuestionPageGet200ResponseData object
|
||||
NewAnswerApiV1QuestionPageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1QuestionPageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetList() []SchemaQuestionPageResp`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetList() []SchemaQuestionPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetListOk() (*[]SchemaQuestionPageResp, bool)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetListOk() (*[]SchemaQuestionPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) SetList(v []SchemaQuestionPageResp)`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) SetList(v []SchemaQuestionPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1QuestionPageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaQuestionPageResp**](SchemaQuestionPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseDataAllOf() *AnswerApiV1QuestionPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1QuestionPageGet200ResponseDataAllOf instantiates a new AnswerApiV1QuestionPageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1QuestionPageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1QuestionPageGet200ResponseDataAllOfWithDefaults() *AnswerApiV1QuestionPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1QuestionPageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1QuestionPageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseDataAllOf) GetList() []SchemaQuestionPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaQuestionPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseDataAllOf) SetList(v []SchemaQuestionPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1QuestionPageGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaGetTagResp**](SchemaGetTagResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1QuestionTagsGet200ResponseWithDefaults instantiates a new AnswerAp
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetData() []SchemaGetTagResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1QuestionTagsGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,82 +0,0 @@
|
||||
# AnswerApiV1ReportTypeListGet200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**[]SchemaGetReportTypeResp**](SchemaGetReportTypeResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1ReportTypeListGet200Response
|
||||
|
||||
`func NewAnswerApiV1ReportTypeListGet200Response() *AnswerApiV1ReportTypeListGet200Response`
|
||||
|
||||
NewAnswerApiV1ReportTypeListGet200Response instantiates a new AnswerApiV1ReportTypeListGet200Response object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1ReportTypeListGet200ResponseWithDefaults
|
||||
|
||||
`func NewAnswerApiV1ReportTypeListGet200ResponseWithDefaults() *AnswerApiV1ReportTypeListGet200Response`
|
||||
|
||||
NewAnswerApiV1ReportTypeListGet200ResponseWithDefaults instantiates a new AnswerApiV1ReportTypeListGet200Response object
|
||||
This 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 *AnswerApiV1ReportTypeListGet200Response) GetData() []SchemaGetReportTypeResp`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1ReportTypeListGet200Response) GetDataOk() (*[]SchemaGetReportTypeResp, 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 *AnswerApiV1ReportTypeListGet200Response) SetData(v []SchemaGetReportTypeResp)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
### HasData
|
||||
|
||||
`func (o *AnswerApiV1ReportTypeListGet200Response) HasData() bool`
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
|
||||
`func (o *AnswerApiV1ReportTypeListGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
|
||||
`func (o *AnswerApiV1ReportTypeListGet200Response) 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 *AnswerApiV1ReportTypeListGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
|
||||
`func (o *AnswerApiV1ReportTypeListGet200Response) 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)
|
||||
|
||||
|
||||
@@ -4,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaGetRevisionResp**](SchemaGetRevisionResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1RevisionsGet200ResponseWithDefaults instantiates a new AnswerApiV1
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetData() []SchemaGetRevisionResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1RevisionsUnreviewedGet200ResponseData**](AnswerApiV1RevisionsUnreviewedGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData**](AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1RevisionsUnreviewedGet200ResponseWithDefaults instantiates a new A
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetData() AnswerApiV1RevisionsUnreviewedGet200ResponseData`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetData() AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetDataOk() (*AnswerApiV1RevisionsUnreviewedGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetDataOk() (*AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData, 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 *AnswerApiV1RevisionsUnreviewedGet200Response) SetData(v AnswerApiV1RevisionsUnreviewedGet200ResponseData)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetData(v AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1RevisionsUnreviewedGet200ResponseData
|
||||
# AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseData
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseData() *AnswerApiV1RevisionsUnreviewedGet200ResponseData`
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData() *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseData instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseData object
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataWithDefaults() *AnswerApiV1RevisionsUnreviewedGet200ResponseData`
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfDataWithDefaults() *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataWithDefaults instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseData object
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetList() []SchemaGetUnreviewedRevisionResp`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetList() []SchemaGetUnreviewedRevisionResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetListOk() (*[]SchemaGetUnreviewedRevisionResp, bool)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetListOk() (*[]SchemaGetUnreviewedRevisionResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) SetList(v []SchemaGetUnreviewedRevisionResp)`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) SetList(v []SchemaGetUnreviewedRevisionResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetUnreviewedRevisionResp**](SchemaGetUnreviewedRevisionResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf() *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOfWithDefaults() *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf) GetList() []SchemaGetUnreviewedRevisionResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetUnreviewedRevisionResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf) SetList(v []SchemaGetUnreviewedRevisionResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**SchemaSearchListResp**](SchemaSearchListResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSearchResp**](SchemaSearchResp.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1SearchGet200ResponseWithDefaults instantiates a new AnswerApiV1Sea
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetData() SchemaSearchListResp`
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetData() SchemaSearchResp`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetDataOk() (*SchemaSearchListResp, bool)`
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetDataOk() (*SchemaSearchResp, 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 *AnswerApiV1SearchGet200Response) SetData(v SchemaSearchListResp)`
|
||||
`func (o *AnswerApiV1SearchGet200Response) SetData(v SchemaSearchResp)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1SearchGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1SearchGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1SearchGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaSiteInfoResp**](SchemaSiteInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1SiteinfoGet200ResponseWithDefaults instantiates a new AnswerApiV1S
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetData() SchemaSiteInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetSiteLegalInfoResp**](SchemaGetSiteLegalInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1SiteinfoLegalGet200ResponseWithDefaults instantiates a new AnswerA
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetData() SchemaGetSiteLegalInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetTagResp**](SchemaGetTagResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagGet200ResponseWithDefaults instantiates a new AnswerApiV1TagGet
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetData() SchemaGetTagResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1TagGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1TagGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1TagGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1TagGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1TagGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetTagSynonymsResp**](SchemaGetTagSynonymsResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagSynonymsGet200ResponseWithDefaults instantiates a new AnswerApi
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetData() SchemaGetTagSynonymsResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1TagSynonymsGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**[]SchemaGetFollowingTagsResp**](SchemaGetFollowingTagsResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagsFollowingGet200ResponseWithDefaults instantiates a new AnswerA
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetData() []SchemaGetFollowingTagsResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1TagsFollowingGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**AnswerApiV1TagsPageGet200ResponseData**](AnswerApiV1TagsPageGet200ResponseData.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**AnswerApiV1TagsPageGet200ResponseAllOfData**](AnswerApiV1TagsPageGet200ResponseAllOfData.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,22 +28,47 @@ NewAnswerApiV1TagsPageGet200ResponseWithDefaults instantiates a new AnswerApiV1T
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetData() AnswerApiV1TagsPageGet200ResponseData`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetData() AnswerApiV1TagsPageGet200ResponseAllOfData`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetDataOk() (*AnswerApiV1TagsPageGet200ResponseData, bool)`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetDataOk() (*AnswerApiV1TagsPageGet200ResponseAllOfData, 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 *AnswerApiV1TagsPageGet200Response) SetData(v AnswerApiV1TagsPageGet200ResponseData)`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) SetData(v AnswerApiV1TagsPageGet200ResponseAllOfData)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,4 +1,4 @@
|
||||
# AnswerApiV1TagsPageGet200ResponseData
|
||||
# AnswerApiV1TagsPageGet200ResponseAllOfData
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1TagsPageGet200ResponseData
|
||||
### NewAnswerApiV1TagsPageGet200ResponseAllOfData
|
||||
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseData() *AnswerApiV1TagsPageGet200ResponseData`
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseAllOfData() *AnswerApiV1TagsPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1TagsPageGet200ResponseData instantiates a new AnswerApiV1TagsPageGet200ResponseData object
|
||||
NewAnswerApiV1TagsPageGet200ResponseAllOfData instantiates a new AnswerApiV1TagsPageGet200ResponseAllOfData object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1TagsPageGet200ResponseDataWithDefaults
|
||||
### NewAnswerApiV1TagsPageGet200ResponseAllOfDataWithDefaults
|
||||
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseDataWithDefaults() *AnswerApiV1TagsPageGet200ResponseData`
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1TagsPageGet200ResponseAllOfData`
|
||||
|
||||
NewAnswerApiV1TagsPageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1TagsPageGet200ResponseData object
|
||||
NewAnswerApiV1TagsPageGet200ResponseAllOfDataWithDefaults instantiates a new AnswerApiV1TagsPageGet200ResponseAllOfData object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCount
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetCount() int32`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetCount() int32`
|
||||
|
||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCountOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetCountOk() (*int32, bool)`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetCountOk() (*int32, bool)`
|
||||
|
||||
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCount
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) SetCount(v int32)`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||
|
||||
SetCount sets Count field to given value.
|
||||
|
||||
### HasCount
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) HasCount() bool`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) HasCount() bool`
|
||||
|
||||
HasCount returns a boolean if a field has been set.
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetList() []SchemaGetTagPageResp`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetList() []SchemaGetTagPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetListOk() (*[]SchemaGetTagPageResp, bool)`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetListOk() (*[]SchemaGetTagPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) SetList(v []SchemaGetTagPageResp)`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) SetList(v []SchemaGetTagPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) HasList() bool`
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AnswerApiV1TagsPageGet200ResponseDataAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**List** | Pointer to [**[]SchemaGetTagPageResp**](SchemaGetTagPageResp.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1TagsPageGet200ResponseDataAllOf
|
||||
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseDataAllOf() *AnswerApiV1TagsPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1TagsPageGet200ResponseDataAllOf instantiates a new AnswerApiV1TagsPageGet200ResponseDataAllOf object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1TagsPageGet200ResponseDataAllOfWithDefaults
|
||||
|
||||
`func NewAnswerApiV1TagsPageGet200ResponseDataAllOfWithDefaults() *AnswerApiV1TagsPageGet200ResponseDataAllOf`
|
||||
|
||||
NewAnswerApiV1TagsPageGet200ResponseDataAllOfWithDefaults instantiates a new AnswerApiV1TagsPageGet200ResponseDataAllOf object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseDataAllOf) GetList() []SchemaGetTagPageResp`
|
||||
|
||||
GetList returns the List field if non-nil, zero value otherwise.
|
||||
|
||||
### GetListOk
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetTagPageResp, bool)`
|
||||
|
||||
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.
|
||||
|
||||
### SetList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseDataAllOf) SetList(v []SchemaGetTagPageResp)`
|
||||
|
||||
SetList sets List field to given value.
|
||||
|
||||
### HasList
|
||||
|
||||
`func (o *AnswerApiV1TagsPageGet200ResponseDataAllOf) HasList() bool`
|
||||
|
||||
HasList returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaActionRecordResp**](SchemaActionRecordResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1UserActionRecordGet200ResponseWithDefaults instantiates a new Answ
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetData() SchemaActionRecordResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1UserActionRecordGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaUserLoginResp**](SchemaUserLoginResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1UserEmailVerificationPost200ResponseWithDefaults instantiates a ne
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetData() SchemaUserLoginResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,8 +4,10 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetCurrentLoginUserInfoResp**](SchemaGetCurrentLoginUserInfoResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -26,6 +28,31 @@ NewAnswerApiV1UserInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1U
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetData() SchemaGetCurrentLoginUserInfoResp`
|
||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetMsg() string`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetHandlerRespBodyOk() (*HandlerRespBody, bool)`
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetHandlerRespBodyOk returns a tuple with the HandlerRespBody field if it's non-nil, zero value otherwise
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHandlerRespBody
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) SetMsg(v string)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) HasHandlerRespBody() bool`
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) HasMsg() bool`
|
||||
|
||||
HasHandlerRespBody returns a boolean if a field has been set.
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1UserInfoGet200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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,82 +0,0 @@
|
||||
# AnswerApiV1UserNoticeSetPost200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Data** | Pointer to [**SchemaUserNoticeSetResp**](SchemaUserNoticeSetResp.md) | | [optional]
|
||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1UserNoticeSetPost200Response
|
||||
|
||||
`func NewAnswerApiV1UserNoticeSetPost200Response() *AnswerApiV1UserNoticeSetPost200Response`
|
||||
|
||||
NewAnswerApiV1UserNoticeSetPost200Response instantiates a new AnswerApiV1UserNoticeSetPost200Response object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1UserNoticeSetPost200ResponseWithDefaults
|
||||
|
||||
`func NewAnswerApiV1UserNoticeSetPost200ResponseWithDefaults() *AnswerApiV1UserNoticeSetPost200Response`
|
||||
|
||||
NewAnswerApiV1UserNoticeSetPost200ResponseWithDefaults instantiates a new AnswerApiV1UserNoticeSetPost200Response object
|
||||
This 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 *AnswerApiV1UserNoticeSetPost200Response) GetData() SchemaUserNoticeSetResp`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1UserNoticeSetPost200Response) GetDataOk() (*SchemaUserNoticeSetResp, 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 *AnswerApiV1UserNoticeSetPost200Response) SetData(v SchemaUserNoticeSetResp)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
### HasData
|
||||
|
||||
`func (o *AnswerApiV1UserNoticeSetPost200Response) HasData() bool`
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetHandlerRespBody
|
||||
|
||||
`func (o *AnswerApiV1UserNoticeSetPost200Response) GetHandlerRespBody() HandlerRespBody`
|
||||
|
||||
GetHandlerRespBody returns the HandlerRespBody field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHandlerRespBodyOk
|
||||
|
||||
`func (o *AnswerApiV1UserNoticeSetPost200Response) 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 *AnswerApiV1UserNoticeSetPost200Response) SetHandlerRespBody(v HandlerRespBody)`
|
||||
|
||||
SetHandlerRespBody sets HandlerRespBody field to given value.
|
||||
|
||||
### HasHandlerRespBody
|
||||
|
||||
`func (o *AnswerApiV1UserNoticeSetPost200Response) 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)
|
||||
|
||||
|
||||
134
docs/AnswerApiV1UserNotificationConfigPost200Response.md
Normal file
134
docs/AnswerApiV1UserNotificationConfigPost200Response.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# AnswerApiV1UserNotificationConfigPost200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Code** | Pointer to **int32** | http code | [optional]
|
||||
**Data** | Pointer to [**SchemaGetUserNotificationConfigResp**](SchemaGetUserNotificationConfigResp.md) | | [optional]
|
||||
**Msg** | Pointer to **string** | response message | [optional]
|
||||
**Reason** | Pointer to **string** | reason key | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewAnswerApiV1UserNotificationConfigPost200Response
|
||||
|
||||
`func NewAnswerApiV1UserNotificationConfigPost200Response() *AnswerApiV1UserNotificationConfigPost200Response`
|
||||
|
||||
NewAnswerApiV1UserNotificationConfigPost200Response instantiates a new AnswerApiV1UserNotificationConfigPost200Response object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewAnswerApiV1UserNotificationConfigPost200ResponseWithDefaults
|
||||
|
||||
`func NewAnswerApiV1UserNotificationConfigPost200ResponseWithDefaults() *AnswerApiV1UserNotificationConfigPost200Response`
|
||||
|
||||
NewAnswerApiV1UserNotificationConfigPost200ResponseWithDefaults instantiates a new AnswerApiV1UserNotificationConfigPost200Response object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetCode
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetCode() int32`
|
||||
|
||||
GetCode returns the Code field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCodeOk
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetCodeOk() (*int32, bool)`
|
||||
|
||||
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCode
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) SetCode(v int32)`
|
||||
|
||||
SetCode sets Code field to given value.
|
||||
|
||||
### HasCode
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) HasCode() bool`
|
||||
|
||||
HasCode returns a boolean if a field has been set.
|
||||
|
||||
### GetData
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetData() SchemaGetUserNotificationConfigResp`
|
||||
|
||||
GetData returns the Data field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDataOk
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetDataOk() (*SchemaGetUserNotificationConfigResp, 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 *AnswerApiV1UserNotificationConfigPost200Response) SetData(v SchemaGetUserNotificationConfigResp)`
|
||||
|
||||
SetData sets Data field to given value.
|
||||
|
||||
### HasData
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) HasData() bool`
|
||||
|
||||
HasData returns a boolean if a field has been set.
|
||||
|
||||
### GetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetMsg() string`
|
||||
|
||||
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMsgOk
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetMsgOk() (*string, bool)`
|
||||
|
||||
GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMsg
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) SetMsg(v string)`
|
||||
|
||||
SetMsg sets Msg field to given value.
|
||||
|
||||
### HasMsg
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) HasMsg() bool`
|
||||
|
||||
HasMsg returns a boolean if a field has been set.
|
||||
|
||||
### GetReason
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetReason() string`
|
||||
|
||||
GetReason returns the Reason field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReasonOk
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) GetReasonOk() (*string, bool)`
|
||||
|
||||
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReason
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) SetReason(v string)`
|
||||
|
||||
SetReason sets Reason field to given value.
|
||||
|
||||
### HasReason
|
||||
|
||||
`func (o *AnswerApiV1UserNotificationConfigPost200Response) HasReason() bool`
|
||||
|
||||
HasReason returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[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