更新文档内容

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.
@@ -23,6 +21,7 @@ type SchemaSiteCustomCssHTMLReq struct {
CustomFooter *string `json:"custom_footer,omitempty"`
CustomHead *string `json:"custom_head,omitempty"`
CustomHeader *string `json:"custom_header,omitempty"`
CustomSidebar *string `json:"custom_sidebar,omitempty"`
}
// NewSchemaSiteCustomCssHTMLReq instantiates a new SchemaSiteCustomCssHTMLReq object
@@ -170,6 +169,38 @@ func (o *SchemaSiteCustomCssHTMLReq) SetCustomHeader(v string) {
o.CustomHeader = &v
}
// GetCustomSidebar returns the CustomSidebar field value if set, zero value otherwise.
func (o *SchemaSiteCustomCssHTMLReq) GetCustomSidebar() string {
if o == nil || IsNil(o.CustomSidebar) {
var ret string
return ret
}
return *o.CustomSidebar
}
// GetCustomSidebarOk returns a tuple with the CustomSidebar field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SchemaSiteCustomCssHTMLReq) GetCustomSidebarOk() (*string, bool) {
if o == nil || IsNil(o.CustomSidebar) {
return nil, false
}
return o.CustomSidebar, true
}
// HasCustomSidebar returns a boolean if a field has been set.
func (o *SchemaSiteCustomCssHTMLReq) HasCustomSidebar() bool {
if o != nil && !IsNil(o.CustomSidebar) {
return true
}
return false
}
// SetCustomSidebar gets a reference to the given string and assigns it to the CustomSidebar field.
func (o *SchemaSiteCustomCssHTMLReq) SetCustomSidebar(v string) {
o.CustomSidebar = &v
}
func (o SchemaSiteCustomCssHTMLReq) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
@@ -192,6 +223,9 @@ func (o SchemaSiteCustomCssHTMLReq) ToMap() (map[string]interface{}, error) {
if !IsNil(o.CustomHeader) {
toSerialize["custom_header"] = o.CustomHeader
}
if !IsNil(o.CustomSidebar) {
toSerialize["custom_sidebar"] = o.CustomSidebar
}
return toSerialize, nil
}