You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -170,7 +169,7 @@ func (o *{{classname}}) Get{{name}}Ok() (*{{#isNullable}}{{dataType}}{{/isNullab
170
169
{{#deprecated}}
171
170
// Deprecated
172
171
{{/deprecated}}
173
-
func (o *{{classname}}) Set{{name}}(v *{{#isNullable}}{{dataType}}{{/isNullable}}{{^isNullable}}{{dataType}}{{/isNullable}}) {
172
+
func (o *{{classname}}) Set{{name}}(v *{{#isInteger}}int64{{/isInteger}}{{^isInteger}}{{dataType}}{{/isInteger}}) {
174
173
{{#isNullable}}
175
174
{{#vendorExtensions.x-golang-is-container}}
176
175
o.{{name}} = v
@@ -193,10 +192,9 @@ func (o *{{classname}}) Set{{name}}(v *{{#isNullable}}{{dataType}}{{/isNullable}
193
192
{{#deprecated}}
194
193
// Deprecated
195
194
{{/deprecated}}
196
-
func (o *{{classname}}) Get{{name}}() *{{#isContainer}}{{dataType}}{{/isContainer}}{{^isContainer}}{{baseType}}{{/isContainer}} {
195
+
func (o *{{classname}}) Get{{name}}() (result *{{#isContainer}}{{dataType}}{{/isContainer}}{{^isContainer}}{{#isInteger}}int64{{/isInteger}}{{^isInteger}}{{baseType}}{{/isInteger}}{{/isContainer}}){
197
196
if o == nil || IsNil(o.{{name}}) {{#isNullable}}{{^vendorExtensions.x-golang-is-container}} || IsNil(o.{{name}}.Get()){{/vendorExtensions.x-golang-is-container}}{{/isNullable}} {
198
-
var ret *{{#isContainer}}{{dataType}}{{/isContainer}}{{^isContainer}}{{baseType}}{{/isContainer}}
199
-
return ret
197
+
return
200
198
}
201
199
{{#isNullable}}
202
200
{{#vendorExtensions.x-golang-is-container}}
@@ -219,13 +217,13 @@ func (o *{{classname}}) Get{{name}}() *{{#isContainer}}{{dataType}}{{/isContaine
219
217
{{#deprecated}}
220
218
// Deprecated
221
219
{{/deprecated}}
222
-
func (o *{{classname}}) Get{{name}}Ok() (*{{#isContainer}}{{dataType}}{{/isContainer}}{{^isContainer}}{{baseType}}{{/isContainer}}, bool) {
220
+
func (o *{{classname}}) Get{{name}}Ok() (result *{{#isContainer}}{{dataType}}{{/isContainer}}{{^isContainer}}{{#isInteger}}int64{{/isInteger}}{{^isInteger}}{{baseType}}{{/isInteger}}{{/isContainer}},ok bool) {
0 commit comments