更新文档内容
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"
|
||||
@@ -17,7 +17,7 @@ var _ MappedNullable = &SchemaUpdateInfoRequest{}
|
||||
|
||||
// SchemaUpdateInfoRequest struct for SchemaUpdateInfoRequest
|
||||
type SchemaUpdateInfoRequest struct {
|
||||
Avatar *SchemaUpdateInfoRequestAvatar `json:"avatar,omitempty"`
|
||||
Avatar *SchemaAvatarInfo `json:"avatar,omitempty"`
|
||||
// bio
|
||||
Bio *string `json:"bio,omitempty"`
|
||||
// display_name
|
||||
@@ -48,9 +48,9 @@ func NewSchemaUpdateInfoRequestWithDefaults() *SchemaUpdateInfoRequest {
|
||||
}
|
||||
|
||||
// GetAvatar returns the Avatar field value if set, zero value otherwise.
|
||||
func (o *SchemaUpdateInfoRequest) GetAvatar() SchemaUpdateInfoRequestAvatar {
|
||||
func (o *SchemaUpdateInfoRequest) GetAvatar() SchemaAvatarInfo {
|
||||
if o == nil || IsNil(o.Avatar) {
|
||||
var ret SchemaUpdateInfoRequestAvatar
|
||||
var ret SchemaAvatarInfo
|
||||
return ret
|
||||
}
|
||||
return *o.Avatar
|
||||
@@ -58,7 +58,7 @@ func (o *SchemaUpdateInfoRequest) GetAvatar() SchemaUpdateInfoRequestAvatar {
|
||||
|
||||
// GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *SchemaUpdateInfoRequest) GetAvatarOk() (*SchemaUpdateInfoRequestAvatar, bool) {
|
||||
func (o *SchemaUpdateInfoRequest) GetAvatarOk() (*SchemaAvatarInfo, bool) {
|
||||
if o == nil || IsNil(o.Avatar) {
|
||||
return nil, false
|
||||
}
|
||||
@@ -74,8 +74,8 @@ func (o *SchemaUpdateInfoRequest) HasAvatar() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// SetAvatar gets a reference to the given SchemaUpdateInfoRequestAvatar and assigns it to the Avatar field.
|
||||
func (o *SchemaUpdateInfoRequest) SetAvatar(v SchemaUpdateInfoRequestAvatar) {
|
||||
// SetAvatar gets a reference to the given SchemaAvatarInfo and assigns it to the Avatar field.
|
||||
func (o *SchemaUpdateInfoRequest) SetAvatar(v SchemaAvatarInfo) {
|
||||
o.Avatar = &v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user