更新文档内容

This commit is contained in:
2023-08-22 10:37:28 +08:00
parent c3f06b456f
commit 73222eee28
329 changed files with 25366 additions and 2475 deletions

View File

@@ -1,9 +1,7 @@
/*
answer
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
answer api
API version: v0.0.1
API version: 1.0.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -26,6 +24,7 @@ type ApiAnswerApiV1NotificationPageGetRequest struct {
ctx context.Context
ApiService *NotificationApiService
type_ *string
inboxType *string
page *int32
pageSize *int32
}
@@ -36,6 +35,12 @@ func (r ApiAnswerApiV1NotificationPageGetRequest) Type_(type_ string) ApiAnswerA
return r
}
// inbox_type
func (r ApiAnswerApiV1NotificationPageGetRequest) InboxType(inboxType string) ApiAnswerApiV1NotificationPageGetRequest {
r.inboxType = &inboxType
return r
}
// page size
func (r ApiAnswerApiV1NotificationPageGetRequest) Page(page int32) ApiAnswerApiV1NotificationPageGetRequest {
r.page = &page
@@ -90,6 +95,9 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
if r.type_ == nil {
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 {
parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "")
@@ -98,6 +106,7 @@ func (a *NotificationApiService) AnswerApiV1NotificationPageGetExecute(r ApiAnsw
parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "")
}
parameterAddToHeaderOrQuery(localVarQueryParams, "type", r.type_, "")
parameterAddToHeaderOrQuery(localVarQueryParams, "inbox_type", r.inboxType, "")
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}