Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d72897f080 | |||
| 73222eee28 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,5 +22,3 @@ _testmain.go
|
|||||||
*.exe
|
*.exe
|
||||||
*.test
|
*.test
|
||||||
*.prof
|
*.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>
|
||||||
@@ -5,12 +5,16 @@ README.md
|
|||||||
api/openapi.yaml
|
api/openapi.yaml
|
||||||
api_activity.go
|
api_activity.go
|
||||||
api_admin.go
|
api_admin.go
|
||||||
|
api_admin_plugin.go
|
||||||
api_api_answer.go
|
api_api_answer.go
|
||||||
api_collection.go
|
api_collection.go
|
||||||
api_comment.go
|
api_comment.go
|
||||||
api_installation.go
|
api_installation.go
|
||||||
api_lang.go
|
api_lang.go
|
||||||
api_notification.go
|
api_notification.go
|
||||||
|
api_permission.go
|
||||||
|
api_personal.go
|
||||||
|
api_plugin_connector.go
|
||||||
api_question.go
|
api_question.go
|
||||||
api_rank.go
|
api_rank.go
|
||||||
api_reason.go
|
api_reason.go
|
||||||
@@ -23,9 +27,13 @@ api_upload.go
|
|||||||
api_user.go
|
api_user.go
|
||||||
client.go
|
client.go
|
||||||
configuration.go
|
configuration.go
|
||||||
docs/ActivityApi.md
|
docs/ActivityAPI.md
|
||||||
docs/AdminApi.md
|
docs/AdminAPI.md
|
||||||
|
docs/AdminPluginAPI.md
|
||||||
|
docs/AnswerAdminApiPluginConfigGet200Response.md
|
||||||
|
docs/AnswerAdminApiPluginsGet200Response.md
|
||||||
docs/AnswerAdminApiRolesGet200Response.md
|
docs/AnswerAdminApiRolesGet200Response.md
|
||||||
|
docs/AnswerAdminApiSettingPrivilegesGet200Response.md
|
||||||
docs/AnswerAdminApiSettingSmtpGet200Response.md
|
docs/AnswerAdminApiSettingSmtpGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoBrandingGet200Response.md
|
docs/AnswerAdminApiSiteinfoBrandingGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md
|
docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md
|
||||||
@@ -35,37 +43,35 @@ docs/AnswerAdminApiSiteinfoLegalGet200Response.md
|
|||||||
docs/AnswerAdminApiSiteinfoLoginGet200Response.md
|
docs/AnswerAdminApiSiteinfoLoginGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoSeoGet200Response.md
|
docs/AnswerAdminApiSiteinfoSeoGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoThemeGet200Response.md
|
docs/AnswerAdminApiSiteinfoThemeGet200Response.md
|
||||||
|
docs/AnswerAdminApiSiteinfoUsersGet200Response.md
|
||||||
docs/AnswerAdminApiSiteinfoWriteGet200Response.md
|
docs/AnswerAdminApiSiteinfoWriteGet200Response.md
|
||||||
|
docs/AnswerAdminApiUserActivationGet200Response.md
|
||||||
docs/AnswerAdminApiUsersPageGet200Response.md
|
docs/AnswerAdminApiUsersPageGet200Response.md
|
||||||
docs/AnswerAdminApiUsersPageGet200ResponseData.md
|
docs/AnswerAdminApiUsersPageGet200ResponseAllOfData.md
|
||||||
docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1ActivityTimelineGet200Response.md
|
docs/AnswerApiV1ActivityTimelineGet200Response.md
|
||||||
docs/AnswerApiV1CollectionSwitchPost200Response.md
|
docs/AnswerApiV1CollectionSwitchPost200Response.md
|
||||||
docs/AnswerApiV1CommentGet200Response.md
|
docs/AnswerApiV1CommentGet200Response.md
|
||||||
docs/AnswerApiV1CommentGet200ResponseData.md
|
docs/AnswerApiV1CommentGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1CommentGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1CommentPost200Response.md
|
docs/AnswerApiV1CommentPost200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorInfoGet200Response.md
|
||||||
|
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
|
||||||
docs/AnswerApiV1FilePost200Response.md
|
docs/AnswerApiV1FilePost200Response.md
|
||||||
docs/AnswerApiV1FollowPost200Response.md
|
docs/AnswerApiV1FollowPost200Response.md
|
||||||
|
docs/AnswerApiV1PermissionGet200Response.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200Response.md
|
docs/AnswerApiV1PersonalCommentPageGet200Response.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md
|
docs/AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1PersonalRankPageGet200Response.md
|
docs/AnswerApiV1PersonalRankPageGet200Response.md
|
||||||
docs/AnswerApiV1PersonalRankPageGet200ResponseData.md
|
docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1PersonalRankPageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1PersonalUserInfoGet200Response.md
|
docs/AnswerApiV1PersonalUserInfoGet200Response.md
|
||||||
docs/AnswerApiV1PersonalVotePageGet200Response.md
|
docs/AnswerApiV1PersonalVotePageGet200Response.md
|
||||||
docs/AnswerApiV1PersonalVotePageGet200ResponseData.md
|
docs/AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1PersonalVotePageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1QuestionPageGet200Response.md
|
docs/AnswerApiV1QuestionPageGet200Response.md
|
||||||
docs/AnswerApiV1QuestionPageGet200ResponseData.md
|
docs/AnswerApiV1QuestionPageGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1QuestionTagsGet200Response.md
|
docs/AnswerApiV1QuestionTagsGet200Response.md
|
||||||
docs/AnswerApiV1ReportTypeListGet200Response.md
|
|
||||||
docs/AnswerApiV1RevisionsGet200Response.md
|
docs/AnswerApiV1RevisionsGet200Response.md
|
||||||
docs/AnswerApiV1RevisionsUnreviewedGet200Response.md
|
docs/AnswerApiV1RevisionsUnreviewedGet200Response.md
|
||||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md
|
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1SearchGet200Response.md
|
docs/AnswerApiV1SearchGet200Response.md
|
||||||
docs/AnswerApiV1SiteinfoGet200Response.md
|
docs/AnswerApiV1SiteinfoGet200Response.md
|
||||||
docs/AnswerApiV1SiteinfoLegalGet200Response.md
|
docs/AnswerApiV1SiteinfoLegalGet200Response.md
|
||||||
@@ -73,32 +79,37 @@ docs/AnswerApiV1TagGet200Response.md
|
|||||||
docs/AnswerApiV1TagSynonymsGet200Response.md
|
docs/AnswerApiV1TagSynonymsGet200Response.md
|
||||||
docs/AnswerApiV1TagsFollowingGet200Response.md
|
docs/AnswerApiV1TagsFollowingGet200Response.md
|
||||||
docs/AnswerApiV1TagsPageGet200Response.md
|
docs/AnswerApiV1TagsPageGet200Response.md
|
||||||
docs/AnswerApiV1TagsPageGet200ResponseData.md
|
docs/AnswerApiV1TagsPageGet200ResponseAllOfData.md
|
||||||
docs/AnswerApiV1TagsPageGet200ResponseDataAllOf.md
|
|
||||||
docs/AnswerApiV1UserActionRecordGet200Response.md
|
docs/AnswerApiV1UserActionRecordGet200Response.md
|
||||||
docs/AnswerApiV1UserEmailVerificationPost200Response.md
|
docs/AnswerApiV1UserEmailVerificationPost200Response.md
|
||||||
docs/AnswerApiV1UserInfoGet200Response.md
|
docs/AnswerApiV1UserInfoGet200Response.md
|
||||||
docs/AnswerApiV1UserNoticeSetPost200Response.md
|
docs/AnswerApiV1UserNotificationConfigPost200Response.md
|
||||||
docs/AnswerApiV1UserRankingGet200Response.md
|
docs/AnswerApiV1UserRankingGet200Response.md
|
||||||
docs/AnswerApiV1VoteDownPost200Response.md
|
docs/AnswerApiV1VoteDownPost200Response.md
|
||||||
docs/ApiAnswerApi.md
|
docs/ApiAnswerAPI.md
|
||||||
docs/CollectionApi.md
|
docs/CollectionAPI.md
|
||||||
docs/CommentApi.md
|
docs/CommentAPI.md
|
||||||
|
docs/ConstantNotificationChannelKey.md
|
||||||
|
docs/ConstantPrivilege.md
|
||||||
docs/HandlerRespBody.md
|
docs/HandlerRespBody.md
|
||||||
docs/InstallCheckConfigFileResp.md
|
docs/InstallCheckConfigFileResp.md
|
||||||
docs/InstallCheckDatabaseReq.md
|
docs/InstallCheckDatabaseReq.md
|
||||||
docs/InstallInitBaseInfoReq.md
|
docs/InstallInitBaseInfoReq.md
|
||||||
docs/InstallationApi.md
|
docs/InstallationAPI.md
|
||||||
docs/InstallationConfigFileCheckPost200Response.md
|
docs/InstallationConfigFileCheckPost200Response.md
|
||||||
docs/InstallationLanguageOptionsGet200Response.md
|
docs/InstallationLanguageOptionsGet200Response.md
|
||||||
docs/LangApi.md
|
docs/LangAPI.md
|
||||||
docs/NotificationApi.md
|
docs/NotificationAPI.md
|
||||||
docs/PagerPageModel.md
|
docs/PagerPageModel.md
|
||||||
docs/QuestionApi.md
|
docs/PermissionAPI.md
|
||||||
docs/RankApi.md
|
docs/PersonalAPI.md
|
||||||
docs/ReasonApi.md
|
docs/PluginConnectorAPI.md
|
||||||
docs/ReportApi.md
|
docs/QuestionAPI.md
|
||||||
docs/RevisionApi.md
|
docs/RankAPI.md
|
||||||
|
docs/ReasonAPI.md
|
||||||
|
docs/ReportAPI.md
|
||||||
|
docs/RevisionAPI.md
|
||||||
|
docs/SchemaAcceptAnswerReq.md
|
||||||
docs/SchemaActObjectInfo.md
|
docs/SchemaActObjectInfo.md
|
||||||
docs/SchemaActObjectTimeline.md
|
docs/SchemaActObjectTimeline.md
|
||||||
docs/SchemaActionRecordResp.md
|
docs/SchemaActionRecordResp.md
|
||||||
@@ -106,25 +117,36 @@ docs/SchemaAddCommentReq.md
|
|||||||
docs/SchemaAddReportReq.md
|
docs/SchemaAddReportReq.md
|
||||||
docs/SchemaAddTagReq.md
|
docs/SchemaAddTagReq.md
|
||||||
docs/SchemaAddUserReq.md
|
docs/SchemaAddUserReq.md
|
||||||
|
docs/SchemaAddUsersReq.md
|
||||||
docs/SchemaAdminSetAnswerStatusRequest.md
|
docs/SchemaAdminSetAnswerStatusRequest.md
|
||||||
docs/SchemaAdminSetQuestionStatusRequest.md
|
docs/SchemaAdminSetQuestionStatusRequest.md
|
||||||
docs/SchemaAnswerAcceptedReq.md
|
|
||||||
docs/SchemaAnswerAddReq.md
|
docs/SchemaAnswerAddReq.md
|
||||||
docs/SchemaAnswerUpdateReq.md
|
docs/SchemaAnswerUpdateReq.md
|
||||||
docs/SchemaAvatarInfo.md
|
docs/SchemaAvatarInfo.md
|
||||||
docs/SchemaCloseQuestionReq.md
|
docs/SchemaCloseQuestionReq.md
|
||||||
docs/SchemaCollectionSwitchReq.md
|
docs/SchemaCollectionSwitchReq.md
|
||||||
docs/SchemaCollectionSwitchResp.md
|
docs/SchemaCollectionSwitchResp.md
|
||||||
|
docs/SchemaConfigField.md
|
||||||
|
docs/SchemaConfigFieldOption.md
|
||||||
|
docs/SchemaConfigFieldUIOptions.md
|
||||||
|
docs/SchemaConnectorInfoResp.md
|
||||||
|
docs/SchemaConnectorUserInfoResp.md
|
||||||
|
docs/SchemaExternalLoginBindingUserSendEmailReq.md
|
||||||
|
docs/SchemaExternalLoginBindingUserSendEmailResp.md
|
||||||
|
docs/SchemaExternalLoginUnbindingReq.md
|
||||||
docs/SchemaFollowReq.md
|
docs/SchemaFollowReq.md
|
||||||
docs/SchemaFollowResp.md
|
docs/SchemaFollowResp.md
|
||||||
docs/SchemaGetCommentPersonalWithPageResp.md
|
docs/SchemaGetCommentPersonalWithPageResp.md
|
||||||
docs/SchemaGetCommentResp.md
|
docs/SchemaGetCommentResp.md
|
||||||
|
docs/SchemaGetCurrentLoginUserInfoResp.md
|
||||||
docs/SchemaGetFollowingTagsResp.md
|
docs/SchemaGetFollowingTagsResp.md
|
||||||
docs/SchemaGetObjectTimelineResp.md
|
docs/SchemaGetObjectTimelineResp.md
|
||||||
docs/SchemaGetOtherUserInfoByUsernameResp.md
|
docs/SchemaGetOtherUserInfoByUsernameResp.md
|
||||||
docs/SchemaGetOtherUserInfoResp.md
|
docs/SchemaGetOtherUserInfoResp.md
|
||||||
docs/SchemaGetRankPersonalWithPageResp.md
|
docs/SchemaGetPluginConfigResp.md
|
||||||
docs/SchemaGetReportTypeResp.md
|
docs/SchemaGetPluginListResp.md
|
||||||
|
docs/SchemaGetPrivilegesConfigResp.md
|
||||||
|
docs/SchemaGetRankPersonalPageResp.md
|
||||||
docs/SchemaGetRevisionResp.md
|
docs/SchemaGetRevisionResp.md
|
||||||
docs/SchemaGetRoleResp.md
|
docs/SchemaGetRoleResp.md
|
||||||
docs/SchemaGetSMTPConfigResp.md
|
docs/SchemaGetSMTPConfigResp.md
|
||||||
@@ -133,21 +155,26 @@ docs/SchemaGetTagPageResp.md
|
|||||||
docs/SchemaGetTagResp.md
|
docs/SchemaGetTagResp.md
|
||||||
docs/SchemaGetTagSynonymsResp.md
|
docs/SchemaGetTagSynonymsResp.md
|
||||||
docs/SchemaGetUnreviewedRevisionResp.md
|
docs/SchemaGetUnreviewedRevisionResp.md
|
||||||
|
docs/SchemaGetUserActivationResp.md
|
||||||
|
docs/SchemaGetUserNotificationConfigResp.md
|
||||||
docs/SchemaGetUserPageResp.md
|
docs/SchemaGetUserPageResp.md
|
||||||
docs/SchemaGetUserResp.md
|
|
||||||
docs/SchemaGetUserToSetShowResp.md
|
|
||||||
docs/SchemaGetVoteWithPageResp.md
|
docs/SchemaGetVoteWithPageResp.md
|
||||||
|
docs/SchemaLoadingAction.md
|
||||||
|
docs/SchemaNotificationChannelConfig.md
|
||||||
docs/SchemaNotificationClearIDRequest.md
|
docs/SchemaNotificationClearIDRequest.md
|
||||||
docs/SchemaNotificationClearRequest.md
|
docs/SchemaNotificationClearRequest.md
|
||||||
|
docs/SchemaOnCompleteAction.md
|
||||||
docs/SchemaOperationQuestionReq.md
|
docs/SchemaOperationQuestionReq.md
|
||||||
docs/SchemaPermissionMemberAction.md
|
docs/SchemaPermissionMemberAction.md
|
||||||
docs/SchemaPostRenderReq.md
|
docs/SchemaPostRenderReq.md
|
||||||
|
docs/SchemaPrivilegeLevel.md
|
||||||
|
docs/SchemaPrivilegeOption.md
|
||||||
docs/SchemaQuestionAdd.md
|
docs/SchemaQuestionAdd.md
|
||||||
docs/SchemaQuestionAddByAnswer.md
|
docs/SchemaQuestionAddByAnswer.md
|
||||||
docs/SchemaQuestionPageReq.md
|
|
||||||
docs/SchemaQuestionPageResp.md
|
docs/SchemaQuestionPageResp.md
|
||||||
docs/SchemaQuestionPageRespOperator.md
|
docs/SchemaQuestionPageRespOperator.md
|
||||||
docs/SchemaQuestionUpdate.md
|
docs/SchemaQuestionUpdate.md
|
||||||
|
docs/SchemaQuestionUpdateInviteUser.md
|
||||||
docs/SchemaRemoveAnswerReq.md
|
docs/SchemaRemoveAnswerReq.md
|
||||||
docs/SchemaRemoveCommentReq.md
|
docs/SchemaRemoveCommentReq.md
|
||||||
docs/SchemaRemoveQuestionReq.md
|
docs/SchemaRemoveQuestionReq.md
|
||||||
@@ -155,9 +182,11 @@ docs/SchemaRemoveTagReq.md
|
|||||||
docs/SchemaReopenQuestionReq.md
|
docs/SchemaReopenQuestionReq.md
|
||||||
docs/SchemaReportHandleReq.md
|
docs/SchemaReportHandleReq.md
|
||||||
docs/SchemaRevisionAuditReq.md
|
docs/SchemaRevisionAuditReq.md
|
||||||
docs/SchemaSearchListResp.md
|
|
||||||
docs/SchemaSearchObject.md
|
docs/SchemaSearchObject.md
|
||||||
|
docs/SchemaSearchObjectUser.md
|
||||||
docs/SchemaSearchResp.md
|
docs/SchemaSearchResp.md
|
||||||
|
docs/SchemaSearchResult.md
|
||||||
|
docs/SchemaSendUserActivationReq.md
|
||||||
docs/SchemaSiteBrandingReq.md
|
docs/SchemaSiteBrandingReq.md
|
||||||
docs/SchemaSiteBrandingResp.md
|
docs/SchemaSiteBrandingResp.md
|
||||||
docs/SchemaSiteCustomCssHTMLReq.md
|
docs/SchemaSiteCustomCssHTMLReq.md
|
||||||
@@ -175,47 +204,57 @@ docs/SchemaSiteSeoReq.md
|
|||||||
docs/SchemaSiteSeoResp.md
|
docs/SchemaSiteSeoResp.md
|
||||||
docs/SchemaSiteThemeReq.md
|
docs/SchemaSiteThemeReq.md
|
||||||
docs/SchemaSiteThemeResp.md
|
docs/SchemaSiteThemeResp.md
|
||||||
|
docs/SchemaSiteUsersReq.md
|
||||||
|
docs/SchemaSiteUsersResp.md
|
||||||
docs/SchemaSiteWriteReq.md
|
docs/SchemaSiteWriteReq.md
|
||||||
docs/SchemaSiteWriteResp.md
|
docs/SchemaSiteWriteResp.md
|
||||||
docs/SchemaTagItem.md
|
docs/SchemaTagItem.md
|
||||||
docs/SchemaTagResp.md
|
docs/SchemaTagResp.md
|
||||||
docs/SchemaTagSynonym.md
|
docs/SchemaTagSynonym.md
|
||||||
docs/SchemaThemeOption.md
|
docs/SchemaThemeOption.md
|
||||||
|
docs/SchemaUIOptionAction.md
|
||||||
docs/SchemaUnreviewedRevisionInfoInfo.md
|
docs/SchemaUnreviewedRevisionInfoInfo.md
|
||||||
docs/SchemaUpdateCommentReq.md
|
docs/SchemaUpdateCommentReq.md
|
||||||
docs/SchemaUpdateFollowTagsReq.md
|
docs/SchemaUpdateFollowTagsReq.md
|
||||||
docs/SchemaUpdateInfoRequest.md
|
docs/SchemaUpdateInfoRequest.md
|
||||||
|
docs/SchemaUpdatePluginConfigReq.md
|
||||||
|
docs/SchemaUpdatePluginStatusReq.md
|
||||||
|
docs/SchemaUpdatePrivilegesConfigReq.md
|
||||||
docs/SchemaUpdateSMTPConfigReq.md
|
docs/SchemaUpdateSMTPConfigReq.md
|
||||||
docs/SchemaUpdateTagReq.md
|
docs/SchemaUpdateTagReq.md
|
||||||
docs/SchemaUpdateTagSynonymReq.md
|
docs/SchemaUpdateTagSynonymReq.md
|
||||||
docs/SchemaUpdateUserInterfaceRequest.md
|
docs/SchemaUpdateUserInterfaceRequest.md
|
||||||
|
docs/SchemaUpdateUserNotificationConfigReq.md
|
||||||
docs/SchemaUpdateUserPasswordReq.md
|
docs/SchemaUpdateUserPasswordReq.md
|
||||||
docs/SchemaUpdateUserRoleReq.md
|
docs/SchemaUpdateUserRoleReq.md
|
||||||
docs/SchemaUpdateUserStatusReq.md
|
docs/SchemaUpdateUserStatusReq.md
|
||||||
docs/SchemaUserBasicInfo.md
|
docs/SchemaUserBasicInfo.md
|
||||||
docs/SchemaUserChangeEmailSendCodeReq.md
|
docs/SchemaUserChangeEmailSendCodeReq.md
|
||||||
docs/SchemaUserChangeEmailVerifyReq.md
|
docs/SchemaUserChangeEmailVerifyReq.md
|
||||||
docs/SchemaUserEmailLogin.md
|
docs/SchemaUserEmailLoginReq.md
|
||||||
docs/SchemaUserModifyPassWordRequest.md
|
docs/SchemaUserLoginResp.md
|
||||||
docs/SchemaUserNoticeSetRequest.md
|
docs/SchemaUserModifyPasswordReq.md
|
||||||
docs/SchemaUserNoticeSetResp.md
|
|
||||||
docs/SchemaUserRankingResp.md
|
docs/SchemaUserRankingResp.md
|
||||||
docs/SchemaUserRankingSimpleInfo.md
|
docs/SchemaUserRankingSimpleInfo.md
|
||||||
docs/SchemaUserRePassWordRequest.md
|
docs/SchemaUserRePassWordRequest.md
|
||||||
docs/SchemaUserRegisterReq.md
|
docs/SchemaUserRegisterReq.md
|
||||||
docs/SchemaUserRetrievePassWordRequest.md
|
docs/SchemaUserRetrievePassWordRequest.md
|
||||||
|
docs/SchemaUserUnsubscribeNotificationReq.md
|
||||||
docs/SchemaVoteReq.md
|
docs/SchemaVoteReq.md
|
||||||
docs/SchemaVoteResp.md
|
docs/SchemaVoteResp.md
|
||||||
docs/SearchApi.md
|
docs/SearchAPI.md
|
||||||
docs/SiteApi.md
|
docs/SiteAPI.md
|
||||||
docs/TagApi.md
|
docs/TagAPI.md
|
||||||
docs/TranslatorLangOption.md
|
docs/TranslatorLangOption.md
|
||||||
docs/UploadApi.md
|
docs/UploadAPI.md
|
||||||
docs/UserApi.md
|
docs/UserAPI.md
|
||||||
git_push.sh
|
git_push.sh
|
||||||
go.mod
|
go.mod
|
||||||
go.sum
|
go.sum
|
||||||
|
model__answer_admin_api_plugin_config_get_200_response.go
|
||||||
|
model__answer_admin_api_plugins_get_200_response.go
|
||||||
model__answer_admin_api_roles_get_200_response.go
|
model__answer_admin_api_roles_get_200_response.go
|
||||||
|
model__answer_admin_api_setting_privileges_get_200_response.go
|
||||||
model__answer_admin_api_setting_smtp_get_200_response.go
|
model__answer_admin_api_setting_smtp_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_branding_get_200_response.go
|
model__answer_admin_api_siteinfo_branding_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_custom_css_html_get_200_response.go
|
model__answer_admin_api_siteinfo_custom_css_html_get_200_response.go
|
||||||
@@ -225,37 +264,35 @@ model__answer_admin_api_siteinfo_legal_get_200_response.go
|
|||||||
model__answer_admin_api_siteinfo_login_get_200_response.go
|
model__answer_admin_api_siteinfo_login_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_seo_get_200_response.go
|
model__answer_admin_api_siteinfo_seo_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_theme_get_200_response.go
|
model__answer_admin_api_siteinfo_theme_get_200_response.go
|
||||||
|
model__answer_admin_api_siteinfo_users_get_200_response.go
|
||||||
model__answer_admin_api_siteinfo_write_get_200_response.go
|
model__answer_admin_api_siteinfo_write_get_200_response.go
|
||||||
|
model__answer_admin_api_user_activation_get_200_response.go
|
||||||
model__answer_admin_api_users_page_get_200_response.go
|
model__answer_admin_api_users_page_get_200_response.go
|
||||||
model__answer_admin_api_users_page_get_200_response_data.go
|
model__answer_admin_api_users_page_get_200_response_all_of_data.go
|
||||||
model__answer_admin_api_users_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_activity_timeline_get_200_response.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_collection_switch_post_200_response.go
|
||||||
model__answer_api_v1_comment_get_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_all_of_data.go
|
||||||
model__answer_api_v1_comment_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_comment_post_200_response.go
|
model__answer_api_v1_comment_post_200_response.go
|
||||||
|
model__answer_api_v1_connector_binding_email_post_200_response.go
|
||||||
|
model__answer_api_v1_connector_info_get_200_response.go
|
||||||
|
model__answer_api_v1_connector_user_info_get_200_response.go
|
||||||
model__answer_api_v1_file_post_200_response.go
|
model__answer_api_v1_file_post_200_response.go
|
||||||
model__answer_api_v1_follow_post_200_response.go
|
model__answer_api_v1_follow_post_200_response.go
|
||||||
|
model__answer_api_v1_permission_get_200_response.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response.go
|
model__answer_api_v1_personal_comment_page_get_200_response.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response_data.go
|
model__answer_api_v1_personal_comment_page_get_200_response_all_of_data.go
|
||||||
model__answer_api_v1_personal_comment_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_personal_rank_page_get_200_response.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_all_of_data.go
|
||||||
model__answer_api_v1_personal_rank_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_personal_user_info_get_200_response.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.go
|
||||||
model__answer_api_v1_personal_vote_page_get_200_response_data.go
|
model__answer_api_v1_personal_vote_page_get_200_response_all_of_data.go
|
||||||
model__answer_api_v1_personal_vote_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_question_page_get_200_response.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_all_of_data.go
|
||||||
model__answer_api_v1_question_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_question_tags_get_200_response.go
|
model__answer_api_v1_question_tags_get_200_response.go
|
||||||
model__answer_api_v1_report_type_list_get_200_response.go
|
|
||||||
model__answer_api_v1_revisions_get_200_response.go
|
model__answer_api_v1_revisions_get_200_response.go
|
||||||
model__answer_api_v1_revisions_unreviewed_get_200_response.go
|
model__answer_api_v1_revisions_unreviewed_get_200_response.go
|
||||||
model__answer_api_v1_revisions_unreviewed_get_200_response_data.go
|
model__answer_api_v1_revisions_unreviewed_get_200_response_all_of_data.go
|
||||||
model__answer_api_v1_revisions_unreviewed_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_search_get_200_response.go
|
model__answer_api_v1_search_get_200_response.go
|
||||||
model__answer_api_v1_siteinfo_get_200_response.go
|
model__answer_api_v1_siteinfo_get_200_response.go
|
||||||
model__answer_api_v1_siteinfo_legal_get_200_response.go
|
model__answer_api_v1_siteinfo_legal_get_200_response.go
|
||||||
@@ -263,21 +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_tag_synonyms_get_200_response.go
|
||||||
model__answer_api_v1_tags_following_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.go
|
||||||
model__answer_api_v1_tags_page_get_200_response_data.go
|
model__answer_api_v1_tags_page_get_200_response_all_of_data.go
|
||||||
model__answer_api_v1_tags_page_get_200_response_data_all_of.go
|
|
||||||
model__answer_api_v1_user_action_record_get_200_response.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_email_verification_post_200_response.go
|
||||||
model__answer_api_v1_user_info_get_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_user_ranking_get_200_response.go
|
||||||
model__answer_api_v1_vote_down_post_200_response.go
|
model__answer_api_v1_vote_down_post_200_response.go
|
||||||
model__installation_config_file_check_post_200_response.go
|
model__installation_config_file_check_post_200_response.go
|
||||||
model__installation_language_options_get_200_response.go
|
model__installation_language_options_get_200_response.go
|
||||||
|
model_constant_notification_channel_key.go
|
||||||
|
model_constant_privilege.go
|
||||||
model_handler_resp_body.go
|
model_handler_resp_body.go
|
||||||
model_install_check_config_file_resp.go
|
model_install_check_config_file_resp.go
|
||||||
model_install_check_database_req.go
|
model_install_check_database_req.go
|
||||||
model_install_init_base_info_req.go
|
model_install_init_base_info_req.go
|
||||||
model_pager_page_model.go
|
model_pager_page_model.go
|
||||||
|
model_schema_accept_answer_req.go
|
||||||
model_schema_act_object_info.go
|
model_schema_act_object_info.go
|
||||||
model_schema_act_object_timeline.go
|
model_schema_act_object_timeline.go
|
||||||
model_schema_action_record_resp.go
|
model_schema_action_record_resp.go
|
||||||
@@ -285,25 +324,36 @@ model_schema_add_comment_req.go
|
|||||||
model_schema_add_report_req.go
|
model_schema_add_report_req.go
|
||||||
model_schema_add_tag_req.go
|
model_schema_add_tag_req.go
|
||||||
model_schema_add_user_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_answer_status_request.go
|
||||||
model_schema_admin_set_question_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_add_req.go
|
||||||
model_schema_answer_update_req.go
|
model_schema_answer_update_req.go
|
||||||
model_schema_avatar_info.go
|
model_schema_avatar_info.go
|
||||||
model_schema_close_question_req.go
|
model_schema_close_question_req.go
|
||||||
model_schema_collection_switch_req.go
|
model_schema_collection_switch_req.go
|
||||||
model_schema_collection_switch_resp.go
|
model_schema_collection_switch_resp.go
|
||||||
|
model_schema_config_field.go
|
||||||
|
model_schema_config_field_option.go
|
||||||
|
model_schema_config_field_ui_options.go
|
||||||
|
model_schema_connector_info_resp.go
|
||||||
|
model_schema_connector_user_info_resp.go
|
||||||
|
model_schema_external_login_binding_user_send_email_req.go
|
||||||
|
model_schema_external_login_binding_user_send_email_resp.go
|
||||||
|
model_schema_external_login_unbinding_req.go
|
||||||
model_schema_follow_req.go
|
model_schema_follow_req.go
|
||||||
model_schema_follow_resp.go
|
model_schema_follow_resp.go
|
||||||
model_schema_get_comment_personal_with_page_resp.go
|
model_schema_get_comment_personal_with_page_resp.go
|
||||||
model_schema_get_comment_resp.go
|
model_schema_get_comment_resp.go
|
||||||
|
model_schema_get_current_login_user_info_resp.go
|
||||||
model_schema_get_following_tags_resp.go
|
model_schema_get_following_tags_resp.go
|
||||||
model_schema_get_object_timeline_resp.go
|
model_schema_get_object_timeline_resp.go
|
||||||
model_schema_get_other_user_info_by_username_resp.go
|
model_schema_get_other_user_info_by_username_resp.go
|
||||||
model_schema_get_other_user_info_resp.go
|
model_schema_get_other_user_info_resp.go
|
||||||
model_schema_get_rank_personal_with_page_resp.go
|
model_schema_get_plugin_config_resp.go
|
||||||
model_schema_get_report_type_resp.go
|
model_schema_get_plugin_list_resp.go
|
||||||
|
model_schema_get_privileges_config_resp.go
|
||||||
|
model_schema_get_rank_personal_page_resp.go
|
||||||
model_schema_get_revision_resp.go
|
model_schema_get_revision_resp.go
|
||||||
model_schema_get_role_resp.go
|
model_schema_get_role_resp.go
|
||||||
model_schema_get_site_legal_info_resp.go
|
model_schema_get_site_legal_info_resp.go
|
||||||
@@ -312,21 +362,26 @@ model_schema_get_tag_page_resp.go
|
|||||||
model_schema_get_tag_resp.go
|
model_schema_get_tag_resp.go
|
||||||
model_schema_get_tag_synonyms_resp.go
|
model_schema_get_tag_synonyms_resp.go
|
||||||
model_schema_get_unreviewed_revision_resp.go
|
model_schema_get_unreviewed_revision_resp.go
|
||||||
|
model_schema_get_user_activation_resp.go
|
||||||
|
model_schema_get_user_notification_config_resp.go
|
||||||
model_schema_get_user_page_resp.go
|
model_schema_get_user_page_resp.go
|
||||||
model_schema_get_user_resp.go
|
|
||||||
model_schema_get_user_to_set_show_resp.go
|
|
||||||
model_schema_get_vote_with_page_resp.go
|
model_schema_get_vote_with_page_resp.go
|
||||||
|
model_schema_loading_action.go
|
||||||
|
model_schema_notification_channel_config.go
|
||||||
model_schema_notification_clear_id_request.go
|
model_schema_notification_clear_id_request.go
|
||||||
model_schema_notification_clear_request.go
|
model_schema_notification_clear_request.go
|
||||||
|
model_schema_on_complete_action.go
|
||||||
model_schema_operation_question_req.go
|
model_schema_operation_question_req.go
|
||||||
model_schema_permission_member_action.go
|
model_schema_permission_member_action.go
|
||||||
model_schema_post_render_req.go
|
model_schema_post_render_req.go
|
||||||
|
model_schema_privilege_level.go
|
||||||
|
model_schema_privilege_option.go
|
||||||
model_schema_question_add.go
|
model_schema_question_add.go
|
||||||
model_schema_question_add_by_answer.go
|
model_schema_question_add_by_answer.go
|
||||||
model_schema_question_page_req.go
|
|
||||||
model_schema_question_page_resp.go
|
model_schema_question_page_resp.go
|
||||||
model_schema_question_page_resp_operator.go
|
model_schema_question_page_resp_operator.go
|
||||||
model_schema_question_update.go
|
model_schema_question_update.go
|
||||||
|
model_schema_question_update_invite_user.go
|
||||||
model_schema_remove_answer_req.go
|
model_schema_remove_answer_req.go
|
||||||
model_schema_remove_comment_req.go
|
model_schema_remove_comment_req.go
|
||||||
model_schema_remove_question_req.go
|
model_schema_remove_question_req.go
|
||||||
@@ -334,9 +389,11 @@ model_schema_remove_tag_req.go
|
|||||||
model_schema_reopen_question_req.go
|
model_schema_reopen_question_req.go
|
||||||
model_schema_report_handle_req.go
|
model_schema_report_handle_req.go
|
||||||
model_schema_revision_audit_req.go
|
model_schema_revision_audit_req.go
|
||||||
model_schema_search_list_resp.go
|
|
||||||
model_schema_search_object.go
|
model_schema_search_object.go
|
||||||
|
model_schema_search_object_user.go
|
||||||
model_schema_search_resp.go
|
model_schema_search_resp.go
|
||||||
|
model_schema_search_result.go
|
||||||
|
model_schema_send_user_activation_req.go
|
||||||
model_schema_site_branding_req.go
|
model_schema_site_branding_req.go
|
||||||
model_schema_site_branding_resp.go
|
model_schema_site_branding_resp.go
|
||||||
model_schema_site_custom_css_html_req.go
|
model_schema_site_custom_css_html_req.go
|
||||||
@@ -354,40 +411,48 @@ model_schema_site_seo_req.go
|
|||||||
model_schema_site_seo_resp.go
|
model_schema_site_seo_resp.go
|
||||||
model_schema_site_theme_req.go
|
model_schema_site_theme_req.go
|
||||||
model_schema_site_theme_resp.go
|
model_schema_site_theme_resp.go
|
||||||
|
model_schema_site_users_req.go
|
||||||
|
model_schema_site_users_resp.go
|
||||||
model_schema_site_write_req.go
|
model_schema_site_write_req.go
|
||||||
model_schema_site_write_resp.go
|
model_schema_site_write_resp.go
|
||||||
model_schema_tag_item.go
|
model_schema_tag_item.go
|
||||||
model_schema_tag_resp.go
|
model_schema_tag_resp.go
|
||||||
model_schema_tag_synonym.go
|
model_schema_tag_synonym.go
|
||||||
model_schema_theme_option.go
|
model_schema_theme_option.go
|
||||||
|
model_schema_ui_option_action.go
|
||||||
model_schema_unreviewed_revision_info_info.go
|
model_schema_unreviewed_revision_info_info.go
|
||||||
model_schema_update_comment_req.go
|
model_schema_update_comment_req.go
|
||||||
model_schema_update_follow_tags_req.go
|
model_schema_update_follow_tags_req.go
|
||||||
model_schema_update_info_request.go
|
model_schema_update_info_request.go
|
||||||
|
model_schema_update_plugin_config_req.go
|
||||||
|
model_schema_update_plugin_status_req.go
|
||||||
|
model_schema_update_privileges_config_req.go
|
||||||
model_schema_update_smtp_config_req.go
|
model_schema_update_smtp_config_req.go
|
||||||
model_schema_update_tag_req.go
|
model_schema_update_tag_req.go
|
||||||
model_schema_update_tag_synonym_req.go
|
model_schema_update_tag_synonym_req.go
|
||||||
model_schema_update_user_interface_request.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_password_req.go
|
||||||
model_schema_update_user_role_req.go
|
model_schema_update_user_role_req.go
|
||||||
model_schema_update_user_status_req.go
|
model_schema_update_user_status_req.go
|
||||||
model_schema_user_basic_info.go
|
model_schema_user_basic_info.go
|
||||||
model_schema_user_change_email_send_code_req.go
|
model_schema_user_change_email_send_code_req.go
|
||||||
model_schema_user_change_email_verify_req.go
|
model_schema_user_change_email_verify_req.go
|
||||||
model_schema_user_email_login.go
|
model_schema_user_email_login_req.go
|
||||||
model_schema_user_modify_pass_word_request.go
|
model_schema_user_login_resp.go
|
||||||
model_schema_user_notice_set_request.go
|
model_schema_user_modify_password_req.go
|
||||||
model_schema_user_notice_set_resp.go
|
|
||||||
model_schema_user_ranking_resp.go
|
model_schema_user_ranking_resp.go
|
||||||
model_schema_user_ranking_simple_info.go
|
model_schema_user_ranking_simple_info.go
|
||||||
model_schema_user_re_pass_word_request.go
|
model_schema_user_re_pass_word_request.go
|
||||||
model_schema_user_register_req.go
|
model_schema_user_register_req.go
|
||||||
model_schema_user_retrieve_pass_word_request.go
|
model_schema_user_retrieve_pass_word_request.go
|
||||||
|
model_schema_user_unsubscribe_notification_req.go
|
||||||
model_schema_vote_req.go
|
model_schema_vote_req.go
|
||||||
model_schema_vote_resp.go
|
model_schema_vote_resp.go
|
||||||
model_translator_lang_option.go
|
model_translator_lang_option.go
|
||||||
response.go
|
response.go
|
||||||
test/api_activity_test.go
|
test/api_activity_test.go
|
||||||
|
test/api_admin_plugin_test.go
|
||||||
test/api_admin_test.go
|
test/api_admin_test.go
|
||||||
test/api_api_answer_test.go
|
test/api_api_answer_test.go
|
||||||
test/api_collection_test.go
|
test/api_collection_test.go
|
||||||
@@ -395,6 +460,9 @@ test/api_comment_test.go
|
|||||||
test/api_installation_test.go
|
test/api_installation_test.go
|
||||||
test/api_lang_test.go
|
test/api_lang_test.go
|
||||||
test/api_notification_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_question_test.go
|
||||||
test/api_rank_test.go
|
test/api_rank_test.go
|
||||||
test/api_reason_test.go
|
test/api_reason_test.go
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6.6.0
|
7.0.1
|
||||||
394
README.md
394
README.md
@@ -1,11 +1,11 @@
|
|||||||
# Go API client for openapi
|
# Go API client for answer_sdk
|
||||||
|
|
||||||
answer api
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
|
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
|
||||||
|
|
||||||
- API version: v0.0.1
|
- API version: 1.0.0
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
- Build package: org.openapitools.codegen.languages.GoClientCodegen
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ go get golang.org/x/net/context
|
|||||||
Put the package under your project folder and add the following in import:
|
Put the package under your project folder and add the following in import:
|
||||||
|
|
||||||
```golang
|
```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`:
|
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`.
|
For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
|
ctx := context.WithValue(context.Background(), answer_sdk.ContextServerIndex, 1)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Templated Server URL
|
### 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`.
|
Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
|
ctx := context.WithValue(context.Background(), answer_sdk.ContextServerVariables, map[string]string{
|
||||||
"basePath": "v2",
|
"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.
|
Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
|
||||||
|
|
||||||
```golang
|
```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,
|
"{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}": {
|
"{classname}Service.{nickname}": {
|
||||||
"port": "8443",
|
"port": "8443",
|
||||||
},
|
},
|
||||||
@@ -73,144 +73,166 @@ ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVari
|
|||||||
|
|
||||||
## Documentation for API Endpoints
|
## Documentation for API Endpoints
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Class | Method | HTTP request | Description
|
Class | Method | HTTP request | Description
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
*ActivityApi* | [**AnswerApiV1FollowPost**](docs/ActivityApi.md#answerapiv1followpost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
*ActivityAPI* | [**AnswerApiV1FollowPost**](docs/ActivityAPI.md#answerapiv1followpost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
||||||
*ActivityApi* | [**AnswerApiV1FollowTagsPut**](docs/ActivityApi.md#answerapiv1followtagsput) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
*ActivityAPI* | [**AnswerApiV1FollowTagsPut**](docs/ActivityAPI.md#answerapiv1followtagsput) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
||||||
*ActivityApi* | [**AnswerApiV1PersonalVotePageGet**](docs/ActivityApi.md#answerapiv1personalvotepageget) | **Get** /answer/api/v1/personal/vote/page | user's votes
|
*ActivityAPI* | [**AnswerApiV1PersonalVotePageGet**](docs/ActivityAPI.md#answerapiv1personalvotepageget) | **Get** /answer/api/v1/personal/vote/page | get user personal votes
|
||||||
*ActivityApi* | [**AnswerApiV1VoteDownPost**](docs/ActivityApi.md#answerapiv1votedownpost) | **Post** /answer/api/v1/vote/down | vote down
|
*ActivityAPI* | [**AnswerApiV1VoteDownPost**](docs/ActivityAPI.md#answerapiv1votedownpost) | **Post** /answer/api/v1/vote/down | vote down
|
||||||
*ActivityApi* | [**AnswerApiV1VoteUpPost**](docs/ActivityApi.md#answerapiv1voteuppost) | **Post** /answer/api/v1/vote/up | vote up
|
*ActivityAPI* | [**AnswerApiV1VoteUpPost**](docs/ActivityAPI.md#answerapiv1voteuppost) | **Post** /answer/api/v1/vote/up | vote up
|
||||||
*AdminApi* | [**AnswerAdminApiAnswerPageGet**](docs/AdminApi.md#answeradminapianswerpageget) | **Get** /answer/admin/api/answer/page | AdminSearchAnswerList
|
*AdminAPI* | [**AnswerAdminApiAnswerPageGet**](docs/AdminAPI.md#answeradminapianswerpageget) | **Get** /answer/admin/api/answer/page | AdminAnswerPage admin answer page
|
||||||
*AdminApi* | [**AnswerAdminApiAnswerStatusPut**](docs/AdminApi.md#answeradminapianswerstatusput) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
*AdminAPI* | [**AnswerAdminApiAnswerStatusPut**](docs/AdminAPI.md#answeradminapianswerstatusput) | **Put** /answer/admin/api/answer/status | AdminSetAnswerStatus
|
||||||
*AdminApi* | [**AnswerAdminApiDashboardGet**](docs/AdminApi.md#answeradminapidashboardget) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
*AdminAPI* | [**AnswerAdminApiDashboardGet**](docs/AdminAPI.md#answeradminapidashboardget) | **Get** /answer/admin/api/dashboard | DashboardInfo
|
||||||
*AdminApi* | [**AnswerAdminApiQuestionPageGet**](docs/AdminApi.md#answeradminapiquestionpageget) | **Get** /answer/admin/api/question/page | AdminSearchList
|
*AdminAPI* | [**AnswerAdminApiQuestionPageGet**](docs/AdminAPI.md#answeradminapiquestionpageget) | **Get** /answer/admin/api/question/page | AdminQuestionPage admin question page
|
||||||
*AdminApi* | [**AnswerAdminApiQuestionStatusPut**](docs/AdminApi.md#answeradminapiquestionstatusput) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
*AdminAPI* | [**AnswerAdminApiQuestionStatusPut**](docs/AdminAPI.md#answeradminapiquestionstatusput) | **Put** /answer/admin/api/question/status | AdminSetQuestionStatus
|
||||||
*AdminApi* | [**AnswerAdminApiReportPut**](docs/AdminApi.md#answeradminapireportput) | **Put** /answer/admin/api/report/ | handle flag
|
*AdminAPI* | [**AnswerAdminApiReportPut**](docs/AdminAPI.md#answeradminapireportput) | **Put** /answer/admin/api/report/ | handle flag
|
||||||
*AdminApi* | [**AnswerAdminApiReportsPageGet**](docs/AdminApi.md#answeradminapireportspageget) | **Get** /answer/admin/api/reports/page | list report page
|
*AdminAPI* | [**AnswerAdminApiReportsPageGet**](docs/AdminAPI.md#answeradminapireportspageget) | **Get** /answer/admin/api/reports/page | list report page
|
||||||
*AdminApi* | [**AnswerAdminApiRolesGet**](docs/AdminApi.md#answeradminapirolesget) | **Get** /answer/admin/api/roles | get role list
|
*AdminAPI* | [**AnswerAdminApiRolesGet**](docs/AdminAPI.md#answeradminapirolesget) | **Get** /answer/admin/api/roles | get role list
|
||||||
*AdminApi* | [**AnswerAdminApiSettingSmtpGet**](docs/AdminApi.md#answeradminapisettingsmtpget) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
*AdminAPI* | [**AnswerAdminApiSettingPrivilegesGet**](docs/AdminAPI.md#answeradminapisettingprivilegesget) | **Get** /answer/admin/api/setting/privileges | GetPrivilegesConfig get privileges config
|
||||||
*AdminApi* | [**AnswerAdminApiSettingSmtpPut**](docs/AdminApi.md#answeradminapisettingsmtpput) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
*AdminAPI* | [**AnswerAdminApiSettingPrivilegesPut**](docs/AdminAPI.md#answeradminapisettingprivilegesput) | **Put** /answer/admin/api/setting/privileges | update privileges config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoBrandingGet**](docs/AdminApi.md#answeradminapisiteinfobrandingget) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
*AdminAPI* | [**AnswerAdminApiSettingSmtpGet**](docs/AdminAPI.md#answeradminapisettingsmtpget) | **Get** /answer/admin/api/setting/smtp | GetSMTPConfig get smtp config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoBrandingPut**](docs/AdminApi.md#answeradminapisiteinfobrandingput) | **Put** /answer/admin/api/siteinfo/branding | update site info branding
|
*AdminAPI* | [**AnswerAdminApiSettingSmtpPut**](docs/AdminAPI.md#answeradminapisettingsmtpput) | **Put** /answer/admin/api/setting/smtp | update smtp config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoCustomCssHtmlGet**](docs/AdminApi.md#answeradminapisiteinfocustomcsshtmlget) | **Get** /answer/admin/api/siteinfo/custom-css-html | get site info custom html css config
|
*AdminAPI* | [**AnswerAdminApiSiteinfoBrandingGet**](docs/AdminAPI.md#answeradminapisiteinfobrandingget) | **Get** /answer/admin/api/siteinfo/branding | get site interface
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoCustomCssHtmlPut**](docs/AdminApi.md#answeradminapisiteinfocustomcsshtmlput) | **Put** /answer/admin/api/siteinfo/custom-css-html | update site custom css html config
|
*AdminAPI* | [**AnswerAdminApiSiteinfoBrandingPut**](docs/AdminAPI.md#answeradminapisiteinfobrandingput) | **Put** /answer/admin/api/siteinfo/branding | update site info branding
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoGeneralGet**](docs/AdminApi.md#answeradminapisiteinfogeneralget) | **Get** /answer/admin/api/siteinfo/general | get site general information
|
*AdminAPI* | [**AnswerAdminApiSiteinfoCustomCssHtmlGet**](docs/AdminAPI.md#answeradminapisiteinfocustomcsshtmlget) | **Get** /answer/admin/api/siteinfo/custom-css-html | get site info custom html css config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoGeneralPut**](docs/AdminApi.md#answeradminapisiteinfogeneralput) | **Put** /answer/admin/api/siteinfo/general | update site general information
|
*AdminAPI* | [**AnswerAdminApiSiteinfoCustomCssHtmlPut**](docs/AdminAPI.md#answeradminapisiteinfocustomcsshtmlput) | **Put** /answer/admin/api/siteinfo/custom-css-html | update site custom css html config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoInterfaceGet**](docs/AdminApi.md#answeradminapisiteinfointerfaceget) | **Get** /answer/admin/api/siteinfo/interface | get site interface
|
*AdminAPI* | [**AnswerAdminApiSiteinfoGeneralGet**](docs/AdminAPI.md#answeradminapisiteinfogeneralget) | **Get** /answer/admin/api/siteinfo/general | get site general information
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoInterfacePut**](docs/AdminApi.md#answeradminapisiteinfointerfaceput) | **Put** /answer/admin/api/siteinfo/interface | update site info interface
|
*AdminAPI* | [**AnswerAdminApiSiteinfoGeneralPut**](docs/AdminAPI.md#answeradminapisiteinfogeneralput) | **Put** /answer/admin/api/siteinfo/general | update site general information
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoLegalGet**](docs/AdminApi.md#answeradminapisiteinfolegalget) | **Get** /answer/admin/api/siteinfo/legal | Set the legal information for the site
|
*AdminAPI* | [**AnswerAdminApiSiteinfoInterfaceGet**](docs/AdminAPI.md#answeradminapisiteinfointerfaceget) | **Get** /answer/admin/api/siteinfo/interface | get site interface
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoLegalPut**](docs/AdminApi.md#answeradminapisiteinfolegalput) | **Put** /answer/admin/api/siteinfo/legal | update site legal info
|
*AdminAPI* | [**AnswerAdminApiSiteinfoInterfacePut**](docs/AdminAPI.md#answeradminapisiteinfointerfaceput) | **Put** /answer/admin/api/siteinfo/interface | update site info interface
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoLoginGet**](docs/AdminApi.md#answeradminapisiteinfologinget) | **Get** /answer/admin/api/siteinfo/login | get site info login config
|
*AdminAPI* | [**AnswerAdminApiSiteinfoLegalGet**](docs/AdminAPI.md#answeradminapisiteinfolegalget) | **Get** /answer/admin/api/siteinfo/legal | Set the legal information for the site
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoLoginPut**](docs/AdminApi.md#answeradminapisiteinfologinput) | **Put** /answer/admin/api/siteinfo/login | update site login
|
*AdminAPI* | [**AnswerAdminApiSiteinfoLegalPut**](docs/AdminAPI.md#answeradminapisiteinfolegalput) | **Put** /answer/admin/api/siteinfo/legal | update site legal info
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoSeoGet**](docs/AdminApi.md#answeradminapisiteinfoseoget) | **Get** /answer/admin/api/siteinfo/seo | get site seo information
|
*AdminAPI* | [**AnswerAdminApiSiteinfoLoginGet**](docs/AdminAPI.md#answeradminapisiteinfologinget) | **Get** /answer/admin/api/siteinfo/login | get site info login config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoSeoPut**](docs/AdminApi.md#answeradminapisiteinfoseoput) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
*AdminAPI* | [**AnswerAdminApiSiteinfoLoginPut**](docs/AdminAPI.md#answeradminapisiteinfologinput) | **Put** /answer/admin/api/siteinfo/login | update site login
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoThemeGet**](docs/AdminApi.md#answeradminapisiteinfothemeget) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
*AdminAPI* | [**AnswerAdminApiSiteinfoSeoGet**](docs/AdminAPI.md#answeradminapisiteinfoseoget) | **Get** /answer/admin/api/siteinfo/seo | get site seo information
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoThemePut**](docs/AdminApi.md#answeradminapisiteinfothemeput) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
*AdminAPI* | [**AnswerAdminApiSiteinfoSeoPut**](docs/AdminAPI.md#answeradminapisiteinfoseoput) | **Put** /answer/admin/api/siteinfo/seo | update site seo information
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoWriteGet**](docs/AdminApi.md#answeradminapisiteinfowriteget) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
*AdminAPI* | [**AnswerAdminApiSiteinfoThemeGet**](docs/AdminAPI.md#answeradminapisiteinfothemeget) | **Get** /answer/admin/api/siteinfo/theme | get site info theme config
|
||||||
*AdminApi* | [**AnswerAdminApiSiteinfoWritePut**](docs/AdminApi.md#answeradminapisiteinfowriteput) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
*AdminAPI* | [**AnswerAdminApiSiteinfoThemePut**](docs/AdminAPI.md#answeradminapisiteinfothemeput) | **Put** /answer/admin/api/siteinfo/theme | update site custom css html config
|
||||||
*AdminApi* | [**AnswerAdminApiThemeOptionsGet**](docs/AdminApi.md#answeradminapithemeoptionsget) | **Get** /answer/admin/api/theme/options | Get theme options
|
*AdminAPI* | [**AnswerAdminApiSiteinfoUsersGet**](docs/AdminAPI.md#answeradminapisiteinfousersget) | **Get** /answer/admin/api/siteinfo/users | get site user config
|
||||||
*AdminApi* | [**AnswerAdminApiUserPasswordPut**](docs/AdminApi.md#answeradminapiuserpasswordput) | **Put** /answer/admin/api/user/password | update user password
|
*AdminAPI* | [**AnswerAdminApiSiteinfoUsersPut**](docs/AdminAPI.md#answeradminapisiteinfousersput) | **Put** /answer/admin/api/siteinfo/users | update site info config about users
|
||||||
*AdminApi* | [**AnswerAdminApiUserPost**](docs/AdminApi.md#answeradminapiuserpost) | **Post** /answer/admin/api/user | add user
|
*AdminAPI* | [**AnswerAdminApiSiteinfoWriteGet**](docs/AdminAPI.md#answeradminapisiteinfowriteget) | **Get** /answer/admin/api/siteinfo/write | get site interface
|
||||||
*AdminApi* | [**AnswerAdminApiUserRolePut**](docs/AdminApi.md#answeradminapiuserroleput) | **Put** /answer/admin/api/user/role | update user role
|
*AdminAPI* | [**AnswerAdminApiSiteinfoWritePut**](docs/AdminAPI.md#answeradminapisiteinfowriteput) | **Put** /answer/admin/api/siteinfo/write | update site write info
|
||||||
*AdminApi* | [**AnswerAdminApiUserStatusPut**](docs/AdminApi.md#answeradminapiuserstatusput) | **Put** /answer/admin/api/user/status | update user
|
*AdminAPI* | [**AnswerAdminApiThemeOptionsGet**](docs/AdminAPI.md#answeradminapithemeoptionsget) | **Get** /answer/admin/api/theme/options | Get theme options
|
||||||
*AdminApi* | [**AnswerAdminApiUsersPageGet**](docs/AdminApi.md#answeradminapiuserspageget) | **Get** /answer/admin/api/users/page | get user page
|
*AdminAPI* | [**AnswerAdminApiUserActivationGet**](docs/AdminAPI.md#answeradminapiuseractivationget) | **Get** /answer/admin/api/user/activation | get user activation
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerAcceptancePost**](docs/ApiAnswerApi.md#answerapiv1answeracceptancepost) | **Post** /answer/api/v1/answer/acceptance | Accepted
|
*AdminAPI* | [**AnswerAdminApiUserPasswordPut**](docs/AdminAPI.md#answeradminapiuserpasswordput) | **Put** /answer/admin/api/user/password | update user password
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerDelete**](docs/ApiAnswerApi.md#answerapiv1answerdelete) | **Delete** /answer/api/v1/answer | delete answer
|
*AdminAPI* | [**AnswerAdminApiUserPost**](docs/AdminAPI.md#answeradminapiuserpost) | **Post** /answer/admin/api/user | add user
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerInfoGet**](docs/ApiAnswerApi.md#answerapiv1answerinfoget) | **Get** /answer/api/v1/answer/info | Get Answer
|
*AdminAPI* | [**AnswerAdminApiUserRolePut**](docs/AdminAPI.md#answeradminapiuserroleput) | **Put** /answer/admin/api/user/role | update user role
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPageGet**](docs/ApiAnswerApi.md#answerapiv1answerpageget) | **Get** /answer/api/v1/answer/page | AnswerList
|
*AdminAPI* | [**AnswerAdminApiUserStatusPut**](docs/AdminAPI.md#answeradminapiuserstatusput) | **Put** /answer/admin/api/user/status | update user
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPost**](docs/ApiAnswerApi.md#answerapiv1answerpost) | **Post** /answer/api/v1/answer | Insert Answer
|
*AdminAPI* | [**AnswerAdminApiUsersActivationPost**](docs/AdminAPI.md#answeradminapiusersactivationpost) | **Post** /answer/admin/api/users/activation | send user activation
|
||||||
*ApiAnswerApi* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerApi.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
*AdminAPI* | [**AnswerAdminApiUsersPageGet**](docs/AdminAPI.md#answeradminapiuserspageget) | **Get** /answer/admin/api/users/page | get user page
|
||||||
*ApiAnswerApi* | [**AnswerApiV1PersonalAnswerPageGet**](docs/ApiAnswerApi.md#answerapiv1personalanswerpageget) | **Get** /answer/api/v1/personal/answer/page | UserAnswerList
|
*AdminAPI* | [**AnswerAdminApiUsersPost**](docs/AdminAPI.md#answeradminapiuserspost) | **Post** /answer/admin/api/users | add users
|
||||||
*CollectionApi* | [**AnswerApiV1CollectionSwitchPost**](docs/CollectionApi.md#answerapiv1collectionswitchpost) | **Post** /answer/api/v1/collection/switch | add collection
|
*AdminPluginAPI* | [**AnswerAdminApiPluginConfigGet**](docs/AdminPluginAPI.md#answeradminapipluginconfigget) | **Get** /answer/admin/api/plugin/config | get plugin config
|
||||||
*CollectionApi* | [**AnswerApiV1PersonalCollectionPageGet**](docs/CollectionApi.md#answerapiv1personalcollectionpageget) | **Get** /answer/api/v1/personal/collection/page | UserCollectionList
|
*AdminPluginAPI* | [**AnswerAdminApiPluginConfigPut**](docs/AdminPluginAPI.md#answeradminapipluginconfigput) | **Put** /answer/admin/api/plugin/config | update plugin config
|
||||||
*CommentApi* | [**AnswerApiV1ActivityTimelineDetailGet**](docs/CommentApi.md#answerapiv1activitytimelinedetailget) | **Get** /answer/api/v1/activity/timeline/detail | get object timeline detail
|
*AdminPluginAPI* | [**AnswerAdminApiPluginStatusPut**](docs/AdminPluginAPI.md#answeradminapipluginstatusput) | **Put** /answer/admin/api/plugin/status | update plugin status
|
||||||
*CommentApi* | [**AnswerApiV1ActivityTimelineGet**](docs/CommentApi.md#answerapiv1activitytimelineget) | **Get** /answer/api/v1/activity/timeline | get object timeline
|
*AdminPluginAPI* | [**AnswerAdminApiPluginsGet**](docs/AdminPluginAPI.md#answeradminapipluginsget) | **Get** /answer/admin/api/plugins | get plugin list
|
||||||
*CommentApi* | [**AnswerApiV1CommentDelete**](docs/CommentApi.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerAcceptancePost**](docs/ApiAnswerAPI.md#answerapiv1answeracceptancepost) | **Post** /answer/api/v1/answer/acceptance | Accepted
|
||||||
*CommentApi* | [**AnswerApiV1CommentGet**](docs/CommentApi.md#answerapiv1commentget) | **Get** /answer/api/v1/comment | get comment by id
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerDelete**](docs/ApiAnswerAPI.md#answerapiv1answerdelete) | **Delete** /answer/api/v1/answer | delete answer
|
||||||
*CommentApi* | [**AnswerApiV1CommentPageGet**](docs/CommentApi.md#answerapiv1commentpageget) | **Get** /answer/api/v1/comment/page | get comment page
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerInfoGet**](docs/ApiAnswerAPI.md#answerapiv1answerinfoget) | **Get** /answer/api/v1/answer/info | Get Answer
|
||||||
*CommentApi* | [**AnswerApiV1CommentPost**](docs/CommentApi.md#answerapiv1commentpost) | **Post** /answer/api/v1/comment | add comment
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerPageGet**](docs/ApiAnswerAPI.md#answerapiv1answerpageget) | **Get** /answer/api/v1/answer/page | AnswerList
|
||||||
*CommentApi* | [**AnswerApiV1CommentPut**](docs/CommentApi.md#answerapiv1commentput) | **Put** /answer/api/v1/comment | update comment
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerPost**](docs/ApiAnswerAPI.md#answerapiv1answerpost) | **Post** /answer/api/v1/answer | Insert Answer
|
||||||
*CommentApi* | [**AnswerApiV1PersonalCommentPageGet**](docs/CommentApi.md#answerapiv1personalcommentpageget) | **Get** /answer/api/v1/personal/comment/page | user personal comment list
|
*ApiAnswerAPI* | [**AnswerApiV1AnswerPut**](docs/ApiAnswerAPI.md#answerapiv1answerput) | **Put** /answer/api/v1/answer | Update Answer
|
||||||
*InstallationApi* | [**InstallationBaseInfoPost**](docs/InstallationApi.md#installationbaseinfopost) | **Post** /installation/base-info | init base info
|
*CollectionAPI* | [**AnswerApiV1CollectionSwitchPost**](docs/CollectionAPI.md#answerapiv1collectionswitchpost) | **Post** /answer/api/v1/collection/switch | add collection
|
||||||
*InstallationApi* | [**InstallationConfigFileCheckPost**](docs/InstallationApi.md#installationconfigfilecheckpost) | **Post** /installation/config-file/check | check config file if exist when installation
|
*CollectionAPI* | [**AnswerApiV1PersonalCollectionPageGet**](docs/CollectionAPI.md#answerapiv1personalcollectionpageget) | **Get** /answer/api/v1/personal/collection/page | list personal collections
|
||||||
*InstallationApi* | [**InstallationDbCheckPost**](docs/InstallationApi.md#installationdbcheckpost) | **Post** /installation/db/check | check database if exist when installation
|
*CommentAPI* | [**AnswerApiV1ActivityTimelineDetailGet**](docs/CommentAPI.md#answerapiv1activitytimelinedetailget) | **Get** /answer/api/v1/activity/timeline/detail | get object timeline detail
|
||||||
*InstallationApi* | [**InstallationInitPost**](docs/InstallationApi.md#installationinitpost) | **Post** /installation/init | init environment
|
*CommentAPI* | [**AnswerApiV1ActivityTimelineGet**](docs/CommentAPI.md#answerapiv1activitytimelineget) | **Get** /answer/api/v1/activity/timeline | get object timeline
|
||||||
*InstallationApi* | [**RootGet**](docs/InstallationApi.md#rootget) | **Get** / | if config file not exist try to redirect to install page
|
*CommentAPI* | [**AnswerApiV1CommentDelete**](docs/CommentAPI.md#answerapiv1commentdelete) | **Delete** /answer/api/v1/comment | remove comment
|
||||||
*LangApi* | [**AnswerAdminApiLanguageOptionsGet**](docs/LangApi.md#answeradminapilanguageoptionsget) | **Get** /answer/admin/api/language/options | Get language options
|
*CommentAPI* | [**AnswerApiV1CommentGet**](docs/CommentAPI.md#answerapiv1commentget) | **Get** /answer/api/v1/comment | get comment by id
|
||||||
*LangApi* | [**AnswerApiV1LanguageConfigGet**](docs/LangApi.md#answerapiv1languageconfigget) | **Get** /answer/api/v1/language/config | get language config mapping
|
*CommentAPI* | [**AnswerApiV1CommentPageGet**](docs/CommentAPI.md#answerapiv1commentpageget) | **Get** /answer/api/v1/comment/page | get comment page
|
||||||
*LangApi* | [**AnswerApiV1LanguageOptionsGet**](docs/LangApi.md#answerapiv1languageoptionsget) | **Get** /answer/api/v1/language/options | Get language options
|
*CommentAPI* | [**AnswerApiV1CommentPost**](docs/CommentAPI.md#answerapiv1commentpost) | **Post** /answer/api/v1/comment | add comment
|
||||||
*LangApi* | [**InstallationLanguageOptionsGet**](docs/LangApi.md#installationlanguageoptionsget) | **Get** /installation/language/options | get installation language options
|
*CommentAPI* | [**AnswerApiV1CommentPut**](docs/CommentAPI.md#answerapiv1commentput) | **Put** /answer/api/v1/comment | update comment
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationPageGet**](docs/NotificationApi.md#answerapiv1notificationpageget) | **Get** /answer/api/v1/notification/page | get notification list
|
*CommentAPI* | [**AnswerApiV1PersonalCommentPageGet**](docs/CommentAPI.md#answerapiv1personalcommentpageget) | **Get** /answer/api/v1/personal/comment/page | user personal comment list
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationReadStateAllPut**](docs/NotificationApi.md#answerapiv1notificationreadstateallput) | **Put** /answer/api/v1/notification/read/state/all | ClearUnRead
|
*InstallationAPI* | [**InstallationBaseInfoPost**](docs/InstallationAPI.md#installationbaseinfopost) | **Post** /installation/base-info | init base info
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationReadStatePut**](docs/NotificationApi.md#answerapiv1notificationreadstateput) | **Put** /answer/api/v1/notification/read/state | ClearUnRead
|
*InstallationAPI* | [**InstallationConfigFileCheckPost**](docs/InstallationAPI.md#installationconfigfilecheckpost) | **Post** /installation/config-file/check | check config file if exist when installation
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationStatusGet**](docs/NotificationApi.md#answerapiv1notificationstatusget) | **Get** /answer/api/v1/notification/status | GetRedDot
|
*InstallationAPI* | [**InstallationDbCheckPost**](docs/InstallationAPI.md#installationdbcheckpost) | **Post** /installation/db/check | check database if exist when installation
|
||||||
*NotificationApi* | [**AnswerApiV1NotificationStatusPut**](docs/NotificationApi.md#answerapiv1notificationstatusput) | **Put** /answer/api/v1/notification/status | DelRedDot
|
*InstallationAPI* | [**InstallationInitPost**](docs/InstallationAPI.md#installationinitpost) | **Post** /installation/init | init environment
|
||||||
*QuestionApi* | [**AnswerApiV1PersonalQaTopGet**](docs/QuestionApi.md#answerapiv1personalqatopget) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
*InstallationAPI* | [**RootGet**](docs/InstallationAPI.md#rootget) | **Get** / | if config file not exist try to redirect to install page
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionApi.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
*LangAPI* | [**AnswerAdminApiLanguageOptionsGet**](docs/LangAPI.md#answeradminapilanguageoptionsget) | **Get** /answer/admin/api/language/options | Get language options
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionClosemsglistGet**](docs/QuestionApi.md#answerapiv1questionclosemsglistget) | **Get** /answer/api/v1/question/closemsglist | close question msg list
|
*LangAPI* | [**AnswerApiV1LanguageConfigGet**](docs/LangAPI.md#answerapiv1languageconfigget) | **Get** /answer/api/v1/language/config | get language config mapping
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionDelete**](docs/QuestionApi.md#answerapiv1questiondelete) | **Delete** /answer/api/v1/question | delete question
|
*LangAPI* | [**AnswerApiV1LanguageOptionsGet**](docs/LangAPI.md#answerapiv1languageoptionsget) | **Get** /answer/api/v1/language/options | Get language options
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionInfoGet**](docs/QuestionApi.md#answerapiv1questioninfoget) | **Get** /answer/api/v1/question/info | get question details
|
*LangAPI* | [**InstallationLanguageOptionsGet**](docs/LangAPI.md#installationlanguageoptionsget) | **Get** /installation/language/options | get installation language options
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionOperationPut**](docs/QuestionApi.md#answerapiv1questionoperationput) | **Put** /answer/api/v1/question/operation | Operation question
|
*NotificationAPI* | [**AnswerApiV1NotificationPageGet**](docs/NotificationAPI.md#answerapiv1notificationpageget) | **Get** /answer/api/v1/notification/page | get notification list
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionPageGet**](docs/QuestionApi.md#answerapiv1questionpageget) | **Get** /answer/api/v1/question/page | get questions by page
|
*NotificationAPI* | [**AnswerApiV1NotificationReadStateAllPut**](docs/NotificationAPI.md#answerapiv1notificationreadstateallput) | **Put** /answer/api/v1/notification/read/state/all | ClearUnRead
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionPost**](docs/QuestionApi.md#answerapiv1questionpost) | **Post** /answer/api/v1/question | add question
|
*NotificationAPI* | [**AnswerApiV1NotificationReadStatePut**](docs/NotificationAPI.md#answerapiv1notificationreadstateput) | **Put** /answer/api/v1/notification/read/state | ClearUnRead
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionPut**](docs/QuestionApi.md#answerapiv1questionput) | **Put** /answer/api/v1/question | update question
|
*NotificationAPI* | [**AnswerApiV1NotificationStatusGet**](docs/NotificationAPI.md#answerapiv1notificationstatusget) | **Get** /answer/api/v1/notification/status | GetRedDot
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionReopenPut**](docs/QuestionApi.md#answerapiv1questionreopenput) | **Put** /answer/api/v1/question/reopen | reopen question
|
*NotificationAPI* | [**AnswerApiV1NotificationStatusPut**](docs/NotificationAPI.md#answerapiv1notificationstatusput) | **Put** /answer/api/v1/notification/status | DelRedDot
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionSimilarGet**](docs/QuestionApi.md#answerapiv1questionsimilarget) | **Get** /answer/api/v1/question/similar | add question title like
|
*PermissionAPI* | [**AnswerApiV1PermissionGet**](docs/PermissionAPI.md#answerapiv1permissionget) | **Get** /answer/api/v1/permission | check user permission
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionSimilarTagGet**](docs/QuestionApi.md#answerapiv1questionsimilartagget) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
*PersonalAPI* | [**AnswerApiV1PersonalAnswerPageGet**](docs/PersonalAPI.md#answerapiv1personalanswerpageget) | **Get** /answer/api/v1/personal/answer/page | list personal answers
|
||||||
*QuestionApi* | [**AnswerApiV1QuestionStatusPut**](docs/QuestionApi.md#answerapiv1questionstatusput) | **Put** /answer/api/v1/question/status | Close question
|
*PersonalAPI* | [**PersonalQuestionPageGet**](docs/PersonalAPI.md#personalquestionpageget) | **Get** /personal/question/page | list personal questions
|
||||||
*QuestionApi* | [**PersonalQuestionPageGet**](docs/QuestionApi.md#personalquestionpageget) | **Get** /personal/question/page | UserList
|
*PluginConnectorAPI* | [**AnswerApiV1ConnectorBindingEmailPost**](docs/PluginConnectorAPI.md#answerapiv1connectorbindingemailpost) | **Post** /answer/api/v1/connector/binding/email | external login binding user send email
|
||||||
*RankApi* | [**AnswerApiV1PersonalRankPageGet**](docs/RankApi.md#answerapiv1personalrankpageget) | **Get** /answer/api/v1/personal/rank/page | user personal rank list
|
*PluginConnectorAPI* | [**AnswerApiV1ConnectorInfoGet**](docs/PluginConnectorAPI.md#answerapiv1connectorinfoget) | **Get** /answer/api/v1/connector/info | get all enabled connectors
|
||||||
*ReasonApi* | [**AnswerAdminApiReasonsGet**](docs/ReasonApi.md#answeradminapireasonsget) | **Get** /answer/admin/api/reasons | get reasons by object type and action
|
*PluginConnectorAPI* | [**AnswerApiV1ConnectorUserInfoGet**](docs/PluginConnectorAPI.md#answerapiv1connectoruserinfoget) | **Get** /answer/api/v1/connector/user/info | get all connectors info about user
|
||||||
*ReasonApi* | [**AnswerApiV1ReasonsGet**](docs/ReasonApi.md#answerapiv1reasonsget) | **Get** /answer/api/v1/reasons | get reasons by object type and action
|
*PluginConnectorAPI* | [**AnswerApiV1ConnectorUserUnbindingDelete**](docs/PluginConnectorAPI.md#answerapiv1connectoruserunbindingdelete) | **Delete** /answer/api/v1/connector/user/unbinding | unbind external user login
|
||||||
*ReportApi* | [**AnswerApiV1ReportPost**](docs/ReportApi.md#answerapiv1reportpost) | **Post** /answer/api/v1/report | add report
|
*QuestionAPI* | [**AnswerApiV1PersonalQaTopGet**](docs/QuestionAPI.md#answerapiv1personalqatopget) | **Get** /answer/api/v1/personal/qa/top | UserTop
|
||||||
*ReportApi* | [**AnswerApiV1ReportTypeListGet**](docs/ReportApi.md#answerapiv1reporttypelistget) | **Get** /answer/api/v1/report/type/list | get report type list
|
*QuestionAPI* | [**AnswerApiV1QuestionAnswerPost**](docs/QuestionAPI.md#answerapiv1questionanswerpost) | **Post** /answer/api/v1/question/answer | add question and answer
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsAuditPut**](docs/RevisionApi.md#answerapiv1revisionsauditput) | **Put** /answer/api/v1/revisions/audit | revision audit
|
*QuestionAPI* | [**AnswerApiV1QuestionDelete**](docs/QuestionAPI.md#answerapiv1questiondelete) | **Delete** /answer/api/v1/question | delete question
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsEditCheckGet**](docs/RevisionApi.md#answerapiv1revisionseditcheckget) | **Get** /answer/api/v1/revisions/edit/check | check can update revision
|
*QuestionAPI* | [**AnswerApiV1QuestionInfoGet**](docs/QuestionAPI.md#answerapiv1questioninfoget) | **Get** /answer/api/v1/question/info | get question details
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsGet**](docs/RevisionApi.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
*QuestionAPI* | [**AnswerApiV1QuestionInviteGet**](docs/QuestionAPI.md#answerapiv1questioninviteget) | **Get** /answer/api/v1/question/invite | get question invite user info
|
||||||
*RevisionApi* | [**AnswerApiV1RevisionsUnreviewedGet**](docs/RevisionApi.md#answerapiv1revisionsunreviewedget) | **Get** /answer/api/v1/revisions/unreviewed | get unreviewed revision list
|
*QuestionAPI* | [**AnswerApiV1QuestionInvitePut**](docs/QuestionAPI.md#answerapiv1questioninviteput) | **Put** /answer/api/v1/question/invite | update question invite user
|
||||||
*SearchApi* | [**AnswerApiV1SearchGet**](docs/SearchApi.md#answerapiv1searchget) | **Get** /answer/api/v1/search | search object
|
*QuestionAPI* | [**AnswerApiV1QuestionOperationPut**](docs/QuestionAPI.md#answerapiv1questionoperationput) | **Put** /answer/api/v1/question/operation | Operation question
|
||||||
*SiteApi* | [**AnswerApiV1SiteinfoGet**](docs/SiteApi.md#answerapiv1siteinfoget) | **Get** /answer/api/v1/siteinfo | get site info
|
*QuestionAPI* | [**AnswerApiV1QuestionPageGet**](docs/QuestionAPI.md#answerapiv1questionpageget) | **Get** /answer/api/v1/question/page | get questions by page
|
||||||
*SiteApi* | [**AnswerApiV1SiteinfoLegalGet**](docs/SiteApi.md#answerapiv1siteinfolegalget) | **Get** /answer/api/v1/siteinfo/legal | get site legal info
|
*QuestionAPI* | [**AnswerApiV1QuestionPost**](docs/QuestionAPI.md#answerapiv1questionpost) | **Post** /answer/api/v1/question | add question
|
||||||
*SiteApi* | [**CustomCssGet**](docs/SiteApi.md#customcssget) | **Get** /custom.css | get site robots information
|
*QuestionAPI* | [**AnswerApiV1QuestionPut**](docs/QuestionAPI.md#answerapiv1questionput) | **Put** /answer/api/v1/question | update question
|
||||||
*SiteApi* | [**RobotsTxtGet**](docs/SiteApi.md#robotstxtget) | **Get** /robots.txt | get site robots information
|
*QuestionAPI* | [**AnswerApiV1QuestionReopenPut**](docs/QuestionAPI.md#answerapiv1questionreopenput) | **Put** /answer/api/v1/question/reopen | reopen question
|
||||||
*TagApi* | [**AnswerApiV1QuestionTagsGet**](docs/TagApi.md#answerapiv1questiontagsget) | **Get** /answer/api/v1/question/tags | get tag list
|
*QuestionAPI* | [**AnswerApiV1QuestionSimilarGet**](docs/QuestionAPI.md#answerapiv1questionsimilarget) | **Get** /answer/api/v1/question/similar | fuzzy query similar questions based on title
|
||||||
*TagApi* | [**AnswerApiV1TagDelete**](docs/TagApi.md#answerapiv1tagdelete) | **Delete** /answer/api/v1/tag | delete tag
|
*QuestionAPI* | [**AnswerApiV1QuestionSimilarTagGet**](docs/QuestionAPI.md#answerapiv1questionsimilartagget) | **Get** /answer/api/v1/question/similar/tag | Search Similar Question
|
||||||
*TagApi* | [**AnswerApiV1TagGet**](docs/TagApi.md#answerapiv1tagget) | **Get** /answer/api/v1/tag | get tag one
|
*QuestionAPI* | [**AnswerApiV1QuestionStatusPut**](docs/QuestionAPI.md#answerapiv1questionstatusput) | **Put** /answer/api/v1/question/status | Close question
|
||||||
*TagApi* | [**AnswerApiV1TagPost**](docs/TagApi.md#answerapiv1tagpost) | **Post** /answer/api/v1/tag | add tag
|
*RankAPI* | [**AnswerApiV1PersonalRankPageGet**](docs/RankAPI.md#answerapiv1personalrankpageget) | **Get** /answer/api/v1/personal/rank/page | user personal rank list
|
||||||
*TagApi* | [**AnswerApiV1TagPut**](docs/TagApi.md#answerapiv1tagput) | **Put** /answer/api/v1/tag | update tag
|
*ReasonAPI* | [**AnswerAdminApiReasonsGet**](docs/ReasonAPI.md#answeradminapireasonsget) | **Get** /answer/admin/api/reasons | get reasons by object type and action
|
||||||
*TagApi* | [**AnswerApiV1TagSynonymPut**](docs/TagApi.md#answerapiv1tagsynonymput) | **Put** /answer/api/v1/tag/synonym | update tag
|
*ReasonAPI* | [**AnswerApiV1ReasonsGet**](docs/ReasonAPI.md#answerapiv1reasonsget) | **Get** /answer/api/v1/reasons | get reasons by object type and action
|
||||||
*TagApi* | [**AnswerApiV1TagSynonymsGet**](docs/TagApi.md#answerapiv1tagsynonymsget) | **Get** /answer/api/v1/tag/synonyms | get tag synonyms
|
*ReportAPI* | [**AnswerApiV1ReportPost**](docs/ReportAPI.md#answerapiv1reportpost) | **Post** /answer/api/v1/report | add report
|
||||||
*TagApi* | [**AnswerApiV1TagsFollowingGet**](docs/TagApi.md#answerapiv1tagsfollowingget) | **Get** /answer/api/v1/tags/following | get following tag list
|
*RevisionAPI* | [**AnswerApiV1RevisionsAuditPut**](docs/RevisionAPI.md#answerapiv1revisionsauditput) | **Put** /answer/api/v1/revisions/audit | revision audit
|
||||||
*TagApi* | [**AnswerApiV1TagsGet**](docs/TagApi.md#answerapiv1tagsget) | **Get** /answer/api/v1/tags | get tags list
|
*RevisionAPI* | [**AnswerApiV1RevisionsEditCheckGet**](docs/RevisionAPI.md#answerapiv1revisionseditcheckget) | **Get** /answer/api/v1/revisions/edit/check | check can update revision
|
||||||
*TagApi* | [**AnswerApiV1TagsPageGet**](docs/TagApi.md#answerapiv1tagspageget) | **Get** /answer/api/v1/tags/page | get tag page
|
*RevisionAPI* | [**AnswerApiV1RevisionsGet**](docs/RevisionAPI.md#answerapiv1revisionsget) | **Get** /answer/api/v1/revisions | get revision list
|
||||||
*UploadApi* | [**AnswerApiV1FilePost**](docs/UploadApi.md#answerapiv1filepost) | **Post** /answer/api/v1/file | upload file
|
*RevisionAPI* | [**AnswerApiV1RevisionsUnreviewedGet**](docs/RevisionAPI.md#answerapiv1revisionsunreviewedget) | **Get** /answer/api/v1/revisions/unreviewed | get unreviewed revision list
|
||||||
*UploadApi* | [**AnswerApiV1PostRenderPost**](docs/UploadApi.md#answerapiv1postrenderpost) | **Post** /answer/api/v1/post/render | render post content
|
*SearchAPI* | [**AnswerApiV1SearchDescGet**](docs/SearchAPI.md#answerapiv1searchdescget) | **Get** /answer/api/v1/search/desc | get search description
|
||||||
*UserApi* | [**AnswerApiV1PersonalUserInfoGet**](docs/UserApi.md#answerapiv1personaluserinfoget) | **Get** /answer/api/v1/personal/user/info | GetOtherUserInfoByUsername
|
*SearchAPI* | [**AnswerApiV1SearchGet**](docs/SearchAPI.md#answerapiv1searchget) | **Get** /answer/api/v1/search | search object
|
||||||
*UserApi* | [**AnswerApiV1UserActionRecordGet**](docs/UserApi.md#answerapiv1useractionrecordget) | **Get** /answer/api/v1/user/action/record | ActionRecord
|
*SiteAPI* | [**AnswerApiV1SiteinfoGet**](docs/SiteAPI.md#answerapiv1siteinfoget) | **Get** /answer/api/v1/siteinfo | get site info
|
||||||
*UserApi* | [**AnswerApiV1UserEmailChangeCodePost**](docs/UserApi.md#answerapiv1useremailchangecodepost) | **Post** /answer/api/v1/user/email/change/code | send email to the user email then change their email
|
*SiteAPI* | [**AnswerApiV1SiteinfoLegalGet**](docs/SiteAPI.md#answerapiv1siteinfolegalget) | **Get** /answer/api/v1/siteinfo/legal | get site legal info
|
||||||
*UserApi* | [**AnswerApiV1UserEmailNotificationPut**](docs/UserApi.md#answerapiv1useremailnotificationput) | **Put** /answer/api/v1/user/email/notification | unsubscribe email notification
|
*SiteAPI* | [**CustomCssGet**](docs/SiteAPI.md#customcssget) | **Get** /custom.css | get site robots information
|
||||||
*UserApi* | [**AnswerApiV1UserEmailPut**](docs/UserApi.md#answerapiv1useremailput) | **Put** /answer/api/v1/user/email | user change email verification
|
*SiteAPI* | [**RobotsTxtGet**](docs/SiteAPI.md#robotstxtget) | **Get** /robots.txt | get site robots information
|
||||||
*UserApi* | [**AnswerApiV1UserEmailVerificationPost**](docs/UserApi.md#answerapiv1useremailverificationpost) | **Post** /answer/api/v1/user/email/verification | UserVerifyEmail
|
*TagAPI* | [**AnswerApiV1QuestionTagsGet**](docs/TagAPI.md#answerapiv1questiontagsget) | **Get** /answer/api/v1/question/tags | get tag list
|
||||||
*UserApi* | [**AnswerApiV1UserEmailVerificationSendPost**](docs/UserApi.md#answerapiv1useremailverificationsendpost) | **Post** /answer/api/v1/user/email/verification/send | UserVerifyEmailSend
|
*TagAPI* | [**AnswerApiV1TagDelete**](docs/TagAPI.md#answerapiv1tagdelete) | **Delete** /answer/api/v1/tag | delete tag
|
||||||
*UserApi* | [**AnswerApiV1UserInfoGet**](docs/UserApi.md#answerapiv1userinfoget) | **Get** /answer/api/v1/user/info | GetUserInfoByUserID
|
*TagAPI* | [**AnswerApiV1TagGet**](docs/TagAPI.md#answerapiv1tagget) | **Get** /answer/api/v1/tag | get tag one
|
||||||
*UserApi* | [**AnswerApiV1UserInfoPut**](docs/UserApi.md#answerapiv1userinfoput) | **Put** /answer/api/v1/user/info | UserUpdateInfo update user info
|
*TagAPI* | [**AnswerApiV1TagPost**](docs/TagAPI.md#answerapiv1tagpost) | **Post** /answer/api/v1/tag | add tag
|
||||||
*UserApi* | [**AnswerApiV1UserInterfacePut**](docs/UserApi.md#answerapiv1userinterfaceput) | **Put** /answer/api/v1/user/interface | UserUpdateInterface update user interface config
|
*TagAPI* | [**AnswerApiV1TagPut**](docs/TagAPI.md#answerapiv1tagput) | **Put** /answer/api/v1/tag | update tag
|
||||||
*UserApi* | [**AnswerApiV1UserLoginEmailPost**](docs/UserApi.md#answerapiv1userloginemailpost) | **Post** /answer/api/v1/user/login/email | UserEmailLogin
|
*TagAPI* | [**AnswerApiV1TagSynonymPut**](docs/TagAPI.md#answerapiv1tagsynonymput) | **Put** /answer/api/v1/tag/synonym | update tag
|
||||||
*UserApi* | [**AnswerApiV1UserLogoutGet**](docs/UserApi.md#answerapiv1userlogoutget) | **Get** /answer/api/v1/user/logout | user logout
|
*TagAPI* | [**AnswerApiV1TagSynonymsGet**](docs/TagAPI.md#answerapiv1tagsynonymsget) | **Get** /answer/api/v1/tag/synonyms | get tag synonyms
|
||||||
*UserApi* | [**AnswerApiV1UserNoticeSetPost**](docs/UserApi.md#answerapiv1usernoticesetpost) | **Post** /answer/api/v1/user/notice/set | UserNoticeSet
|
*TagAPI* | [**AnswerApiV1TagsFollowingGet**](docs/TagAPI.md#answerapiv1tagsfollowingget) | **Get** /answer/api/v1/tags/following | get following tag list
|
||||||
*UserApi* | [**AnswerApiV1UserPasswordPut**](docs/UserApi.md#answerapiv1userpasswordput) | **Put** /answer/api/v1/user/password | UserModifyPassWord
|
*TagAPI* | [**AnswerApiV1TagsGet**](docs/TagAPI.md#answerapiv1tagsget) | **Get** /answer/api/v1/tags | get tags list
|
||||||
*UserApi* | [**AnswerApiV1UserPasswordReplacementPost**](docs/UserApi.md#answerapiv1userpasswordreplacementpost) | **Post** /answer/api/v1/user/password/replacement | UseRePassWord
|
*TagAPI* | [**AnswerApiV1TagsPageGet**](docs/TagAPI.md#answerapiv1tagspageget) | **Get** /answer/api/v1/tags/page | get tag page
|
||||||
*UserApi* | [**AnswerApiV1UserPasswordResetPost**](docs/UserApi.md#answerapiv1userpasswordresetpost) | **Post** /answer/api/v1/user/password/reset | RetrievePassWord
|
*UploadAPI* | [**AnswerApiV1FilePost**](docs/UploadAPI.md#answerapiv1filepost) | **Post** /answer/api/v1/file | upload file
|
||||||
*UserApi* | [**AnswerApiV1UserRankingGet**](docs/UserApi.md#answerapiv1userrankingget) | **Get** /answer/api/v1/user/ranking | get user ranking
|
*UploadAPI* | [**AnswerApiV1PostRenderPost**](docs/UploadAPI.md#answerapiv1postrenderpost) | **Post** /answer/api/v1/post/render | render post content
|
||||||
*UserApi* | [**AnswerApiV1UserRegisterCaptchaGet**](docs/UserApi.md#answerapiv1userregistercaptchaget) | **Get** /answer/api/v1/user/register/captcha | UserRegisterCaptcha
|
*UserAPI* | [**AnswerApiV1PersonalUserInfoGet**](docs/UserAPI.md#answerapiv1personaluserinfoget) | **Get** /answer/api/v1/personal/user/info | GetOtherUserInfoByUsername
|
||||||
*UserApi* | [**AnswerApiV1UserRegisterEmailPost**](docs/UserApi.md#answerapiv1userregisteremailpost) | **Post** /answer/api/v1/user/register/email | UserRegisterByEmail
|
*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
|
## Documentation For Models
|
||||||
|
|
||||||
|
- [AnswerAdminApiPluginConfigGet200Response](docs/AnswerAdminApiPluginConfigGet200Response.md)
|
||||||
|
- [AnswerAdminApiPluginsGet200Response](docs/AnswerAdminApiPluginsGet200Response.md)
|
||||||
- [AnswerAdminApiRolesGet200Response](docs/AnswerAdminApiRolesGet200Response.md)
|
- [AnswerAdminApiRolesGet200Response](docs/AnswerAdminApiRolesGet200Response.md)
|
||||||
|
- [AnswerAdminApiSettingPrivilegesGet200Response](docs/AnswerAdminApiSettingPrivilegesGet200Response.md)
|
||||||
- [AnswerAdminApiSettingSmtpGet200Response](docs/AnswerAdminApiSettingSmtpGet200Response.md)
|
- [AnswerAdminApiSettingSmtpGet200Response](docs/AnswerAdminApiSettingSmtpGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoBrandingGet200Response](docs/AnswerAdminApiSiteinfoBrandingGet200Response.md)
|
- [AnswerAdminApiSiteinfoBrandingGet200Response](docs/AnswerAdminApiSiteinfoBrandingGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoCustomCssHtmlGet200Response](docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md)
|
- [AnswerAdminApiSiteinfoCustomCssHtmlGet200Response](docs/AnswerAdminApiSiteinfoCustomCssHtmlGet200Response.md)
|
||||||
@@ -220,37 +242,35 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerAdminApiSiteinfoLoginGet200Response](docs/AnswerAdminApiSiteinfoLoginGet200Response.md)
|
- [AnswerAdminApiSiteinfoLoginGet200Response](docs/AnswerAdminApiSiteinfoLoginGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoSeoGet200Response](docs/AnswerAdminApiSiteinfoSeoGet200Response.md)
|
- [AnswerAdminApiSiteinfoSeoGet200Response](docs/AnswerAdminApiSiteinfoSeoGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoThemeGet200Response](docs/AnswerAdminApiSiteinfoThemeGet200Response.md)
|
- [AnswerAdminApiSiteinfoThemeGet200Response](docs/AnswerAdminApiSiteinfoThemeGet200Response.md)
|
||||||
|
- [AnswerAdminApiSiteinfoUsersGet200Response](docs/AnswerAdminApiSiteinfoUsersGet200Response.md)
|
||||||
- [AnswerAdminApiSiteinfoWriteGet200Response](docs/AnswerAdminApiSiteinfoWriteGet200Response.md)
|
- [AnswerAdminApiSiteinfoWriteGet200Response](docs/AnswerAdminApiSiteinfoWriteGet200Response.md)
|
||||||
|
- [AnswerAdminApiUserActivationGet200Response](docs/AnswerAdminApiUserActivationGet200Response.md)
|
||||||
- [AnswerAdminApiUsersPageGet200Response](docs/AnswerAdminApiUsersPageGet200Response.md)
|
- [AnswerAdminApiUsersPageGet200Response](docs/AnswerAdminApiUsersPageGet200Response.md)
|
||||||
- [AnswerAdminApiUsersPageGet200ResponseData](docs/AnswerAdminApiUsersPageGet200ResponseData.md)
|
- [AnswerAdminApiUsersPageGet200ResponseAllOfData](docs/AnswerAdminApiUsersPageGet200ResponseAllOfData.md)
|
||||||
- [AnswerAdminApiUsersPageGet200ResponseDataAllOf](docs/AnswerAdminApiUsersPageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1ActivityTimelineGet200Response](docs/AnswerApiV1ActivityTimelineGet200Response.md)
|
- [AnswerApiV1ActivityTimelineGet200Response](docs/AnswerApiV1ActivityTimelineGet200Response.md)
|
||||||
- [AnswerApiV1CollectionSwitchPost200Response](docs/AnswerApiV1CollectionSwitchPost200Response.md)
|
- [AnswerApiV1CollectionSwitchPost200Response](docs/AnswerApiV1CollectionSwitchPost200Response.md)
|
||||||
- [AnswerApiV1CommentGet200Response](docs/AnswerApiV1CommentGet200Response.md)
|
- [AnswerApiV1CommentGet200Response](docs/AnswerApiV1CommentGet200Response.md)
|
||||||
- [AnswerApiV1CommentGet200ResponseData](docs/AnswerApiV1CommentGet200ResponseData.md)
|
- [AnswerApiV1CommentGet200ResponseAllOfData](docs/AnswerApiV1CommentGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1CommentGet200ResponseDataAllOf](docs/AnswerApiV1CommentGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1CommentPost200Response](docs/AnswerApiV1CommentPost200Response.md)
|
- [AnswerApiV1CommentPost200Response](docs/AnswerApiV1CommentPost200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorBindingEmailPost200Response](docs/AnswerApiV1ConnectorBindingEmailPost200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorInfoGet200Response](docs/AnswerApiV1ConnectorInfoGet200Response.md)
|
||||||
|
- [AnswerApiV1ConnectorUserInfoGet200Response](docs/AnswerApiV1ConnectorUserInfoGet200Response.md)
|
||||||
- [AnswerApiV1FilePost200Response](docs/AnswerApiV1FilePost200Response.md)
|
- [AnswerApiV1FilePost200Response](docs/AnswerApiV1FilePost200Response.md)
|
||||||
- [AnswerApiV1FollowPost200Response](docs/AnswerApiV1FollowPost200Response.md)
|
- [AnswerApiV1FollowPost200Response](docs/AnswerApiV1FollowPost200Response.md)
|
||||||
|
- [AnswerApiV1PermissionGet200Response](docs/AnswerApiV1PermissionGet200Response.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200Response](docs/AnswerApiV1PersonalCommentPageGet200Response.md)
|
- [AnswerApiV1PersonalCommentPageGet200Response](docs/AnswerApiV1PersonalCommentPageGet200Response.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200ResponseData](docs/AnswerApiV1PersonalCommentPageGet200ResponseData.md)
|
- [AnswerApiV1PersonalCommentPageGet200ResponseAllOfData](docs/AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalCommentPageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1PersonalRankPageGet200Response](docs/AnswerApiV1PersonalRankPageGet200Response.md)
|
- [AnswerApiV1PersonalRankPageGet200Response](docs/AnswerApiV1PersonalRankPageGet200Response.md)
|
||||||
- [AnswerApiV1PersonalRankPageGet200ResponseData](docs/AnswerApiV1PersonalRankPageGet200ResponseData.md)
|
- [AnswerApiV1PersonalRankPageGet200ResponseAllOfData](docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1PersonalRankPageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalRankPageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1PersonalUserInfoGet200Response](docs/AnswerApiV1PersonalUserInfoGet200Response.md)
|
- [AnswerApiV1PersonalUserInfoGet200Response](docs/AnswerApiV1PersonalUserInfoGet200Response.md)
|
||||||
- [AnswerApiV1PersonalVotePageGet200Response](docs/AnswerApiV1PersonalVotePageGet200Response.md)
|
- [AnswerApiV1PersonalVotePageGet200Response](docs/AnswerApiV1PersonalVotePageGet200Response.md)
|
||||||
- [AnswerApiV1PersonalVotePageGet200ResponseData](docs/AnswerApiV1PersonalVotePageGet200ResponseData.md)
|
- [AnswerApiV1PersonalVotePageGet200ResponseAllOfData](docs/AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1PersonalVotePageGet200ResponseDataAllOf](docs/AnswerApiV1PersonalVotePageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1QuestionPageGet200Response](docs/AnswerApiV1QuestionPageGet200Response.md)
|
- [AnswerApiV1QuestionPageGet200Response](docs/AnswerApiV1QuestionPageGet200Response.md)
|
||||||
- [AnswerApiV1QuestionPageGet200ResponseData](docs/AnswerApiV1QuestionPageGet200ResponseData.md)
|
- [AnswerApiV1QuestionPageGet200ResponseAllOfData](docs/AnswerApiV1QuestionPageGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1QuestionPageGet200ResponseDataAllOf](docs/AnswerApiV1QuestionPageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1QuestionTagsGet200Response](docs/AnswerApiV1QuestionTagsGet200Response.md)
|
- [AnswerApiV1QuestionTagsGet200Response](docs/AnswerApiV1QuestionTagsGet200Response.md)
|
||||||
- [AnswerApiV1ReportTypeListGet200Response](docs/AnswerApiV1ReportTypeListGet200Response.md)
|
|
||||||
- [AnswerApiV1RevisionsGet200Response](docs/AnswerApiV1RevisionsGet200Response.md)
|
- [AnswerApiV1RevisionsGet200Response](docs/AnswerApiV1RevisionsGet200Response.md)
|
||||||
- [AnswerApiV1RevisionsUnreviewedGet200Response](docs/AnswerApiV1RevisionsUnreviewedGet200Response.md)
|
- [AnswerApiV1RevisionsUnreviewedGet200Response](docs/AnswerApiV1RevisionsUnreviewedGet200Response.md)
|
||||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseData.md)
|
- [AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf](docs/AnswerApiV1RevisionsUnreviewedGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1SearchGet200Response](docs/AnswerApiV1SearchGet200Response.md)
|
- [AnswerApiV1SearchGet200Response](docs/AnswerApiV1SearchGet200Response.md)
|
||||||
- [AnswerApiV1SiteinfoGet200Response](docs/AnswerApiV1SiteinfoGet200Response.md)
|
- [AnswerApiV1SiteinfoGet200Response](docs/AnswerApiV1SiteinfoGet200Response.md)
|
||||||
- [AnswerApiV1SiteinfoLegalGet200Response](docs/AnswerApiV1SiteinfoLegalGet200Response.md)
|
- [AnswerApiV1SiteinfoLegalGet200Response](docs/AnswerApiV1SiteinfoLegalGet200Response.md)
|
||||||
@@ -258,14 +278,15 @@ Class | Method | HTTP request | Description
|
|||||||
- [AnswerApiV1TagSynonymsGet200Response](docs/AnswerApiV1TagSynonymsGet200Response.md)
|
- [AnswerApiV1TagSynonymsGet200Response](docs/AnswerApiV1TagSynonymsGet200Response.md)
|
||||||
- [AnswerApiV1TagsFollowingGet200Response](docs/AnswerApiV1TagsFollowingGet200Response.md)
|
- [AnswerApiV1TagsFollowingGet200Response](docs/AnswerApiV1TagsFollowingGet200Response.md)
|
||||||
- [AnswerApiV1TagsPageGet200Response](docs/AnswerApiV1TagsPageGet200Response.md)
|
- [AnswerApiV1TagsPageGet200Response](docs/AnswerApiV1TagsPageGet200Response.md)
|
||||||
- [AnswerApiV1TagsPageGet200ResponseData](docs/AnswerApiV1TagsPageGet200ResponseData.md)
|
- [AnswerApiV1TagsPageGet200ResponseAllOfData](docs/AnswerApiV1TagsPageGet200ResponseAllOfData.md)
|
||||||
- [AnswerApiV1TagsPageGet200ResponseDataAllOf](docs/AnswerApiV1TagsPageGet200ResponseDataAllOf.md)
|
|
||||||
- [AnswerApiV1UserActionRecordGet200Response](docs/AnswerApiV1UserActionRecordGet200Response.md)
|
- [AnswerApiV1UserActionRecordGet200Response](docs/AnswerApiV1UserActionRecordGet200Response.md)
|
||||||
- [AnswerApiV1UserEmailVerificationPost200Response](docs/AnswerApiV1UserEmailVerificationPost200Response.md)
|
- [AnswerApiV1UserEmailVerificationPost200Response](docs/AnswerApiV1UserEmailVerificationPost200Response.md)
|
||||||
- [AnswerApiV1UserInfoGet200Response](docs/AnswerApiV1UserInfoGet200Response.md)
|
- [AnswerApiV1UserInfoGet200Response](docs/AnswerApiV1UserInfoGet200Response.md)
|
||||||
- [AnswerApiV1UserNoticeSetPost200Response](docs/AnswerApiV1UserNoticeSetPost200Response.md)
|
- [AnswerApiV1UserNotificationConfigPost200Response](docs/AnswerApiV1UserNotificationConfigPost200Response.md)
|
||||||
- [AnswerApiV1UserRankingGet200Response](docs/AnswerApiV1UserRankingGet200Response.md)
|
- [AnswerApiV1UserRankingGet200Response](docs/AnswerApiV1UserRankingGet200Response.md)
|
||||||
- [AnswerApiV1VoteDownPost200Response](docs/AnswerApiV1VoteDownPost200Response.md)
|
- [AnswerApiV1VoteDownPost200Response](docs/AnswerApiV1VoteDownPost200Response.md)
|
||||||
|
- [ConstantNotificationChannelKey](docs/ConstantNotificationChannelKey.md)
|
||||||
|
- [ConstantPrivilege](docs/ConstantPrivilege.md)
|
||||||
- [HandlerRespBody](docs/HandlerRespBody.md)
|
- [HandlerRespBody](docs/HandlerRespBody.md)
|
||||||
- [InstallCheckConfigFileResp](docs/InstallCheckConfigFileResp.md)
|
- [InstallCheckConfigFileResp](docs/InstallCheckConfigFileResp.md)
|
||||||
- [InstallCheckDatabaseReq](docs/InstallCheckDatabaseReq.md)
|
- [InstallCheckDatabaseReq](docs/InstallCheckDatabaseReq.md)
|
||||||
@@ -273,6 +294,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [InstallationConfigFileCheckPost200Response](docs/InstallationConfigFileCheckPost200Response.md)
|
- [InstallationConfigFileCheckPost200Response](docs/InstallationConfigFileCheckPost200Response.md)
|
||||||
- [InstallationLanguageOptionsGet200Response](docs/InstallationLanguageOptionsGet200Response.md)
|
- [InstallationLanguageOptionsGet200Response](docs/InstallationLanguageOptionsGet200Response.md)
|
||||||
- [PagerPageModel](docs/PagerPageModel.md)
|
- [PagerPageModel](docs/PagerPageModel.md)
|
||||||
|
- [SchemaAcceptAnswerReq](docs/SchemaAcceptAnswerReq.md)
|
||||||
- [SchemaActObjectInfo](docs/SchemaActObjectInfo.md)
|
- [SchemaActObjectInfo](docs/SchemaActObjectInfo.md)
|
||||||
- [SchemaActObjectTimeline](docs/SchemaActObjectTimeline.md)
|
- [SchemaActObjectTimeline](docs/SchemaActObjectTimeline.md)
|
||||||
- [SchemaActionRecordResp](docs/SchemaActionRecordResp.md)
|
- [SchemaActionRecordResp](docs/SchemaActionRecordResp.md)
|
||||||
@@ -280,25 +302,36 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaAddReportReq](docs/SchemaAddReportReq.md)
|
- [SchemaAddReportReq](docs/SchemaAddReportReq.md)
|
||||||
- [SchemaAddTagReq](docs/SchemaAddTagReq.md)
|
- [SchemaAddTagReq](docs/SchemaAddTagReq.md)
|
||||||
- [SchemaAddUserReq](docs/SchemaAddUserReq.md)
|
- [SchemaAddUserReq](docs/SchemaAddUserReq.md)
|
||||||
|
- [SchemaAddUsersReq](docs/SchemaAddUsersReq.md)
|
||||||
- [SchemaAdminSetAnswerStatusRequest](docs/SchemaAdminSetAnswerStatusRequest.md)
|
- [SchemaAdminSetAnswerStatusRequest](docs/SchemaAdminSetAnswerStatusRequest.md)
|
||||||
- [SchemaAdminSetQuestionStatusRequest](docs/SchemaAdminSetQuestionStatusRequest.md)
|
- [SchemaAdminSetQuestionStatusRequest](docs/SchemaAdminSetQuestionStatusRequest.md)
|
||||||
- [SchemaAnswerAcceptedReq](docs/SchemaAnswerAcceptedReq.md)
|
|
||||||
- [SchemaAnswerAddReq](docs/SchemaAnswerAddReq.md)
|
- [SchemaAnswerAddReq](docs/SchemaAnswerAddReq.md)
|
||||||
- [SchemaAnswerUpdateReq](docs/SchemaAnswerUpdateReq.md)
|
- [SchemaAnswerUpdateReq](docs/SchemaAnswerUpdateReq.md)
|
||||||
- [SchemaAvatarInfo](docs/SchemaAvatarInfo.md)
|
- [SchemaAvatarInfo](docs/SchemaAvatarInfo.md)
|
||||||
- [SchemaCloseQuestionReq](docs/SchemaCloseQuestionReq.md)
|
- [SchemaCloseQuestionReq](docs/SchemaCloseQuestionReq.md)
|
||||||
- [SchemaCollectionSwitchReq](docs/SchemaCollectionSwitchReq.md)
|
- [SchemaCollectionSwitchReq](docs/SchemaCollectionSwitchReq.md)
|
||||||
- [SchemaCollectionSwitchResp](docs/SchemaCollectionSwitchResp.md)
|
- [SchemaCollectionSwitchResp](docs/SchemaCollectionSwitchResp.md)
|
||||||
|
- [SchemaConfigField](docs/SchemaConfigField.md)
|
||||||
|
- [SchemaConfigFieldOption](docs/SchemaConfigFieldOption.md)
|
||||||
|
- [SchemaConfigFieldUIOptions](docs/SchemaConfigFieldUIOptions.md)
|
||||||
|
- [SchemaConnectorInfoResp](docs/SchemaConnectorInfoResp.md)
|
||||||
|
- [SchemaConnectorUserInfoResp](docs/SchemaConnectorUserInfoResp.md)
|
||||||
|
- [SchemaExternalLoginBindingUserSendEmailReq](docs/SchemaExternalLoginBindingUserSendEmailReq.md)
|
||||||
|
- [SchemaExternalLoginBindingUserSendEmailResp](docs/SchemaExternalLoginBindingUserSendEmailResp.md)
|
||||||
|
- [SchemaExternalLoginUnbindingReq](docs/SchemaExternalLoginUnbindingReq.md)
|
||||||
- [SchemaFollowReq](docs/SchemaFollowReq.md)
|
- [SchemaFollowReq](docs/SchemaFollowReq.md)
|
||||||
- [SchemaFollowResp](docs/SchemaFollowResp.md)
|
- [SchemaFollowResp](docs/SchemaFollowResp.md)
|
||||||
- [SchemaGetCommentPersonalWithPageResp](docs/SchemaGetCommentPersonalWithPageResp.md)
|
- [SchemaGetCommentPersonalWithPageResp](docs/SchemaGetCommentPersonalWithPageResp.md)
|
||||||
- [SchemaGetCommentResp](docs/SchemaGetCommentResp.md)
|
- [SchemaGetCommentResp](docs/SchemaGetCommentResp.md)
|
||||||
|
- [SchemaGetCurrentLoginUserInfoResp](docs/SchemaGetCurrentLoginUserInfoResp.md)
|
||||||
- [SchemaGetFollowingTagsResp](docs/SchemaGetFollowingTagsResp.md)
|
- [SchemaGetFollowingTagsResp](docs/SchemaGetFollowingTagsResp.md)
|
||||||
- [SchemaGetObjectTimelineResp](docs/SchemaGetObjectTimelineResp.md)
|
- [SchemaGetObjectTimelineResp](docs/SchemaGetObjectTimelineResp.md)
|
||||||
- [SchemaGetOtherUserInfoByUsernameResp](docs/SchemaGetOtherUserInfoByUsernameResp.md)
|
- [SchemaGetOtherUserInfoByUsernameResp](docs/SchemaGetOtherUserInfoByUsernameResp.md)
|
||||||
- [SchemaGetOtherUserInfoResp](docs/SchemaGetOtherUserInfoResp.md)
|
- [SchemaGetOtherUserInfoResp](docs/SchemaGetOtherUserInfoResp.md)
|
||||||
- [SchemaGetRankPersonalWithPageResp](docs/SchemaGetRankPersonalWithPageResp.md)
|
- [SchemaGetPluginConfigResp](docs/SchemaGetPluginConfigResp.md)
|
||||||
- [SchemaGetReportTypeResp](docs/SchemaGetReportTypeResp.md)
|
- [SchemaGetPluginListResp](docs/SchemaGetPluginListResp.md)
|
||||||
|
- [SchemaGetPrivilegesConfigResp](docs/SchemaGetPrivilegesConfigResp.md)
|
||||||
|
- [SchemaGetRankPersonalPageResp](docs/SchemaGetRankPersonalPageResp.md)
|
||||||
- [SchemaGetRevisionResp](docs/SchemaGetRevisionResp.md)
|
- [SchemaGetRevisionResp](docs/SchemaGetRevisionResp.md)
|
||||||
- [SchemaGetRoleResp](docs/SchemaGetRoleResp.md)
|
- [SchemaGetRoleResp](docs/SchemaGetRoleResp.md)
|
||||||
- [SchemaGetSMTPConfigResp](docs/SchemaGetSMTPConfigResp.md)
|
- [SchemaGetSMTPConfigResp](docs/SchemaGetSMTPConfigResp.md)
|
||||||
@@ -307,21 +340,26 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaGetTagResp](docs/SchemaGetTagResp.md)
|
- [SchemaGetTagResp](docs/SchemaGetTagResp.md)
|
||||||
- [SchemaGetTagSynonymsResp](docs/SchemaGetTagSynonymsResp.md)
|
- [SchemaGetTagSynonymsResp](docs/SchemaGetTagSynonymsResp.md)
|
||||||
- [SchemaGetUnreviewedRevisionResp](docs/SchemaGetUnreviewedRevisionResp.md)
|
- [SchemaGetUnreviewedRevisionResp](docs/SchemaGetUnreviewedRevisionResp.md)
|
||||||
|
- [SchemaGetUserActivationResp](docs/SchemaGetUserActivationResp.md)
|
||||||
|
- [SchemaGetUserNotificationConfigResp](docs/SchemaGetUserNotificationConfigResp.md)
|
||||||
- [SchemaGetUserPageResp](docs/SchemaGetUserPageResp.md)
|
- [SchemaGetUserPageResp](docs/SchemaGetUserPageResp.md)
|
||||||
- [SchemaGetUserResp](docs/SchemaGetUserResp.md)
|
|
||||||
- [SchemaGetUserToSetShowResp](docs/SchemaGetUserToSetShowResp.md)
|
|
||||||
- [SchemaGetVoteWithPageResp](docs/SchemaGetVoteWithPageResp.md)
|
- [SchemaGetVoteWithPageResp](docs/SchemaGetVoteWithPageResp.md)
|
||||||
|
- [SchemaLoadingAction](docs/SchemaLoadingAction.md)
|
||||||
|
- [SchemaNotificationChannelConfig](docs/SchemaNotificationChannelConfig.md)
|
||||||
- [SchemaNotificationClearIDRequest](docs/SchemaNotificationClearIDRequest.md)
|
- [SchemaNotificationClearIDRequest](docs/SchemaNotificationClearIDRequest.md)
|
||||||
- [SchemaNotificationClearRequest](docs/SchemaNotificationClearRequest.md)
|
- [SchemaNotificationClearRequest](docs/SchemaNotificationClearRequest.md)
|
||||||
|
- [SchemaOnCompleteAction](docs/SchemaOnCompleteAction.md)
|
||||||
- [SchemaOperationQuestionReq](docs/SchemaOperationQuestionReq.md)
|
- [SchemaOperationQuestionReq](docs/SchemaOperationQuestionReq.md)
|
||||||
- [SchemaPermissionMemberAction](docs/SchemaPermissionMemberAction.md)
|
- [SchemaPermissionMemberAction](docs/SchemaPermissionMemberAction.md)
|
||||||
- [SchemaPostRenderReq](docs/SchemaPostRenderReq.md)
|
- [SchemaPostRenderReq](docs/SchemaPostRenderReq.md)
|
||||||
|
- [SchemaPrivilegeLevel](docs/SchemaPrivilegeLevel.md)
|
||||||
|
- [SchemaPrivilegeOption](docs/SchemaPrivilegeOption.md)
|
||||||
- [SchemaQuestionAdd](docs/SchemaQuestionAdd.md)
|
- [SchemaQuestionAdd](docs/SchemaQuestionAdd.md)
|
||||||
- [SchemaQuestionAddByAnswer](docs/SchemaQuestionAddByAnswer.md)
|
- [SchemaQuestionAddByAnswer](docs/SchemaQuestionAddByAnswer.md)
|
||||||
- [SchemaQuestionPageReq](docs/SchemaQuestionPageReq.md)
|
|
||||||
- [SchemaQuestionPageResp](docs/SchemaQuestionPageResp.md)
|
- [SchemaQuestionPageResp](docs/SchemaQuestionPageResp.md)
|
||||||
- [SchemaQuestionPageRespOperator](docs/SchemaQuestionPageRespOperator.md)
|
- [SchemaQuestionPageRespOperator](docs/SchemaQuestionPageRespOperator.md)
|
||||||
- [SchemaQuestionUpdate](docs/SchemaQuestionUpdate.md)
|
- [SchemaQuestionUpdate](docs/SchemaQuestionUpdate.md)
|
||||||
|
- [SchemaQuestionUpdateInviteUser](docs/SchemaQuestionUpdateInviteUser.md)
|
||||||
- [SchemaRemoveAnswerReq](docs/SchemaRemoveAnswerReq.md)
|
- [SchemaRemoveAnswerReq](docs/SchemaRemoveAnswerReq.md)
|
||||||
- [SchemaRemoveCommentReq](docs/SchemaRemoveCommentReq.md)
|
- [SchemaRemoveCommentReq](docs/SchemaRemoveCommentReq.md)
|
||||||
- [SchemaRemoveQuestionReq](docs/SchemaRemoveQuestionReq.md)
|
- [SchemaRemoveQuestionReq](docs/SchemaRemoveQuestionReq.md)
|
||||||
@@ -329,9 +367,11 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaReopenQuestionReq](docs/SchemaReopenQuestionReq.md)
|
- [SchemaReopenQuestionReq](docs/SchemaReopenQuestionReq.md)
|
||||||
- [SchemaReportHandleReq](docs/SchemaReportHandleReq.md)
|
- [SchemaReportHandleReq](docs/SchemaReportHandleReq.md)
|
||||||
- [SchemaRevisionAuditReq](docs/SchemaRevisionAuditReq.md)
|
- [SchemaRevisionAuditReq](docs/SchemaRevisionAuditReq.md)
|
||||||
- [SchemaSearchListResp](docs/SchemaSearchListResp.md)
|
|
||||||
- [SchemaSearchObject](docs/SchemaSearchObject.md)
|
- [SchemaSearchObject](docs/SchemaSearchObject.md)
|
||||||
|
- [SchemaSearchObjectUser](docs/SchemaSearchObjectUser.md)
|
||||||
- [SchemaSearchResp](docs/SchemaSearchResp.md)
|
- [SchemaSearchResp](docs/SchemaSearchResp.md)
|
||||||
|
- [SchemaSearchResult](docs/SchemaSearchResult.md)
|
||||||
|
- [SchemaSendUserActivationReq](docs/SchemaSendUserActivationReq.md)
|
||||||
- [SchemaSiteBrandingReq](docs/SchemaSiteBrandingReq.md)
|
- [SchemaSiteBrandingReq](docs/SchemaSiteBrandingReq.md)
|
||||||
- [SchemaSiteBrandingResp](docs/SchemaSiteBrandingResp.md)
|
- [SchemaSiteBrandingResp](docs/SchemaSiteBrandingResp.md)
|
||||||
- [SchemaSiteCustomCssHTMLReq](docs/SchemaSiteCustomCssHTMLReq.md)
|
- [SchemaSiteCustomCssHTMLReq](docs/SchemaSiteCustomCssHTMLReq.md)
|
||||||
@@ -349,35 +389,42 @@ Class | Method | HTTP request | Description
|
|||||||
- [SchemaSiteSeoResp](docs/SchemaSiteSeoResp.md)
|
- [SchemaSiteSeoResp](docs/SchemaSiteSeoResp.md)
|
||||||
- [SchemaSiteThemeReq](docs/SchemaSiteThemeReq.md)
|
- [SchemaSiteThemeReq](docs/SchemaSiteThemeReq.md)
|
||||||
- [SchemaSiteThemeResp](docs/SchemaSiteThemeResp.md)
|
- [SchemaSiteThemeResp](docs/SchemaSiteThemeResp.md)
|
||||||
|
- [SchemaSiteUsersReq](docs/SchemaSiteUsersReq.md)
|
||||||
|
- [SchemaSiteUsersResp](docs/SchemaSiteUsersResp.md)
|
||||||
- [SchemaSiteWriteReq](docs/SchemaSiteWriteReq.md)
|
- [SchemaSiteWriteReq](docs/SchemaSiteWriteReq.md)
|
||||||
- [SchemaSiteWriteResp](docs/SchemaSiteWriteResp.md)
|
- [SchemaSiteWriteResp](docs/SchemaSiteWriteResp.md)
|
||||||
- [SchemaTagItem](docs/SchemaTagItem.md)
|
- [SchemaTagItem](docs/SchemaTagItem.md)
|
||||||
- [SchemaTagResp](docs/SchemaTagResp.md)
|
- [SchemaTagResp](docs/SchemaTagResp.md)
|
||||||
- [SchemaTagSynonym](docs/SchemaTagSynonym.md)
|
- [SchemaTagSynonym](docs/SchemaTagSynonym.md)
|
||||||
- [SchemaThemeOption](docs/SchemaThemeOption.md)
|
- [SchemaThemeOption](docs/SchemaThemeOption.md)
|
||||||
|
- [SchemaUIOptionAction](docs/SchemaUIOptionAction.md)
|
||||||
- [SchemaUnreviewedRevisionInfoInfo](docs/SchemaUnreviewedRevisionInfoInfo.md)
|
- [SchemaUnreviewedRevisionInfoInfo](docs/SchemaUnreviewedRevisionInfoInfo.md)
|
||||||
- [SchemaUpdateCommentReq](docs/SchemaUpdateCommentReq.md)
|
- [SchemaUpdateCommentReq](docs/SchemaUpdateCommentReq.md)
|
||||||
- [SchemaUpdateFollowTagsReq](docs/SchemaUpdateFollowTagsReq.md)
|
- [SchemaUpdateFollowTagsReq](docs/SchemaUpdateFollowTagsReq.md)
|
||||||
- [SchemaUpdateInfoRequest](docs/SchemaUpdateInfoRequest.md)
|
- [SchemaUpdateInfoRequest](docs/SchemaUpdateInfoRequest.md)
|
||||||
|
- [SchemaUpdatePluginConfigReq](docs/SchemaUpdatePluginConfigReq.md)
|
||||||
|
- [SchemaUpdatePluginStatusReq](docs/SchemaUpdatePluginStatusReq.md)
|
||||||
|
- [SchemaUpdatePrivilegesConfigReq](docs/SchemaUpdatePrivilegesConfigReq.md)
|
||||||
- [SchemaUpdateSMTPConfigReq](docs/SchemaUpdateSMTPConfigReq.md)
|
- [SchemaUpdateSMTPConfigReq](docs/SchemaUpdateSMTPConfigReq.md)
|
||||||
- [SchemaUpdateTagReq](docs/SchemaUpdateTagReq.md)
|
- [SchemaUpdateTagReq](docs/SchemaUpdateTagReq.md)
|
||||||
- [SchemaUpdateTagSynonymReq](docs/SchemaUpdateTagSynonymReq.md)
|
- [SchemaUpdateTagSynonymReq](docs/SchemaUpdateTagSynonymReq.md)
|
||||||
- [SchemaUpdateUserInterfaceRequest](docs/SchemaUpdateUserInterfaceRequest.md)
|
- [SchemaUpdateUserInterfaceRequest](docs/SchemaUpdateUserInterfaceRequest.md)
|
||||||
|
- [SchemaUpdateUserNotificationConfigReq](docs/SchemaUpdateUserNotificationConfigReq.md)
|
||||||
- [SchemaUpdateUserPasswordReq](docs/SchemaUpdateUserPasswordReq.md)
|
- [SchemaUpdateUserPasswordReq](docs/SchemaUpdateUserPasswordReq.md)
|
||||||
- [SchemaUpdateUserRoleReq](docs/SchemaUpdateUserRoleReq.md)
|
- [SchemaUpdateUserRoleReq](docs/SchemaUpdateUserRoleReq.md)
|
||||||
- [SchemaUpdateUserStatusReq](docs/SchemaUpdateUserStatusReq.md)
|
- [SchemaUpdateUserStatusReq](docs/SchemaUpdateUserStatusReq.md)
|
||||||
- [SchemaUserBasicInfo](docs/SchemaUserBasicInfo.md)
|
- [SchemaUserBasicInfo](docs/SchemaUserBasicInfo.md)
|
||||||
- [SchemaUserChangeEmailSendCodeReq](docs/SchemaUserChangeEmailSendCodeReq.md)
|
- [SchemaUserChangeEmailSendCodeReq](docs/SchemaUserChangeEmailSendCodeReq.md)
|
||||||
- [SchemaUserChangeEmailVerifyReq](docs/SchemaUserChangeEmailVerifyReq.md)
|
- [SchemaUserChangeEmailVerifyReq](docs/SchemaUserChangeEmailVerifyReq.md)
|
||||||
- [SchemaUserEmailLogin](docs/SchemaUserEmailLogin.md)
|
- [SchemaUserEmailLoginReq](docs/SchemaUserEmailLoginReq.md)
|
||||||
- [SchemaUserModifyPassWordRequest](docs/SchemaUserModifyPassWordRequest.md)
|
- [SchemaUserLoginResp](docs/SchemaUserLoginResp.md)
|
||||||
- [SchemaUserNoticeSetRequest](docs/SchemaUserNoticeSetRequest.md)
|
- [SchemaUserModifyPasswordReq](docs/SchemaUserModifyPasswordReq.md)
|
||||||
- [SchemaUserNoticeSetResp](docs/SchemaUserNoticeSetResp.md)
|
|
||||||
- [SchemaUserRankingResp](docs/SchemaUserRankingResp.md)
|
- [SchemaUserRankingResp](docs/SchemaUserRankingResp.md)
|
||||||
- [SchemaUserRankingSimpleInfo](docs/SchemaUserRankingSimpleInfo.md)
|
- [SchemaUserRankingSimpleInfo](docs/SchemaUserRankingSimpleInfo.md)
|
||||||
- [SchemaUserRePassWordRequest](docs/SchemaUserRePassWordRequest.md)
|
- [SchemaUserRePassWordRequest](docs/SchemaUserRePassWordRequest.md)
|
||||||
- [SchemaUserRegisterReq](docs/SchemaUserRegisterReq.md)
|
- [SchemaUserRegisterReq](docs/SchemaUserRegisterReq.md)
|
||||||
- [SchemaUserRetrievePassWordRequest](docs/SchemaUserRetrievePassWordRequest.md)
|
- [SchemaUserRetrievePassWordRequest](docs/SchemaUserRetrievePassWordRequest.md)
|
||||||
|
- [SchemaUserUnsubscribeNotificationReq](docs/SchemaUserUnsubscribeNotificationReq.md)
|
||||||
- [SchemaVoteReq](docs/SchemaVoteReq.md)
|
- [SchemaVoteReq](docs/SchemaVoteReq.md)
|
||||||
- [SchemaVoteResp](docs/SchemaVoteResp.md)
|
- [SchemaVoteResp](docs/SchemaVoteResp.md)
|
||||||
- [TranslatorLangOption](docs/TranslatorLangOption.md)
|
- [TranslatorLangOption](docs/TranslatorLangOption.md)
|
||||||
@@ -395,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.
|
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
|
## Documentation for Utility Methods
|
||||||
|
|
||||||
|
|||||||
3396
api/openapi.yaml
3396
api/openapi.yaml
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// ActivityApiService ActivityApi service
|
// ActivityAPIService ActivityAPI service
|
||||||
type ActivityApiService service
|
type ActivityAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1FollowPostRequest struct {
|
type ApiAnswerApiV1FollowPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ActivityApiService
|
ApiService *ActivityAPIService
|
||||||
data *SchemaFollowReq
|
data *SchemaFollowReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1FollowPostRequest
|
@return ApiAnswerApiV1FollowPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ActivityApiService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswerApiV1FollowPostRequest {
|
func (a *ActivityAPIService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswerApiV1FollowPostRequest {
|
||||||
return ApiAnswerApiV1FollowPostRequest{
|
return ApiAnswerApiV1FollowPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPost(ctx context.Context) ApiAnswe
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1FollowPost200Response
|
// @return AnswerApiV1FollowPost200Response
|
||||||
func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1FollowPostRequest) (*AnswerApiV1FollowPost200Response, *http.Response, error) {
|
func (a *ActivityAPIService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1FollowPostRequest) (*AnswerApiV1FollowPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1Follow
|
|||||||
localVarReturnValue *AnswerApiV1FollowPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -149,7 +147,7 @@ func (a *ActivityApiService) AnswerApiV1FollowPostExecute(r ApiAnswerApiV1Follow
|
|||||||
|
|
||||||
type ApiAnswerApiV1FollowTagsPutRequest struct {
|
type ApiAnswerApiV1FollowTagsPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ActivityApiService
|
ApiService *ActivityAPIService
|
||||||
data *SchemaUpdateFollowTagsReq
|
data *SchemaUpdateFollowTagsReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1FollowTagsPutRequest
|
@return ApiAnswerApiV1FollowTagsPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *ActivityApiService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAnswerApiV1FollowTagsPutRequest {
|
func (a *ActivityAPIService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAnswerApiV1FollowTagsPutRequest {
|
||||||
return ApiAnswerApiV1FollowTagsPutRequest{
|
return ApiAnswerApiV1FollowTagsPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -180,7 +178,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPut(ctx context.Context) ApiAn
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1FollowTagsPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *ActivityAPIService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1FollowTagsPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -188,7 +186,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1Fol
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -274,7 +272,7 @@ func (a *ActivityApiService) AnswerApiV1FollowTagsPutExecute(r ApiAnswerApiV1Fol
|
|||||||
|
|
||||||
type ApiAnswerApiV1PersonalVotePageGetRequest struct {
|
type ApiAnswerApiV1PersonalVotePageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ActivityApiService
|
ApiService *ActivityAPIService
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
}
|
}
|
||||||
@@ -296,14 +294,14 @@ func (r ApiAnswerApiV1PersonalVotePageGetRequest) Execute() (*AnswerApiV1Persona
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerApiV1PersonalVotePageGet user's votes
|
AnswerApiV1PersonalVotePageGet get user personal votes
|
||||||
|
|
||||||
user's vote
|
get user personal votes
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalVotePageGetRequest
|
@return ApiAnswerApiV1PersonalVotePageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *ActivityApiService) AnswerApiV1PersonalVotePageGet(ctx context.Context) ApiAnswerApiV1PersonalVotePageGetRequest {
|
func (a *ActivityAPIService) AnswerApiV1PersonalVotePageGet(ctx context.Context) ApiAnswerApiV1PersonalVotePageGetRequest {
|
||||||
return ApiAnswerApiV1PersonalVotePageGetRequest{
|
return ApiAnswerApiV1PersonalVotePageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -312,7 +310,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGet(ctx context.Context)
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1PersonalVotePageGet200Response
|
// @return AnswerApiV1PersonalVotePageGet200Response
|
||||||
func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerApiV1PersonalVotePageGetRequest) (*AnswerApiV1PersonalVotePageGet200Response, *http.Response, error) {
|
func (a *ActivityAPIService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerApiV1PersonalVotePageGetRequest) (*AnswerApiV1PersonalVotePageGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -320,7 +318,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerAp
|
|||||||
localVarReturnValue *AnswerApiV1PersonalVotePageGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -407,7 +405,7 @@ func (a *ActivityApiService) AnswerApiV1PersonalVotePageGetExecute(r ApiAnswerAp
|
|||||||
|
|
||||||
type ApiAnswerApiV1VoteDownPostRequest struct {
|
type ApiAnswerApiV1VoteDownPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ActivityApiService
|
ApiService *ActivityAPIService
|
||||||
data *SchemaVoteReq
|
data *SchemaVoteReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -429,7 +427,7 @@ add vote
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1VoteDownPostRequest
|
@return ApiAnswerApiV1VoteDownPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ActivityApiService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAnswerApiV1VoteDownPostRequest {
|
func (a *ActivityAPIService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAnswerApiV1VoteDownPostRequest {
|
||||||
return ApiAnswerApiV1VoteDownPostRequest{
|
return ApiAnswerApiV1VoteDownPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -438,7 +436,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPost(ctx context.Context) ApiAns
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1VoteDownPost200Response
|
// @return AnswerApiV1VoteDownPost200Response
|
||||||
func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1VoteDownPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
func (a *ActivityAPIService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1VoteDownPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -446,7 +444,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1Vote
|
|||||||
localVarReturnValue *AnswerApiV1VoteDownPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -532,7 +530,7 @@ func (a *ActivityApiService) AnswerApiV1VoteDownPostExecute(r ApiAnswerApiV1Vote
|
|||||||
|
|
||||||
type ApiAnswerApiV1VoteUpPostRequest struct {
|
type ApiAnswerApiV1VoteUpPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ActivityApiService
|
ApiService *ActivityAPIService
|
||||||
data *SchemaVoteReq
|
data *SchemaVoteReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -554,7 +552,7 @@ add vote
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1VoteUpPostRequest
|
@return ApiAnswerApiV1VoteUpPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ActivityApiService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswerApiV1VoteUpPostRequest {
|
func (a *ActivityAPIService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswerApiV1VoteUpPostRequest {
|
||||||
return ApiAnswerApiV1VoteUpPostRequest{
|
return ApiAnswerApiV1VoteUpPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -563,7 +561,7 @@ func (a *ActivityApiService) AnswerApiV1VoteUpPost(ctx context.Context) ApiAnswe
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1VoteDownPost200Response
|
// @return AnswerApiV1VoteDownPost200Response
|
||||||
func (a *ActivityApiService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUpPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
func (a *ActivityAPIService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUpPostRequest) (*AnswerApiV1VoteDownPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -571,7 +569,7 @@ func (a *ActivityApiService) AnswerApiV1VoteUpPostExecute(r ApiAnswerApiV1VoteUp
|
|||||||
localVarReturnValue *AnswerApiV1VoteDownPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
1138
api_admin.go
1138
api_admin.go
File diff suppressed because it is too large
Load Diff
528
api_admin_plugin.go
Normal file
528
api_admin_plugin.go
Normal file
@@ -0,0 +1,528 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package answer_sdk
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// AdminPluginAPIService AdminPluginAPI service
|
||||||
|
type AdminPluginAPIService service
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginConfigGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginAPIService
|
||||||
|
pluginSlugName *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// plugin_slug_name
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigGetRequest) PluginSlugName(pluginSlugName string) ApiAnswerAdminApiPluginConfigGetRequest {
|
||||||
|
r.pluginSlugName = &pluginSlugName
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigGetRequest) Execute() (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginConfigGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginConfigGet get plugin config
|
||||||
|
|
||||||
|
get plugin config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginConfigGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigGet(ctx context.Context) ApiAnswerAdminApiPluginConfigGetRequest {
|
||||||
|
return ApiAnswerAdminApiPluginConfigGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiPluginConfigGet200Response
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigGetExecute(r ApiAnswerAdminApiPluginConfigGetRequest) (*AnswerAdminApiPluginConfigGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiPluginConfigGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginConfigGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/config"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.pluginSlugName == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pluginSlugName is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "plugin_slug_name", r.pluginSlugName, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginConfigPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginAPIService
|
||||||
|
data *SchemaUpdatePluginConfigReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// UpdatePluginConfigReq
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigPutRequest) Data(data SchemaUpdatePluginConfigReq) ApiAnswerAdminApiPluginConfigPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginConfigPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginConfigPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginConfigPut update plugin config
|
||||||
|
|
||||||
|
update plugin config
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginConfigPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigPut(ctx context.Context) ApiAnswerAdminApiPluginConfigPutRequest {
|
||||||
|
return ApiAnswerAdminApiPluginConfigPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginConfigPutExecute(r ApiAnswerAdminApiPluginConfigPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginConfigPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/config"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginStatusPutRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginAPIService
|
||||||
|
data *SchemaUpdatePluginStatusReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// UpdatePluginStatusReq
|
||||||
|
func (r ApiAnswerAdminApiPluginStatusPutRequest) Data(data SchemaUpdatePluginStatusReq) ApiAnswerAdminApiPluginStatusPutRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginStatusPutRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginStatusPutExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginStatusPut update plugin status
|
||||||
|
|
||||||
|
update plugin status
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginStatusPutRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginStatusPut(ctx context.Context) ApiAnswerAdminApiPluginStatusPutRequest {
|
||||||
|
return ApiAnswerAdminApiPluginStatusPutRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginStatusPutExecute(r ApiAnswerAdminApiPluginStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPut
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginStatusPut")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugin/status"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerAdminApiPluginsGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *AdminPluginAPIService
|
||||||
|
status *string
|
||||||
|
haveConfig *bool
|
||||||
|
}
|
||||||
|
|
||||||
|
// status: active/inactive
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) Status(status string) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
r.status = &status
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// have config
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) HaveConfig(haveConfig bool) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
r.haveConfig = &haveConfig
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerAdminApiPluginsGetRequest) Execute() (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerAdminApiPluginsGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerAdminApiPluginsGet get plugin list
|
||||||
|
|
||||||
|
get plugin list
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerAdminApiPluginsGetRequest
|
||||||
|
*/
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginsGet(ctx context.Context) ApiAnswerAdminApiPluginsGetRequest {
|
||||||
|
return ApiAnswerAdminApiPluginsGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerAdminApiPluginsGet200Response
|
||||||
|
func (a *AdminPluginAPIService) AnswerAdminApiPluginsGetExecute(r ApiAnswerAdminApiPluginsGetRequest) (*AnswerAdminApiPluginsGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerAdminApiPluginsGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AdminPluginAPIService.AnswerAdminApiPluginsGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/admin/api/plugins"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
if r.status != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "status", r.status, "")
|
||||||
|
}
|
||||||
|
if r.haveConfig != nil {
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "have_config", r.haveConfig, "")
|
||||||
|
}
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,17 +17,17 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// ApiAnswerApiService ApiAnswerApi service
|
// ApiAnswerAPIService ApiAnswerAPI service
|
||||||
type ApiAnswerApiService service
|
type ApiAnswerAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1AnswerAcceptancePostRequest struct {
|
type ApiAnswerApiV1AnswerAcceptancePostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
data *SchemaAnswerAcceptedReq
|
data *SchemaAcceptAnswerReq
|
||||||
}
|
}
|
||||||
|
|
||||||
// AnswerAcceptedReq
|
// AcceptAnswerReq
|
||||||
func (r ApiAnswerApiV1AnswerAcceptancePostRequest) Data(data SchemaAnswerAcceptedReq) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
func (r ApiAnswerApiV1AnswerAcceptancePostRequest) Data(data SchemaAcceptAnswerReq) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||||
r.data = &data
|
r.data = &data
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
@@ -46,7 +44,7 @@ Accepted
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerAcceptancePostRequest
|
@return ApiAnswerApiV1AnswerAcceptancePostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePost(ctx context.Context) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerAcceptancePost(ctx context.Context) ApiAnswerApiV1AnswerAcceptancePostRequest {
|
||||||
return ApiAnswerApiV1AnswerAcceptancePostRequest{
|
return ApiAnswerApiV1AnswerAcceptancePostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePost(ctx context.Contex
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswerApiV1AnswerAcceptancePostRequest) (string, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswerApiV1AnswerAcceptancePostRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswer
|
|||||||
localVarReturnValue string
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -149,7 +147,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerAcceptancePostExecute(r ApiAnswer
|
|||||||
|
|
||||||
type ApiAnswerApiV1AnswerDeleteRequest struct {
|
type ApiAnswerApiV1AnswerDeleteRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
data *SchemaRemoveAnswerReq
|
data *SchemaRemoveAnswerReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,7 +169,7 @@ delete answer
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerDeleteRequest
|
@return ApiAnswerApiV1AnswerDeleteRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAnswerApiV1AnswerDeleteRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAnswerApiV1AnswerDeleteRequest {
|
||||||
return ApiAnswerApiV1AnswerDeleteRequest{
|
return ApiAnswerApiV1AnswerDeleteRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -180,7 +178,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDelete(ctx context.Context) ApiAn
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1AnswerDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1AnswerDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodDelete
|
localVarHTTPMethod = http.MethodDelete
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -188,7 +186,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1Ans
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -274,7 +272,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerDeleteExecute(r ApiAnswerApiV1Ans
|
|||||||
|
|
||||||
type ApiAnswerApiV1AnswerInfoGetRequest struct {
|
type ApiAnswerApiV1AnswerInfoGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
id *string
|
id *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -296,7 +294,7 @@ Get Answer
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerInfoGetRequest
|
@return ApiAnswerApiV1AnswerInfoGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiAnswerApiV1AnswerInfoGetRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiAnswerApiV1AnswerInfoGetRequest {
|
||||||
return ApiAnswerApiV1AnswerInfoGetRequest{
|
return ApiAnswerApiV1AnswerInfoGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -305,7 +303,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGet(ctx context.Context) ApiA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1AnswerInfoGetRequest) (string, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1AnswerInfoGetRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -313,7 +311,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1An
|
|||||||
localVarReturnValue string
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -384,7 +382,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerInfoGetExecute(r ApiAnswerApiV1An
|
|||||||
|
|
||||||
type ApiAnswerApiV1AnswerPageGetRequest struct {
|
type ApiAnswerApiV1AnswerPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
questionId *string
|
questionId *string
|
||||||
order *string
|
order *string
|
||||||
page *string
|
page *string
|
||||||
@@ -427,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerPageGetRequest
|
@return ApiAnswerApiV1AnswerPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiAnswerApiV1AnswerPageGetRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiAnswerApiV1AnswerPageGetRequest {
|
||||||
return ApiAnswerApiV1AnswerPageGetRequest{
|
return ApiAnswerApiV1AnswerPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -436,7 +434,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGet(ctx context.Context) ApiA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1AnswerPageGetRequest) (string, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1AnswerPageGetRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -444,7 +442,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1An
|
|||||||
localVarReturnValue string
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -541,7 +539,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPageGetExecute(r ApiAnswerApiV1An
|
|||||||
|
|
||||||
type ApiAnswerApiV1AnswerPostRequest struct {
|
type ApiAnswerApiV1AnswerPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
data *SchemaAnswerAddReq
|
data *SchemaAnswerAddReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -563,7 +561,7 @@ Insert Answer
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerPostRequest
|
@return ApiAnswerApiV1AnswerPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnswerApiV1AnswerPostRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnswerApiV1AnswerPostRequest {
|
||||||
return ApiAnswerApiV1AnswerPostRequest{
|
return ApiAnswerApiV1AnswerPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -572,7 +570,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPost(ctx context.Context) ApiAnsw
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1AnswerPostRequest) (string, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1AnswerPostRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -580,7 +578,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1Answe
|
|||||||
localVarReturnValue string
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -666,7 +664,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPostExecute(r ApiAnswerApiV1Answe
|
|||||||
|
|
||||||
type ApiAnswerApiV1AnswerPutRequest struct {
|
type ApiAnswerApiV1AnswerPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ApiAnswerApiService
|
ApiService *ApiAnswerAPIService
|
||||||
data *SchemaAnswerUpdateReq
|
data *SchemaAnswerUpdateReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -688,7 +686,7 @@ Update Answer
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1AnswerPutRequest
|
@return ApiAnswerApiV1AnswerPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswerApiV1AnswerPutRequest {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswerApiV1AnswerPutRequest {
|
||||||
return ApiAnswerApiV1AnswerPutRequest{
|
return ApiAnswerApiV1AnswerPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -697,7 +695,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPut(ctx context.Context) ApiAnswe
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1AnswerPutRequest) (string, *http.Response, error) {
|
func (a *ApiAnswerAPIService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1AnswerPutRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -705,7 +703,7 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1Answer
|
|||||||
localVarReturnValue string
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -788,160 +786,3 @@ func (a *ApiAnswerApiService) AnswerApiV1AnswerPutExecute(r ApiAnswerApiV1Answer
|
|||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *ApiAnswerApiService
|
|
||||||
username *string
|
|
||||||
order *string
|
|
||||||
page *string
|
|
||||||
pagesize *string
|
|
||||||
}
|
|
||||||
|
|
||||||
// username
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Username(username string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.username = &username
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// order
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Order(order string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.order = &order
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// page
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Page(page string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.page = &page
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
// pagesize
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Pagesize(pagesize string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
r.pagesize = &pagesize
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
|
||||||
return r.ApiService.AnswerApiV1PersonalAnswerPageGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
AnswerApiV1PersonalAnswerPageGet UserAnswerList
|
|
||||||
|
|
||||||
UserAnswerList
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiAnswerApiV1PersonalAnswerPageGetRequest
|
|
||||||
*/
|
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
|
||||||
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return HandlerRespBody
|
|
||||||
func (a *ApiAnswerApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *HandlerRespBody
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiAnswerApiService.AnswerApiV1PersonalAnswerPageGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/answer/api/v1/personal/answer/page"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
if r.username == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.order == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.page == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
|
||||||
}
|
|
||||||
if r.pagesize == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("pagesize is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "pagesize", r.pagesize, "")
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
if r.ctx != nil {
|
|
||||||
// API Key Authentication
|
|
||||||
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
|
||||||
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
|
||||||
var key string
|
|
||||||
if apiKey.Prefix != "" {
|
|
||||||
key = apiKey.Prefix + " " + apiKey.Key
|
|
||||||
} else {
|
|
||||||
key = apiKey.Key
|
|
||||||
}
|
|
||||||
localVarHeaderParams["Authorization"] = key
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// CollectionApiService CollectionApi service
|
// CollectionAPIService CollectionAPI service
|
||||||
type CollectionApiService service
|
type CollectionAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1CollectionSwitchPostRequest struct {
|
type ApiAnswerApiV1CollectionSwitchPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CollectionApiService
|
ApiService *CollectionAPIService
|
||||||
data *SchemaCollectionSwitchReq
|
data *SchemaCollectionSwitchReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +44,7 @@ add collection
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CollectionSwitchPostRequest
|
@return ApiAnswerApiV1CollectionSwitchPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *CollectionApiService) AnswerApiV1CollectionSwitchPost(ctx context.Context) ApiAnswerApiV1CollectionSwitchPostRequest {
|
func (a *CollectionAPIService) AnswerApiV1CollectionSwitchPost(ctx context.Context) ApiAnswerApiV1CollectionSwitchPostRequest {
|
||||||
return ApiAnswerApiV1CollectionSwitchPostRequest{
|
return ApiAnswerApiV1CollectionSwitchPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPost(ctx context.Conte
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1CollectionSwitchPost200Response
|
// @return AnswerApiV1CollectionSwitchPost200Response
|
||||||
func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswerApiV1CollectionSwitchPostRequest) (*AnswerApiV1CollectionSwitchPost200Response, *http.Response, error) {
|
func (a *CollectionAPIService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswerApiV1CollectionSwitchPostRequest) (*AnswerApiV1CollectionSwitchPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswe
|
|||||||
localVarReturnValue *AnswerApiV1CollectionSwitchPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -149,9 +147,9 @@ func (a *CollectionApiService) AnswerApiV1CollectionSwitchPostExecute(r ApiAnswe
|
|||||||
|
|
||||||
type ApiAnswerApiV1PersonalCollectionPageGetRequest struct {
|
type ApiAnswerApiV1PersonalCollectionPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CollectionApiService
|
ApiService *CollectionAPIService
|
||||||
page *string
|
page *string
|
||||||
pagesize *string
|
pageSize *string
|
||||||
}
|
}
|
||||||
|
|
||||||
// page
|
// page
|
||||||
@@ -160,9 +158,9 @@ func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Page(page string) ApiAns
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
// pagesize
|
// page_size
|
||||||
func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Pagesize(pagesize string) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) PageSize(pageSize string) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
||||||
r.pagesize = &pagesize
|
r.pageSize = &pageSize
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,14 +169,14 @@ func (r ApiAnswerApiV1PersonalCollectionPageGetRequest) Execute() (*HandlerRespB
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
AnswerApiV1PersonalCollectionPageGet UserCollectionList
|
AnswerApiV1PersonalCollectionPageGet list personal collections
|
||||||
|
|
||||||
UserCollectionList
|
list personal collections
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalCollectionPageGetRequest
|
@return ApiAnswerApiV1PersonalCollectionPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGet(ctx context.Context) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
func (a *CollectionAPIService) AnswerApiV1PersonalCollectionPageGet(ctx context.Context) ApiAnswerApiV1PersonalCollectionPageGetRequest {
|
||||||
return ApiAnswerApiV1PersonalCollectionPageGetRequest{
|
return ApiAnswerApiV1PersonalCollectionPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -187,7 +185,7 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGet(ctx context.
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r ApiAnswerApiV1PersonalCollectionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *CollectionAPIService) AnswerApiV1PersonalCollectionPageGetExecute(r ApiAnswerApiV1PersonalCollectionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -195,7 +193,7 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r Api
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -208,12 +206,12 @@ func (a *CollectionApiService) AnswerApiV1PersonalCollectionPageGetExecute(r Api
|
|||||||
if r.page == nil {
|
if r.page == nil {
|
||||||
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
}
|
}
|
||||||
if r.pagesize == nil {
|
if r.pageSize == nil {
|
||||||
return localVarReturnValue, nil, reportError("pagesize is required and must be specified")
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
}
|
}
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "pagesize", r.pagesize, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
// to determine the Content-Type header
|
// to determine the Content-Type header
|
||||||
localVarHTTPContentTypes := []string{}
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// CommentApiService CommentApi service
|
// CommentAPIService CommentAPI service
|
||||||
type CommentApiService service
|
type CommentAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1ActivityTimelineDetailGetRequest struct {
|
type ApiAnswerApiV1ActivityTimelineDetailGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
revisionId *string
|
revisionId *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1ActivityTimelineDetailGetRequest
|
@return ApiAnswerApiV1ActivityTimelineDetailGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineDetailGetRequest {
|
func (a *CommentAPIService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineDetailGetRequest {
|
||||||
return ApiAnswerApiV1ActivityTimelineDetailGetRequest{
|
return ApiAnswerApiV1ActivityTimelineDetailGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGet(ctx context.Con
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1ActivityTimelineGet200Response
|
// @return AnswerApiV1ActivityTimelineGet200Response
|
||||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAnswerApiV1ActivityTimelineDetailGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAnswerApiV1ActivityTimelineDetailGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAns
|
|||||||
localVarReturnValue *AnswerApiV1ActivityTimelineGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -134,7 +132,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineDetailGetExecute(r ApiAns
|
|||||||
|
|
||||||
type ApiAnswerApiV1ActivityTimelineGetRequest struct {
|
type ApiAnswerApiV1ActivityTimelineGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
objectId *string
|
objectId *string
|
||||||
tagSlugName *string
|
tagSlugName *string
|
||||||
objectType *string
|
objectType *string
|
||||||
@@ -177,7 +175,7 @@ get object timeline
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1ActivityTimelineGetRequest
|
@return ApiAnswerApiV1ActivityTimelineGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineGetRequest {
|
func (a *CommentAPIService) AnswerApiV1ActivityTimelineGet(ctx context.Context) ApiAnswerApiV1ActivityTimelineGetRequest {
|
||||||
return ApiAnswerApiV1ActivityTimelineGetRequest{
|
return ApiAnswerApiV1ActivityTimelineGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -186,7 +184,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGet(ctx context.Context)
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1ActivityTimelineGet200Response
|
// @return AnswerApiV1ActivityTimelineGet200Response
|
||||||
func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApiV1ActivityTimelineGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApiV1ActivityTimelineGetRequest) (*AnswerApiV1ActivityTimelineGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -194,7 +192,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApi
|
|||||||
localVarReturnValue *AnswerApiV1ActivityTimelineGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -273,7 +271,7 @@ func (a *CommentApiService) AnswerApiV1ActivityTimelineGetExecute(r ApiAnswerApi
|
|||||||
|
|
||||||
type ApiAnswerApiV1CommentDeleteRequest struct {
|
type ApiAnswerApiV1CommentDeleteRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
data *SchemaRemoveCommentReq
|
data *SchemaRemoveCommentReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -295,7 +293,7 @@ remove comment
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CommentDeleteRequest
|
@return ApiAnswerApiV1CommentDeleteRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1CommentDelete(ctx context.Context) ApiAnswerApiV1CommentDeleteRequest {
|
func (a *CommentAPIService) AnswerApiV1CommentDelete(ctx context.Context) ApiAnswerApiV1CommentDeleteRequest {
|
||||||
return ApiAnswerApiV1CommentDeleteRequest{
|
return ApiAnswerApiV1CommentDeleteRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -304,7 +302,7 @@ func (a *CommentApiService) AnswerApiV1CommentDelete(ctx context.Context) ApiAns
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1CommentDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1CommentDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodDelete
|
localVarHTTPMethod = http.MethodDelete
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -312,7 +310,7 @@ func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1Comm
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -398,7 +396,7 @@ func (a *CommentApiService) AnswerApiV1CommentDeleteExecute(r ApiAnswerApiV1Comm
|
|||||||
|
|
||||||
type ApiAnswerApiV1CommentGetRequest struct {
|
type ApiAnswerApiV1CommentGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
id *string
|
id *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -420,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CommentGetRequest
|
@return ApiAnswerApiV1CommentGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswerApiV1CommentGetRequest {
|
func (a *CommentAPIService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswerApiV1CommentGetRequest {
|
||||||
return ApiAnswerApiV1CommentGetRequest{
|
return ApiAnswerApiV1CommentGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -429,7 +427,7 @@ func (a *CommentApiService) AnswerApiV1CommentGet(ctx context.Context) ApiAnswer
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1CommentGet200Response
|
// @return AnswerApiV1CommentGet200Response
|
||||||
func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1CommentGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1CommentGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -437,7 +435,7 @@ func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1Comment
|
|||||||
localVarReturnValue *AnswerApiV1CommentGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -508,7 +506,7 @@ func (a *CommentApiService) AnswerApiV1CommentGetExecute(r ApiAnswerApiV1Comment
|
|||||||
|
|
||||||
type ApiAnswerApiV1CommentPageGetRequest struct {
|
type ApiAnswerApiV1CommentPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
objectId *string
|
objectId *string
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
@@ -551,7 +549,7 @@ get comment page
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CommentPageGetRequest
|
@return ApiAnswerApiV1CommentPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAnswerApiV1CommentPageGetRequest {
|
func (a *CommentAPIService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAnswerApiV1CommentPageGetRequest {
|
||||||
return ApiAnswerApiV1CommentPageGetRequest{
|
return ApiAnswerApiV1CommentPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -560,7 +558,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGet(ctx context.Context) ApiAn
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1CommentGet200Response
|
// @return AnswerApiV1CommentGet200Response
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1CommentPageGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1CommentPageGetRequest) (*AnswerApiV1CommentGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -568,7 +566,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1Com
|
|||||||
localVarReturnValue *AnswerApiV1CommentGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -648,7 +646,7 @@ func (a *CommentApiService) AnswerApiV1CommentPageGetExecute(r ApiAnswerApiV1Com
|
|||||||
|
|
||||||
type ApiAnswerApiV1CommentPostRequest struct {
|
type ApiAnswerApiV1CommentPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
data *SchemaAddCommentReq
|
data *SchemaAddCommentReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -670,7 +668,7 @@ add comment
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CommentPostRequest
|
@return ApiAnswerApiV1CommentPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswerApiV1CommentPostRequest {
|
func (a *CommentAPIService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswerApiV1CommentPostRequest {
|
||||||
return ApiAnswerApiV1CommentPostRequest{
|
return ApiAnswerApiV1CommentPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -679,7 +677,7 @@ func (a *CommentApiService) AnswerApiV1CommentPost(ctx context.Context) ApiAnswe
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1CommentPost200Response
|
// @return AnswerApiV1CommentPost200Response
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1CommentPostRequest) (*AnswerApiV1CommentPost200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1CommentPostRequest) (*AnswerApiV1CommentPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -687,7 +685,7 @@ func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1Commen
|
|||||||
localVarReturnValue *AnswerApiV1CommentPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -773,7 +771,7 @@ func (a *CommentApiService) AnswerApiV1CommentPostExecute(r ApiAnswerApiV1Commen
|
|||||||
|
|
||||||
type ApiAnswerApiV1CommentPutRequest struct {
|
type ApiAnswerApiV1CommentPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
data *SchemaUpdateCommentReq
|
data *SchemaUpdateCommentReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -795,7 +793,7 @@ update comment
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1CommentPutRequest
|
@return ApiAnswerApiV1CommentPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswerApiV1CommentPutRequest {
|
func (a *CommentAPIService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswerApiV1CommentPutRequest {
|
||||||
return ApiAnswerApiV1CommentPutRequest{
|
return ApiAnswerApiV1CommentPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -804,7 +802,7 @@ func (a *CommentApiService) AnswerApiV1CommentPut(ctx context.Context) ApiAnswer
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1CommentPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1CommentPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -812,7 +810,7 @@ func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1Comment
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -898,7 +896,7 @@ func (a *CommentApiService) AnswerApiV1CommentPutExecute(r ApiAnswerApiV1Comment
|
|||||||
|
|
||||||
type ApiAnswerApiV1PersonalCommentPageGetRequest struct {
|
type ApiAnswerApiV1PersonalCommentPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *CommentApiService
|
ApiService *CommentAPIService
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
username *string
|
username *string
|
||||||
@@ -934,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalCommentPageGetRequest
|
@return ApiAnswerApiV1PersonalCommentPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *CommentApiService) AnswerApiV1PersonalCommentPageGet(ctx context.Context) ApiAnswerApiV1PersonalCommentPageGetRequest {
|
func (a *CommentAPIService) AnswerApiV1PersonalCommentPageGet(ctx context.Context) ApiAnswerApiV1PersonalCommentPageGetRequest {
|
||||||
return ApiAnswerApiV1PersonalCommentPageGetRequest{
|
return ApiAnswerApiV1PersonalCommentPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -943,7 +941,7 @@ func (a *CommentApiService) AnswerApiV1PersonalCommentPageGet(ctx context.Contex
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1PersonalCommentPageGet200Response
|
// @return AnswerApiV1PersonalCommentPageGet200Response
|
||||||
func (a *CommentApiService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswerApiV1PersonalCommentPageGetRequest) (*AnswerApiV1PersonalCommentPageGet200Response, *http.Response, error) {
|
func (a *CommentAPIService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswerApiV1PersonalCommentPageGetRequest) (*AnswerApiV1PersonalCommentPageGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -951,7 +949,7 @@ func (a *CommentApiService) AnswerApiV1PersonalCommentPageGetExecute(r ApiAnswer
|
|||||||
localVarReturnValue *AnswerApiV1PersonalCommentPageGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// InstallationApiService InstallationApi service
|
// InstallationAPIService InstallationAPI service
|
||||||
type InstallationApiService service
|
type InstallationAPIService service
|
||||||
|
|
||||||
type ApiInstallationBaseInfoPostRequest struct {
|
type ApiInstallationBaseInfoPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *InstallationApiService
|
ApiService *InstallationAPIService
|
||||||
data *InstallInitBaseInfoReq
|
data *InstallInitBaseInfoReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +44,7 @@ init base info
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiInstallationBaseInfoPostRequest
|
@return ApiInstallationBaseInfoPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *InstallationApiService) InstallationBaseInfoPost(ctx context.Context) ApiInstallationBaseInfoPostRequest {
|
func (a *InstallationAPIService) InstallationBaseInfoPost(ctx context.Context) ApiInstallationBaseInfoPostRequest {
|
||||||
return ApiInstallationBaseInfoPostRequest{
|
return ApiInstallationBaseInfoPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *InstallationApiService) InstallationBaseInfoPost(ctx context.Context) A
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallationBaseInfoPostRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *InstallationAPIService) InstallationBaseInfoPostExecute(r ApiInstallationBaseInfoPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallati
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -135,7 +133,7 @@ func (a *InstallationApiService) InstallationBaseInfoPostExecute(r ApiInstallati
|
|||||||
|
|
||||||
type ApiInstallationConfigFileCheckPostRequest struct {
|
type ApiInstallationConfigFileCheckPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *InstallationApiService
|
ApiService *InstallationAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiInstallationConfigFileCheckPostRequest) Execute() (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
func (r ApiInstallationConfigFileCheckPostRequest) Execute() (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||||
@@ -150,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiInstallationConfigFileCheckPostRequest
|
@return ApiInstallationConfigFileCheckPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *InstallationApiService) InstallationConfigFileCheckPost(ctx context.Context) ApiInstallationConfigFileCheckPostRequest {
|
func (a *InstallationAPIService) InstallationConfigFileCheckPost(ctx context.Context) ApiInstallationConfigFileCheckPostRequest {
|
||||||
return ApiInstallationConfigFileCheckPostRequest{
|
return ApiInstallationConfigFileCheckPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -159,7 +157,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPost(ctx context.Con
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return InstallationConfigFileCheckPost200Response
|
// @return InstallationConfigFileCheckPost200Response
|
||||||
func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiInstallationConfigFileCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
func (a *InstallationAPIService) InstallationConfigFileCheckPostExecute(r ApiInstallationConfigFileCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -167,7 +165,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiIns
|
|||||||
localVarReturnValue *InstallationConfigFileCheckPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -234,7 +232,7 @@ func (a *InstallationApiService) InstallationConfigFileCheckPostExecute(r ApiIns
|
|||||||
|
|
||||||
type ApiInstallationDbCheckPostRequest struct {
|
type ApiInstallationDbCheckPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *InstallationApiService
|
ApiService *InstallationAPIService
|
||||||
data *InstallCheckDatabaseReq
|
data *InstallCheckDatabaseReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -256,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiInstallationDbCheckPostRequest
|
@return ApiInstallationDbCheckPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *InstallationApiService) InstallationDbCheckPost(ctx context.Context) ApiInstallationDbCheckPostRequest {
|
func (a *InstallationAPIService) InstallationDbCheckPost(ctx context.Context) ApiInstallationDbCheckPostRequest {
|
||||||
return ApiInstallationDbCheckPostRequest{
|
return ApiInstallationDbCheckPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -265,7 +263,7 @@ func (a *InstallationApiService) InstallationDbCheckPost(ctx context.Context) Ap
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return InstallationConfigFileCheckPost200Response
|
// @return InstallationConfigFileCheckPost200Response
|
||||||
func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallationDbCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
func (a *InstallationAPIService) InstallationDbCheckPostExecute(r ApiInstallationDbCheckPostRequest) (*InstallationConfigFileCheckPost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -273,7 +271,7 @@ func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallatio
|
|||||||
localVarReturnValue *InstallationConfigFileCheckPost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -345,7 +343,7 @@ func (a *InstallationApiService) InstallationDbCheckPostExecute(r ApiInstallatio
|
|||||||
|
|
||||||
type ApiInstallationInitPostRequest struct {
|
type ApiInstallationInitPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *InstallationApiService
|
ApiService *InstallationAPIService
|
||||||
data *InstallCheckDatabaseReq
|
data *InstallCheckDatabaseReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -367,7 +365,7 @@ init environment
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiInstallationInitPostRequest
|
@return ApiInstallationInitPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *InstallationApiService) InstallationInitPost(ctx context.Context) ApiInstallationInitPostRequest {
|
func (a *InstallationAPIService) InstallationInitPost(ctx context.Context) ApiInstallationInitPostRequest {
|
||||||
return ApiInstallationInitPostRequest{
|
return ApiInstallationInitPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -376,7 +374,7 @@ func (a *InstallationApiService) InstallationInitPost(ctx context.Context) ApiIn
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationInitPostRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *InstallationAPIService) InstallationInitPostExecute(r ApiInstallationInitPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -384,7 +382,7 @@ func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationIn
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -456,7 +454,7 @@ func (a *InstallationApiService) InstallationInitPostExecute(r ApiInstallationIn
|
|||||||
|
|
||||||
type ApiRootGetRequest struct {
|
type ApiRootGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *InstallationApiService
|
ApiService *InstallationAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiRootGetRequest) Execute() (*http.Response, error) {
|
func (r ApiRootGetRequest) Execute() (*http.Response, error) {
|
||||||
@@ -471,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiRootGetRequest
|
@return ApiRootGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *InstallationApiService) RootGet(ctx context.Context) ApiRootGetRequest {
|
func (a *InstallationAPIService) RootGet(ctx context.Context) ApiRootGetRequest {
|
||||||
return ApiRootGetRequest{
|
return ApiRootGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -479,14 +477,14 @@ func (a *InstallationApiService) RootGet(ctx context.Context) ApiRootGetRequest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
func (a *InstallationApiService) RootGetExecute(r ApiRootGetRequest) (*http.Response, error) {
|
func (a *InstallationAPIService) RootGetExecute(r ApiRootGetRequest) (*http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
formFiles []formFile
|
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 {
|
if err != nil {
|
||||||
return nil, &GenericOpenAPIError{error: err.Error()}
|
return nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
44
api_lang.go
44
api_lang.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// LangApiService LangApi service
|
// LangAPIService LangAPI service
|
||||||
type LangApiService service
|
type LangAPIService service
|
||||||
|
|
||||||
type ApiAnswerAdminApiLanguageOptionsGetRequest struct {
|
type ApiAnswerAdminApiLanguageOptionsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *LangApiService
|
ApiService *LangAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiAnswerAdminApiLanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
func (r ApiAnswerAdminApiLanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
@@ -39,7 +37,7 @@ Get language options
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerAdminApiLanguageOptionsGetRequest
|
@return ApiAnswerAdminApiLanguageOptionsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *LangApiService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) ApiAnswerAdminApiLanguageOptionsGetRequest {
|
func (a *LangAPIService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) ApiAnswerAdminApiLanguageOptionsGetRequest {
|
||||||
return ApiAnswerAdminApiLanguageOptionsGetRequest{
|
return ApiAnswerAdminApiLanguageOptionsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -48,7 +46,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGet(ctx context.Context) A
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdminApiLanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *LangAPIService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdminApiLanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -56,7 +54,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdmi
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -123,7 +121,7 @@ func (a *LangApiService) AnswerAdminApiLanguageOptionsGetExecute(r ApiAnswerAdmi
|
|||||||
|
|
||||||
type ApiAnswerApiV1LanguageConfigGetRequest struct {
|
type ApiAnswerApiV1LanguageConfigGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *LangApiService
|
ApiService *LangAPIService
|
||||||
acceptLanguage *string
|
acceptLanguage *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1LanguageConfigGetRequest
|
@return ApiAnswerApiV1LanguageConfigGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *LangApiService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAnswerApiV1LanguageConfigGetRequest {
|
func (a *LangAPIService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAnswerApiV1LanguageConfigGetRequest {
|
||||||
return ApiAnswerApiV1LanguageConfigGetRequest{
|
return ApiAnswerApiV1LanguageConfigGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -154,7 +152,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGet(ctx context.Context) ApiAn
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1LanguageConfigGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *LangAPIService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1LanguageConfigGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -162,7 +160,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1Lan
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -233,7 +231,7 @@ func (a *LangApiService) AnswerApiV1LanguageConfigGetExecute(r ApiAnswerApiV1Lan
|
|||||||
|
|
||||||
type ApiAnswerApiV1LanguageOptionsGetRequest struct {
|
type ApiAnswerApiV1LanguageOptionsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *LangApiService
|
ApiService *LangAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiAnswerApiV1LanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
func (r ApiAnswerApiV1LanguageOptionsGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
@@ -248,7 +246,7 @@ Get language options
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1LanguageOptionsGetRequest
|
@return ApiAnswerApiV1LanguageOptionsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *LangApiService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiAnswerApiV1LanguageOptionsGetRequest {
|
func (a *LangAPIService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiAnswerApiV1LanguageOptionsGetRequest {
|
||||||
return ApiAnswerApiV1LanguageOptionsGetRequest{
|
return ApiAnswerApiV1LanguageOptionsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -257,7 +255,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGet(ctx context.Context) ApiA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1LanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *LangAPIService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1LanguageOptionsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -265,7 +263,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1La
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -332,7 +330,7 @@ func (a *LangApiService) AnswerApiV1LanguageOptionsGetExecute(r ApiAnswerApiV1La
|
|||||||
|
|
||||||
type ApiInstallationLanguageOptionsGetRequest struct {
|
type ApiInstallationLanguageOptionsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *LangApiService
|
ApiService *LangAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiInstallationLanguageOptionsGetRequest) Execute() (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
func (r ApiInstallationLanguageOptionsGetRequest) Execute() (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
||||||
@@ -347,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiInstallationLanguageOptionsGetRequest
|
@return ApiInstallationLanguageOptionsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *LangApiService) InstallationLanguageOptionsGet(ctx context.Context) ApiInstallationLanguageOptionsGetRequest {
|
func (a *LangAPIService) InstallationLanguageOptionsGet(ctx context.Context) ApiInstallationLanguageOptionsGetRequest {
|
||||||
return ApiInstallationLanguageOptionsGetRequest{
|
return ApiInstallationLanguageOptionsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -356,7 +354,7 @@ func (a *LangApiService) InstallationLanguageOptionsGet(ctx context.Context) Api
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return InstallationLanguageOptionsGet200Response
|
// @return InstallationLanguageOptionsGet200Response
|
||||||
func (a *LangApiService) InstallationLanguageOptionsGetExecute(r ApiInstallationLanguageOptionsGetRequest) (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
func (a *LangAPIService) InstallationLanguageOptionsGetExecute(r ApiInstallationLanguageOptionsGetRequest) (*InstallationLanguageOptionsGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -364,7 +362,7 @@ func (a *LangApiService) InstallationLanguageOptionsGetExecute(r ApiInstallation
|
|||||||
localVarReturnValue *InstallationLanguageOptionsGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,13 +17,14 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// NotificationApiService NotificationApi service
|
// NotificationAPIService NotificationAPI service
|
||||||
type NotificationApiService service
|
type NotificationAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1NotificationPageGetRequest struct {
|
type ApiAnswerApiV1NotificationPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationAPIService
|
||||||
type_ *string
|
type_ *string
|
||||||
|
inboxType *string
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
}
|
}
|
||||||
@@ -36,6 +35,12 @@ func (r ApiAnswerApiV1NotificationPageGetRequest) Type_(type_ string) ApiAnswerA
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// inbox_type
|
||||||
|
func (r ApiAnswerApiV1NotificationPageGetRequest) InboxType(inboxType string) ApiAnswerApiV1NotificationPageGetRequest {
|
||||||
|
r.inboxType = &inboxType
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
// page size
|
// page size
|
||||||
func (r ApiAnswerApiV1NotificationPageGetRequest) Page(page int32) ApiAnswerApiV1NotificationPageGetRequest {
|
func (r ApiAnswerApiV1NotificationPageGetRequest) Page(page int32) ApiAnswerApiV1NotificationPageGetRequest {
|
||||||
r.page = &page
|
r.page = &page
|
||||||
@@ -60,7 +65,7 @@ get notification list
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1NotificationPageGetRequest
|
@return ApiAnswerApiV1NotificationPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationPageGet(ctx context.Context) ApiAnswerApiV1NotificationPageGetRequest {
|
func (a *NotificationAPIService) AnswerApiV1NotificationPageGet(ctx context.Context) ApiAnswerApiV1NotificationPageGetRequest {
|
||||||
return ApiAnswerApiV1NotificationPageGetRequest{
|
return ApiAnswerApiV1NotificationPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -69,7 +74,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGet(ctx context.Cont
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnswerApiV1NotificationPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *NotificationAPIService) AnswerApiV1NotificationPageGetExecute(r ApiAnswerApiV1NotificationPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -77,7 +82,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -90,6 +95,9 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
if r.type_ == nil {
|
if r.type_ == nil {
|
||||||
return localVarReturnValue, nil, reportError("type_ is required and must be specified")
|
return localVarReturnValue, nil, reportError("type_ is required and must be specified")
|
||||||
}
|
}
|
||||||
|
if r.inboxType == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("inboxType is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
if r.page != nil {
|
if r.page != nil {
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
@@ -98,6 +106,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
}
|
}
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "")
|
parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "inbox_type", r.inboxType, "")
|
||||||
// to determine the Content-Type header
|
// to determine the Content-Type header
|
||||||
localVarHTTPContentTypes := []string{}
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
@@ -168,7 +177,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
|
|||||||
|
|
||||||
type ApiAnswerApiV1NotificationReadStateAllPutRequest struct {
|
type ApiAnswerApiV1NotificationReadStateAllPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationAPIService
|
||||||
data *SchemaNotificationClearRequest
|
data *SchemaNotificationClearRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,7 +199,7 @@ ClearUnRead
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1NotificationReadStateAllPutRequest
|
@return ApiAnswerApiV1NotificationReadStateAllPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPut(ctx context.Context) ApiAnswerApiV1NotificationReadStateAllPutRequest {
|
func (a *NotificationAPIService) AnswerApiV1NotificationReadStateAllPut(ctx context.Context) ApiAnswerApiV1NotificationReadStateAllPutRequest {
|
||||||
return ApiAnswerApiV1NotificationReadStateAllPutRequest{
|
return ApiAnswerApiV1NotificationReadStateAllPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -199,7 +208,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPut(ctx cont
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r ApiAnswerApiV1NotificationReadStateAllPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *NotificationAPIService) AnswerApiV1NotificationReadStateAllPutExecute(r ApiAnswerApiV1NotificationReadStateAllPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -207,7 +216,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -293,7 +302,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStateAllPutExecute(r
|
|||||||
|
|
||||||
type ApiAnswerApiV1NotificationReadStatePutRequest struct {
|
type ApiAnswerApiV1NotificationReadStatePutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationAPIService
|
||||||
data *SchemaNotificationClearIDRequest
|
data *SchemaNotificationClearIDRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -315,7 +324,7 @@ ClearUnRead
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1NotificationReadStatePutRequest
|
@return ApiAnswerApiV1NotificationReadStatePutRequest
|
||||||
*/
|
*/
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStatePut(ctx context.Context) ApiAnswerApiV1NotificationReadStatePutRequest {
|
func (a *NotificationAPIService) AnswerApiV1NotificationReadStatePut(ctx context.Context) ApiAnswerApiV1NotificationReadStatePutRequest {
|
||||||
return ApiAnswerApiV1NotificationReadStatePutRequest{
|
return ApiAnswerApiV1NotificationReadStatePutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -324,7 +333,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePut(ctx context
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r ApiAnswerApiV1NotificationReadStatePutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *NotificationAPIService) AnswerApiV1NotificationReadStatePutExecute(r ApiAnswerApiV1NotificationReadStatePutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -332,7 +341,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r Ap
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -418,7 +427,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationReadStatePutExecute(r Ap
|
|||||||
|
|
||||||
type ApiAnswerApiV1NotificationStatusGetRequest struct {
|
type ApiAnswerApiV1NotificationStatusGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiAnswerApiV1NotificationStatusGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
func (r ApiAnswerApiV1NotificationStatusGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
@@ -433,7 +442,7 @@ GetRedDot
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1NotificationStatusGetRequest
|
@return ApiAnswerApiV1NotificationStatusGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusGet(ctx context.Context) ApiAnswerApiV1NotificationStatusGetRequest {
|
func (a *NotificationAPIService) AnswerApiV1NotificationStatusGet(ctx context.Context) ApiAnswerApiV1NotificationStatusGetRequest {
|
||||||
return ApiAnswerApiV1NotificationStatusGetRequest{
|
return ApiAnswerApiV1NotificationStatusGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -442,7 +451,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGet(ctx context.Co
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAnswerApiV1NotificationStatusGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *NotificationAPIService) AnswerApiV1NotificationStatusGetExecute(r ApiAnswerApiV1NotificationStatusGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -450,7 +459,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAn
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -531,7 +540,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusGetExecute(r ApiAn
|
|||||||
|
|
||||||
type ApiAnswerApiV1NotificationStatusPutRequest struct {
|
type ApiAnswerApiV1NotificationStatusPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *NotificationApiService
|
ApiService *NotificationAPIService
|
||||||
data *SchemaNotificationClearRequest
|
data *SchemaNotificationClearRequest
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -553,7 +562,7 @@ DelRedDot
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1NotificationStatusPutRequest
|
@return ApiAnswerApiV1NotificationStatusPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusPut(ctx context.Context) ApiAnswerApiV1NotificationStatusPutRequest {
|
func (a *NotificationAPIService) AnswerApiV1NotificationStatusPut(ctx context.Context) ApiAnswerApiV1NotificationStatusPutRequest {
|
||||||
return ApiAnswerApiV1NotificationStatusPutRequest{
|
return ApiAnswerApiV1NotificationStatusPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -562,7 +571,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusPut(ctx context.Co
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *NotificationApiService) AnswerApiV1NotificationStatusPutExecute(r ApiAnswerApiV1NotificationStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *NotificationAPIService) AnswerApiV1NotificationStatusPutExecute(r ApiAnswerApiV1NotificationStatusPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -570,7 +579,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationStatusPutExecute(r ApiAn
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
156
api_permission.go
Normal file
156
api_permission.go
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package answer_sdk
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PermissionAPIService PermissionAPI service
|
||||||
|
type PermissionAPIService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1PermissionGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PermissionAPIService
|
||||||
|
authorization *string
|
||||||
|
action *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// access-token
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Authorization(authorization string) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
r.authorization = &authorization
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// permission key
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Action(action string) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
r.action = &action
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1PermissionGetRequest) Execute() (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1PermissionGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1PermissionGet check user permission
|
||||||
|
|
||||||
|
check user permission
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1PermissionGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PermissionAPIService) AnswerApiV1PermissionGet(ctx context.Context) ApiAnswerApiV1PermissionGetRequest {
|
||||||
|
return ApiAnswerApiV1PermissionGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1PermissionGet200Response
|
||||||
|
func (a *PermissionAPIService) AnswerApiV1PermissionGetExecute(r ApiAnswerApiV1PermissionGetRequest) (*AnswerApiV1PermissionGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1PermissionGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PermissionAPIService.AnswerApiV1PermissionGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/permission"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.authorization == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("authorization is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.action == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("action is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "action", r.action, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
parameterAddToHeaderOrQuery(localVarHeaderParams, "Authorization", r.authorization, "")
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
335
api_personal.go
Normal file
335
api_personal.go
Normal file
@@ -0,0 +1,335 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package answer_sdk
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PersonalAPIService PersonalAPI service
|
||||||
|
type PersonalAPIService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PersonalAPIService
|
||||||
|
username *string
|
||||||
|
order *string
|
||||||
|
page *string
|
||||||
|
pageSize *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Username(username string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// order
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Order(order string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.order = &order
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Page(page string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.page = &page
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page_size
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) PageSize(pageSize string) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
r.pageSize = &pageSize
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1PersonalAnswerPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1PersonalAnswerPageGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1PersonalAnswerPageGet list personal answers
|
||||||
|
|
||||||
|
list personal answers
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1PersonalAnswerPageGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
|
||||||
|
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.AnswerApiV1PersonalAnswerPageGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/personal/answer/page"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.username == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.order == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.page == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.pageSize == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiPersonalQuestionPageGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PersonalAPIService
|
||||||
|
username *string
|
||||||
|
order *string
|
||||||
|
page *string
|
||||||
|
pageSize *string
|
||||||
|
}
|
||||||
|
|
||||||
|
// username
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Username(username string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.username = &username
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// order
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Order(order string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.order = &order
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Page(page string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.page = &page
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
// page_size
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) PageSize(pageSize string) ApiPersonalQuestionPageGetRequest {
|
||||||
|
r.pageSize = &pageSize
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiPersonalQuestionPageGetRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.PersonalQuestionPageGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
PersonalQuestionPageGet list personal questions
|
||||||
|
|
||||||
|
list personal questions
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiPersonalQuestionPageGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PersonalAPIService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
|
||||||
|
return ApiPersonalQuestionPageGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PersonalAPIService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.PersonalQuestionPageGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/personal/question/page"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.username == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("username is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.order == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("order is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.page == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("page is required and must be specified")
|
||||||
|
}
|
||||||
|
if r.pageSize == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("pageSize is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "username", r.username, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "order", r.order, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
|
||||||
|
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
483
api_plugin_connector.go
Normal file
483
api_plugin_connector.go
Normal file
@@ -0,0 +1,483 @@
|
|||||||
|
/*
|
||||||
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
|
API version: 1.0.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
|
package answer_sdk
|
||||||
|
|
||||||
|
import (
|
||||||
|
"bytes"
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
"net/url"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
// PluginConnectorAPIService PluginConnectorAPI service
|
||||||
|
type PluginConnectorAPIService service
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorBindingEmailPostRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorAPIService
|
||||||
|
data *SchemaExternalLoginBindingUserSendEmailReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// external login binding user send email
|
||||||
|
func (r ApiAnswerApiV1ConnectorBindingEmailPostRequest) Data(data SchemaExternalLoginBindingUserSendEmailReq) ApiAnswerApiV1ConnectorBindingEmailPostRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorBindingEmailPostRequest) Execute() (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorBindingEmailPostExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorBindingEmailPost external login binding user send email
|
||||||
|
|
||||||
|
external login binding user send email
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorBindingEmailPostRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorBindingEmailPost(ctx context.Context) ApiAnswerApiV1ConnectorBindingEmailPostRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorBindingEmailPostRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorBindingEmailPostExecute(r ApiAnswerApiV1ConnectorBindingEmailPostRequest) (*AnswerApiV1ConnectorBindingEmailPost200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodPost
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorBindingEmailPost")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/binding/email"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorInfoGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorAPIService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorInfoGetRequest) Execute() (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorInfoGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorInfoGet get all enabled connectors
|
||||||
|
|
||||||
|
get all enabled connectors
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorInfoGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorInfoGetRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorInfoGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorInfoGetExecute(r ApiAnswerApiV1ConnectorInfoGetRequest) (*AnswerApiV1ConnectorInfoGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorInfoGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/info"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorUserInfoGetRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorAPIService
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserInfoGetRequest) Execute() (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorUserInfoGetExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorUserInfoGet get all connectors info about user
|
||||||
|
|
||||||
|
get all connectors info about user
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorUserInfoGetRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserInfoGet(ctx context.Context) ApiAnswerApiV1ConnectorUserInfoGetRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorUserInfoGetRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserInfoGetExecute(r ApiAnswerApiV1ConnectorUserInfoGetRequest) (*AnswerApiV1ConnectorUserInfoGet200Response, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodGet
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorUserInfoGet")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/user/info"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest struct {
|
||||||
|
ctx context.Context
|
||||||
|
ApiService *PluginConnectorAPIService
|
||||||
|
data *SchemaExternalLoginUnbindingReq
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExternalLoginUnbindingReq
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) Data(data SchemaExternalLoginUnbindingReq) ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest {
|
||||||
|
r.data = &data
|
||||||
|
return r
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) Execute() (*HandlerRespBody, *http.Response, error) {
|
||||||
|
return r.ApiService.AnswerApiV1ConnectorUserUnbindingDeleteExecute(r)
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
AnswerApiV1ConnectorUserUnbindingDelete unbind external user login
|
||||||
|
|
||||||
|
unbind external user login
|
||||||
|
|
||||||
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
|
@return ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest
|
||||||
|
*/
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserUnbindingDelete(ctx context.Context) ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest {
|
||||||
|
return ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest{
|
||||||
|
ApiService: a,
|
||||||
|
ctx: ctx,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Execute executes the request
|
||||||
|
// @return HandlerRespBody
|
||||||
|
func (a *PluginConnectorAPIService) AnswerApiV1ConnectorUserUnbindingDeleteExecute(r ApiAnswerApiV1ConnectorUserUnbindingDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
|
var (
|
||||||
|
localVarHTTPMethod = http.MethodDelete
|
||||||
|
localVarPostBody interface{}
|
||||||
|
formFiles []formFile
|
||||||
|
localVarReturnValue *HandlerRespBody
|
||||||
|
)
|
||||||
|
|
||||||
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginConnectorAPIService.AnswerApiV1ConnectorUserUnbindingDelete")
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarPath := localBasePath + "/answer/api/v1/connector/user/unbinding"
|
||||||
|
|
||||||
|
localVarHeaderParams := make(map[string]string)
|
||||||
|
localVarQueryParams := url.Values{}
|
||||||
|
localVarFormParams := url.Values{}
|
||||||
|
if r.data == nil {
|
||||||
|
return localVarReturnValue, nil, reportError("data is required and must be specified")
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Content-Type header
|
||||||
|
localVarHTTPContentTypes := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Content-Type header
|
||||||
|
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
||||||
|
if localVarHTTPContentType != "" {
|
||||||
|
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
||||||
|
}
|
||||||
|
|
||||||
|
// to determine the Accept header
|
||||||
|
localVarHTTPHeaderAccepts := []string{"application/json"}
|
||||||
|
|
||||||
|
// set Accept header
|
||||||
|
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
||||||
|
if localVarHTTPHeaderAccept != "" {
|
||||||
|
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
||||||
|
}
|
||||||
|
// body params
|
||||||
|
localVarPostBody = r.data
|
||||||
|
if r.ctx != nil {
|
||||||
|
// API Key Authentication
|
||||||
|
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
|
||||||
|
if apiKey, ok := auth["ApiKeyAuth"]; ok {
|
||||||
|
var key string
|
||||||
|
if apiKey.Prefix != "" {
|
||||||
|
key = apiKey.Prefix + " " + apiKey.Key
|
||||||
|
} else {
|
||||||
|
key = apiKey.Key
|
||||||
|
}
|
||||||
|
localVarHeaderParams["Authorization"] = key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarHTTPResponse, err := a.client.callAPI(req)
|
||||||
|
if err != nil || localVarHTTPResponse == nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
||||||
|
localVarHTTPResponse.Body.Close()
|
||||||
|
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
||||||
|
if err != nil {
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, err
|
||||||
|
}
|
||||||
|
|
||||||
|
if localVarHTTPResponse.StatusCode >= 300 {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: localVarHTTPResponse.Status,
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
||||||
|
if err != nil {
|
||||||
|
newErr := &GenericOpenAPIError{
|
||||||
|
body: localVarBody,
|
||||||
|
error: err.Error(),
|
||||||
|
}
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, newErr
|
||||||
|
}
|
||||||
|
|
||||||
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
|
}
|
||||||
699
api_question.go
699
api_question.go
File diff suppressed because it is too large
Load Diff
20
api_rank.go
20
api_rank.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// RankApiService RankApi service
|
// RankAPIService RankAPI service
|
||||||
type RankApiService service
|
type RankAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1PersonalRankPageGetRequest struct {
|
type ApiAnswerApiV1PersonalRankPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *RankApiService
|
ApiService *RankAPIService
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
username *string
|
username *string
|
||||||
@@ -60,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PersonalRankPageGetRequest
|
@return ApiAnswerApiV1PersonalRankPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
func (a *RankAPIService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
||||||
return ApiAnswerApiV1PersonalRankPageGetRequest{
|
return ApiAnswerApiV1PersonalRankPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -69,7 +67,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) Api
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1PersonalRankPageGet200Response
|
// @return AnswerApiV1PersonalRankPageGet200Response
|
||||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
func (a *RankAPIService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -77,7 +75,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1P
|
|||||||
localVarReturnValue *AnswerApiV1PersonalRankPageGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// ReasonApiService ReasonApi service
|
// ReasonAPIService ReasonAPI service
|
||||||
type ReasonApiService service
|
type ReasonAPIService service
|
||||||
|
|
||||||
type ApiAnswerAdminApiReasonsGetRequest struct {
|
type ApiAnswerAdminApiReasonsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ReasonApiService
|
ApiService *ReasonAPIService
|
||||||
objectType *string
|
objectType *string
|
||||||
action *string
|
action *string
|
||||||
}
|
}
|
||||||
@@ -53,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerAdminApiReasonsGetRequest
|
@return ApiAnswerAdminApiReasonsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *ReasonApiService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnswerAdminApiReasonsGetRequest {
|
func (a *ReasonAPIService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnswerAdminApiReasonsGetRequest {
|
||||||
return ApiAnswerAdminApiReasonsGetRequest{
|
return ApiAnswerAdminApiReasonsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -62,7 +60,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGet(ctx context.Context) ApiAnsw
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *ReasonAPIService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -70,7 +68,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiRe
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -159,7 +157,7 @@ func (a *ReasonApiService) AnswerAdminApiReasonsGetExecute(r ApiAnswerAdminApiRe
|
|||||||
|
|
||||||
type ApiAnswerApiV1ReasonsGetRequest struct {
|
type ApiAnswerApiV1ReasonsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ReasonApiService
|
ApiService *ReasonAPIService
|
||||||
objectType *string
|
objectType *string
|
||||||
action *string
|
action *string
|
||||||
}
|
}
|
||||||
@@ -188,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1ReasonsGetRequest
|
@return ApiAnswerApiV1ReasonsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *ReasonApiService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerApiV1ReasonsGetRequest {
|
func (a *ReasonAPIService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerApiV1ReasonsGetRequest {
|
||||||
return ApiAnswerApiV1ReasonsGetRequest{
|
return ApiAnswerApiV1ReasonsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -197,7 +195,7 @@ func (a *ReasonApiService) AnswerApiV1ReasonsGet(ctx context.Context) ApiAnswerA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *ReasonApiService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *ReasonAPIService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -205,7 +203,7 @@ func (a *ReasonApiService) AnswerApiV1ReasonsGetExecute(r ApiAnswerApiV1ReasonsG
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
130
api_report.go
130
api_report.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// ReportApiService ReportApi service
|
// ReportAPIService ReportAPI service
|
||||||
type ReportApiService service
|
type ReportAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1ReportPostRequest struct {
|
type ApiAnswerApiV1ReportPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *ReportApiService
|
ApiService *ReportAPIService
|
||||||
data *SchemaAddReportReq
|
data *SchemaAddReportReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1ReportPostRequest
|
@return ApiAnswerApiV1ReportPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *ReportApiService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerApiV1ReportPostRequest {
|
func (a *ReportAPIService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerApiV1ReportPostRequest {
|
||||||
return ApiAnswerApiV1ReportPostRequest{
|
return ApiAnswerApiV1ReportPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *ReportApiService) AnswerApiV1ReportPost(ctx context.Context) ApiAnswerA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPostRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *ReportAPIService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPo
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -146,113 +144,3 @@ func (a *ReportApiService) AnswerApiV1ReportPostExecute(r ApiAnswerApiV1ReportPo
|
|||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
return localVarReturnValue, localVarHTTPResponse, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type ApiAnswerApiV1ReportTypeListGetRequest struct {
|
|
||||||
ctx context.Context
|
|
||||||
ApiService *ReportApiService
|
|
||||||
source *string
|
|
||||||
}
|
|
||||||
|
|
||||||
// report source
|
|
||||||
func (r ApiAnswerApiV1ReportTypeListGetRequest) Source(source string) ApiAnswerApiV1ReportTypeListGetRequest {
|
|
||||||
r.source = &source
|
|
||||||
return r
|
|
||||||
}
|
|
||||||
|
|
||||||
func (r ApiAnswerApiV1ReportTypeListGetRequest) Execute() (*AnswerApiV1ReportTypeListGet200Response, *http.Response, error) {
|
|
||||||
return r.ApiService.AnswerApiV1ReportTypeListGetExecute(r)
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
AnswerApiV1ReportTypeListGet get report type list
|
|
||||||
|
|
||||||
get report type list
|
|
||||||
|
|
||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
|
||||||
@return ApiAnswerApiV1ReportTypeListGetRequest
|
|
||||||
*/
|
|
||||||
func (a *ReportApiService) AnswerApiV1ReportTypeListGet(ctx context.Context) ApiAnswerApiV1ReportTypeListGetRequest {
|
|
||||||
return ApiAnswerApiV1ReportTypeListGetRequest{
|
|
||||||
ApiService: a,
|
|
||||||
ctx: ctx,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Execute executes the request
|
|
||||||
// @return AnswerApiV1ReportTypeListGet200Response
|
|
||||||
func (a *ReportApiService) AnswerApiV1ReportTypeListGetExecute(r ApiAnswerApiV1ReportTypeListGetRequest) (*AnswerApiV1ReportTypeListGet200Response, *http.Response, error) {
|
|
||||||
var (
|
|
||||||
localVarHTTPMethod = http.MethodGet
|
|
||||||
localVarPostBody interface{}
|
|
||||||
formFiles []formFile
|
|
||||||
localVarReturnValue *AnswerApiV1ReportTypeListGet200Response
|
|
||||||
)
|
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReportApiService.AnswerApiV1ReportTypeListGet")
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarPath := localBasePath + "/answer/api/v1/report/type/list"
|
|
||||||
|
|
||||||
localVarHeaderParams := make(map[string]string)
|
|
||||||
localVarQueryParams := url.Values{}
|
|
||||||
localVarFormParams := url.Values{}
|
|
||||||
if r.source == nil {
|
|
||||||
return localVarReturnValue, nil, reportError("source is required and must be specified")
|
|
||||||
}
|
|
||||||
|
|
||||||
parameterAddToHeaderOrQuery(localVarQueryParams, "source", r.source, "")
|
|
||||||
// to determine the Content-Type header
|
|
||||||
localVarHTTPContentTypes := []string{}
|
|
||||||
|
|
||||||
// set Content-Type header
|
|
||||||
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
|
|
||||||
if localVarHTTPContentType != "" {
|
|
||||||
localVarHeaderParams["Content-Type"] = localVarHTTPContentType
|
|
||||||
}
|
|
||||||
|
|
||||||
// to determine the Accept header
|
|
||||||
localVarHTTPHeaderAccepts := []string{"application/json"}
|
|
||||||
|
|
||||||
// set Accept header
|
|
||||||
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
|
|
||||||
if localVarHTTPHeaderAccept != "" {
|
|
||||||
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
|
|
||||||
}
|
|
||||||
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarHTTPResponse, err := a.client.callAPI(req)
|
|
||||||
if err != nil || localVarHTTPResponse == nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
|
|
||||||
localVarHTTPResponse.Body.Close()
|
|
||||||
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
|
|
||||||
if err != nil {
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if localVarHTTPResponse.StatusCode >= 300 {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: localVarHTTPResponse.Status,
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
|
|
||||||
if err != nil {
|
|
||||||
newErr := &GenericOpenAPIError{
|
|
||||||
body: localVarBody,
|
|
||||||
error: err.Error(),
|
|
||||||
}
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, newErr
|
|
||||||
}
|
|
||||||
|
|
||||||
return localVarReturnValue, localVarHTTPResponse, nil
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// RevisionApiService RevisionApi service
|
// RevisionAPIService RevisionAPI service
|
||||||
type RevisionApiService service
|
type RevisionAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1RevisionsAuditPutRequest struct {
|
type ApiAnswerApiV1RevisionsAuditPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *RevisionApiService
|
ApiService *RevisionAPIService
|
||||||
data *SchemaRevisionAuditReq
|
data *SchemaRevisionAuditReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1RevisionsAuditPutRequest
|
@return ApiAnswerApiV1RevisionsAuditPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsAuditPut(ctx context.Context) ApiAnswerApiV1RevisionsAuditPutRequest {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsAuditPut(ctx context.Context) ApiAnswerApiV1RevisionsAuditPutRequest {
|
||||||
return ApiAnswerApiV1RevisionsAuditPutRequest{
|
return ApiAnswerApiV1RevisionsAuditPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPut(ctx context.Context) A
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV1RevisionsAuditPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV1RevisionsAuditPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -149,7 +147,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsAuditPutExecute(r ApiAnswerApiV
|
|||||||
|
|
||||||
type ApiAnswerApiV1RevisionsEditCheckGetRequest struct {
|
type ApiAnswerApiV1RevisionsEditCheckGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *RevisionApiService
|
ApiService *RevisionAPIService
|
||||||
id *string
|
id *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1RevisionsEditCheckGetRequest
|
@return ApiAnswerApiV1RevisionsEditCheckGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGet(ctx context.Context) ApiAnswerApiV1RevisionsEditCheckGetRequest {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsEditCheckGet(ctx context.Context) ApiAnswerApiV1RevisionsEditCheckGetRequest {
|
||||||
return ApiAnswerApiV1RevisionsEditCheckGetRequest{
|
return ApiAnswerApiV1RevisionsEditCheckGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -180,7 +178,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGet(ctx context.Contex
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswerApiV1RevisionsEditCheckGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswerApiV1RevisionsEditCheckGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -188,7 +186,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswer
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -273,7 +271,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsEditCheckGetExecute(r ApiAnswer
|
|||||||
|
|
||||||
type ApiAnswerApiV1RevisionsGetRequest struct {
|
type ApiAnswerApiV1RevisionsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *RevisionApiService
|
ApiService *RevisionAPIService
|
||||||
objectId *string
|
objectId *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -295,7 +293,7 @@ get revision list
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1RevisionsGetRequest
|
@return ApiAnswerApiV1RevisionsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAnswerApiV1RevisionsGetRequest {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAnswerApiV1RevisionsGetRequest {
|
||||||
return ApiAnswerApiV1RevisionsGetRequest{
|
return ApiAnswerApiV1RevisionsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -304,7 +302,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGet(ctx context.Context) ApiAns
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1RevisionsGet200Response
|
// @return AnswerApiV1RevisionsGet200Response
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1RevisionsGetRequest) (*AnswerApiV1RevisionsGet200Response, *http.Response, error) {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1RevisionsGetRequest) (*AnswerApiV1RevisionsGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -312,7 +310,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1Revi
|
|||||||
localVarReturnValue *AnswerApiV1RevisionsGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -383,7 +381,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsGetExecute(r ApiAnswerApiV1Revi
|
|||||||
|
|
||||||
type ApiAnswerApiV1RevisionsUnreviewedGetRequest struct {
|
type ApiAnswerApiV1RevisionsUnreviewedGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *RevisionApiService
|
ApiService *RevisionAPIService
|
||||||
page *string
|
page *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -405,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1RevisionsUnreviewedGetRequest
|
@return ApiAnswerApiV1RevisionsUnreviewedGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Context) ApiAnswerApiV1RevisionsUnreviewedGetRequest {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Context) ApiAnswerApiV1RevisionsUnreviewedGetRequest {
|
||||||
return ApiAnswerApiV1RevisionsUnreviewedGetRequest{
|
return ApiAnswerApiV1RevisionsUnreviewedGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -414,7 +412,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGet(ctx context.Conte
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1RevisionsUnreviewedGet200Response
|
// @return AnswerApiV1RevisionsUnreviewedGet200Response
|
||||||
func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswerApiV1RevisionsUnreviewedGetRequest) (*AnswerApiV1RevisionsUnreviewedGet200Response, *http.Response, error) {
|
func (a *RevisionAPIService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswerApiV1RevisionsUnreviewedGetRequest) (*AnswerApiV1RevisionsUnreviewedGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -422,7 +420,7 @@ func (a *RevisionApiService) AnswerApiV1RevisionsUnreviewedGetExecute(r ApiAnswe
|
|||||||
localVarReturnValue *AnswerApiV1RevisionsUnreviewedGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
119
api_search.go
119
api_search.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,111 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// SearchApiService SearchApi service
|
// SearchAPIService SearchAPI service
|
||||||
type SearchApiService 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 {
|
type ApiAnswerApiV1SearchGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *SearchApiService
|
ApiService *SearchAPIService
|
||||||
q *string
|
q *string
|
||||||
order *string
|
order *string
|
||||||
}
|
}
|
||||||
@@ -53,7 +150,7 @@ search object
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1SearchGetRequest
|
@return ApiAnswerApiV1SearchGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *SearchApiService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerApiV1SearchGetRequest {
|
func (a *SearchAPIService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerApiV1SearchGetRequest {
|
||||||
return ApiAnswerApiV1SearchGetRequest{
|
return ApiAnswerApiV1SearchGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -62,7 +159,7 @@ func (a *SearchApiService) AnswerApiV1SearchGet(ctx context.Context) ApiAnswerAp
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1SearchGet200Response
|
// @return AnswerApiV1SearchGet200Response
|
||||||
func (a *SearchApiService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGetRequest) (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
func (a *SearchAPIService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGetRequest) (*AnswerApiV1SearchGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -70,7 +167,7 @@ func (a *SearchApiService) AnswerApiV1SearchGetExecute(r ApiAnswerApiV1SearchGet
|
|||||||
localVarReturnValue *AnswerApiV1SearchGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
44
api_site.go
44
api_site.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// SiteApiService SiteApi service
|
// SiteAPIService SiteAPI service
|
||||||
type SiteApiService service
|
type SiteAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1SiteinfoGetRequest struct {
|
type ApiAnswerApiV1SiteinfoGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *SiteApiService
|
ApiService *SiteAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiAnswerApiV1SiteinfoGetRequest) Execute() (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
func (r ApiAnswerApiV1SiteinfoGetRequest) Execute() (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
||||||
@@ -39,7 +37,7 @@ get site info
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1SiteinfoGetRequest
|
@return ApiAnswerApiV1SiteinfoGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *SiteApiService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerApiV1SiteinfoGetRequest {
|
func (a *SiteAPIService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerApiV1SiteinfoGetRequest {
|
||||||
return ApiAnswerApiV1SiteinfoGetRequest{
|
return ApiAnswerApiV1SiteinfoGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -48,7 +46,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGet(ctx context.Context) ApiAnswerAp
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1SiteinfoGet200Response
|
// @return AnswerApiV1SiteinfoGet200Response
|
||||||
func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoGetRequest) (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
func (a *SiteAPIService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoGetRequest) (*AnswerApiV1SiteinfoGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -56,7 +54,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoG
|
|||||||
localVarReturnValue *AnswerApiV1SiteinfoGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -123,7 +121,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoGetExecute(r ApiAnswerApiV1SiteinfoG
|
|||||||
|
|
||||||
type ApiAnswerApiV1SiteinfoLegalGetRequest struct {
|
type ApiAnswerApiV1SiteinfoLegalGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *SiteApiService
|
ApiService *SiteAPIService
|
||||||
infoType *string
|
infoType *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1SiteinfoLegalGetRequest
|
@return ApiAnswerApiV1SiteinfoLegalGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *SiteApiService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAnswerApiV1SiteinfoLegalGetRequest {
|
func (a *SiteAPIService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAnswerApiV1SiteinfoLegalGetRequest {
|
||||||
return ApiAnswerApiV1SiteinfoLegalGetRequest{
|
return ApiAnswerApiV1SiteinfoLegalGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -154,7 +152,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGet(ctx context.Context) ApiAns
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1SiteinfoLegalGet200Response
|
// @return AnswerApiV1SiteinfoLegalGet200Response
|
||||||
func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1SiteinfoLegalGetRequest) (*AnswerApiV1SiteinfoLegalGet200Response, *http.Response, error) {
|
func (a *SiteAPIService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1SiteinfoLegalGetRequest) (*AnswerApiV1SiteinfoLegalGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -162,7 +160,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1Site
|
|||||||
localVarReturnValue *AnswerApiV1SiteinfoLegalGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -233,7 +231,7 @@ func (a *SiteApiService) AnswerApiV1SiteinfoLegalGetExecute(r ApiAnswerApiV1Site
|
|||||||
|
|
||||||
type ApiCustomCssGetRequest struct {
|
type ApiCustomCssGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *SiteApiService
|
ApiService *SiteAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiCustomCssGetRequest) Execute() (string, *http.Response, error) {
|
func (r ApiCustomCssGetRequest) Execute() (string, *http.Response, error) {
|
||||||
@@ -248,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiCustomCssGetRequest
|
@return ApiCustomCssGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *SiteApiService) CustomCssGet(ctx context.Context) ApiCustomCssGetRequest {
|
func (a *SiteAPIService) CustomCssGet(ctx context.Context) ApiCustomCssGetRequest {
|
||||||
return ApiCustomCssGetRequest{
|
return ApiCustomCssGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -257,7 +255,7 @@ func (a *SiteApiService) CustomCssGet(ctx context.Context) ApiCustomCssGetReques
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string, *http.Response, error) {
|
func (a *SiteAPIService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -265,7 +263,7 @@ func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string,
|
|||||||
localVarReturnValue 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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -332,7 +330,7 @@ func (a *SiteApiService) CustomCssGetExecute(r ApiCustomCssGetRequest) (string,
|
|||||||
|
|
||||||
type ApiRobotsTxtGetRequest struct {
|
type ApiRobotsTxtGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *SiteApiService
|
ApiService *SiteAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiRobotsTxtGetRequest) Execute() (string, *http.Response, error) {
|
func (r ApiRobotsTxtGetRequest) Execute() (string, *http.Response, error) {
|
||||||
@@ -347,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiRobotsTxtGetRequest
|
@return ApiRobotsTxtGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *SiteApiService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetRequest {
|
func (a *SiteAPIService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetRequest {
|
||||||
return ApiRobotsTxtGetRequest{
|
return ApiRobotsTxtGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -356,7 +354,7 @@ func (a *SiteApiService) RobotsTxtGet(ctx context.Context) ApiRobotsTxtGetReques
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *SiteApiService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string, *http.Response, error) {
|
func (a *SiteAPIService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -364,7 +362,7 @@ func (a *SiteApiService) RobotsTxtGetExecute(r ApiRobotsTxtGetRequest) (string,
|
|||||||
localVarReturnValue 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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
92
api_tag.go
92
api_tag.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -19,12 +17,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// TagApiService TagApi service
|
// TagAPIService TagAPI service
|
||||||
type TagApiService service
|
type TagAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1QuestionTagsGetRequest struct {
|
type ApiAnswerApiV1QuestionTagsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
tag *string
|
tag *string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +44,7 @@ get tag list
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1QuestionTagsGetRequest
|
@return ApiAnswerApiV1QuestionTagsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswerApiV1QuestionTagsGetRequest {
|
func (a *TagAPIService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswerApiV1QuestionTagsGetRequest {
|
||||||
return ApiAnswerApiV1QuestionTagsGetRequest{
|
return ApiAnswerApiV1QuestionTagsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -55,7 +53,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGet(ctx context.Context) ApiAnswe
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1QuestionTagsGet200Response
|
// @return AnswerApiV1QuestionTagsGet200Response
|
||||||
func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1QuestionTagsGetRequest) (*AnswerApiV1QuestionTagsGet200Response, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1QuestionTagsGetRequest) (*AnswerApiV1QuestionTagsGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -63,7 +61,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1Questi
|
|||||||
localVarReturnValue *AnswerApiV1QuestionTagsGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -147,7 +145,7 @@ func (a *TagApiService) AnswerApiV1QuestionTagsGetExecute(r ApiAnswerApiV1Questi
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagDeleteRequest struct {
|
type ApiAnswerApiV1TagDeleteRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
data *SchemaRemoveTagReq
|
data *SchemaRemoveTagReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -169,7 +167,7 @@ delete tag
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagDeleteRequest
|
@return ApiAnswerApiV1TagDeleteRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1TagDeleteRequest {
|
func (a *TagAPIService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1TagDeleteRequest {
|
||||||
return ApiAnswerApiV1TagDeleteRequest{
|
return ApiAnswerApiV1TagDeleteRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -178,7 +176,7 @@ func (a *TagApiService) AnswerApiV1TagDelete(ctx context.Context) ApiAnswerApiV1
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodDelete
|
localVarHTTPMethod = http.MethodDelete
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -186,7 +184,7 @@ func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteReq
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -258,7 +256,7 @@ func (a *TagApiService) AnswerApiV1TagDeleteExecute(r ApiAnswerApiV1TagDeleteReq
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagGetRequest struct {
|
type ApiAnswerApiV1TagGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
tagId *string
|
tagId *string
|
||||||
tagName *string
|
tagName *string
|
||||||
}
|
}
|
||||||
@@ -287,7 +285,7 @@ get tag one
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagGetRequest
|
@return ApiAnswerApiV1TagGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1TagGetRequest {
|
func (a *TagAPIService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1TagGetRequest {
|
||||||
return ApiAnswerApiV1TagGetRequest{
|
return ApiAnswerApiV1TagGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -296,7 +294,7 @@ func (a *TagApiService) AnswerApiV1TagGet(ctx context.Context) ApiAnswerApiV1Tag
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1TagGet200Response
|
// @return AnswerApiV1TagGet200Response
|
||||||
func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest) (*AnswerApiV1TagGet200Response, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest) (*AnswerApiV1TagGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -304,7 +302,7 @@ func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest)
|
|||||||
localVarReturnValue *AnswerApiV1TagGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -379,7 +377,7 @@ func (a *TagApiService) AnswerApiV1TagGetExecute(r ApiAnswerApiV1TagGetRequest)
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagPostRequest struct {
|
type ApiAnswerApiV1TagPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
data *SchemaAddTagReq
|
data *SchemaAddTagReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -401,7 +399,7 @@ add tag
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagPostRequest
|
@return ApiAnswerApiV1TagPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1TagPostRequest {
|
func (a *TagAPIService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1TagPostRequest {
|
||||||
return ApiAnswerApiV1TagPostRequest{
|
return ApiAnswerApiV1TagPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -410,7 +408,7 @@ func (a *TagApiService) AnswerApiV1TagPost(ctx context.Context) ApiAnswerApiV1Ta
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -418,7 +416,7 @@ func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -490,7 +488,7 @@ func (a *TagApiService) AnswerApiV1TagPostExecute(r ApiAnswerApiV1TagPostRequest
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagPutRequest struct {
|
type ApiAnswerApiV1TagPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
data *SchemaUpdateTagReq
|
data *SchemaUpdateTagReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -512,7 +510,7 @@ update tag
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagPutRequest
|
@return ApiAnswerApiV1TagPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1TagPutRequest {
|
func (a *TagAPIService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1TagPutRequest {
|
||||||
return ApiAnswerApiV1TagPutRequest{
|
return ApiAnswerApiV1TagPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -521,7 +519,7 @@ func (a *TagApiService) AnswerApiV1TagPut(ctx context.Context) ApiAnswerApiV1Tag
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -529,7 +527,7 @@ func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest)
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -601,7 +599,7 @@ func (a *TagApiService) AnswerApiV1TagPutExecute(r ApiAnswerApiV1TagPutRequest)
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagSynonymPutRequest struct {
|
type ApiAnswerApiV1TagSynonymPutRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
data *SchemaUpdateTagSynonymReq
|
data *SchemaUpdateTagSynonymReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -623,7 +621,7 @@ update tag
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagSynonymPutRequest
|
@return ApiAnswerApiV1TagSynonymPutRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerApiV1TagSynonymPutRequest {
|
func (a *TagAPIService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerApiV1TagSynonymPutRequest {
|
||||||
return ApiAnswerApiV1TagSynonymPutRequest{
|
return ApiAnswerApiV1TagSynonymPutRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -632,7 +630,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPut(ctx context.Context) ApiAnswerA
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynonymPutRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynonymPutRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPut
|
localVarHTTPMethod = http.MethodPut
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -640,7 +638,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynon
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -712,7 +710,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymPutExecute(r ApiAnswerApiV1TagSynon
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagSynonymsGetRequest struct {
|
type ApiAnswerApiV1TagSynonymsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
tagId *int32
|
tagId *int32
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -734,7 +732,7 @@ get tag synonyms
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagSynonymsGetRequest
|
@return ApiAnswerApiV1TagSynonymsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswerApiV1TagSynonymsGetRequest {
|
func (a *TagAPIService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswerApiV1TagSynonymsGetRequest {
|
||||||
return ApiAnswerApiV1TagSynonymsGetRequest{
|
return ApiAnswerApiV1TagSynonymsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -743,7 +741,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGet(ctx context.Context) ApiAnswer
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1TagSynonymsGet200Response
|
// @return AnswerApiV1TagSynonymsGet200Response
|
||||||
func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSynonymsGetRequest) (*AnswerApiV1TagSynonymsGet200Response, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSynonymsGetRequest) (*AnswerApiV1TagSynonymsGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -751,7 +749,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSyno
|
|||||||
localVarReturnValue *AnswerApiV1TagSynonymsGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -822,7 +820,7 @@ func (a *TagApiService) AnswerApiV1TagSynonymsGetExecute(r ApiAnswerApiV1TagSyno
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagsFollowingGetRequest struct {
|
type ApiAnswerApiV1TagsFollowingGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiAnswerApiV1TagsFollowingGetRequest) Execute() (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
func (r ApiAnswerApiV1TagsFollowingGetRequest) Execute() (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
||||||
@@ -837,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().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagsFollowingGetRequest
|
@return ApiAnswerApiV1TagsFollowingGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnswerApiV1TagsFollowingGetRequest {
|
func (a *TagAPIService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnswerApiV1TagsFollowingGetRequest {
|
||||||
return ApiAnswerApiV1TagsFollowingGetRequest{
|
return ApiAnswerApiV1TagsFollowingGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -846,7 +844,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGet(ctx context.Context) ApiAnsw
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1TagsFollowingGet200Response
|
// @return AnswerApiV1TagsFollowingGet200Response
|
||||||
func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsFollowingGetRequest) (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsFollowingGetRequest) (*AnswerApiV1TagsFollowingGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -854,7 +852,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsF
|
|||||||
localVarReturnValue *AnswerApiV1TagsFollowingGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -935,7 +933,7 @@ func (a *TagApiService) AnswerApiV1TagsFollowingGetExecute(r ApiAnswerApiV1TagsF
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagsGetRequest struct {
|
type ApiAnswerApiV1TagsGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
tags *[]string
|
tags *[]string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -957,7 +955,7 @@ get tags list
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagsGetRequest
|
@return ApiAnswerApiV1TagsGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1TagsGetRequest {
|
func (a *TagAPIService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1TagsGetRequest {
|
||||||
return ApiAnswerApiV1TagsGetRequest{
|
return ApiAnswerApiV1TagsGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -966,7 +964,7 @@ func (a *TagApiService) AnswerApiV1TagsGet(ctx context.Context) ApiAnswerApiV1Ta
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -974,7 +972,7 @@ func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -1044,7 +1042,7 @@ func (a *TagApiService) AnswerApiV1TagsGetExecute(r ApiAnswerApiV1TagsGetRequest
|
|||||||
|
|
||||||
type ApiAnswerApiV1TagsPageGetRequest struct {
|
type ApiAnswerApiV1TagsPageGetRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *TagApiService
|
ApiService *TagAPIService
|
||||||
page *int32
|
page *int32
|
||||||
pageSize *int32
|
pageSize *int32
|
||||||
slugName *string
|
slugName *string
|
||||||
@@ -1087,7 +1085,7 @@ get tag page
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1TagsPageGetRequest
|
@return ApiAnswerApiV1TagsPageGetRequest
|
||||||
*/
|
*/
|
||||||
func (a *TagApiService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApiV1TagsPageGetRequest {
|
func (a *TagAPIService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApiV1TagsPageGetRequest {
|
||||||
return ApiAnswerApiV1TagsPageGetRequest{
|
return ApiAnswerApiV1TagsPageGetRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -1096,7 +1094,7 @@ func (a *TagApiService) AnswerApiV1TagsPageGet(ctx context.Context) ApiAnswerApi
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1TagsPageGet200Response
|
// @return AnswerApiV1TagsPageGet200Response
|
||||||
func (a *TagApiService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGetRequest) (*AnswerApiV1TagsPageGet200Response, *http.Response, error) {
|
func (a *TagAPIService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGetRequest) (*AnswerApiV1TagsPageGet200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -1104,7 +1102,7 @@ func (a *TagApiService) AnswerApiV1TagsPageGetExecute(r ApiAnswerApiV1TagsPageGe
|
|||||||
localVarReturnValue *AnswerApiV1TagsPageGet200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -20,12 +18,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// UploadApiService UploadApi service
|
// UploadAPIService UploadAPI service
|
||||||
type UploadApiService service
|
type UploadAPIService service
|
||||||
|
|
||||||
type ApiAnswerApiV1FilePostRequest struct {
|
type ApiAnswerApiV1FilePostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *UploadApiService
|
ApiService *UploadAPIService
|
||||||
source *string
|
source *string
|
||||||
file *os.File
|
file *os.File
|
||||||
}
|
}
|
||||||
@@ -54,7 +52,7 @@ upload file
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1FilePostRequest
|
@return ApiAnswerApiV1FilePostRequest
|
||||||
*/
|
*/
|
||||||
func (a *UploadApiService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApiV1FilePostRequest {
|
func (a *UploadAPIService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApiV1FilePostRequest {
|
||||||
return ApiAnswerApiV1FilePostRequest{
|
return ApiAnswerApiV1FilePostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -63,7 +61,7 @@ func (a *UploadApiService) AnswerApiV1FilePost(ctx context.Context) ApiAnswerApi
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return AnswerApiV1FilePost200Response
|
// @return AnswerApiV1FilePost200Response
|
||||||
func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRequest) (*AnswerApiV1FilePost200Response, *http.Response, error) {
|
func (a *UploadAPIService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRequest) (*AnswerApiV1FilePost200Response, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -71,7 +69,7 @@ func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRe
|
|||||||
localVarReturnValue *AnswerApiV1FilePost200Response
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
@@ -176,7 +174,7 @@ func (a *UploadApiService) AnswerApiV1FilePostExecute(r ApiAnswerApiV1FilePostRe
|
|||||||
|
|
||||||
type ApiAnswerApiV1PostRenderPostRequest struct {
|
type ApiAnswerApiV1PostRenderPostRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *UploadApiService
|
ApiService *UploadAPIService
|
||||||
data *SchemaPostRenderReq
|
data *SchemaPostRenderReq
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -198,7 +196,7 @@ render post content
|
|||||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||||
@return ApiAnswerApiV1PostRenderPostRequest
|
@return ApiAnswerApiV1PostRenderPostRequest
|
||||||
*/
|
*/
|
||||||
func (a *UploadApiService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAnswerApiV1PostRenderPostRequest {
|
func (a *UploadAPIService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAnswerApiV1PostRenderPostRequest {
|
||||||
return ApiAnswerApiV1PostRenderPostRequest{
|
return ApiAnswerApiV1PostRenderPostRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
@@ -207,7 +205,7 @@ func (a *UploadApiService) AnswerApiV1PostRenderPost(ctx context.Context) ApiAns
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return HandlerRespBody
|
// @return HandlerRespBody
|
||||||
func (a *UploadApiService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1PostRenderPostRequest) (*HandlerRespBody, *http.Response, error) {
|
func (a *UploadAPIService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1PostRenderPostRequest) (*HandlerRespBody, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodPost
|
localVarHTTPMethod = http.MethodPost
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@@ -215,7 +213,7 @@ func (a *UploadApiService) AnswerApiV1PostRenderPostExecute(r ApiAnswerApiV1Post
|
|||||||
localVarReturnValue *HandlerRespBody
|
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 {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
|||||||
649
api_user.go
649
api_user.go
File diff suppressed because it is too large
Load Diff
102
client.go
102
client.go
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -41,7 +39,7 @@ var (
|
|||||||
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
|
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
|
||||||
)
|
)
|
||||||
|
|
||||||
// APIClient manages communication with the answer API vv0.0.1
|
// APIClient manages communication with the API v1.0.0
|
||||||
// In most cases there should be only one, shared, APIClient.
|
// In most cases there should be only one, shared, APIClient.
|
||||||
type APIClient struct {
|
type APIClient struct {
|
||||||
cfg *Configuration
|
cfg *Configuration
|
||||||
@@ -49,41 +47,49 @@ type APIClient struct {
|
|||||||
|
|
||||||
// API Services
|
// API Services
|
||||||
|
|
||||||
ActivityApi *ActivityApiService
|
ActivityAPI *ActivityAPIService
|
||||||
|
|
||||||
AdminApi *AdminApiService
|
AdminAPI *AdminAPIService
|
||||||
|
|
||||||
ApiAnswerApi *ApiAnswerApiService
|
AdminPluginAPI *AdminPluginAPIService
|
||||||
|
|
||||||
CollectionApi *CollectionApiService
|
ApiAnswerAPI *ApiAnswerAPIService
|
||||||
|
|
||||||
CommentApi *CommentApiService
|
CollectionAPI *CollectionAPIService
|
||||||
|
|
||||||
InstallationApi *InstallationApiService
|
CommentAPI *CommentAPIService
|
||||||
|
|
||||||
LangApi *LangApiService
|
InstallationAPI *InstallationAPIService
|
||||||
|
|
||||||
NotificationApi *NotificationApiService
|
LangAPI *LangAPIService
|
||||||
|
|
||||||
QuestionApi *QuestionApiService
|
NotificationAPI *NotificationAPIService
|
||||||
|
|
||||||
RankApi *RankApiService
|
PermissionAPI *PermissionAPIService
|
||||||
|
|
||||||
ReasonApi *ReasonApiService
|
PersonalAPI *PersonalAPIService
|
||||||
|
|
||||||
ReportApi *ReportApiService
|
PluginConnectorAPI *PluginConnectorAPIService
|
||||||
|
|
||||||
RevisionApi *RevisionApiService
|
QuestionAPI *QuestionAPIService
|
||||||
|
|
||||||
SearchApi *SearchApiService
|
RankAPI *RankAPIService
|
||||||
|
|
||||||
SiteApi *SiteApiService
|
ReasonAPI *ReasonAPIService
|
||||||
|
|
||||||
TagApi *TagApiService
|
ReportAPI *ReportAPIService
|
||||||
|
|
||||||
UploadApi *UploadApiService
|
RevisionAPI *RevisionAPIService
|
||||||
|
|
||||||
UserApi *UserApiService
|
SearchAPI *SearchAPIService
|
||||||
|
|
||||||
|
SiteAPI *SiteAPIService
|
||||||
|
|
||||||
|
TagAPI *TagAPIService
|
||||||
|
|
||||||
|
UploadAPI *UploadAPIService
|
||||||
|
|
||||||
|
UserAPI *UserAPIService
|
||||||
}
|
}
|
||||||
|
|
||||||
type service struct {
|
type service struct {
|
||||||
@@ -102,24 +108,28 @@ func NewAPIClient(cfg *Configuration) *APIClient {
|
|||||||
c.common.client = c
|
c.common.client = c
|
||||||
|
|
||||||
// API Services
|
// API Services
|
||||||
c.ActivityApi = (*ActivityApiService)(&c.common)
|
c.ActivityAPI = (*ActivityAPIService)(&c.common)
|
||||||
c.AdminApi = (*AdminApiService)(&c.common)
|
c.AdminAPI = (*AdminAPIService)(&c.common)
|
||||||
c.ApiAnswerApi = (*ApiAnswerApiService)(&c.common)
|
c.AdminPluginAPI = (*AdminPluginAPIService)(&c.common)
|
||||||
c.CollectionApi = (*CollectionApiService)(&c.common)
|
c.ApiAnswerAPI = (*ApiAnswerAPIService)(&c.common)
|
||||||
c.CommentApi = (*CommentApiService)(&c.common)
|
c.CollectionAPI = (*CollectionAPIService)(&c.common)
|
||||||
c.InstallationApi = (*InstallationApiService)(&c.common)
|
c.CommentAPI = (*CommentAPIService)(&c.common)
|
||||||
c.LangApi = (*LangApiService)(&c.common)
|
c.InstallationAPI = (*InstallationAPIService)(&c.common)
|
||||||
c.NotificationApi = (*NotificationApiService)(&c.common)
|
c.LangAPI = (*LangAPIService)(&c.common)
|
||||||
c.QuestionApi = (*QuestionApiService)(&c.common)
|
c.NotificationAPI = (*NotificationAPIService)(&c.common)
|
||||||
c.RankApi = (*RankApiService)(&c.common)
|
c.PermissionAPI = (*PermissionAPIService)(&c.common)
|
||||||
c.ReasonApi = (*ReasonApiService)(&c.common)
|
c.PersonalAPI = (*PersonalAPIService)(&c.common)
|
||||||
c.ReportApi = (*ReportApiService)(&c.common)
|
c.PluginConnectorAPI = (*PluginConnectorAPIService)(&c.common)
|
||||||
c.RevisionApi = (*RevisionApiService)(&c.common)
|
c.QuestionAPI = (*QuestionAPIService)(&c.common)
|
||||||
c.SearchApi = (*SearchApiService)(&c.common)
|
c.RankAPI = (*RankAPIService)(&c.common)
|
||||||
c.SiteApi = (*SiteApiService)(&c.common)
|
c.ReasonAPI = (*ReasonAPIService)(&c.common)
|
||||||
c.TagApi = (*TagApiService)(&c.common)
|
c.ReportAPI = (*ReportAPIService)(&c.common)
|
||||||
c.UploadApi = (*UploadApiService)(&c.common)
|
c.RevisionAPI = (*RevisionAPIService)(&c.common)
|
||||||
c.UserApi = (*UserApiService)(&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
|
return c
|
||||||
}
|
}
|
||||||
@@ -487,6 +497,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err = f.Seek(0, io.SeekStart)
|
_, err = f.Seek(0, io.SeekStart)
|
||||||
|
err = os.Remove(f.Name())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if f, ok := v.(**os.File); ok {
|
if f, ok := v.(**os.File); ok {
|
||||||
@@ -499,6 +510,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err = (*f).Seek(0, io.SeekStart)
|
_, err = (*f).Seek(0, io.SeekStart)
|
||||||
|
err = os.Remove((*f).Name())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if xmlCheck.MatchString(contentType) {
|
if xmlCheck.MatchString(contentType) {
|
||||||
@@ -575,7 +587,11 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e
|
|||||||
} else if jsonCheck.MatchString(contentType) {
|
} else if jsonCheck.MatchString(contentType) {
|
||||||
err = json.NewEncoder(bodyBuf).Encode(body)
|
err = json.NewEncoder(bodyBuf).Encode(body)
|
||||||
} else if xmlCheck.MatchString(contentType) {
|
} 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 {
|
if err != nil {
|
||||||
|
|||||||
@@ -1,14 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
answer
|
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||||||
|
|
||||||
answer api
|
API version: 1.0.0
|
||||||
|
|
||||||
API version: v0.0.1
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||||
|
|
||||||
package openapi
|
package answer_sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@@ -93,7 +91,7 @@ func NewConfiguration() *Configuration {
|
|||||||
Debug: false,
|
Debug: false,
|
||||||
Servers: ServerConfigurations{
|
Servers: ServerConfigurations{
|
||||||
{
|
{
|
||||||
URL: "//127.0.0.1:80",
|
URL: "",
|
||||||
Description: "No description provided",
|
Description: "No description provided",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
# \ActivityApi
|
# \ActivityAPI
|
||||||
|
|
||||||
All URIs are relative to *http://127.0.0.1:80*
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**AnswerApiV1FollowPost**](ActivityApi.md#AnswerApiV1FollowPost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
[**AnswerApiV1FollowPost**](ActivityAPI.md#AnswerApiV1FollowPost) | **Post** /answer/api/v1/follow | follow object or cancel follow operation
|
||||||
[**AnswerApiV1FollowTagsPut**](ActivityApi.md#AnswerApiV1FollowTagsPut) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
[**AnswerApiV1FollowTagsPut**](ActivityAPI.md#AnswerApiV1FollowTagsPut) | **Put** /answer/api/v1/follow/tags | update user follow tags
|
||||||
[**AnswerApiV1PersonalVotePageGet**](ActivityApi.md#AnswerApiV1PersonalVotePageGet) | **Get** /answer/api/v1/personal/vote/page | user's votes
|
[**AnswerApiV1PersonalVotePageGet**](ActivityAPI.md#AnswerApiV1PersonalVotePageGet) | **Get** /answer/api/v1/personal/vote/page | get user personal votes
|
||||||
[**AnswerApiV1VoteDownPost**](ActivityApi.md#AnswerApiV1VoteDownPost) | **Post** /answer/api/v1/vote/down | vote down
|
[**AnswerApiV1VoteDownPost**](ActivityAPI.md#AnswerApiV1VoteDownPost) | **Post** /answer/api/v1/vote/down | vote down
|
||||||
[**AnswerApiV1VoteUpPost**](ActivityApi.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
[**AnswerApiV1VoteUpPost**](ActivityAPI.md#AnswerApiV1VoteUpPost) | **Post** /answer/api/v1/vote/up | vote up
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -37,13 +37,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
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 {
|
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)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `AnswerApiV1FollowPost`: AnswerApiV1FollowPost200Response
|
// 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"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -103,13 +103,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
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 {
|
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)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `AnswerApiV1FollowTagsPut`: HandlerRespBody
|
// 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)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
> AnswerApiV1PersonalVotePageGet200Response AnswerApiV1PersonalVotePageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
> AnswerApiV1PersonalVotePageGet200Response AnswerApiV1PersonalVotePageGet(ctx).Page(page).PageSize(pageSize).Execute()
|
||||||
|
|
||||||
user's votes
|
get user personal votes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -161,7 +161,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -170,13 +170,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
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 {
|
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)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `AnswerApiV1PersonalVotePageGet`: AnswerApiV1PersonalVotePageGet200Response
|
// 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"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -237,13 +237,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
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 {
|
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)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `AnswerApiV1VoteDownPost`: AnswerApiV1VoteDownPost200Response
|
// 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"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -303,13 +303,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
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 {
|
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)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `AnswerApiV1VoteUpPost`: AnswerApiV1VoteDownPost200Response
|
// 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
278
docs/AdminPluginAPI.md
Normal file
278
docs/AdminPluginAPI.md
Normal file
@@ -0,0 +1,278 @@
|
|||||||
|
# \AdminPluginAPI
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**AnswerAdminApiPluginConfigGet**](AdminPluginAPI.md#AnswerAdminApiPluginConfigGet) | **Get** /answer/admin/api/plugin/config | get plugin config
|
||||||
|
[**AnswerAdminApiPluginConfigPut**](AdminPluginAPI.md#AnswerAdminApiPluginConfigPut) | **Put** /answer/admin/api/plugin/config | update plugin config
|
||||||
|
[**AnswerAdminApiPluginStatusPut**](AdminPluginAPI.md#AnswerAdminApiPluginStatusPut) | **Put** /answer/admin/api/plugin/status | update plugin status
|
||||||
|
[**AnswerAdminApiPluginsGet**](AdminPluginAPI.md#AnswerAdminApiPluginsGet) | **Get** /answer/admin/api/plugins | get plugin list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginConfigGet
|
||||||
|
|
||||||
|
> AnswerAdminApiPluginConfigGet200Response AnswerAdminApiPluginConfigGet(ctx).PluginSlugName(pluginSlugName).Execute()
|
||||||
|
|
||||||
|
get plugin config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
pluginSlugName := "pluginSlugName_example" // string | plugin_slug_name
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginConfigGet(context.Background()).PluginSlugName(pluginSlugName).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginAPI.AnswerAdminApiPluginConfigGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginConfigGet`: AnswerAdminApiPluginConfigGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginConfigGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginConfigGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**pluginSlugName** | **string** | plugin_slug_name |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiPluginConfigGet200Response**](AnswerAdminApiPluginConfigGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginConfigPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiPluginConfigPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update plugin config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaUpdatePluginConfigReq("PluginSlugName_example") // SchemaUpdatePluginConfigReq | UpdatePluginConfigReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginConfigPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginAPI.AnswerAdminApiPluginConfigPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginConfigPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginConfigPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginConfigPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaUpdatePluginConfigReq**](SchemaUpdatePluginConfigReq.md) | UpdatePluginConfigReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginStatusPut
|
||||||
|
|
||||||
|
> HandlerRespBody AnswerAdminApiPluginStatusPut(ctx).Data(data).Execute()
|
||||||
|
|
||||||
|
update plugin status
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
data := *openapiclient.NewSchemaUpdatePluginStatusReq("PluginSlugName_example") // SchemaUpdatePluginStatusReq | UpdatePluginStatusReq
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginStatusPut(context.Background()).Data(data).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginAPI.AnswerAdminApiPluginStatusPut``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginStatusPut`: HandlerRespBody
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginStatusPut`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginStatusPutRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**data** | [**SchemaUpdatePluginStatusReq**](SchemaUpdatePluginStatusReq.md) | UpdatePluginStatusReq |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**HandlerRespBody**](HandlerRespBody.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
|
## AnswerAdminApiPluginsGet
|
||||||
|
|
||||||
|
> AnswerAdminApiPluginsGet200Response AnswerAdminApiPluginsGet(ctx).Status(status).HaveConfig(haveConfig).Execute()
|
||||||
|
|
||||||
|
get plugin list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```go
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
status := "status_example" // string | status: active/inactive (optional)
|
||||||
|
haveConfig := true // bool | have config (optional)
|
||||||
|
|
||||||
|
configuration := openapiclient.NewConfiguration()
|
||||||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
|
resp, r, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginsGet(context.Background()).Status(status).HaveConfig(haveConfig).Execute()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "Error when calling `AdminPluginAPI.AnswerAdminApiPluginsGet``: %v\n", err)
|
||||||
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
}
|
||||||
|
// response from `AnswerAdminApiPluginsGet`: AnswerAdminApiPluginsGet200Response
|
||||||
|
fmt.Fprintf(os.Stdout, "Response from `AdminPluginAPI.AnswerAdminApiPluginsGet`: %v\n", resp)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Path Parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Other Parameters
|
||||||
|
|
||||||
|
Other parameters are passed through a pointer to a apiAnswerAdminApiPluginsGetRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**status** | **string** | status: active/inactive |
|
||||||
|
**haveConfig** | **bool** | have config |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**AnswerAdminApiPluginsGet200Response**](AnswerAdminApiPluginsGet200Response.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
|
[[Back to README]](../README.md)
|
||||||
|
|
||||||
134
docs/AnswerAdminApiPluginConfigGet200Response.md
Normal file
134
docs/AnswerAdminApiPluginConfigGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerAdminApiPluginConfigGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**SchemaGetPluginConfigResp**](SchemaGetPluginConfigResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginConfigGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginConfigGet200Response() *AnswerAdminApiPluginConfigGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginConfigGet200Response instantiates a new AnswerAdminApiPluginConfigGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults() *AnswerAdminApiPluginConfigGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginConfigGet200ResponseWithDefaults instantiates a new AnswerAdminApiPluginConfigGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetDataOk() (*SchemaGetPluginConfigResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) SetData(v SchemaGetPluginConfigResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) 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 *AnswerAdminApiPluginConfigGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginConfigGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
134
docs/AnswerAdminApiPluginsGet200Response.md
Normal file
134
docs/AnswerAdminApiPluginsGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerAdminApiPluginsGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**[]SchemaGetPluginListResp**](SchemaGetPluginListResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginsGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginsGet200Response() *AnswerAdminApiPluginsGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginsGet200Response instantiates a new AnswerAdminApiPluginsGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiPluginsGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiPluginsGet200ResponseWithDefaults() *AnswerAdminApiPluginsGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiPluginsGet200ResponseWithDefaults instantiates a new AnswerAdminApiPluginsGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetDataOk() (*[]SchemaGetPluginListResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) SetData(v []SchemaGetPluginListResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) 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 *AnswerAdminApiPluginsGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiPluginsGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**[]SchemaGetRoleResp**](SchemaGetRoleResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiRolesGet200ResponseWithDefaults instantiates a new AnswerAdminA
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiRolesGet200Response) GetData() []SchemaGetRoleResp`
|
`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.
|
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.
|
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)
|
[[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/AnswerAdminApiSettingPrivilegesGet200Response.md
Normal file
134
docs/AnswerAdminApiSettingPrivilegesGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**SchemaGetPrivilegesConfigResp**](SchemaGetPrivilegesConfigResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSettingPrivilegesGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSettingPrivilegesGet200Response() *AnswerAdminApiSettingPrivilegesGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSettingPrivilegesGet200Response instantiates a new AnswerAdminApiSettingPrivilegesGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults() *AnswerAdminApiSettingPrivilegesGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSettingPrivilegesGet200ResponseWithDefaults instantiates a new AnswerAdminApiSettingPrivilegesGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetDataOk() (*SchemaGetPrivilegesConfigResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) SetData(v SchemaGetPrivilegesConfigResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) 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 *AnswerAdminApiSettingPrivilegesGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSettingPrivilegesGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetSMTPConfigResp**](SchemaGetSMTPConfigResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSettingSmtpGet200ResponseWithDefaults instantiates a new Answer
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSettingSmtpGet200Response) GetData() SchemaGetSMTPConfigResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteBrandingResp**](SchemaSiteBrandingResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoBrandingGet200ResponseWithDefaults instantiates a new A
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoBrandingGet200Response) GetData() SchemaSiteBrandingResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteCustomCssHTMLResp**](SchemaSiteCustomCssHTMLResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoCustomCssHtmlGet200ResponseWithDefaults instantiates a
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoCustomCssHtmlGet200Response) GetData() SchemaSiteCustomCssHTMLResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteGeneralResp**](SchemaSiteGeneralResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoGeneralGet200ResponseWithDefaults instantiates a new An
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoGeneralGet200Response) GetData() SchemaSiteGeneralResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteInterfaceResp**](SchemaSiteInterfaceResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoInterfaceGet200ResponseWithDefaults instantiates a new
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoInterfaceGet200Response) GetData() SchemaSiteInterfaceResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteLegalResp**](SchemaSiteLegalResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoLegalGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoLegalGet200Response) GetData() SchemaSiteLegalResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteLoginResp**](SchemaSiteLoginResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoLoginGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoLoginGet200Response) GetData() SchemaSiteLoginResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteSeoResp**](SchemaSiteSeoResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoSeoGet200ResponseWithDefaults instantiates a new Answer
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoSeoGet200Response) GetData() SchemaSiteSeoResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteThemeResp**](SchemaSiteThemeResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoThemeGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoThemeGet200Response) GetData() SchemaSiteThemeResp`
|
`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.
|
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.
|
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)
|
[[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/AnswerAdminApiSiteinfoUsersGet200Response.md
Normal file
134
docs/AnswerAdminApiSiteinfoUsersGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**SchemaSiteUsersResp**](SchemaSiteUsersResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSiteinfoUsersGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSiteinfoUsersGet200Response() *AnswerAdminApiSiteinfoUsersGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSiteinfoUsersGet200Response instantiates a new AnswerAdminApiSiteinfoUsersGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults() *AnswerAdminApiSiteinfoUsersGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiSiteinfoUsersGet200ResponseWithDefaults instantiates a new AnswerAdminApiSiteinfoUsersGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetDataOk() (*SchemaSiteUsersResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) SetData(v SchemaSiteUsersResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) 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 *AnswerAdminApiSiteinfoUsersGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiSiteinfoUsersGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteWriteResp**](SchemaSiteWriteResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerAdminApiSiteinfoWriteGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiSiteinfoWriteGet200Response) GetData() SchemaSiteWriteResp`
|
`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.
|
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.
|
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)
|
[[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/AnswerAdminApiUserActivationGet200Response.md
Normal file
134
docs/AnswerAdminApiUserActivationGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerAdminApiUserActivationGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**SchemaGetUserActivationResp**](SchemaGetUserActivationResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerAdminApiUserActivationGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiUserActivationGet200Response() *AnswerAdminApiUserActivationGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiUserActivationGet200Response instantiates a new AnswerAdminApiUserActivationGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerAdminApiUserActivationGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerAdminApiUserActivationGet200ResponseWithDefaults() *AnswerAdminApiUserActivationGet200Response`
|
||||||
|
|
||||||
|
NewAnswerAdminApiUserActivationGet200ResponseWithDefaults instantiates a new AnswerAdminApiUserActivationGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetDataOk() (*SchemaGetUserActivationResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) SetData(v SchemaGetUserActivationResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) 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 *AnswerAdminApiUserActivationGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerAdminApiUserActivationGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerAdminApiUsersPageGet200ResponseData**](AnswerAdminApiUsersPageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerAdminApiUsersPageGet200ResponseAllOfData**](AnswerAdminApiUsersPageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerAdminApiUsersPageGet200ResponseWithDefaults instantiates a new AnswerAd
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200Response) GetData() AnswerAdminApiUsersPageGet200ResponseData`
|
`func (o *AnswerAdminApiUsersPageGet200Response) GetData() AnswerAdminApiUsersPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200Response) SetData(v AnswerAdminApiUsersPageGet200ResponseData)`
|
`func (o *AnswerAdminApiUsersPageGet200Response) SetData(v AnswerAdminApiUsersPageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -10,95 +10,95 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetCount() int32`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasCount() bool`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### 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.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### 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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetList(v map[string]interface{})`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetList(v map[string]interface{})`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasList() bool`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
HasList returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetRecords
|
### GetRecords
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) GetRecords() []SchemaGetUserPageResp`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) GetRecords() []SchemaGetUserPageResp`
|
||||||
|
|
||||||
GetRecords returns the Records field if non-nil, zero value otherwise.
|
GetRecords returns the Records field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetRecordsOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetRecords
|
### SetRecords
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) SetRecords(v []SchemaGetUserPageResp)`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) SetRecords(v []SchemaGetUserPageResp)`
|
||||||
|
|
||||||
SetRecords sets Records field to given value.
|
SetRecords sets Records field to given value.
|
||||||
|
|
||||||
### HasRecords
|
### HasRecords
|
||||||
|
|
||||||
`func (o *AnswerAdminApiUsersPageGet200ResponseData) HasRecords() bool`
|
`func (o *AnswerAdminApiUsersPageGet200ResponseAllOfData) HasRecords() bool`
|
||||||
|
|
||||||
HasRecords returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetObjectTimelineResp**](SchemaGetObjectTimelineResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1ActivityTimelineGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1ActivityTimelineGet200Response) GetData() SchemaGetObjectTimelineResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaCollectionSwitchResp**](SchemaCollectionSwitchResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1CollectionSwitchPost200ResponseWithDefaults instantiates a new Ans
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1CollectionSwitchPost200Response) GetData() SchemaCollectionSwitchResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1CommentGet200ResponseData**](AnswerApiV1CommentGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1CommentGet200ResponseAllOfData**](AnswerApiV1CommentGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1CommentGet200ResponseWithDefaults instantiates a new AnswerApiV1Co
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200Response) GetData() AnswerApiV1CommentGet200ResponseData`
|
`func (o *AnswerApiV1CommentGet200Response) GetData() AnswerApiV1CommentGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200Response) SetData(v AnswerApiV1CommentGet200ResponseData)`
|
`func (o *AnswerApiV1CommentGet200Response) SetData(v AnswerApiV1CommentGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) GetList() []SchemaGetCommentResp`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) GetList() []SchemaGetCommentResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) SetList(v []SchemaGetCommentResp)`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) SetList(v []SchemaGetCommentResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1CommentGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetCommentResp**](SchemaGetCommentResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1CommentPost200ResponseWithDefaults instantiates a new AnswerApiV1C
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1CommentPost200Response) GetData() SchemaGetCommentResp`
|
`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.
|
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.
|
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)
|
[[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/AnswerApiV1ConnectorBindingEmailPost200Response.md
Normal file
134
docs/AnswerApiV1ConnectorBindingEmailPost200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**SchemaExternalLoginBindingUserSendEmailResp**](SchemaExternalLoginBindingUserSendEmailResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorBindingEmailPost200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorBindingEmailPost200Response() *AnswerApiV1ConnectorBindingEmailPost200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorBindingEmailPost200Response instantiates a new AnswerApiV1ConnectorBindingEmailPost200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults() *AnswerApiV1ConnectorBindingEmailPost200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorBindingEmailPost200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorBindingEmailPost200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetDataOk() (*SchemaExternalLoginBindingUserSendEmailResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) SetData(v SchemaExternalLoginBindingUserSendEmailResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) 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 *AnswerApiV1ConnectorBindingEmailPost200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorBindingEmailPost200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
134
docs/AnswerApiV1ConnectorInfoGet200Response.md
Normal file
134
docs/AnswerApiV1ConnectorInfoGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerApiV1ConnectorInfoGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**[]SchemaConnectorInfoResp**](SchemaConnectorInfoResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorInfoGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorInfoGet200Response() *AnswerApiV1ConnectorInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorInfoGet200Response instantiates a new AnswerApiV1ConnectorInfoGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults() *AnswerApiV1ConnectorInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorInfoGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetDataOk() (*[]SchemaConnectorInfoResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) SetData(v []SchemaConnectorInfoResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) 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 *AnswerApiV1ConnectorInfoGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorInfoGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
134
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
Normal file
134
docs/AnswerApiV1ConnectorUserInfoGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to [**[]SchemaConnectorUserInfoResp**](SchemaConnectorUserInfoResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorUserInfoGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorUserInfoGet200Response() *AnswerApiV1ConnectorUserInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorUserInfoGet200Response instantiates a new AnswerApiV1ConnectorUserInfoGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults() *AnswerApiV1ConnectorUserInfoGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1ConnectorUserInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1ConnectorUserInfoGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetDataOk() (*[]SchemaConnectorUserInfoResp, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) SetData(v []SchemaConnectorUserInfoResp)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) 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 *AnswerApiV1ConnectorUserInfoGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1ConnectorUserInfoGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to **string** | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1FilePost200ResponseWithDefaults instantiates a new AnswerApiV1File
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1FilePost200Response) GetData() string`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaFollowResp**](SchemaFollowResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1FollowPost200ResponseWithDefaults instantiates a new AnswerApiV1Fo
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1FollowPost200Response) GetData() SchemaFollowResp`
|
`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.
|
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.
|
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)
|
[[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/AnswerApiV1PermissionGet200Response.md
Normal file
134
docs/AnswerApiV1PermissionGet200Response.md
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
# AnswerApiV1PermissionGet200Response
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
|
**Data** | Pointer to **map[string]bool** | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1PermissionGet200Response
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PermissionGet200Response() *AnswerApiV1PermissionGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1PermissionGet200Response instantiates a new AnswerApiV1PermissionGet200Response object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAnswerApiV1PermissionGet200ResponseWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PermissionGet200ResponseWithDefaults() *AnswerApiV1PermissionGet200Response`
|
||||||
|
|
||||||
|
NewAnswerApiV1PermissionGet200ResponseWithDefaults instantiates a new AnswerApiV1PermissionGet200Response object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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`
|
||||||
|
|
||||||
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDataOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetDataOk() (*map[string]bool, bool)`
|
||||||
|
|
||||||
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) SetData(v map[string]bool)`
|
||||||
|
|
||||||
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
|
### HasData
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) HasData() bool`
|
||||||
|
|
||||||
|
HasData returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) GetMsg() string`
|
||||||
|
|
||||||
|
GetMsg returns the Msg field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetMsgOk
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) 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 *AnswerApiV1PermissionGet200Response) SetMsg(v string)`
|
||||||
|
|
||||||
|
SetMsg sets Msg field to given value.
|
||||||
|
|
||||||
|
### HasMsg
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PermissionGet200Response) HasMsg() bool`
|
||||||
|
|
||||||
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1PersonalCommentPageGet200ResponseData**](AnswerApiV1PersonalCommentPageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1PersonalCommentPageGet200ResponseAllOfData**](AnswerApiV1PersonalCommentPageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalCommentPageGet200ResponseWithDefaults instantiates a new A
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetData() AnswerApiV1PersonalCommentPageGet200ResponseData`
|
`func (o *AnswerApiV1PersonalCommentPageGet200Response) GetData() AnswerApiV1PersonalCommentPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetData(v AnswerApiV1PersonalCommentPageGet200ResponseData)`
|
`func (o *AnswerApiV1PersonalCommentPageGet200Response) SetData(v AnswerApiV1PersonalCommentPageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) GetList() []SchemaGetCommentPersonalWithPageResp`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) GetList() []SchemaGetCommentPersonalWithPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) SetList(v []SchemaGetCommentPersonalWithPageResp)`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) SetList(v []SchemaGetCommentPersonalWithPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1PersonalCommentPageGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1PersonalRankPageGet200ResponseData**](AnswerApiV1PersonalRankPageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1PersonalRankPageGet200ResponseAllOfData**](AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalRankPageGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetData() AnswerApiV1PersonalRankPageGet200ResponseData`
|
`func (o *AnswerApiV1PersonalRankPageGet200Response) GetData() AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetData(v AnswerApiV1PersonalRankPageGet200ResponseData)`
|
`func (o *AnswerApiV1PersonalRankPageGet200Response) SetData(v AnswerApiV1PersonalRankPageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|||||||
82
docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md
Normal file
82
docs/AnswerApiV1PersonalRankPageGet200ResponseAllOfData.md
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
# AnswerApiV1PersonalRankPageGet200ResponseAllOfData
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Count** | Pointer to **int32** | | [optional]
|
||||||
|
**List** | Pointer to [**[]SchemaGetRankPersonalPageResp**](SchemaGetRankPersonalPageResp.md) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAnswerApiV1PersonalRankPageGet200ResponseAllOfData
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PersonalRankPageGet200ResponseAllOfData() *AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
### NewAnswerApiV1PersonalRankPageGet200ResponseAllOfDataWithDefaults
|
||||||
|
|
||||||
|
`func NewAnswerApiV1PersonalRankPageGet200ResponseAllOfDataWithDefaults() *AnswerApiV1PersonalRankPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
|
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 *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCountOk
|
||||||
|
|
||||||
|
`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 *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
|
### HasCount
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetList
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) GetList() []SchemaGetRankPersonalPageResp`
|
||||||
|
|
||||||
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetListOk
|
||||||
|
|
||||||
|
`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 *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) SetList(v []SchemaGetRankPersonalPageResp)`
|
||||||
|
|
||||||
|
SetList sets List field to given value.
|
||||||
|
|
||||||
|
### HasList
|
||||||
|
|
||||||
|
`func (o *AnswerApiV1PersonalRankPageGet200ResponseAllOfData) 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)
|
||||||
|
|
||||||
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
# AnswerApiV1PersonalRankPageGet200ResponseData
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**Count** | Pointer to **int32** | | [optional]
|
|
||||||
**List** | Pointer to [**[]SchemaGetRankPersonalWithPageResp**](SchemaGetRankPersonalWithPageResp.md) | | [optional]
|
|
||||||
|
|
||||||
## Methods
|
|
||||||
|
|
||||||
### NewAnswerApiV1PersonalRankPageGet200ResponseData
|
|
||||||
|
|
||||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseData() *AnswerApiV1PersonalRankPageGet200ResponseData`
|
|
||||||
|
|
||||||
NewAnswerApiV1PersonalRankPageGet200ResponseData instantiates a new AnswerApiV1PersonalRankPageGet200ResponseData object
|
|
||||||
This constructor will assign default values to properties that have it defined,
|
|
||||||
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
|
|
||||||
|
|
||||||
`func NewAnswerApiV1PersonalRankPageGet200ResponseDataWithDefaults() *AnswerApiV1PersonalRankPageGet200ResponseData`
|
|
||||||
|
|
||||||
NewAnswerApiV1PersonalRankPageGet200ResponseDataWithDefaults instantiates a new AnswerApiV1PersonalRankPageGet200ResponseData object
|
|
||||||
This 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`
|
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetCountOk
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) 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)`
|
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
|
||||||
|
|
||||||
### HasCount
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) HasCount() bool`
|
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
|
||||||
|
|
||||||
### GetList
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetList() []SchemaGetRankPersonalWithPageResp`
|
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetListOk
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) GetListOk() (*[]SchemaGetRankPersonalWithPageResp, 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 []SchemaGetRankPersonalWithPageResp)`
|
|
||||||
|
|
||||||
SetList sets List field to given value.
|
|
||||||
|
|
||||||
### HasList
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseData) 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)
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
# AnswerApiV1PersonalRankPageGet200ResponseDataAllOf
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**List** | Pointer to [**[]SchemaGetRankPersonalWithPageResp**](SchemaGetRankPersonalWithPageResp.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() []SchemaGetRankPersonalWithPageResp`
|
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetListOk
|
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalRankPageGet200ResponseDataAllOf) GetListOk() (*[]SchemaGetRankPersonalWithPageResp, 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 []SchemaGetRankPersonalWithPageResp)`
|
|
||||||
|
|
||||||
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetOtherUserInfoResp**](SchemaGetOtherUserInfoResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1PersonalUserInfoGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalUserInfoGet200Response) GetData() SchemaGetOtherUserInfoResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1PersonalVotePageGet200ResponseData**](AnswerApiV1PersonalVotePageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1PersonalVotePageGet200ResponseAllOfData**](AnswerApiV1PersonalVotePageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1PersonalVotePageGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetData() AnswerApiV1PersonalVotePageGet200ResponseData`
|
`func (o *AnswerApiV1PersonalVotePageGet200Response) GetData() AnswerApiV1PersonalVotePageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetData(v AnswerApiV1PersonalVotePageGet200ResponseData)`
|
`func (o *AnswerApiV1PersonalVotePageGet200Response) SetData(v AnswerApiV1PersonalVotePageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) GetList() []SchemaGetVoteWithPageResp`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) GetList() []SchemaGetVoteWithPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) SetList(v []SchemaGetVoteWithPageResp)`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) SetList(v []SchemaGetVoteWithPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1PersonalVotePageGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1PersonalVotePageGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1QuestionPageGet200ResponseData**](AnswerApiV1QuestionPageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1QuestionPageGet200ResponseAllOfData**](AnswerApiV1QuestionPageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1QuestionPageGet200ResponseWithDefaults instantiates a new AnswerAp
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200Response) GetData() AnswerApiV1QuestionPageGet200ResponseData`
|
`func (o *AnswerApiV1QuestionPageGet200Response) GetData() AnswerApiV1QuestionPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200Response) SetData(v AnswerApiV1QuestionPageGet200ResponseData)`
|
`func (o *AnswerApiV1QuestionPageGet200Response) SetData(v AnswerApiV1QuestionPageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) GetList() []SchemaQuestionPageResp`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) GetList() []SchemaQuestionPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) SetList(v []SchemaQuestionPageResp)`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) SetList(v []SchemaQuestionPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionPageGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1QuestionPageGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**[]SchemaGetTagResp**](SchemaGetTagResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1QuestionTagsGet200ResponseWithDefaults instantiates a new AnswerAp
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1QuestionTagsGet200Response) GetData() []SchemaGetTagResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**[]SchemaGetRevisionResp**](SchemaGetRevisionResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1RevisionsGet200ResponseWithDefaults instantiates a new AnswerApiV1
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsGet200Response) GetData() []SchemaGetRevisionResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1RevisionsUnreviewedGet200ResponseData**](AnswerApiV1RevisionsUnreviewedGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData**](AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1RevisionsUnreviewedGet200ResponseWithDefaults instantiates a new A
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetData() AnswerApiV1RevisionsUnreviewedGet200ResponseData`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) GetData() AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetData(v AnswerApiV1RevisionsUnreviewedGet200ResponseData)`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200Response) SetData(v AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) GetList() []SchemaGetUnreviewedRevisionResp`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) GetList() []SchemaGetUnreviewedRevisionResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) SetList(v []SchemaGetUnreviewedRevisionResp)`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) SetList(v []SchemaGetUnreviewedRevisionResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1RevisionsUnreviewedGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**SchemaSearchListResp**](SchemaSearchListResp.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**SchemaSearchResp**](SchemaSearchResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1SearchGet200ResponseWithDefaults instantiates a new AnswerApiV1Sea
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1SearchGet200Response) GetData() SchemaSearchListResp`
|
`func (o *AnswerApiV1SearchGet200Response) GetData() SchemaSearchResp`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1SearchGet200Response) SetData(v SchemaSearchListResp)`
|
`func (o *AnswerApiV1SearchGet200Response) SetData(v SchemaSearchResp)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaSiteInfoResp**](SchemaSiteInfoResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1SiteinfoGet200ResponseWithDefaults instantiates a new AnswerApiV1S
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1SiteinfoGet200Response) GetData() SchemaSiteInfoResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetSiteLegalInfoResp**](SchemaGetSiteLegalInfoResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1SiteinfoLegalGet200ResponseWithDefaults instantiates a new AnswerA
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1SiteinfoLegalGet200Response) GetData() SchemaGetSiteLegalInfoResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetTagResp**](SchemaGetTagResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagGet200ResponseWithDefaults instantiates a new AnswerApiV1TagGet
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagGet200Response) GetData() SchemaGetTagResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaGetTagSynonymsResp**](SchemaGetTagSynonymsResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagSynonymsGet200ResponseWithDefaults instantiates a new AnswerApi
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagSynonymsGet200Response) GetData() SchemaGetTagSynonymsResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**[]SchemaGetFollowingTagsResp**](SchemaGetFollowingTagsResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1TagsFollowingGet200ResponseWithDefaults instantiates a new AnswerA
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsFollowingGet200Response) GetData() []SchemaGetFollowingTagsResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**AnswerApiV1TagsPageGet200ResponseData**](AnswerApiV1TagsPageGet200ResponseData.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**AnswerApiV1TagsPageGet200ResponseAllOfData**](AnswerApiV1TagsPageGet200ResponseAllOfData.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1TagsPageGet200ResponseWithDefaults instantiates a new AnswerApiV1T
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200Response) GetData() AnswerApiV1TagsPageGet200ResponseData`
|
`func (o *AnswerApiV1TagsPageGet200Response) GetData() AnswerApiV1TagsPageGet200ResponseAllOfData`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *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
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200Response) SetData(v AnswerApiV1TagsPageGet200ResponseData)`
|
`func (o *AnswerApiV1TagsPageGet200Response) SetData(v AnswerApiV1TagsPageGet200ResponseAllOfData)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
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.
|
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.
|
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)
|
[[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
|
## Properties
|
||||||
|
|
||||||
@@ -9,70 +9,70 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
## Methods
|
## 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,
|
This constructor will assign default values to properties that have it defined,
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
will change when the set of required properties is changed
|
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,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
### GetCount
|
### GetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetCount() int32`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetCount() int32`
|
||||||
|
|
||||||
GetCount returns the Count field if non-nil, zero value otherwise.
|
GetCount returns the Count field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetCountOk
|
### 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
|
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.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetCount
|
### SetCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) SetCount(v int32)`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) SetCount(v int32)`
|
||||||
|
|
||||||
SetCount sets Count field to given value.
|
SetCount sets Count field to given value.
|
||||||
|
|
||||||
### HasCount
|
### HasCount
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) HasCount() bool`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) HasCount() bool`
|
||||||
|
|
||||||
HasCount returns a boolean if a field has been set.
|
HasCount returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetList
|
### GetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) GetList() []SchemaGetTagPageResp`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) GetList() []SchemaGetTagPageResp`
|
||||||
|
|
||||||
GetList returns the List field if non-nil, zero value otherwise.
|
GetList returns the List field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetListOk
|
### GetListOk
|
||||||
|
|
||||||
`func (o *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
|
GetListOk returns a tuple with the List field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetList
|
### SetList
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) SetList(v []SchemaGetTagPageResp)`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) SetList(v []SchemaGetTagPageResp)`
|
||||||
|
|
||||||
SetList sets List field to given value.
|
SetList sets List field to given value.
|
||||||
|
|
||||||
### HasList
|
### HasList
|
||||||
|
|
||||||
`func (o *AnswerApiV1TagsPageGet200ResponseData) HasList() bool`
|
`func (o *AnswerApiV1TagsPageGet200ResponseAllOfData) HasList() bool`
|
||||||
|
|
||||||
HasList returns a boolean if a field has been set.
|
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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**Data** | Pointer to [**SchemaActionRecordResp**](SchemaActionRecordResp.md) | | [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
|
## Methods
|
||||||
|
|
||||||
@@ -26,6 +28,31 @@ NewAnswerApiV1UserActionRecordGet200ResponseWithDefaults instantiates a new Answ
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserActionRecordGet200Response) GetData() SchemaActionRecordResp`
|
`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.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**SchemaGetUserResp**](SchemaGetUserResp.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**SchemaUserLoginResp**](SchemaUserLoginResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1UserEmailVerificationPost200ResponseWithDefaults instantiates a ne
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetData() SchemaGetUserResp`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetData() SchemaUserLoginResp`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetDataOk() (*SchemaGetUserResp, bool)`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) GetDataOk() (*SchemaUserLoginResp, bool)`
|
||||||
|
|
||||||
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetData(v SchemaGetUserResp)`
|
`func (o *AnswerApiV1UserEmailVerificationPost200Response) SetData(v SchemaUserLoginResp)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
|||||||
|
|
||||||
HasData returns a boolean if a field has been set.
|
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.
|
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)
|
[[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
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Data** | Pointer to [**SchemaGetUserToSetShowResp**](SchemaGetUserToSetShowResp.md) | | [optional]
|
**Code** | Pointer to **int32** | http code | [optional]
|
||||||
**HandlerRespBody** | Pointer to [**HandlerRespBody**](HandlerRespBody.md) | | [optional]
|
**Data** | Pointer to [**SchemaGetCurrentLoginUserInfoResp**](SchemaGetCurrentLoginUserInfoResp.md) | | [optional]
|
||||||
|
**Msg** | Pointer to **string** | response message | [optional]
|
||||||
|
**Reason** | Pointer to **string** | reason key | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -26,22 +28,47 @@ NewAnswerApiV1UserInfoGet200ResponseWithDefaults instantiates a new AnswerApiV1U
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
This constructor will only assign default values to properties that have it defined,
|
||||||
but it doesn't guarantee that properties required by API are set
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### 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
|
### GetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) GetData() SchemaGetUserToSetShowResp`
|
`func (o *AnswerApiV1UserInfoGet200Response) GetData() SchemaGetCurrentLoginUserInfoResp`
|
||||||
|
|
||||||
GetData returns the Data field if non-nil, zero value otherwise.
|
GetData returns the Data field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
### GetDataOk
|
### GetDataOk
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) GetDataOk() (*SchemaGetUserToSetShowResp, bool)`
|
`func (o *AnswerApiV1UserInfoGet200Response) GetDataOk() (*SchemaGetCurrentLoginUserInfoResp, bool)`
|
||||||
|
|
||||||
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
|
||||||
and a boolean to check if the value has been set.
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
### SetData
|
### SetData
|
||||||
|
|
||||||
`func (o *AnswerApiV1UserInfoGet200Response) SetData(v SchemaGetUserToSetShowResp)`
|
`func (o *AnswerApiV1UserInfoGet200Response) SetData(v SchemaGetCurrentLoginUserInfoResp)`
|
||||||
|
|
||||||
SetData sets Data field to given value.
|
SetData sets Data field to given value.
|
||||||
|
|
||||||
@@ -51,30 +78,55 @@ SetData sets Data field to given value.
|
|||||||
|
|
||||||
HasData returns a boolean if a field has been set.
|
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.
|
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)
|
[[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)
|
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user