更新文档内容
This commit is contained in:
@@ -6,7 +6,7 @@ API version: 1.0.0
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -28,7 +28,7 @@ type SchemaSearchObject struct {
|
||||
// tags
|
||||
Tags []SchemaTagResp `json:"tags,omitempty"`
|
||||
Title *string `json:"title,omitempty"`
|
||||
UserInfo *SchemaSearchObjectUserInfo `json:"user_info,omitempty"`
|
||||
UserInfo *SchemaSearchObjectUser `json:"user_info,omitempty"`
|
||||
VoteCount *int32 `json:"vote_count,omitempty"`
|
||||
}
|
||||
|
||||
@@ -338,9 +338,9 @@ func (o *SchemaSearchObject) SetTitle(v string) {
|
||||
}
|
||||
|
||||
// GetUserInfo returns the UserInfo field value if set, zero value otherwise.
|
||||
func (o *SchemaSearchObject) GetUserInfo() SchemaSearchObjectUserInfo {
|
||||
func (o *SchemaSearchObject) GetUserInfo() SchemaSearchObjectUser {
|
||||
if o == nil || IsNil(o.UserInfo) {
|
||||
var ret SchemaSearchObjectUserInfo
|
||||
var ret SchemaSearchObjectUser
|
||||
return ret
|
||||
}
|
||||
return *o.UserInfo
|
||||
@@ -348,7 +348,7 @@ func (o *SchemaSearchObject) GetUserInfo() SchemaSearchObjectUserInfo {
|
||||
|
||||
// GetUserInfoOk returns a tuple with the UserInfo field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *SchemaSearchObject) GetUserInfoOk() (*SchemaSearchObjectUserInfo, bool) {
|
||||
func (o *SchemaSearchObject) GetUserInfoOk() (*SchemaSearchObjectUser, bool) {
|
||||
if o == nil || IsNil(o.UserInfo) {
|
||||
return nil, false
|
||||
}
|
||||
@@ -364,8 +364,8 @@ func (o *SchemaSearchObject) HasUserInfo() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// SetUserInfo gets a reference to the given SchemaSearchObjectUserInfo and assigns it to the UserInfo field.
|
||||
func (o *SchemaSearchObject) SetUserInfo(v SchemaSearchObjectUserInfo) {
|
||||
// SetUserInfo gets a reference to the given SchemaSearchObjectUser and assigns it to the UserInfo field.
|
||||
func (o *SchemaSearchObject) SetUserInfo(v SchemaSearchObjectUser) {
|
||||
o.UserInfo = &v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user