更新文档内容
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.
|
||||
@@ -23,6 +21,7 @@ type SchemaSiteCustomCssHTMLResp 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"`
|
||||
}
|
||||
|
||||
// NewSchemaSiteCustomCssHTMLResp instantiates a new SchemaSiteCustomCssHTMLResp object
|
||||
@@ -170,6 +169,38 @@ func (o *SchemaSiteCustomCssHTMLResp) SetCustomHeader(v string) {
|
||||
o.CustomHeader = &v
|
||||
}
|
||||
|
||||
// GetCustomSidebar returns the CustomSidebar field value if set, zero value otherwise.
|
||||
func (o *SchemaSiteCustomCssHTMLResp) 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 *SchemaSiteCustomCssHTMLResp) 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 *SchemaSiteCustomCssHTMLResp) 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 *SchemaSiteCustomCssHTMLResp) SetCustomSidebar(v string) {
|
||||
o.CustomSidebar = &v
|
||||
}
|
||||
|
||||
func (o SchemaSiteCustomCssHTMLResp) MarshalJSON() ([]byte, error) {
|
||||
toSerialize,err := o.ToMap()
|
||||
if err != nil {
|
||||
@@ -192,6 +223,9 @@ func (o SchemaSiteCustomCssHTMLResp) 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user