更新文档内容
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.
|
||||
@@ -22,6 +20,7 @@ type SchemaUserChangeEmailSendCodeReq struct {
|
||||
CaptchaCode *string `json:"captcha_code,omitempty"`
|
||||
CaptchaId *string `json:"captcha_id,omitempty"`
|
||||
EMail string `json:"e_mail"`
|
||||
Pass *string `json:"pass,omitempty"`
|
||||
}
|
||||
|
||||
// NewSchemaUserChangeEmailSendCodeReq instantiates a new SchemaUserChangeEmailSendCodeReq object
|
||||
@@ -130,6 +129,38 @@ func (o *SchemaUserChangeEmailSendCodeReq) SetEMail(v string) {
|
||||
o.EMail = v
|
||||
}
|
||||
|
||||
// GetPass returns the Pass field value if set, zero value otherwise.
|
||||
func (o *SchemaUserChangeEmailSendCodeReq) GetPass() string {
|
||||
if o == nil || IsNil(o.Pass) {
|
||||
var ret string
|
||||
return ret
|
||||
}
|
||||
return *o.Pass
|
||||
}
|
||||
|
||||
// GetPassOk returns a tuple with the Pass field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *SchemaUserChangeEmailSendCodeReq) GetPassOk() (*string, bool) {
|
||||
if o == nil || IsNil(o.Pass) {
|
||||
return nil, false
|
||||
}
|
||||
return o.Pass, true
|
||||
}
|
||||
|
||||
// HasPass returns a boolean if a field has been set.
|
||||
func (o *SchemaUserChangeEmailSendCodeReq) HasPass() bool {
|
||||
if o != nil && !IsNil(o.Pass) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetPass gets a reference to the given string and assigns it to the Pass field.
|
||||
func (o *SchemaUserChangeEmailSendCodeReq) SetPass(v string) {
|
||||
o.Pass = &v
|
||||
}
|
||||
|
||||
func (o SchemaUserChangeEmailSendCodeReq) MarshalJSON() ([]byte, error) {
|
||||
toSerialize,err := o.ToMap()
|
||||
if err != nil {
|
||||
@@ -147,6 +178,9 @@ func (o SchemaUserChangeEmailSendCodeReq) ToMap() (map[string]interface{}, error
|
||||
toSerialize["captcha_id"] = o.CaptchaId
|
||||
}
|
||||
toSerialize["e_mail"] = o.EMail
|
||||
if !IsNil(o.Pass) {
|
||||
toSerialize["pass"] = o.Pass
|
||||
}
|
||||
return toSerialize, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user