更新文档内容
This commit is contained in:
@@ -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.
|
||||
@@ -25,7 +23,8 @@ type SchemaSiteInfoResp struct {
|
||||
Interface *SchemaSiteInterfaceResp `json:"interface,omitempty"`
|
||||
Login *SchemaSiteLoginResp `json:"login,omitempty"`
|
||||
Revision *string `json:"revision,omitempty"`
|
||||
SiteSeo *SchemaSiteSeoReq `json:"site_seo,omitempty"`
|
||||
SiteSeo *SchemaSiteSeoResp `json:"site_seo,omitempty"`
|
||||
SiteUsers *SchemaSiteUsersResp `json:"site_users,omitempty"`
|
||||
Theme *SchemaSiteThemeResp `json:"theme,omitempty"`
|
||||
Version *string `json:"version,omitempty"`
|
||||
}
|
||||
@@ -240,9 +239,9 @@ func (o *SchemaSiteInfoResp) SetRevision(v string) {
|
||||
}
|
||||
|
||||
// GetSiteSeo returns the SiteSeo field value if set, zero value otherwise.
|
||||
func (o *SchemaSiteInfoResp) GetSiteSeo() SchemaSiteSeoReq {
|
||||
func (o *SchemaSiteInfoResp) GetSiteSeo() SchemaSiteSeoResp {
|
||||
if o == nil || IsNil(o.SiteSeo) {
|
||||
var ret SchemaSiteSeoReq
|
||||
var ret SchemaSiteSeoResp
|
||||
return ret
|
||||
}
|
||||
return *o.SiteSeo
|
||||
@@ -250,7 +249,7 @@ func (o *SchemaSiteInfoResp) GetSiteSeo() SchemaSiteSeoReq {
|
||||
|
||||
// GetSiteSeoOk returns a tuple with the SiteSeo field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *SchemaSiteInfoResp) GetSiteSeoOk() (*SchemaSiteSeoReq, bool) {
|
||||
func (o *SchemaSiteInfoResp) GetSiteSeoOk() (*SchemaSiteSeoResp, bool) {
|
||||
if o == nil || IsNil(o.SiteSeo) {
|
||||
return nil, false
|
||||
}
|
||||
@@ -266,11 +265,43 @@ func (o *SchemaSiteInfoResp) HasSiteSeo() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// SetSiteSeo gets a reference to the given SchemaSiteSeoReq and assigns it to the SiteSeo field.
|
||||
func (o *SchemaSiteInfoResp) SetSiteSeo(v SchemaSiteSeoReq) {
|
||||
// SetSiteSeo gets a reference to the given SchemaSiteSeoResp and assigns it to the SiteSeo field.
|
||||
func (o *SchemaSiteInfoResp) SetSiteSeo(v SchemaSiteSeoResp) {
|
||||
o.SiteSeo = &v
|
||||
}
|
||||
|
||||
// GetSiteUsers returns the SiteUsers field value if set, zero value otherwise.
|
||||
func (o *SchemaSiteInfoResp) GetSiteUsers() SchemaSiteUsersResp {
|
||||
if o == nil || IsNil(o.SiteUsers) {
|
||||
var ret SchemaSiteUsersResp
|
||||
return ret
|
||||
}
|
||||
return *o.SiteUsers
|
||||
}
|
||||
|
||||
// GetSiteUsersOk returns a tuple with the SiteUsers field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *SchemaSiteInfoResp) GetSiteUsersOk() (*SchemaSiteUsersResp, bool) {
|
||||
if o == nil || IsNil(o.SiteUsers) {
|
||||
return nil, false
|
||||
}
|
||||
return o.SiteUsers, true
|
||||
}
|
||||
|
||||
// HasSiteUsers returns a boolean if a field has been set.
|
||||
func (o *SchemaSiteInfoResp) HasSiteUsers() bool {
|
||||
if o != nil && !IsNil(o.SiteUsers) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetSiteUsers gets a reference to the given SchemaSiteUsersResp and assigns it to the SiteUsers field.
|
||||
func (o *SchemaSiteInfoResp) SetSiteUsers(v SchemaSiteUsersResp) {
|
||||
o.SiteUsers = &v
|
||||
}
|
||||
|
||||
// GetTheme returns the Theme field value if set, zero value otherwise.
|
||||
func (o *SchemaSiteInfoResp) GetTheme() SchemaSiteThemeResp {
|
||||
if o == nil || IsNil(o.Theme) {
|
||||
@@ -366,6 +397,9 @@ func (o SchemaSiteInfoResp) ToMap() (map[string]interface{}, error) {
|
||||
if !IsNil(o.SiteSeo) {
|
||||
toSerialize["site_seo"] = o.SiteSeo
|
||||
}
|
||||
if !IsNil(o.SiteUsers) {
|
||||
toSerialize["site_users"] = o.SiteUsers
|
||||
}
|
||||
if !IsNil(o.Theme) {
|
||||
toSerialize["theme"] = o.Theme
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user