SetNillableName sets the "name" field if the given value is not nil.
(s *string)
| 216 | |
| 217 | // SetNillableName sets the "name" field if the given value is not nil. |
| 218 | func (suo *SettingUpdateOne) SetNillableName(s *string) *SettingUpdateOne { |
| 219 | if s != nil { |
| 220 | suo.SetName(*s) |
| 221 | } |
| 222 | return suo |
| 223 | } |
| 224 | |
| 225 | // SetValue sets the "value" field. |
| 226 | func (suo *SettingUpdateOne) SetValue(s string) *SettingUpdateOne { |